(1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) BEGIN  (0.8ms) ROLLBACK  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (0.8ms) 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", "Matthew 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", "Stevie Howell"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Matthew Metz"], ["name", "Stevie Howell"], ["description", "Labore ducimus nihil quia aliquam deserunt et. Ut animi ea et sunt cum aliquid. Qui molestiae quasi nihil ipsa. Sed ut officia natus veritatis commodi molestiae culpa qui. Ex id quia harum neque quod totam."], ["created_at", "2018-03-22 04:38:40.954128"], ["updated_at", "2018-03-22 04:38:40.954128"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Dakota Bednar"], ["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", "Afton Bahringer"], ["LIMIT", 1]] SQL (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", "Dakota Bednar"], ["name", "Afton Bahringer"], ["description", "Est veniam adipisci excepturi voluptas vero porro reprehenderit aliquam. Totam eum nam et deserunt possimus impedit optio et. Perferendis est nisi possimus vitae atque. Consectetur quia consequatur accusantium voluptas dolor."], ["equipment_type_id", 1], ["created_at", "2018-03-22 04:38:40.967302"], ["updated_at", "2018-03-22 04:38:40.967302"]]  (0.6ms) 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", "Walker Boehm"], ["LIMIT", 1]] SQL (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", "Walker Boehm"], ["name", "Evangeline Trantow"], ["description", "Fransisca Hirthe"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-03-22 04:38:40.973743"], ["updated_at", "2018-03-22 04:38:40.973743"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Yolando Farrell"], ["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", "Salome Beahan"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yolando Farrell"], ["name", "Salome Beahan"], ["description", "Chuck Baumbach"], ["created_at", "2018-03-22 04:38:41.008526"], ["updated_at", "2018-03-22 04:38:41.008526"]]  (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", "Ashlea Marvin"], ["LIMIT", 1]] SQL (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", "Ashlea Marvin"], ["name", "Chu Metz"], ["location_type_id", 1], ["description", "Andres Gorczany"], ["address", "Tristan Wiegand"], ["created_at", "2018-03-22 04:38:41.015338"], ["updated_at", "2018-03-22 04:38:41.015338"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Janee Balistreri"], ["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", "Min Hermiston"], ["LIMIT", 1]] SQL (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", "Janee Balistreri"], ["name", "Laurence Ebert"], ["description", "Charmain Cummings"], ["serial_number", "Min Hermiston"], ["brand", "An Bailey"], ["item_model", "Siobhan Zemlak"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-03-22 04:38:41.025668"], ["updated_at", "2018-03-22 04:38:41.025668"]]  (0.5ms) 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", "Melva Ryan"], ["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", "Francis Quitzon"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Melva Ryan"], ["name", "Francis Quitzon"], ["created_at", "2018-03-22 04:38:41.074910"], ["updated_at", "2018-03-22 04:38:41.074910"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Alexander Davis"], ["LIMIT", 1]] SQL (5.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alexander Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:38:41.093464"], ["updated_at", "2018-03-22 04:38:41.093464"]]  (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", "Valorie Roob"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Valorie Roob"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:38:41.104358"], ["updated_at", "2018-03-22 04:38:41.104358"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Delia Wyman"], ["LIMIT", 1]] SQL (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", "Delia Wyman"], ["name", "Cletus Batz"], ["address", "Tyisha Huels"], ["created_at", "2018-03-22 04:38:41.121399"], ["updated_at", "2018-03-22 04:38:41.121399"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Georgeanna Brakus"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Georgeanna Brakus"], ["name", "Elvia Rutherford"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-03-22 04:38:41.129049"], ["updated_at", "2018-03-22 04:38:41.129049"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (3.4ms) 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", 1], ["equipment_item_id", 1], ["created_at", "2018-03-22 04:38:41.134619"], ["updated_at", "2018-03-22 04:38:41.134619"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Evangeline Kris"], ["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", "Clarence Thiel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Evangeline Kris"], ["name", "Clarence Thiel"], ["description", "Asperiores quod repudiandae iste qui quae consequuntur aut enim. Voluptate explicabo excepturi dignissimos ullam. Voluptatem natus aspernatur qui atque voluptatem labore tempora. Est itaque ad vitae aliquid esse ratione accusantium id. Itaque necessitatibus aut earum autem."], ["created_at", "2018-03-22 04:38:41.144038"], ["updated_at", "2018-03-22 04:38:41.144038"]]  (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", "Angelica Cummerata"], ["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", "Almeta Will"], ["LIMIT", 1]] SQL (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", "Angelica Cummerata"], ["name", "Almeta Will"], ["description", "Aut sit esse sunt accusamus voluptas. Pariatur quaerat magnam sunt omnis sit quis. Nihil aut natus aliquam sit tenetur. Quae alias quibusdam ex eos corporis sunt laborum neque."], ["equipment_type_id", 2], ["created_at", "2018-03-22 04:38:41.149423"], ["updated_at", "2018-03-22 04:38:41.149423"]]  (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", "Pearlie Littel"], ["LIMIT", 1]] SQL (0.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", "Pearlie Littel"], ["name", "Tynisha Schimmel"], ["description", "Elina Rodriguez"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-03-22 04:38:41.153582"], ["updated_at", "2018-03-22 04:38:41.153582"]]  (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", "Valentine Kassulke"], ["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", "Tyrone Parisian"], ["LIMIT", 1]] SQL (10.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Valentine Kassulke"], ["name", "Tyrone Parisian"], ["description", "Nia Jacobson"], ["created_at", "2018-03-22 04:38:41.159298"], ["updated_at", "2018-03-22 04:38:41.159298"]]  (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", "Evelin Gerlach"], ["LIMIT", 1]] SQL (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", "Evelin Gerlach"], ["name", "Golda Greenfelder"], ["location_type_id", 2], ["description", "Mindi Romaguera"], ["address", "Duncan Ritchie"], ["created_at", "2018-03-22 04:38:41.173649"], ["updated_at", "2018-03-22 04:38:41.173649"]]  (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", "Stephan Green"], ["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", "Lou Lind"], ["LIMIT", 1]] SQL (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", "Stephan Green"], ["name", "Christinia Skiles"], ["description", "Katheryn Bins"], ["serial_number", "Lou Lind"], ["brand", "Brooks Shanahan"], ["item_model", "Marc Skiles"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-03-22 04:38:41.179209"], ["updated_at", "2018-03-22 04:38:41.179209"]]  (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", "Liane Lesch"], ["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", "Margarito Leffler"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Liane Lesch"], ["name", "Margarito Leffler"], ["created_at", "2018-03-22 04:38:41.185316"], ["updated_at", "2018-03-22 04:38:41.185316"]]  (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", "Olinda Mosciski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Olinda Mosciski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:38:41.189704"], ["updated_at", "2018-03-22 04:38:41.189704"]]  (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", "Christy Barton"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Christy Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:38:41.194686"], ["updated_at", "2018-03-22 04:38:41.194686"]]  (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", "Mee Kuphal"], ["LIMIT", 1]] SQL (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", "Mee Kuphal"], ["name", "Dante Homenick"], ["address", "Dierdre Schuster"], ["created_at", "2018-03-22 04:38:41.199069"], ["updated_at", "2018-03-22 04:38:41.199069"]]  (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", "Catherina Nitzsche"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Catherina Nitzsche"], ["name", "Rosalva Bauch"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-03-22 04:38:41.203301"], ["updated_at", "2018-03-22 04:38:41.203301"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 2], ["equipment_item_id", 2], ["created_at", "2018-03-22 04:38:41.206644"], ["updated_at", "2018-03-22 04:38:41.206644"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "August Windler"], ["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", "Kaley Kling"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "August Windler"], ["name", "Kaley Kling"], ["description", "Consequuntur totam ut quae labore aliquid. Aut vitae velit aut possimus alias et. Incidunt reiciendis corrupti dignissimos molestiae soluta debitis at. Quis quaerat nulla non dicta numquam. Inventore et a pariatur cumque est consequatur."], ["created_at", "2018-03-22 04:38:41.213295"], ["updated_at", "2018-03-22 04:38:41.213295"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Bunny Wiza"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Cody Leffler"], ["LIMIT", 1]] SQL (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", "Bunny Wiza"], ["name", "Cody Leffler"], ["description", "Eum necessitatibus quia esse perspiciatis ut. Atque perspiciatis aut corporis sint. Labore veniam quia aperiam quas excepturi qui nemo quia."], ["equipment_type_id", 3], ["created_at", "2018-03-22 04:38:41.218070"], ["updated_at", "2018-03-22 04:38:41.218070"]]  (0.4ms) 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", "Lindsy Franecki"], ["LIMIT", 1]] SQL (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", "Lindsy Franecki"], ["name", "Belen Smith"], ["description", "Faustino King"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-03-22 04:38:41.222189"], ["updated_at", "2018-03-22 04:38:41.222189"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Carie Casper"], ["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", "Pasty O'Reilly"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carie Casper"], ["name", "Pasty O'Reilly"], ["description", "Molly Ferry"], ["created_at", "2018-03-22 04:38:41.227879"], ["updated_at", "2018-03-22 04:38:41.227879"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Ute Funk"], ["LIMIT", 1]] SQL (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", "Ute Funk"], ["name", "Bailey Cronin"], ["location_type_id", 3], ["description", "Abe Kerluke"], ["address", "Max Hayes"], ["created_at", "2018-03-22 04:38:41.233430"], ["updated_at", "2018-03-22 04:38:41.233430"]]  (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", "Kimbery Fadel"], ["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", "Denisha Pfeffer"], ["LIMIT", 1]] SQL (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", "Kimbery Fadel"], ["name", "Darron Shanahan"], ["description", "Odelia Huel"], ["serial_number", "Denisha Pfeffer"], ["brand", "Zoraida Littel"], ["item_model", "Ronny Quitzon"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-03-22 04:38:41.239144"], ["updated_at", "2018-03-22 04:38:41.239144"]]  (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", "Delaine Feil"], ["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", "Sandra Beier"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Delaine Feil"], ["name", "Sandra Beier"], ["created_at", "2018-03-22 04:38:41.245758"], ["updated_at", "2018-03-22 04:38:41.245758"]]  (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", "Rossie Kunze"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rossie Kunze"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:38:41.249971"], ["updated_at", "2018-03-22 04:38:41.249971"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Amal Sipes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Amal Sipes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:38:41.254014"], ["updated_at", "2018-03-22 04:38:41.254014"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Sonya Lockman"], ["LIMIT", 1]] SQL (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", "Sonya Lockman"], ["name", "Colby Von"], ["address", "Prince Hand"], ["created_at", "2018-03-22 04:38:41.258289"], ["updated_at", "2018-03-22 04:38:41.258289"]]  (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", "Marilou Hane"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Marilou Hane"], ["name", "Anjanette Kirlin"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-03-22 04:38:41.262214"], ["updated_at", "2018-03-22 04:38:41.262214"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (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", 3], ["equipment_item_id", 3], ["created_at", "2018-03-22 04:38:41.265741"], ["updated_at", "2018-03-22 04:38:41.265741"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (1.4ms) ROLLBACK  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.7ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Numbers Orn"], ["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", "Porter Wilderman"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Numbers Orn"], ["name", "Porter Wilderman"], ["description", "Sit perferendis culpa ut autem ut autem. Ut officia nostrum eos repudiandae sunt quis quia ducimus. Voluptas odio quisquam enim ullam. Incidunt nobis ea iste eaque."], ["created_at", "2018-03-22 04:39:15.696931"], ["updated_at", "2018-03-22 04:39:15.696931"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Riva Ritchie"], ["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", "Karleen Bogan"], ["LIMIT", 1]] SQL (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", "Riva Ritchie"], ["name", "Karleen Bogan"], ["description", "Culpa atque modi voluptate deleniti voluptatum est. Sit praesentium aut non distinctio sed adipisci odit blanditiis. Sequi nobis neque est ea eius voluptatibus. Sed dolorem ut molestiae non quia a."], ["equipment_type_id", 1], ["created_at", "2018-03-22 04:39:15.709794"], ["updated_at", "2018-03-22 04:39:15.709794"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Portia Fay"], ["LIMIT", 1]] SQL (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", "Portia Fay"], ["name", "Shirlee Littel"], ["description", "Cleopatra Rau"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-03-22 04:39:15.716422"], ["updated_at", "2018-03-22 04:39:15.716422"]]  (0.5ms) 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", "Dakota 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", "Cari Mills"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dakota Will"], ["name", "Cari Mills"], ["description", "Jacquelynn Anderson"], ["created_at", "2018-03-22 04:39:15.754177"], ["updated_at", "2018-03-22 04:39:15.754177"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Evia Morar"], ["LIMIT", 1]] SQL (1.4ms) 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", "Evia Morar"], ["name", "Bethany Beahan"], ["location_type_id", 1], ["description", "Debbi Price"], ["address", "Jannette Barton"], ["created_at", "2018-03-22 04:39:15.761293"], ["updated_at", "2018-03-22 04:39:15.761293"]]  (0.5ms) 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", "Deshawn McCullough"], ["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", "Moises Brekke"], ["LIMIT", 1]] SQL (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", "Deshawn McCullough"], ["name", "Helena Schinner"], ["description", "Dino McDermott"], ["serial_number", "Moises Brekke"], ["brand", "Tracy Gutmann"], ["item_model", "Keisha Dickinson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-03-22 04:39:15.770256"], ["updated_at", "2018-03-22 04:39:15.770256"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Setsuko Kautzer"], ["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", "Jolynn Bogisich"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Setsuko Kautzer"], ["name", "Jolynn Bogisich"], ["created_at", "2018-03-22 04:39:15.808204"], ["updated_at", "2018-03-22 04:39:15.808204"]]  (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", "Dean Flatley"], ["LIMIT", 1]] SQL (10.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dean Flatley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:39:15.825641"], ["updated_at", "2018-03-22 04:39:15.825641"]]  (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", "Ladonna Bergnaum"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ladonna Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:39:15.841407"], ["updated_at", "2018-03-22 04:39:15.841407"]]  (0.5ms) 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", "Denae Hauck"], ["LIMIT", 1]] SQL (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", "Denae Hauck"], ["name", "Adolph Orn"], ["address", "Booker Fay"], ["created_at", "2018-03-22 04:39:15.858797"], ["updated_at", "2018-03-22 04:39:15.858797"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Rufina Ernser"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (3.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", "Rufina Ernser"], ["name", "Elise Prohaska"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-03-22 04:39:15.865986"], ["updated_at", "2018-03-22 04:39:15.865986"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 1], ["equipment_item_id", 1], ["created_at", "2018-03-22 04:39:15.873351"], ["updated_at", "2018-03-22 04:39:15.873351"]]  (0.5ms) 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", "Telma Mitchell"], ["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", "Cleo Trantow"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Telma Mitchell"], ["name", "Cleo Trantow"], ["description", "Ipsum est et occaecati reprehenderit commodi. Voluptas maiores placeat ut minima eos qui sed rerum. Sed nemo et ut et libero aperiam. Quasi quae quod eveniet eos facere saepe cum."], ["created_at", "2018-03-22 04:39:15.880723"], ["updated_at", "2018-03-22 04:39:15.880723"]]  (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", "Bernice Gulgowski"], ["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", "Porter Morar"], ["LIMIT", 1]] SQL (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", "Bernice Gulgowski"], ["name", "Porter Morar"], ["description", "Non numquam ut a vitae molestias. Recusandae dolorem unde fugit eaque impedit fugiat quibusdam. Ipsa culpa et asperiores laudantium natus cumque provident."], ["equipment_type_id", 2], ["created_at", "2018-03-22 04:39:15.886071"], ["updated_at", "2018-03-22 04:39:15.886071"]]  (0.4ms) 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", "Seth Welch"], ["LIMIT", 1]] SQL (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", "Seth Welch"], ["name", "Nicholas Bogisich"], ["description", "Dorethea Tremblay"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-03-22 04:39:15.890121"], ["updated_at", "2018-03-22 04:39:15.890121"]]  (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", "Particia Jewess"], ["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", "Dara Wiza"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Particia Jewess"], ["name", "Dara Wiza"], ["description", "Rosaline Schiller"], ["created_at", "2018-03-22 04:39:15.896281"], ["updated_at", "2018-03-22 04:39:15.896281"]]  (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", "Britt Kunze"], ["LIMIT", 1]] SQL (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", "Britt Kunze"], ["name", "Brandee Gerlach"], ["location_type_id", 2], ["description", "Jeanne Sauer"], ["address", "Flo Glover"], ["created_at", "2018-03-22 04:39:15.900594"], ["updated_at", "2018-03-22 04:39:15.900594"]]  (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", "Refugio Connelly"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Candy Effertz"], ["LIMIT", 1]] SQL (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", "Refugio Connelly"], ["name", "Dora Dietrich"], ["description", "Lura Luettgen"], ["serial_number", "Candy Effertz"], ["brand", "Maudie Halvorson"], ["item_model", "Ashley Cartwright"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-03-22 04:39:15.905634"], ["updated_at", "2018-03-22 04:39:15.905634"]]  (0.5ms) 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", "Samuel Hyatt"], ["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", "Denese Bogisich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Samuel Hyatt"], ["name", "Denese Bogisich"], ["created_at", "2018-03-22 04:39:15.918880"], ["updated_at", "2018-03-22 04:39:15.918880"]]  (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", "Kourtney Schamberger"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kourtney Schamberger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:39:15.923287"], ["updated_at", "2018-03-22 04:39:15.923287"]]  (0.4ms) 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", "Jess Simonis"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jess Simonis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:39:15.928068"], ["updated_at", "2018-03-22 04:39:15.928068"]]  (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", "Shon Ratke"], ["LIMIT", 1]] SQL (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", "Shon Ratke"], ["name", "Kimbra Bruen"], ["address", "Glayds Hermiston"], ["created_at", "2018-03-22 04:39:15.932607"], ["updated_at", "2018-03-22 04:39:15.932607"]]  (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", "Jay McGlynn"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Jay McGlynn"], ["name", "Ahmad Collier"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-03-22 04:39:15.937048"], ["updated_at", "2018-03-22 04:39:15.937048"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", 2], ["equipment_item_id", 2], ["created_at", "2018-03-22 04:39:15.940571"], ["updated_at", "2018-03-22 04:39:15.940571"]]  (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", "Gianna Dach"], ["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", "Monet Bechtelar"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gianna Dach"], ["name", "Monet Bechtelar"], ["description", "Distinctio dolores aperiam iure consequatur. Illum eum consequatur quis amet sunt ut. Expedita porro omnis et est sed temporibus. Nihil expedita laborum nihil quis laboriosam. Dicta vel quidem rerum qui beatae."], ["created_at", "2018-03-22 04:39:15.947965"], ["updated_at", "2018-03-22 04:39:15.947965"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cyril Schamberger"], ["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", "Deeann Bruen"], ["LIMIT", 1]] SQL (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", "Cyril Schamberger"], ["name", "Deeann Bruen"], ["description", "Suscipit quia esse possimus impedit repellendus hic omnis. Pariatur quas quasi explicabo at sunt minus soluta sit. Quia dolor illum voluptatem similique sunt optio corrupti quo. Fugit quidem ratione voluptas quisquam labore molestias eum."], ["equipment_type_id", 3], ["created_at", "2018-03-22 04:39:15.953084"], ["updated_at", "2018-03-22 04:39:15.953084"]]  (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", "Lisabeth Mosciski"], ["LIMIT", 1]] SQL (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", "Lisabeth Mosciski"], ["name", "Lita Schiller"], ["description", "Janita Kemmer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-03-22 04:39:15.957648"], ["updated_at", "2018-03-22 04:39:15.957648"]]  (0.5ms) 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", "Ronni Metz"], ["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", "Samella Bergstrom"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ronni Metz"], ["name", "Samella Bergstrom"], ["description", "Marlin Marquardt"], ["created_at", "2018-03-22 04:39:15.963345"], ["updated_at", "2018-03-22 04:39:15.963345"]]  (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", "Sonia Ratke"], ["LIMIT", 1]] SQL (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", "Sonia Ratke"], ["name", "Fatima Dickinson"], ["location_type_id", 3], ["description", "Nisha Stiedemann"], ["address", "Wilton Hettinger"], ["created_at", "2018-03-22 04:39:15.967441"], ["updated_at", "2018-03-22 04:39:15.967441"]]  (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", "Tatiana Harber"], ["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", "Stephan Fay"], ["LIMIT", 1]] SQL (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", "Tatiana Harber"], ["name", "Cameron Skiles"], ["description", "Irma Legros"], ["serial_number", "Stephan Fay"], ["brand", "Carmelina Gutmann"], ["item_model", "Savannah Adams"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-03-22 04:39:15.972966"], ["updated_at", "2018-03-22 04:39:15.972966"]]  (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", "Shakita Casper"], ["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", "Sanford Daugherty"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shakita Casper"], ["name", "Sanford Daugherty"], ["created_at", "2018-03-22 04:39:15.979732"], ["updated_at", "2018-03-22 04:39:15.979732"]]  (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", "Santos Ebert"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Santos Ebert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:39:15.984167"], ["updated_at", "2018-03-22 04:39:15.984167"]]  (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", "Louella Rau"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Louella Rau"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:39:15.988242"], ["updated_at", "2018-03-22 04:39:15.988242"]]  (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", "Jerry Lind"], ["LIMIT", 1]] SQL (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", "Jerry Lind"], ["name", "Siobhan Cruickshank"], ["address", "Alethea Wolf"], ["created_at", "2018-03-22 04:39:15.992598"], ["updated_at", "2018-03-22 04:39:15.992598"]]  (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", "Love Larkin"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Love Larkin"], ["name", "Jamie Little"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-03-22 04:39:15.996930"], ["updated_at", "2018-03-22 04:39:15.996930"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 3], ["equipment_item_id", 3], ["created_at", "2018-03-22 04:39:16.000153"], ["updated_at", "2018-03-22 04:39:16.000153"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (1.9ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.7ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "mks_rate_bundle_discounts"  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Aurora Kilback"], ["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", "Leda Nolan"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Aurora Kilback"], ["name", "Leda Nolan"], ["created_at", "2018-03-22 04:40:24.008056"], ["updated_at", "2018-03-22 04:40:24.008056"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Bao Crooks"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bao Crooks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.038089"], ["updated_at", "2018-03-22 04:40:24.038089"]]  (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", "Theodora Herzog"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Theodora Herzog"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.043866"], ["updated_at", "2018-03-22 04:40:24.043866"]]  (0.5ms) 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", "Nobuko Collier"], ["LIMIT", 1]] SQL (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", "Nobuko Collier"], ["name", "Chang Thiel"], ["address", "Betty Franecki"], ["created_at", "2018-03-22 04:40:24.059827"], ["updated_at", "2018-03-22 04:40:24.059827"]]  (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", "Aura Connelly"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Aura Connelly"], ["name", "Isis Heaney"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-03-22 04:40:24.066395"], ["updated_at", "2018-03-22 04:40:24.066395"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jenell Greenholt"], ["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", "Douglas Watsica"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jenell Greenholt"], ["name", "Douglas Watsica"], ["created_at", "2018-03-22 04:40:24.073261"], ["updated_at", "2018-03-22 04:40:24.073261"]]  (0.4ms) 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", "Tamra Nitzsche"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tamra Nitzsche"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.077311"], ["updated_at", "2018-03-22 04:40:24.077311"]]  (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", "Madie Reinger"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Madie Reinger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.081560"], ["updated_at", "2018-03-22 04:40:24.081560"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Latasha Rolfson"], ["LIMIT", 1]] SQL (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", "Latasha Rolfson"], ["name", "Pasty Zulauf"], ["address", "Whitney Wehner"], ["created_at", "2018-03-22 04:40:24.086692"], ["updated_at", "2018-03-22 04:40:24.086692"]]  (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", "Manuel Considine"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Manuel Considine"], ["name", "Lester Collier"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-03-22 04:40:24.091014"], ["updated_at", "2018-03-22 04:40:24.091014"]]  (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", "Malvina Rowe"], ["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", "Alleen Bernhard"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Malvina Rowe"], ["name", "Alleen Bernhard"], ["created_at", "2018-03-22 04:40:24.097688"], ["updated_at", "2018-03-22 04:40:24.097688"]]  (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", "Ellamae Roberts"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ellamae Roberts"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.102696"], ["updated_at", "2018-03-22 04:40:24.102696"]]  (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", "Patsy Brown"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Patsy Brown"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.106838"], ["updated_at", "2018-03-22 04:40:24.106838"]]  (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", "Pattie Cole"], ["LIMIT", 1]] SQL (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", "Pattie Cole"], ["name", "Margaretta Wiza"], ["address", "Harlan Gulgowski"], ["created_at", "2018-03-22 04:40:24.111266"], ["updated_at", "2018-03-22 04:40:24.111266"]]  (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", "Tressie Prohaska"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Tressie Prohaska"], ["name", "Sonia Schimmel"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-03-22 04:40:24.115887"], ["updated_at", "2018-03-22 04:40:24.115887"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Prudence Weber"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Prudence Weber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.148664"], ["updated_at", "2018-03-22 04:40:24.148664"]]  (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", "Diana Harvey"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Diana Harvey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.153476"], ["updated_at", "2018-03-22 04:40:24.153476"]]  (0.6ms) 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", "Erma Baumbach"], ["LIMIT", 1]] SQL (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", "Erma Baumbach"], ["name", "Keli Ratke"], ["address", "Ali Rowe"], ["created_at", "2018-03-22 04:40:24.158503"], ["updated_at", "2018-03-22 04:40:24.158503"]]  (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", "Lenora Dooley"], ["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", "Arlen Considine"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lenora Dooley"], ["name", "Arlen Considine"], ["created_at", "2018-03-22 04:40:24.164532"], ["updated_at", "2018-03-22 04:40:24.164532"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Anya Casper", "name"=>"Raul Schaefer", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (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", "Naoma Gutmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Naoma Gutmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.193435"], ["updated_at", "2018-03-22 04:40:24.193435"]]  (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", "Lachelle Schimmel"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lachelle Schimmel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.197917"], ["updated_at", "2018-03-22 04:40:24.197917"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Gertude Brekke"], ["LIMIT", 1]] SQL (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", "Gertude Brekke"], ["name", "Dorthea Mante"], ["address", "Lizzette Padberg"], ["created_at", "2018-03-22 04:40:24.203188"], ["updated_at", "2018-03-22 04:40:24.203188"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Myrl Lowe"], ["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", "Kaycee Koss"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myrl Lowe"], ["name", "Kaycee Koss"], ["created_at", "2018-03-22 04:40:24.207851"], ["updated_at", "2018-03-22 04:40:24.207851"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Maricruz McGlynn", "name"=>"Shelton Nitzsche", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (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", "Rossana Lowe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rossana Lowe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.217982"], ["updated_at", "2018-03-22 04:40:24.217982"]]  (0.4ms) 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", "Keely Sipes"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Keely Sipes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.222136"], ["updated_at", "2018-03-22 04:40:24.222136"]]  (0.8ms) 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", "Amira Bogan"], ["LIMIT", 1]] SQL (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", "Amira Bogan"], ["name", "Stewart O'Keefe"], ["address", "Jinny Rutherford"], ["created_at", "2018-03-22 04:40:24.228981"], ["updated_at", "2018-03-22 04:40:24.228981"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Carlee Smith"], ["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", "Dotty Adams"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Carlee Smith"], ["name", "Dotty Adams"], ["created_at", "2018-03-22 04:40:24.234801"], ["updated_at", "2018-03-22 04:40:24.234801"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Toby Moen", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Julissa 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", "Christine Raynor"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Julissa Haag"], ["name", "Christine Raynor"], ["created_at", "2018-03-22 04:40:24.248027"], ["updated_at", "2018-03-22 04:40:24.248027"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Moira Lang"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Moira Lang"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.252194"], ["updated_at", "2018-03-22 04:40:24.252194"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ana Stokes"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ana Stokes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.256001"], ["updated_at", "2018-03-22 04:40:24.256001"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jon Connelly"], ["LIMIT", 1]] SQL (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", "Jon Connelly"], ["name", "Lawerence Jast"], ["address", "Cyndy Hane"], ["created_at", "2018-03-22 04:40:24.259944"], ["updated_at", "2018-03-22 04:40:24.259944"]]  (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", "Brook Quigley"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Brook Quigley"], ["name", "Renata Flatley"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-03-22 04:40:24.263948"], ["updated_at", "2018-03-22 04:40:24.263948"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>"Chargeable service 1"}, "id"=>"4"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) 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", 4], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "Frederica 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", "Jane Wunsch"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Frederica Mohr"], ["name", "Jane Wunsch"], ["created_at", "2018-03-22 04:40:24.279444"], ["updated_at", "2018-03-22 04:40:24.279444"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Hugo Emmerich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hugo Emmerich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.285537"], ["updated_at", "2018-03-22 04:40:24.285537"]]  (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", "Staci Kassulke"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Staci Kassulke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.289883"], ["updated_at", "2018-03-22 04:40:24.289883"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Autumn Schimmel"], ["LIMIT", 1]] SQL (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", "Autumn Schimmel"], ["name", "Walter Howe"], ["address", "Bree Pagac"], ["created_at", "2018-03-22 04:40:24.293810"], ["updated_at", "2018-03-22 04:40:24.293810"]]  (0.4ms) 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", "Richelle Stroman"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Richelle Stroman"], ["name", "Basil Friesen"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-03-22 04:40:24.298045"], ["updated_at", "2018-03-22 04:40:24.298045"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"5"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (1.0ms) 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", "Danae Steuber"], ["LIMIT", 1]] SQL (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", "Danae Steuber"], ["name", "Claire Rice"], ["address", "Angel Goldner"], ["created_at", "2018-03-22 04:40:24.308000"], ["updated_at", "2018-03-22 04:40:24.308000"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Chau Hills"], ["LIMIT", 1]] SQL (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", "Chau Hills"], ["name", "Ara Greenfelder"], ["address", "Cleopatra Bergstrom"], ["created_at", "2018-03-22 04:40:24.311797"], ["updated_at", "2018-03-22 04:40:24.311797"]]  (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", "Jasmine Ebert"], ["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", "Jonathon Marks"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jasmine Ebert"], ["name", "Jonathon Marks"], ["created_at", "2018-03-22 04:40:24.318317"], ["updated_at", "2018-03-22 04:40:24.318317"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jammie Rolfson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jammie Rolfson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.322796"], ["updated_at", "2018-03-22 04:40:24.322796"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sean Zboncak"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sean Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.326771"], ["updated_at", "2018-03-22 04:40:24.326771"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Janna Smith"], ["service_delivery_unit_id", 9], ["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", 9], ["LIMIT", 1]] SQL (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", "Janna Smith"], ["name", "Tyra Heller"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-03-22 04:40:24.348625"], ["updated_at", "2018-03-22 04:40:24.348625"]]  (0.8ms) 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", "Deena Carroll"], ["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", "Samella Murazik"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deena Carroll"], ["name", "Samella Murazik"], ["created_at", "2018-03-22 04:40:24.355734"], ["updated_at", "2018-03-22 04:40:24.355734"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Valencia Rowe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Valencia Rowe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.359755"], ["updated_at", "2018-03-22 04:40:24.359755"]]  (0.4ms) 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", "Celia Cartwright"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Celia Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.363818"], ["updated_at", "2018-03-22 04:40:24.363818"]]  (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", "Lianne Yundt"], ["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]] SQL (0.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", "Lianne Yundt"], ["name", "Marine DuBuque"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-03-22 04:40:24.369811"], ["updated_at", "2018-03-22 04:40:24.369811"]]  (0.4ms) 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", "Masako Pfannerstill"], ["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", "Jama Little"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Masako Pfannerstill"], ["name", "Jama Little"], ["created_at", "2018-03-22 04:40:24.375815"], ["updated_at", "2018-03-22 04:40:24.375815"]]  (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", "Ina Weber"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ina Weber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.380654"], ["updated_at", "2018-03-22 04:40:24.380654"]]  (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", "Towanda Murray"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Towanda Murray"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.385430"], ["updated_at", "2018-03-22 04:40:24.385430"]]  (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", "Gwendolyn Swaniawski"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Gwendolyn Swaniawski"], ["name", "Lashonda Gleichner"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-03-22 04:40:24.391383"], ["updated_at", "2018-03-22 04:40:24.391383"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Xiao Johns"], ["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", "Nicolle Ritchie"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Xiao Johns"], ["name", "Nicolle Ritchie"], ["created_at", "2018-03-22 04:40:24.397630"], ["updated_at", "2018-03-22 04:40:24.397630"]]  (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", "Rachelle Douglas"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rachelle Douglas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.402865"], ["updated_at", "2018-03-22 04:40:24.402865"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Gerri Cronin"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gerri Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.406869"], ["updated_at", "2018-03-22 04:40:24.406869"]]  (0.4ms) 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", "Marcos Sauer"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Marcos Sauer"], ["name", "Ivy Weissnat"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-03-22 04:40:24.412390"], ["updated_at", "2018-03-22 04:40:24.412390"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (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", "Ira Jacobs"], ["LIMIT", 1]] SQL (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", "Ira Jacobs"], ["name", "Barb Schuppe"], ["address", "Dorian O'Connell"], ["created_at", "2018-03-22 04:40:24.470126"], ["updated_at", "2018-03-22 04:40:24.470126"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Brinda Mayert"], ["LIMIT", 1]] SQL (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", "Brinda Mayert"], ["name", "Marlyn Huels"], ["description", "Mercedez Weimann"], ["service_delivery_unit_id", 11], ["created_at", "2018-03-22 04:40:24.475986"], ["updated_at", "2018-03-22 04:40:24.475986"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) 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", "Nancy Collins"], ["LIMIT", 1]] SQL (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", "Nancy Collins"], ["name", "Jesica Mueller"], ["address", "Krystyna Hirthe"], ["created_at", "2018-03-22 04:40:24.487689"], ["updated_at", "2018-03-22 04:40:24.487689"]]  (0.4ms) 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", "Shamika Senger"], ["LIMIT", 1]] SQL (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", "Shamika Senger"], ["name", "Hoa Jenkins"], ["description", "Aurea Heller"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:40:24.492285"], ["updated_at", "2018-03-22 04:40:24.492285"]]  (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", "Stepanie Kuphal"], ["LIMIT", 1]] SQL (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", "Stepanie Kuphal"], ["name", "Earline Hickle"], ["description", "Coy Sanford"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:40:24.498356"], ["updated_at", "2018-03-22 04:40:24.498356"]]  (0.9ms) 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", "Flora Emard"], ["LIMIT", 1]] SQL (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", "Flora Emard"], ["name", "Kathryne Christiansen"], ["description", "Ryann Kerluke"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:40:24.503844"], ["updated_at", "2018-03-22 04:40:24.503844"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "Tanesha Block"], ["LIMIT", 1]] SQL (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", "Tanesha Block"], ["name", "Natividad Christiansen"], ["address", "Wendy Harris"], ["created_at", "2018-03-22 04:40:24.513742"], ["updated_at", "2018-03-22 04:40:24.513742"]]  (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", "Shalon Zemlak"], ["LIMIT", 1]] SQL (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", "Shalon Zemlak"], ["name", "Desmond Nader"], ["description", "Frances Jones"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:40:24.518591"], ["updated_at", "2018-03-22 04:40:24.518591"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Blossom Green"], ["LIMIT", 1]] SQL (0.7ms) 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", "Blossom Green"], ["name", "Lyndsay Baumbach"], ["description", "Courtney Pollich"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:40:24.522713"], ["updated_at", "2018-03-22 04:40:24.522713"]]  (0.4ms) 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", "Nancee Beahan"], ["LIMIT", 1]] SQL (0.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", "Nancee Beahan"], ["name", "Donald Veum"], ["description", "Leanora Nienow"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:40:24.526950"], ["updated_at", "2018-03-22 04:40:24.526950"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Zachariah Hauck"], ["LIMIT", 1]] SQL (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", "Zachariah Hauck"], ["name", "Jacque Russel"], ["address", "Wai Dooley"], ["created_at", "2018-03-22 04:40:24.531051"], ["updated_at", "2018-03-22 04:40:24.531051"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Marcelino Beahan"], ["LIMIT", 1]] SQL (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", "Marcelino Beahan"], ["name", "Craig Davis"], ["description", "Raelene Mitchell"], ["service_delivery_unit_id", 14], ["created_at", "2018-03-22 04:40:24.535920"], ["updated_at", "2018-03-22 04:40:24.535920"]]  (0.7ms) 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", "Nicol Mayer"], ["LIMIT", 1]] SQL (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", "Nicol Mayer"], ["name", "Yon Lynch"], ["address", "Deetta Mohr"], ["created_at", "2018-03-22 04:40:24.541741"], ["updated_at", "2018-03-22 04:40:24.541741"]]  (0.8ms) 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", "Lucina Hayes"], ["LIMIT", 1]] SQL (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", "Lucina Hayes"], ["name", "Rosia Deckow"], ["description", "Mendy Maggio"], ["service_delivery_unit_id", 15], ["created_at", "2018-03-22 04:40:24.547175"], ["updated_at", "2018-03-22 04:40:24.547175"]]  (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", "Saundra Dickinson"], ["LIMIT", 1]] SQL (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", "Saundra Dickinson"], ["name", "Rosario White"], ["address", "Novella Bergnaum"], ["created_at", "2018-03-22 04:40:24.553246"], ["updated_at", "2018-03-22 04:40:24.553246"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Janeen Aufderhar"], ["LIMIT", 1]] SQL (0.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", "Janeen Aufderhar"], ["name", "Laquanda Mitchell"], ["description", "Margrett Bauch"], ["service_delivery_unit_id", 16], ["created_at", "2018-03-22 04:40:24.557259"], ["updated_at", "2018-03-22 04:40:24.557259"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) 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", "Danae Ratke"], ["LIMIT", 1]] SQL (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", "Danae Ratke"], ["name", "Mardell Harris"], ["address", "Tessa Schroeder"], ["created_at", "2018-03-22 04:40:24.566779"], ["updated_at", "2018-03-22 04:40:24.566779"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lindsay Barton"], ["LIMIT", 1]] SQL (0.7ms) 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", "Lindsay Barton"], ["name", "Jeremiah Gorczany"], ["description", "Elisa Jenkins"], ["service_delivery_unit_id", 17], ["created_at", "2018-03-22 04:40:24.571338"], ["updated_at", "2018-03-22 04:40:24.571338"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"11"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Viviana Murazik"], ["LIMIT", 1]] SQL (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", "Viviana Murazik"], ["name", "Loreen Padberg"], ["address", "Renetta Lang"], ["created_at", "2018-03-22 04:40:24.583104"], ["updated_at", "2018-03-22 04:40:24.583104"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Suanne Torp", "description"=>"Rich Hoppe", "name"=>"Enoch Bogisich", "service_delivery_unit_id"=>"18"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.6ms) ROLLBACK  (0.4ms) 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", "Cristina O'Keefe"], ["LIMIT", 1]] SQL (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", "Cristina O'Keefe"], ["name", "Erasmo Blanda"], ["address", "Ema Kessler"], ["created_at", "2018-03-22 04:40:24.593050"], ["updated_at", "2018-03-22 04:40:24.593050"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Danae Runolfsdottir", "description"=>"Angella D'Amore", "name"=>"Yon Bergstrom", "service_delivery_unit_id"=>"19"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (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", "Coreen Murray"], ["LIMIT", 1]] SQL (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", "Coreen Murray"], ["name", "Janett Emard"], ["address", "Roger Gleason"], ["created_at", "2018-03-22 04:40:24.604338"], ["updated_at", "2018-03-22 04:40:24.604338"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Florentina McDermott", "name"=>"Lorean Mueller", "service_delivery_unit_id"=>"20"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "Zola Kub"], ["LIMIT", 1]] SQL (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", "Zola Kub"], ["name", "Jami Armstrong"], ["address", "Cassaundra Schuster"], ["created_at", "2018-03-22 04:40:24.614077"], ["updated_at", "2018-03-22 04:40:24.614077"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Gay Murazik"], ["LIMIT", 1]] SQL (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", "Gay Murazik"], ["name", "Jan Schumm"], ["description", "Geraldo Nienow"], ["service_delivery_unit_id", 21], ["created_at", "2018-03-22 04:40:24.619332"], ["updated_at", "2018-03-22 04:40:24.619332"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Lexie Ryan"}, "id"=>"12"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) 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", 12], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Georgeann Willms"], ["LIMIT", 1]] SQL (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", "Georgeann Willms"], ["name", "Angelo Wolf"], ["address", "Andree Jacobi"], ["created_at", "2018-03-22 04:40:24.631241"], ["updated_at", "2018-03-22 04:40:24.631241"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Raguel Toy"], ["LIMIT", 1]] SQL (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", "Raguel Toy"], ["name", "Duncan Berge"], ["description", "Leanna Kris"], ["service_delivery_unit_id", 22], ["created_at", "2018-03-22 04:40:24.635332"], ["updated_at", "2018-03-22 04:40:24.635332"]]  (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", "Marnie Gulgowski"], ["LIMIT", 1]] SQL (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", "Marnie Gulgowski"], ["name", "Georgetta Kulas"], ["address", "Alona Barrows"], ["created_at", "2018-03-22 04:40:24.640480"], ["updated_at", "2018-03-22 04:40:24.640480"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Jovan Jenkins", "description"=>"Ina Schaefer", "name"=>"Flor Kihn", "service_delivery_unit_id"=>"23"}, "id"=>"13"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "Ruby Carroll"], ["LIMIT", 1]] SQL (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", "Ruby Carroll"], ["name", "Sherry Brakus"], ["address", "Madison Ruecker"], ["created_at", "2018-03-22 04:40:24.653136"], ["updated_at", "2018-03-22 04:40:24.653136"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Annamaria Welch"], ["LIMIT", 1]] SQL (0.7ms) 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", "Annamaria Welch"], ["name", "Shavon Ernser"], ["description", "Blanche Parisian"], ["service_delivery_unit_id", 24], ["created_at", "2018-03-22 04:40:24.656918"], ["updated_at", "2018-03-22 04:40:24.656918"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vernie Reinger"], ["LIMIT", 1]] SQL (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", "Vernie Reinger"], ["name", "Denny Gleichner"], ["address", "Beata Heathcote"], ["created_at", "2018-03-22 04:40:24.660767"], ["updated_at", "2018-03-22 04:40:24.660767"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Julee Jacobson", "name"=>"Vicki Jacobs", "service_delivery_unit_id"=>"25"}, "id"=>"14"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) 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", "Leontine Hamill"], ["LIMIT", 1]] SQL (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", "Leontine Hamill"], ["name", "Rebeca Boyle"], ["address", "Lilly Pouros"], ["created_at", "2018-03-22 04:40:24.669965"], ["updated_at", "2018-03-22 04:40:24.669965"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Candis Schumm"], ["LIMIT", 1]] SQL (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", "Candis Schumm"], ["name", "Hortencia Kerluke"], ["address", "Carin Huels"], ["created_at", "2018-03-22 04:40:24.673632"], ["updated_at", "2018-03-22 04:40:24.673632"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kiyoko Trantow"], ["LIMIT", 1]] SQL (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", "Kiyoko Trantow"], ["name", "Mina Mosciski"], ["address", "Catherin Wiegand"], ["created_at", "2018-03-22 04:40:24.677132"], ["updated_at", "2018-03-22 04:40:24.677132"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Evie Herzog", "code"=>"Riva Luettgen", "name"=>"Kizzie Rath"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.5ms) ROLLBACK  (0.4ms) BEGIN Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Tanja Lind", "code"=>"Consuela McKenzie", "name"=>"Araceli Terry"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Arie Adams", "code"=>"", "name"=>"Eleonora Bailey"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "Margot Hintz"], ["LIMIT", 1]] SQL (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", "Margot Hintz"], ["name", "Marget Beahan"], ["address", "Pete O'Hara"], ["created_at", "2018-03-22 04:40:24.705788"], ["updated_at", "2018-03-22 04:40:24.705788"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"29"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.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", 29], ["LIMIT", 1]]  (0.7ms) 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", "Nilsa Schaefer"], ["LIMIT", 1]] SQL (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", "Nilsa Schaefer"], ["name", "Gudrun Greenfelder"], ["address", "Jacqulyn Brown"], ["created_at", "2018-03-22 04:40:24.716654"], ["updated_at", "2018-03-22 04:40:24.716654"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"30"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) 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", "Floretta Steuber"], ["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", "Selene Wehner"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Floretta Steuber"], ["name", "Selene Wehner"], ["description", "Praesentium nam aut quidem mollitia velit. Voluptate dolorum repellat perspiciatis tenetur et. Beatae dolorum in sed ducimus dicta. Neque hic delectus eius doloremque possimus eum."], ["created_at", "2018-03-22 04:40:24.813951"], ["updated_at", "2018-03-22 04:40:24.813951"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Penney Schoen"], ["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", "Jackelyn Leffler"], ["LIMIT", 1]] SQL (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", "Penney Schoen"], ["name", "Jackelyn Leffler"], ["description", "Voluptates dolorem et qui molestiae. Rerum perspiciatis et animi autem ullam ut. Laboriosam fuga est sapiente est qui omnis veniam. Assumenda sed veniam officiis consequatur magnam molestiae. Ad incidunt voluptate delectus aperiam aspernatur amet."], ["equipment_type_id", 1], ["created_at", "2018-03-22 04:40:24.821843"], ["updated_at", "2018-03-22 04:40:24.821843"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lekisha Hegmann"], ["LIMIT", 1]] SQL (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", "Lekisha Hegmann"], ["name", "Jame Feeney"], ["description", "Billy Pouros"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-03-22 04:40:24.828242"], ["updated_at", "2018-03-22 04:40:24.828242"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Daysi 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", "Marjorie Will"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Daysi Bashirian"], ["name", "Marjorie Will"], ["description", "Rebekah Buckridge"], ["created_at", "2018-03-22 04:40:24.863893"], ["updated_at", "2018-03-22 04:40:24.863893"]]  (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", "Leonardo Ryan"], ["LIMIT", 1]] SQL (3.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", "Leonardo Ryan"], ["name", "Jacob Prohaska"], ["location_type_id", 1], ["description", "Rafael Spinka"], ["address", "Kassandra Gottlieb"], ["created_at", "2018-03-22 04:40:24.870068"], ["updated_at", "2018-03-22 04:40:24.870068"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Wilbert Cremin"], ["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", "Sharonda Wolf"], ["LIMIT", 1]] SQL (2.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", "Wilbert Cremin"], ["name", "Justa Crist"], ["description", "Anastacia Ebert"], ["serial_number", "Sharonda Wolf"], ["brand", "Rodolfo Feest"], ["item_model", "Tristan Becker"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-03-22 04:40:24.882378"], ["updated_at", "2018-03-22 04:40:24.882378"]]  (0.6ms) 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", "Harriet Kovacek"], ["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", "Elizebeth Williamson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Harriet Kovacek"], ["name", "Elizebeth Williamson"], ["created_at", "2018-03-22 04:40:24.893259"], ["updated_at", "2018-03-22 04:40:24.893259"]]  (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", "Louella McKenzie"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Louella McKenzie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.897803"], ["updated_at", "2018-03-22 04:40:24.897803"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Joe Spencer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joe Spencer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.901994"], ["updated_at", "2018-03-22 04:40:24.901994"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ione Heathcote"], ["LIMIT", 1]] SQL (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", "Ione Heathcote"], ["name", "Lora Olson"], ["address", "Elba Mills"], ["created_at", "2018-03-22 04:40:24.906252"], ["updated_at", "2018-03-22 04:40:24.906252"]]  (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", "Alesia Reichel"], ["service_delivery_unit_id", 31], ["LIMIT", 1]] SQL (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", "Alesia Reichel"], ["name", "Latrice Schimmel"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 31], ["created_at", "2018-03-22 04:40:24.910783"], ["updated_at", "2018-03-22 04:40:24.910783"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", 10], ["equipment_item_id", 1], ["created_at", "2018-03-22 04:40:24.915216"], ["updated_at", "2018-03-22 04:40:24.915216"]]  (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", "Nancey Maggio"], ["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", "Lucille Hansen"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nancey Maggio"], ["name", "Lucille Hansen"], ["description", "Eaque nulla modi quis recusandae nobis. Molestias doloribus blanditiis nulla aliquam iusto. Quaerat harum recusandae illum quas. Sint quia et quisquam dolor tempore est perspiciatis. Voluptate minima non blanditiis qui et."], ["created_at", "2018-03-22 04:40:24.922421"], ["updated_at", "2018-03-22 04:40:24.922421"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Stacey Leannon"], ["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", "Joselyn Daniel"], ["LIMIT", 1]] SQL (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", "Stacey Leannon"], ["name", "Joselyn Daniel"], ["description", "Vero aliquid qui sapiente delectus modi nemo. Eum est quo nemo aut libero ullam. Tempora ut explicabo quam culpa doloribus officiis vitae."], ["equipment_type_id", 2], ["created_at", "2018-03-22 04:40:24.927069"], ["updated_at", "2018-03-22 04:40:24.927069"]]  (0.4ms) 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", "Mariko Reichert"], ["LIMIT", 1]] SQL (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", "Mariko Reichert"], ["name", "Leanne Bernhard"], ["description", "Dreama Rutherford"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-03-22 04:40:24.931165"], ["updated_at", "2018-03-22 04:40:24.931165"]]  (0.4ms) 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", "Kimberlee Bernhard"], ["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", "Deidra Davis"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kimberlee Bernhard"], ["name", "Deidra Davis"], ["description", "Samatha Conroy"], ["created_at", "2018-03-22 04:40:24.937085"], ["updated_at", "2018-03-22 04:40:24.937085"]]  (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", "Min Murazik"], ["LIMIT", 1]] SQL (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", "Min Murazik"], ["name", "Christy Gleason"], ["location_type_id", 2], ["description", "Dinah Rice"], ["address", "Dovie Pfannerstill"], ["created_at", "2018-03-22 04:40:24.941351"], ["updated_at", "2018-03-22 04:40:24.941351"]]  (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", "Guillermo Mertz"], ["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", "Brittny Dickinson"], ["LIMIT", 1]] SQL (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", "Guillermo Mertz"], ["name", "Mardell Maggio"], ["description", "Sade Luettgen"], ["serial_number", "Brittny Dickinson"], ["brand", "Stefanie Fisher"], ["item_model", "Sonia Littel"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-03-22 04:40:24.946468"], ["updated_at", "2018-03-22 04:40:24.946468"]]  (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", "Sulema Gusikowski"], ["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", "Lacresha Koelpin"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sulema Gusikowski"], ["name", "Lacresha Koelpin"], ["created_at", "2018-03-22 04:40:24.953182"], ["updated_at", "2018-03-22 04:40:24.953182"]]  (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", "Tomi Keebler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tomi Keebler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.958404"], ["updated_at", "2018-03-22 04:40:24.958404"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Young Bednar"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Young Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:24.962487"], ["updated_at", "2018-03-22 04:40:24.962487"]]  (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", "Laquita Rath"], ["LIMIT", 1]] SQL (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", "Laquita Rath"], ["name", "Lucille Pagac"], ["address", "Virginia Beer"], ["created_at", "2018-03-22 04:40:24.967350"], ["updated_at", "2018-03-22 04:40:24.967350"]]  (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", "Analisa Moen"], ["service_delivery_unit_id", 32], ["LIMIT", 1]] SQL (0.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", "Analisa Moen"], ["name", "Jason Pfeffer"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 32], ["created_at", "2018-03-22 04:40:24.971568"], ["updated_at", "2018-03-22 04:40:24.971568"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 11], ["equipment_item_id", 2], ["created_at", "2018-03-22 04:40:24.974587"], ["updated_at", "2018-03-22 04:40:24.974587"]]  (0.5ms) 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", "Antonia Rutherford"], ["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", "Londa Reilly"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Antonia Rutherford"], ["name", "Londa Reilly"], ["description", "Doloremque minima ea qui quidem similique consequatur aut. Voluptas cupiditate et sit molestiae maxime. Voluptas minima dignissimos repellat quis. Odit sint quo nihil eaque. Perferendis quisquam sapiente soluta saepe est."], ["created_at", "2018-03-22 04:40:24.981626"], ["updated_at", "2018-03-22 04:40:24.981626"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Edwin Nikolaus"], ["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", "Katherin Cruickshank"], ["LIMIT", 1]] SQL (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", "Edwin Nikolaus"], ["name", "Katherin Cruickshank"], ["description", "Facere quaerat fuga consequuntur sint ab omnis. Libero quos quo illum minima molestiae. Voluptatem et expedita aut error. Exercitationem necessitatibus est corrupti voluptatem est neque. Ut sint magnam voluptas et aliquid dolorum autem."], ["equipment_type_id", 3], ["created_at", "2018-03-22 04:40:24.987109"], ["updated_at", "2018-03-22 04:40:24.987109"]]  (0.4ms) 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", "Milissa Goldner"], ["LIMIT", 1]] SQL (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", "Milissa Goldner"], ["name", "Margit Volkman"], ["description", "Bryanna Dare"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-03-22 04:40:24.991351"], ["updated_at", "2018-03-22 04:40:24.991351"]]  (0.4ms) 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", "Hipolito Wiza"], ["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", "Hillary Larson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Hipolito Wiza"], ["name", "Hillary Larson"], ["description", "Orval Treutel"], ["created_at", "2018-03-22 04:40:24.997305"], ["updated_at", "2018-03-22 04:40:24.997305"]]  (0.4ms) 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", "Loreta Schinner"], ["LIMIT", 1]] SQL (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", "Loreta Schinner"], ["name", "Valery Kertzmann"], ["location_type_id", 3], ["description", "Jacquelin Dicki"], ["address", "Mariam Runte"], ["created_at", "2018-03-22 04:40:25.001532"], ["updated_at", "2018-03-22 04:40:25.001532"]]  (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", "Celestine D'Amore"], ["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", "Marylouise Spinka"], ["LIMIT", 1]] SQL (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", "Celestine D'Amore"], ["name", "Robbie Durgan"], ["description", "Kanisha Leuschke"], ["serial_number", "Marylouise Spinka"], ["brand", "Marceline Farrell"], ["item_model", "Sommer Gutkowski"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-03-22 04:40:25.006706"], ["updated_at", "2018-03-22 04:40:25.006706"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Louie Jenkins"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lera D'Amore"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Louie Jenkins"], ["name", "Lera D'Amore"], ["created_at", "2018-03-22 04:40:25.012326"], ["updated_at", "2018-03-22 04:40:25.012326"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Shila Schamberger"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shila Schamberger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:25.016951"], ["updated_at", "2018-03-22 04:40:25.016951"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "In Schumm"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "In Schumm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:25.021017"], ["updated_at", "2018-03-22 04:40:25.021017"]]  (0.5ms) 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", "Krysta Rogahn"], ["LIMIT", 1]] SQL (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", "Krysta Rogahn"], ["name", "Tracy Hills"], ["address", "Adam Larson"], ["created_at", "2018-03-22 04:40:25.025271"], ["updated_at", "2018-03-22 04:40:25.025271"]]  (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", "Steve Yost"], ["service_delivery_unit_id", 33], ["LIMIT", 1]] SQL (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", "Steve Yost"], ["name", "Cassi Krajcik"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 33], ["created_at", "2018-03-22 04:40:25.033692"], ["updated_at", "2018-03-22 04:40:25.033692"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 12], ["equipment_item_id", 3], ["created_at", "2018-03-22 04:40:25.037325"], ["updated_at", "2018-03-22 04:40:25.037325"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (1.1ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) 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", "Moon Pagac"], ["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", "Eleanore Block"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Moon Pagac"], ["name", "Eleanore Block"], ["description", "Ut architecto voluptatem sed quis. Aut ducimus non fugiat aut vel nobis est aut. Porro laboriosam in non numquam nihil amet. Dolor aspernatur molestiae alias et."], ["created_at", "2018-03-22 04:40:25.050030"], ["updated_at", "2018-03-22 04:40:25.050030"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cecilia Jacobson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Gregory Thompson"], ["LIMIT", 1]] SQL (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", "Cecilia Jacobson"], ["name", "Gregory Thompson"], ["description", "Voluptatem eveniet ea voluptas saepe explicabo facilis est. Consectetur sint cupiditate autem ut quo ipsa eaque corrupti. Dolores asperiores voluptas quidem eaque tenetur. Qui veniam tempora ut et."], ["equipment_type_id", 4], ["created_at", "2018-03-22 04:40:25.055120"], ["updated_at", "2018-03-22 04:40:25.055120"]]  (0.4ms) 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", "Keely Ferry"], ["LIMIT", 1]] SQL (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", "Keely Ferry"], ["name", "Preston Christiansen"], ["description", "Jackie Ankunding"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-03-22 04:40:25.059940"], ["updated_at", "2018-03-22 04:40:25.059940"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Allyn Brekke"], ["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", "Kenton Rosenbaum"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Allyn Brekke"], ["name", "Kenton Rosenbaum"], ["description", "Zachary Mohr"], ["created_at", "2018-03-22 04:40:25.067201"], ["updated_at", "2018-03-22 04:40:25.067201"]]  (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", "Elizbeth Kassulke"], ["LIMIT", 1]] SQL (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", "Elizbeth Kassulke"], ["name", "Vincenza Konopelski"], ["location_type_id", 4], ["description", "Audrie Kris"], ["address", "Kristofer Raynor"], ["created_at", "2018-03-22 04:40:25.071143"], ["updated_at", "2018-03-22 04:40:25.071143"]]  (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", "Stefania Dibbert"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Noah Lynch"], ["LIMIT", 1]] SQL (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", "Stefania Dibbert"], ["name", "Maisha Lehner"], ["description", "Terresa Klocko"], ["serial_number", "Noah Lynch"], ["brand", "Roxann Mohr"], ["item_model", "Vilma Larson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-03-22 04:40:25.076289"], ["updated_at", "2018-03-22 04:40:25.076289"]]  (0.6ms) 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", "Kayla Quitzon"], ["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", "Bev Okuneva"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kayla Quitzon"], ["name", "Bev Okuneva"], ["created_at", "2018-03-22 04:40:25.084186"], ["updated_at", "2018-03-22 04:40:25.084186"]]  (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", "Dorian Witting"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dorian Witting"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:25.088861"], ["updated_at", "2018-03-22 04:40:25.088861"]]  (0.4ms) 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", "Herschel Eichmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Herschel Eichmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:25.092994"], ["updated_at", "2018-03-22 04:40:25.092994"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Pat Jaskolski"], ["LIMIT", 1]] SQL (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", "Pat Jaskolski"], ["name", "Lessie Balistreri"], ["address", "Flora Heaney"], ["created_at", "2018-03-22 04:40:25.097297"], ["updated_at", "2018-03-22 04:40:25.097297"]]  (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", "Lane Harris"], ["service_delivery_unit_id", 34], ["LIMIT", 1]] SQL (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", "Lane Harris"], ["name", "Fay Barrows"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 34], ["created_at", "2018-03-22 04:40:25.102652"], ["updated_at", "2018-03-22 04:40:25.102652"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 4], ["created_at", "2018-03-22 04:40:25.105835"], ["updated_at", "2018-03-22 04:40:25.105835"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Benito Pouros"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Stephania Kozey"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Benito Pouros"], ["name", "Stephania Kozey"], ["description", "Quis et dolore optio corporis dolor aliquid voluptas doloremque. Fuga nam quis quaerat assumenda aut at eum. Non voluptatem est ducimus laboriosam maxime quos dicta qui. Ea quia sunt asperiores hic dolor dolorum."], ["created_at", "2018-03-22 04:40:25.112220"], ["updated_at", "2018-03-22 04:40:25.112220"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Maude McLaughlin"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Patrick Rath"], ["LIMIT", 1]] SQL (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", "Maude McLaughlin"], ["name", "Patrick Rath"], ["description", "Eos quos officiis et dolorem eius voluptatum. Sunt quae accusamus qui cupiditate veniam. Iusto ratione beatae numquam rem. Occaecati vel sunt ea qui corrupti placeat earum. Quos nulla voluptatibus excepturi placeat ab et est."], ["equipment_type_id", 5], ["created_at", "2018-03-22 04:40:25.117272"], ["updated_at", "2018-03-22 04:40:25.117272"]]  (0.4ms) 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", "Elba Langworth"], ["LIMIT", 1]] SQL (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", "Elba Langworth"], ["name", "Charline Dietrich"], ["description", "Carl Rath"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-03-22 04:40:25.121408"], ["updated_at", "2018-03-22 04:40:25.121408"]]  (0.4ms) 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", "Penni Leffler"], ["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", "Clay Deckow"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Penni Leffler"], ["name", "Clay Deckow"], ["description", "Tuan Gutmann"], ["created_at", "2018-03-22 04:40:25.126911"], ["updated_at", "2018-03-22 04:40:25.126911"]]  (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", "Gary Conn"], ["LIMIT", 1]] SQL (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", "Gary Conn"], ["name", "Brittani Stehr"], ["location_type_id", 5], ["description", "Luann Wolf"], ["address", "Carrol Trantow"], ["created_at", "2018-03-22 04:40:25.131048"], ["updated_at", "2018-03-22 04:40:25.131048"]]  (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", "Naomi O'Kon"], ["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", "Eugene Hackett"], ["LIMIT", 1]] SQL (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", "Naomi O'Kon"], ["name", "Chelsie McCullough"], ["description", "Emeline Hartmann"], ["serial_number", "Eugene Hackett"], ["brand", "Lester Spinka"], ["item_model", "Brandon Osinski"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-03-22 04:40:25.136907"], ["updated_at", "2018-03-22 04:40:25.136907"]]  (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", "Rosalinda Brown"], ["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", "Corine Nitzsche"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rosalinda Brown"], ["name", "Corine Nitzsche"], ["created_at", "2018-03-22 04:40:25.143052"], ["updated_at", "2018-03-22 04:40:25.143052"]]  (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", "Spring Hodkiewicz"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Spring Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:25.147838"], ["updated_at", "2018-03-22 04:40:25.147838"]]  (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", "Shaquana Kuhn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shaquana Kuhn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:25.153142"], ["updated_at", "2018-03-22 04:40:25.153142"]]  (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", "Alfreda Purdy"], ["LIMIT", 1]] SQL (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", "Alfreda Purdy"], ["name", "Mariel Carroll"], ["address", "Dori O'Conner"], ["created_at", "2018-03-22 04:40:25.157271"], ["updated_at", "2018-03-22 04:40:25.157271"]]  (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", "Santana Dicki"], ["service_delivery_unit_id", 35], ["LIMIT", 1]] SQL (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", "Santana Dicki"], ["name", "Elmo Pfeffer"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 35], ["created_at", "2018-03-22 04:40:25.161276"], ["updated_at", "2018-03-22 04:40:25.161276"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (1.4ms) 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", 14], ["equipment_item_id", 5], ["created_at", "2018-03-22 04:40:25.165026"], ["updated_at", "2018-03-22 04:40:25.165026"]]  (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", "Etha Bergnaum"], ["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", "Chase Douglas"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Etha Bergnaum"], ["name", "Chase Douglas"], ["description", "Excepturi fuga voluptas impedit sunt. Ut incidunt optio qui quasi quaerat. Necessitatibus cupiditate eum sint atque dolor sed ipsam. Veritatis laudantium et quia culpa nostrum. Deserunt qui vitae dolore facere aut et."], ["created_at", "2018-03-22 04:40:25.172173"], ["updated_at", "2018-03-22 04:40:25.172173"]]  (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", "Margarita Kris"], ["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", "Tonja Bins"], ["LIMIT", 1]] SQL (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", "Margarita Kris"], ["name", "Tonja Bins"], ["description", "Expedita reprehenderit qui ratione omnis fugit dolores aut. Est voluptatem omnis laboriosam voluptatem non consequatur quaerat qui. Ipsam aut praesentium cum suscipit commodi qui et. Totam sint est distinctio ea ut. Ullam veritatis repellendus aliquam iste non."], ["equipment_type_id", 6], ["created_at", "2018-03-22 04:40:25.177598"], ["updated_at", "2018-03-22 04:40:25.177598"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lorriane Purdy"], ["LIMIT", 1]] SQL (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", "Lorriane Purdy"], ["name", "Adelaida Senger"], ["description", "Arica Bayer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-03-22 04:40:25.182399"], ["updated_at", "2018-03-22 04:40:25.182399"]]  (0.4ms) 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", "Rochel Hamill"], ["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", "Artie Reynolds"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Rochel Hamill"], ["name", "Artie Reynolds"], ["description", "Kathe Olson"], ["created_at", "2018-03-22 04:40:25.188409"], ["updated_at", "2018-03-22 04:40:25.188409"]]  (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", "Zelma Koelpin"], ["LIMIT", 1]] SQL (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", "Zelma Koelpin"], ["name", "Trenton Casper"], ["location_type_id", 6], ["description", "Jeanetta Quitzon"], ["address", "Rufina Klein"], ["created_at", "2018-03-22 04:40:25.192298"], ["updated_at", "2018-03-22 04:40:25.192298"]]  (0.4ms) 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", "Malcolm Howe"], ["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", "Rubie Corwin"], ["LIMIT", 1]] SQL (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", "Malcolm Howe"], ["name", "Tonya Lebsack"], ["description", "Cameron Hodkiewicz"], ["serial_number", "Rubie Corwin"], ["brand", "Keven Reilly"], ["item_model", "Adrian Ratke"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-03-22 04:40:25.197604"], ["updated_at", "2018-03-22 04:40:25.197604"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Deloras Stamm"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Delsie Schumm"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deloras Stamm"], ["name", "Delsie Schumm"], ["created_at", "2018-03-22 04:40:25.203617"], ["updated_at", "2018-03-22 04:40:25.203617"]]  (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", "Gia Kiehn"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gia Kiehn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:25.207832"], ["updated_at", "2018-03-22 04:40:25.207832"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Elise Prohaska"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elise Prohaska"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:25.212488"], ["updated_at", "2018-03-22 04:40:25.212488"]]  (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", "Luna Beahan"], ["LIMIT", 1]] SQL (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", "Luna Beahan"], ["name", "Muriel Kohler"], ["address", "Yadira Abernathy"], ["created_at", "2018-03-22 04:40:25.217134"], ["updated_at", "2018-03-22 04:40:25.217134"]]  (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", "Elizebeth Ward"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] SQL (0.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", "Elizebeth Ward"], ["name", "Emory Strosin"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 36], ["created_at", "2018-03-22 04:40:25.221153"], ["updated_at", "2018-03-22 04:40:25.221153"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 15], ["equipment_item_id", 6], ["created_at", "2018-03-22 04:40:25.224320"], ["updated_at", "2018-03-22 04:40:25.224320"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (2.3ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) 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", "Deena Sauer"], ["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", "Alberta D'Amore"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deena Sauer"], ["name", "Alberta D'Amore"], ["created_at", "2018-03-22 04:40:28.612003"], ["updated_at", "2018-03-22 04:40:28.612003"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (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", "Nancie McCullough"], ["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", "Anthony Ward"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nancie McCullough"], ["name", "Anthony Ward"], ["created_at", "2018-03-22 04:40:28.624864"], ["updated_at", "2018-03-22 04:40:28.624864"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Henriette Cummings", "name"=>"Juan Windler"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.8ms) ROLLBACK  (0.4ms) BEGIN Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Teisha Williamson", "name"=>"Gema Marquardt"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Cathey Block"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (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", "Janee Dicki"], ["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", "Roseanna Ritchie"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Janee Dicki"], ["name", "Roseanna Ritchie"], ["created_at", "2018-03-22 04:40:28.664004"], ["updated_at", "2018-03-22 04:40:28.664004"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Shantelle Kessler"}, "id"=>"21"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) 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", 21], ["LIMIT", 1]]  (0.6ms) 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", "Marci VonRueden"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (9.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Johnny Emmerich"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marci VonRueden"], ["name", "Johnny Emmerich"], ["created_at", "2018-03-22 04:40:28.686091"], ["updated_at", "2018-03-22 04:40:28.686091"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Mirian Quigley", "name"=>"Vivien Hegmann"}, "id"=>"22"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) 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", "Jame Mosciski"], ["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", "Marylouise Zemlak"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jame Mosciski"], ["name", "Marylouise Zemlak"], ["created_at", "2018-03-22 04:40:28.697749"], ["updated_at", "2018-03-22 04:40:28.697749"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Mohammad Rowe"}, "id"=>"23"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) 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", "Francine Wolf"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Francine Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.708420"], ["updated_at", "2018-03-22 04:40:28.708420"]]  (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", "Ira Wintheiser"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ira Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.713733"], ["updated_at", "2018-03-22 04:40:28.713733"]]  (0.4ms) 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", "Moises Schmitt"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Moises Schmitt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.718623"], ["updated_at", "2018-03-22 04:40:28.718623"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.05ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) 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", "Dawne Kling"], ["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", "Ian Homenick"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dawne Kling"], ["name", "Ian Homenick"], ["created_at", "2018-03-22 04:40:28.747739"], ["updated_at", "2018-03-22 04:40:28.747739"]]  (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", "Refugio Buckridge"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Refugio Buckridge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.753678"], ["updated_at", "2018-03-22 04:40:28.753678"]]  (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", "Donette Towne"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Donette Towne"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.761711"], ["updated_at", "2018-03-22 04:40:28.761711"]]  (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", "Armandina Torp"], ["LIMIT", 1]] SQL (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", "Armandina Torp"], ["name", "Treena Schaden"], ["address", "Hazel Steuber"], ["created_at", "2018-03-22 04:40:28.768865"], ["updated_at", "2018-03-22 04:40:28.768865"]]  (0.4ms) 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", "Cecile Littel"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (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", "Cecile Littel"], ["name", "Chana Effertz"], ["service_type_id", 24], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 37], ["created_at", "2018-03-22 04:40:28.774211"], ["updated_at", "2018-03-22 04:40:28.774211"]]  (0.4ms) 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", "Laureen Collins"], ["LIMIT", 1]] SQL (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", "Laureen Collins"], ["name", "Hilda Pouros"], ["address", "Rosaline Schumm"], ["created_at", "2018-03-22 04:40:28.783537"], ["updated_at", "2018-03-22 04:40:28.783537"]]  (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", "Leanora Pfeffer"], ["LIMIT", 1]] SQL (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", "Leanora Pfeffer"], ["name", "Inger Jast"], ["description", "Josette Krajcik"], ["service_delivery_unit_id", 38], ["created_at", "2018-03-22 04:40:28.790059"], ["updated_at", "2018-03-22 04:40:28.790059"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 16], ["service_bundle_id", 15], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:40:28.796605"], ["updated_at", "2018-03-22 04:40:28.796605"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Jennifer O'Conner"], ["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", "Gwen Jenkins"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jennifer O'Conner"], ["name", "Gwen Jenkins"], ["created_at", "2018-03-22 04:40:28.811272"], ["updated_at", "2018-03-22 04:40:28.811272"]]  (0.6ms) 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", "Cleora Schroeder"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cleora Schroeder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.817057"], ["updated_at", "2018-03-22 04:40:28.817057"]]  (0.5ms) 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", "Cecil Kling"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cecil Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.824873"], ["updated_at", "2018-03-22 04:40:28.824873"]]  (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", "Denis Bruen"], ["LIMIT", 1]] SQL (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", "Denis Bruen"], ["name", "Georgeanna Yost"], ["address", "Antionette Davis"], ["created_at", "2018-03-22 04:40:28.831015"], ["updated_at", "2018-03-22 04:40:28.831015"]]  (0.4ms) 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", "Asa Dickinson"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Asa Dickinson"], ["name", "Ladawn Deckow"], ["service_type_id", 25], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 39], ["created_at", "2018-03-22 04:40:28.838252"], ["updated_at", "2018-03-22 04:40:28.838252"]]  (1.0ms) 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", "Grayce Hoppe"], ["LIMIT", 1]] SQL (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", "Grayce Hoppe"], ["name", "Elsie Jenkins"], ["address", "Starla Haley"], ["created_at", "2018-03-22 04:40:28.853645"], ["updated_at", "2018-03-22 04:40:28.853645"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Clayton O'Hara"], ["LIMIT", 1]] SQL (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", "Clayton O'Hara"], ["name", "Shoshana Pagac"], ["description", "Carry Kuhn"], ["service_delivery_unit_id", 40], ["created_at", "2018-03-22 04:40:28.858645"], ["updated_at", "2018-03-22 04:40:28.858645"]]  (0.4ms) 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", "Earle Hegmann"], ["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", "Orville Cummings"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Earle Hegmann"], ["name", "Orville Cummings"], ["created_at", "2018-03-22 04:40:28.873868"], ["updated_at", "2018-03-22 04:40:28.873868"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sima Effertz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sima Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.877933"], ["updated_at", "2018-03-22 04:40:28.877933"]]  (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", "Tamra McClure"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tamra McClure"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.882331"], ["updated_at", "2018-03-22 04:40:28.882331"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ardis Ward"], ["LIMIT", 1]] SQL (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", "Ardis Ward"], ["name", "Dell Langosh"], ["address", "Luci Mraz"], ["created_at", "2018-03-22 04:40:28.886268"], ["updated_at", "2018-03-22 04:40:28.886268"]]  (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", "Janett Streich"], ["service_delivery_unit_id", 41], ["LIMIT", 1]] SQL (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", "Janett Streich"], ["name", "Cleveland Kihn"], ["service_type_id", 26], ["base_unit_id", 44], ["utilization_unit_id", 45], ["service_delivery_unit_id", 41], ["created_at", "2018-03-22 04:40:28.890210"], ["updated_at", "2018-03-22 04:40:28.890210"]]  (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", "Devora Mueller"], ["LIMIT", 1]] SQL (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", "Devora Mueller"], ["name", "Marylou Flatley"], ["address", "Len Huels"], ["created_at", "2018-03-22 04:40:28.894916"], ["updated_at", "2018-03-22 04:40:28.894916"]]  (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", "Edwardo Zemlak"], ["LIMIT", 1]] SQL (0.7ms) 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", "Edwardo Zemlak"], ["name", "Harrison Windler"], ["description", "Morgan Zieme"], ["service_delivery_unit_id", 42], ["created_at", "2018-03-22 04:40:28.898932"], ["updated_at", "2018-03-22 04:40:28.898932"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Kaitlin Kohler"], ["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", "Abraham Hamill"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kaitlin Kohler"], ["name", "Abraham Hamill"], ["created_at", "2018-03-22 04:40:28.909417"], ["updated_at", "2018-03-22 04:40:28.909417"]]  (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", "Sharonda Gaylord"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sharonda Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.913633"], ["updated_at", "2018-03-22 04:40:28.913633"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Elmer Weimann"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elmer Weimann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.918017"], ["updated_at", "2018-03-22 04:40:28.918017"]]  (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", "Cornelius Lynch"], ["LIMIT", 1]] SQL (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", "Cornelius Lynch"], ["name", "Roy Corwin"], ["address", "Iraida Roberts"], ["created_at", "2018-03-22 04:40:28.922233"], ["updated_at", "2018-03-22 04:40:28.922233"]]  (0.4ms) 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", "Carrie Goodwin"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Carrie Goodwin"], ["name", "Marie Bednar"], ["service_type_id", 27], ["base_unit_id", 46], ["utilization_unit_id", 47], ["service_delivery_unit_id", 43], ["created_at", "2018-03-22 04:40:28.928297"], ["updated_at", "2018-03-22 04:40:28.928297"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Aline Anderson"], ["LIMIT", 1]] SQL (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", "Aline Anderson"], ["name", "Arnoldo Gottlieb"], ["address", "Reena Schmidt"], ["created_at", "2018-03-22 04:40:28.933618"], ["updated_at", "2018-03-22 04:40:28.933618"]]  (0.4ms) 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", "Mozelle Keeling"], ["LIMIT", 1]] SQL (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", "Mozelle Keeling"], ["name", "Terese Adams"], ["description", "Georgie D'Amore"], ["service_delivery_unit_id", 44], ["created_at", "2018-03-22 04:40:28.937707"], ["updated_at", "2018-03-22 04:40:28.937707"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) 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", "Marylouise Leuschke"], ["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", "Quinn Cronin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marylouise Leuschke"], ["name", "Quinn Cronin"], ["created_at", "2018-03-22 04:40:28.949630"], ["updated_at", "2018-03-22 04:40:28.949630"]]  (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", "Philomena Hammes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Philomena Hammes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.953856"], ["updated_at", "2018-03-22 04:40:28.953856"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tobias Kerluke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tobias Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.958959"], ["updated_at", "2018-03-22 04:40:28.958959"]]  (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", "Jasmin Dibbert"], ["LIMIT", 1]] SQL (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", "Jasmin Dibbert"], ["name", "Cari Stokes"], ["address", "Soon Bashirian"], ["created_at", "2018-03-22 04:40:28.963468"], ["updated_at", "2018-03-22 04:40:28.963468"]]  (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", "Hsiu Auer"], ["service_delivery_unit_id", 45], ["LIMIT", 1]] SQL (0.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", "Hsiu Auer"], ["name", "Tawanna Huels"], ["service_type_id", 28], ["base_unit_id", 48], ["utilization_unit_id", 49], ["service_delivery_unit_id", 45], ["created_at", "2018-03-22 04:40:28.967684"], ["updated_at", "2018-03-22 04:40:28.967684"]]  (0.5ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Hsiu Auer"], ["id", 20], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Janeth Stehr"], ["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", "Elayne Bartell"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Janeth Stehr"], ["name", "Elayne Bartell"], ["created_at", "2018-03-22 04:40:28.977157"], ["updated_at", "2018-03-22 04:40:28.977157"]]  (0.4ms) 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", "Irish Mayert"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Irish Mayert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.981409"], ["updated_at", "2018-03-22 04:40:28.981409"]]  (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", "Vernon Mosciski"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vernon Mosciski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:28.987066"], ["updated_at", "2018-03-22 04:40:28.987066"]]  (0.4ms) 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", "Daron Herzog"], ["LIMIT", 1]] SQL (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", "Daron Herzog"], ["name", "Malika Kemmer"], ["address", "Laine Hoeger"], ["created_at", "2018-03-22 04:40:28.991700"], ["updated_at", "2018-03-22 04:40:28.991700"]]  (0.4ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Demarcus Leannon"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Janina Heathcote"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Demarcus Leannon"], ["name", "Janina Heathcote"], ["created_at", "2018-03-22 04:40:29.002116"], ["updated_at", "2018-03-22 04:40:29.002116"]]  (0.5ms) 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", "Lan Dooley"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lan Dooley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.007554"], ["updated_at", "2018-03-22 04:40:29.007554"]]  (0.4ms) 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", "Ciera Raynor"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ciera Raynor"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.011733"], ["updated_at", "2018-03-22 04:40:29.011733"]]  (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", "Fredia Macejkovic"], ["LIMIT", 1]] SQL (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", "Fredia Macejkovic"], ["name", "Jerry Spencer"], ["address", "Francine Bayer"], ["created_at", "2018-03-22 04:40:29.015960"], ["updated_at", "2018-03-22 04:40:29.015960"]]  (0.4ms) 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", "Theo Sawayn"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Desirae Denesik"], ["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", "Wendi Bruen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Desirae Denesik"], ["name", "Wendi Bruen"], ["created_at", "2018-03-22 04:40:29.025785"], ["updated_at", "2018-03-22 04:40:29.025785"]]  (0.4ms) 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", "Laurinda Upton"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laurinda Upton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.030512"], ["updated_at", "2018-03-22 04:40:29.030512"]]  (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", "Josue Gottlieb"], ["LIMIT", 1]] SQL (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", "Josue Gottlieb"], ["name", "Billie Kub"], ["address", "Truman O'Hara"], ["created_at", "2018-03-22 04:40:29.036991"], ["updated_at", "2018-03-22 04:40:29.036991"]]  (0.8ms) 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", "Mariana Larkin"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Mertie Bogan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Audrey O'Keefe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mertie Bogan"], ["name", "Audrey O'Keefe"], ["created_at", "2018-03-22 04:40:29.048801"], ["updated_at", "2018-03-22 04:40:29.048801"]]  (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", "Claude Welch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Claude Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.053138"], ["updated_at", "2018-03-22 04:40:29.053138"]]  (0.4ms) 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", "Pearl Kertzmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pearl Kertzmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.057228"], ["updated_at", "2018-03-22 04:40:29.057228"]]  (0.4ms) RELEASE 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" IS NULL LIMIT $2 [["code", "Frida O'Connell"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) 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", "Renate Zieme"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ardella Batz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Renate Zieme"], ["name", "Ardella Batz"], ["created_at", "2018-03-22 04:40:29.066927"], ["updated_at", "2018-03-22 04:40:29.066927"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Janeth Kautzer"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janeth Kautzer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.070842"], ["updated_at", "2018-03-22 04:40:29.070842"]]  (0.4ms) 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", "Rosanna Pfannerstill"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rosanna Pfannerstill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.074869"], ["updated_at", "2018-03-22 04:40:29.074869"]]  (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", "Adan Kris"], ["LIMIT", 1]] SQL (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", "Adan Kris"], ["name", "Forest Hahn"], ["address", "Bobby Quigley"], ["created_at", "2018-03-22 04:40:29.079562"], ["updated_at", "2018-03-22 04:40:29.079562"]]  (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", "Nicole Borer"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] SQL (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", "Nicole Borer"], ["name", "Shanna Kub"], ["service_type_id", 33], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 49], ["created_at", "2018-03-22 04:40:29.085192"], ["updated_at", "2018-03-22 04:40:29.085192"]]  (0.5ms) 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", "Lulu Bergstrom"], ["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", "Richie Oberbrunner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lulu Bergstrom"], ["name", "Richie Oberbrunner"], ["created_at", "2018-03-22 04:40:29.092010"], ["updated_at", "2018-03-22 04:40:29.092010"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Flavia Wiza"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Flavia Wiza"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.096144"], ["updated_at", "2018-03-22 04:40:29.096144"]]  (0.5ms) 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", "Dewitt O'Conner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dewitt O'Conner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.100769"], ["updated_at", "2018-03-22 04:40:29.100769"]]  (0.7ms) 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", "Nicole Borer"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "arline_cremin@schumm.us"], ["LIMIT", 1]] SQL (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", "Jesus Emmerich"], ["last_name", "Melony Runolfsson"], ["email", "arline_cremin@schumm.us"], ["password_digest", "$2a$04$ZHHxYHR1JJKXyOefzmTewOWIqqWva/j6giKClqawvIQwKRxnK7Wsq"], ["created_at", "2018-03-22 04:40:29.186128"], ["updated_at", "2018-03-22 04:40:29.186128"]]  (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", "latonya_barrows@bahringerkreiger.ca"], ["LIMIT", 1]] SQL (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", "Alesha Herman"], ["last_name", "Chantel Weissnat"], ["email", "latonya_barrows@bahringerkreiger.ca"], ["password_digest", "$2a$04$h6hbvozwPufIsYEVG9iUyOEPqudiuuCQQctN3BiINbHQ6v5QL3mLC"], ["created_at", "2018-03-22 04:40:29.195238"], ["updated_at", "2018-03-22 04:40:29.195238"]]  (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", "Kenyatta Wisoky"], ["LIMIT", 1]] SQL (1.4ms) 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", "Kenyatta Wisoky"], ["authorized_by", "Elaine Kuhn"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 1], ["approved_by_id", 2], ["created_at", "2018-03-22 04:40:29.200608"], ["updated_at", "2018-03-22 04:40:29.200608"]]  (0.5ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Kenyatta Wisoky"], ["id", 1], ["LIMIT", 1]]  (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", "jennell@bahringer.info"], ["LIMIT", 1]] SQL (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", "Mindi Rice"], ["last_name", "Rodolfo Weber"], ["email", "jennell@bahringer.info"], ["password_digest", "$2a$04$Eer7IMGN2xGP2XNFWs2Nd.DlcbohGEjoHaj.3r7WYobMXZeU4.uEe"], ["created_at", "2018-03-22 04:40:29.212999"], ["updated_at", "2018-03-22 04:40:29.212999"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "elizebeth@ankundingbreitenberg.co.uk"], ["LIMIT", 1]] SQL (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", "Carlena Kertzmann"], ["last_name", "Randy Leuschke"], ["email", "elizebeth@ankundingbreitenberg.co.uk"], ["password_digest", "$2a$04$moEGCuSAagHAUurL9utmUeiuQ8a1MLEpYK0SMDBk4pSSj.I0MsTAW"], ["created_at", "2018-03-22 04:40:29.219277"], ["updated_at", "2018-03-22 04:40:29.219277"]]  (0.4ms) 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", "Wilmer Kovacek"], ["LIMIT", 1]]  (0.7ms) 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", "isreal.reynolds@schmeler.info"], ["LIMIT", 1]] SQL (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", "Clint Hickle"], ["last_name", "Daniel Towne"], ["email", "isreal.reynolds@schmeler.info"], ["password_digest", "$2a$04$7VmHBqc7616enpYteHTJWe8eE4FH6yNurS1lo3CHoUN1e7zdPe48C"], ["created_at", "2018-03-22 04:40:29.231023"], ["updated_at", "2018-03-22 04:40:29.231023"]]  (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", "mayme.windler@wilderman.biz"], ["LIMIT", 1]] SQL (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", "Lourie Feeney"], ["last_name", "Katherine Kuhic"], ["email", "mayme.windler@wilderman.biz"], ["password_digest", "$2a$04$hCaGtqLxxkzFngygjMYkyuJXc5IeF48cPHZAWm8Cz0w6XcQRnGL02"], ["created_at", "2018-03-22 04:40:29.236599"], ["updated_at", "2018-03-22 04:40:29.236599"]]  (0.6ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) 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", "shery_pfannerstill@kassulke.co.uk"], ["LIMIT", 1]] SQL (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", "Krissy Crona"], ["last_name", "Rufina Murazik"], ["email", "shery_pfannerstill@kassulke.co.uk"], ["password_digest", "$2a$04$gThohquW5hw2ftla1oDftO/KdLhr3LHna1tQZP3wXgwvBsDjUnA6."], ["created_at", "2018-03-22 04:40:29.250136"], ["updated_at", "2018-03-22 04:40:29.250136"]]  (0.4ms) 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", "rufus@sengerreinger.info"], ["LIMIT", 1]] SQL (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", "Tajuana Abshire"], ["last_name", "Caroline Kemmer"], ["email", "rufus@sengerreinger.info"], ["password_digest", "$2a$04$Ot3.M6wD9VzQuLKCVLRT7OJAxmsWUbPZ3b/HavrxmUiOp1Y1RrIwu"], ["created_at", "2018-03-22 04:40:29.257437"], ["updated_at", "2018-03-22 04:40:29.257437"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Tequila Gottlieb"], ["LIMIT", 1]] SQL (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", "Tequila Gottlieb"], ["authorized_by", "Ricky Pouros"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 7], ["approved_by_id", 8], ["created_at", "2018-03-22 04:40:29.261655"], ["updated_at", "2018-03-22 04:40:29.261655"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (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", "merideth.gaylord@armstrong.info"], ["LIMIT", 1]] SQL (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", "Ayanna Streich"], ["last_name", "Adan Koch"], ["email", "merideth.gaylord@armstrong.info"], ["password_digest", "$2a$04$yp.Yczp585l744Lcze.vZeqBZjaqIzVOMbY2GMSOusqIV3mvyso52"], ["created_at", "2018-03-22 04:40:29.270665"], ["updated_at", "2018-03-22 04:40:29.270665"]]  (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", "herlinda@sporer.us"], ["LIMIT", 1]] SQL (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", "Francoise Schuppe"], ["last_name", "Sherita Altenwerth"], ["email", "herlinda@sporer.us"], ["password_digest", "$2a$04$AANDOZ25Kh4YNQDl2TGDF.BBQwKI3Tt16UExn3Yri.IojBDmJ9cy2"], ["created_at", "2018-03-22 04:40:29.276515"], ["updated_at", "2018-03-22 04:40:29.276515"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Tequila Gottlieb"], ["LIMIT", 1]]  (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", "emma@douglas.biz"], ["LIMIT", 1]] SQL (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", "Oma Ledner"], ["last_name", "Ellyn Simonis"], ["email", "emma@douglas.biz"], ["password_digest", "$2a$04$nJq43cbYjTw4ZrRKt./ZFe4J49Ug98B0HAKT5fKRj22KD0xuhZ1ze"], ["created_at", "2018-03-22 04:40:29.288496"], ["updated_at", "2018-03-22 04:40:29.288496"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "letty@stokes.biz"], ["LIMIT", 1]] SQL (0.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", "Loida Pouros"], ["last_name", "Laurena Kohler"], ["email", "letty@stokes.biz"], ["password_digest", "$2a$04$cMeXltpPxweA1E8cYoXeyem9BHP0iwB4l9g6D4asbL5SGtNWnWK16"], ["created_at", "2018-03-22 04:40:29.295223"], ["updated_at", "2018-03-22 04:40:29.295223"]]  (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 LIMIT $2 [["reference_number", "Madie Olson"], ["LIMIT", 1]]  (0.5ms) 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", "samatha@gaylordmann.biz"], ["LIMIT", 1]] SQL (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", "Rowena Kertzmann"], ["last_name", "Chae Paucek"], ["email", "samatha@gaylordmann.biz"], ["password_digest", "$2a$04$7NUGcygrtz5j.IMoTNmYxeft2beG.eAXLCyseMIoX4h4XekiaxF2."], ["created_at", "2018-03-22 04:40:29.305722"], ["updated_at", "2018-03-22 04:40:29.305722"]]  (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", "angel_murphy@lemke.info"], ["LIMIT", 1]] SQL (0.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", "Emmie Kozey"], ["last_name", "Melissa Shanahan"], ["email", "angel_murphy@lemke.info"], ["password_digest", "$2a$04$6QHVSrh/Ammz82Xm7vgfhOkfTZjrG3PX3q4B.Tbw4W8Uex122iTRO"], ["created_at", "2018-03-22 04:40:29.311496"], ["updated_at", "2018-03-22 04:40:29.311496"]]  (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", "Fletcher Daniel"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "rhett@halvorsonbogan.com"], ["LIMIT", 1]] SQL (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", "Arlean Metz"], ["last_name", "Janee Purdy"], ["email", "rhett@halvorsonbogan.com"], ["password_digest", "$2a$04$YHndc9uM/vxrlUVckO26pOlGu.O6MNKsp8yHmB51co.uocnfpr9cK"], ["created_at", "2018-03-22 04:40:29.324579"], ["updated_at", "2018-03-22 04:40:29.324579"]]  (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", "ellamae@parker.com"], ["LIMIT", 1]] SQL (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", "Bessie Toy"], ["last_name", "Rosena Klein"], ["email", "ellamae@parker.com"], ["password_digest", "$2a$04$BHzVGbJGHvtDOPOTL9Fvlud9f2c8L/j7nQqBLxHA95KnmxtxiqawS"], ["created_at", "2018-03-22 04:40:29.330622"], ["updated_at", "2018-03-22 04:40:29.330622"]]  (0.4ms) 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", "Liane Hodkiewicz"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) 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", "mercedez.okeefe@feilspinka.biz"], ["LIMIT", 1]] SQL (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", "Lissette Brekke"], ["last_name", "Keisha White"], ["email", "mercedez.okeefe@feilspinka.biz"], ["password_digest", "$2a$04$zmPVRYxpbMBaLjHkJ16KZe1WcxbFcE9MIMIppUisIIdHduuvGuJqW"], ["created_at", "2018-03-22 04:40:29.341803"], ["updated_at", "2018-03-22 04:40:29.341803"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "matha_zemlak@nitzsche.name"], ["LIMIT", 1]] SQL (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", "Larry Dach"], ["last_name", "Anabel Hirthe"], ["email", "matha_zemlak@nitzsche.name"], ["password_digest", "$2a$04$ocybd5eY3/I70wfz/DAOzermtpShLZ44wGQ5k.o84cI7kpIGHHWwy"], ["created_at", "2018-03-22 04:40:29.348938"], ["updated_at", "2018-03-22 04:40:29.348938"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Vonda Reilly"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "tomas_wintheiser@macejkoviccrist.us"], ["LIMIT", 1]] SQL (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", "Jacinta Toy"], ["last_name", "Rossana Smitham"], ["email", "tomas_wintheiser@macejkoviccrist.us"], ["password_digest", "$2a$04$0YF5E3u1k3xSdrwNZ7dwZepQztTu5KResOZUXBhuw8QQNJk8cc1L6"], ["created_at", "2018-03-22 04:40:29.360075"], ["updated_at", "2018-03-22 04:40:29.360075"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Gena McGlynn"], ["LIMIT", 1]] SQL (0.9ms) 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", "Gena McGlynn"], ["authorized_by", "Zora Rohan"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 19], ["created_at", "2018-03-22 04:40:29.364689"], ["updated_at", "2018-03-22 04:40:29.364689"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) 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", "Gena McGlynn"], ["id", 3], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (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", "Michael Frami"], ["LIMIT", 1]] SQL (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", "Michael Frami"], ["name", "Dick Welch"], ["address", "Fonda Koepp"], ["created_at", "2018-03-22 04:40:29.376604"], ["updated_at", "2018-03-22 04:40:29.376604"]]  (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", "Lynell Reinger"], ["LIMIT", 1]] SQL (0.7ms) 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", "Lynell Reinger"], ["name", "Darci Baumbach"], ["description", "Johnetta McLaughlin"], ["service_delivery_unit_id", 50], ["created_at", "2018-03-22 04:40:29.380939"], ["updated_at", "2018-03-22 04:40:29.380939"]]  (0.4ms) 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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Lynell Reinger"], ["id", 19], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "Miyoko Kuhn"], ["LIMIT", 1]] SQL (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", "Miyoko Kuhn"], ["name", "Oma Harris"], ["address", "Xuan Bartell"], ["created_at", "2018-03-22 04:40:29.390421"], ["updated_at", "2018-03-22 04:40:29.390421"]]  (0.4ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Wilford Moen"], ["LIMIT", 1]] SQL (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", "Wilford Moen"], ["name", "Jami Graham"], ["address", "Delphia Little"], ["created_at", "2018-03-22 04:40:29.399602"], ["updated_at", "2018-03-22 04:40:29.399602"]]  (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", "Ellena Franecki"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) 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", "Noel Cassin"], ["LIMIT", 1]] SQL (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", "Noel Cassin"], ["name", "Annalisa Senger"], ["address", "Jong Gleichner"], ["created_at", "2018-03-22 04:40:29.408508"], ["updated_at", "2018-03-22 04:40:29.408508"]]  (0.5ms) 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", "Melina Moen"], ["LIMIT", 1]] SQL (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", "Melina Moen"], ["name", "Pearle Kuhlman"], ["description", "Leo Spencer"], ["service_delivery_unit_id", 53], ["created_at", "2018-03-22 04:40:29.414230"], ["updated_at", "2018-03-22 04:40:29.414230"]]  (0.4ms) 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", "Refugia Koch"], ["LIMIT", 1]] SQL (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", "Refugia Koch"], ["name", "Fletcher Tromp"], ["address", "Glady Hahn"], ["created_at", "2018-03-22 04:40:29.418921"], ["updated_at", "2018-03-22 04:40:29.418921"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (10.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Melina Moen"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Emile Ryan"], ["LIMIT", 1]] SQL (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", "Emile Ryan"], ["name", "Tristan Reilly"], ["address", "Rosario Brown"], ["created_at", "2018-03-22 04:40:29.439023"], ["updated_at", "2018-03-22 04:40:29.439023"]]  (0.4ms) 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", "Shu Koepp"], ["LIMIT", 1]] SQL (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", "Shu Koepp"], ["name", "Sidney Steuber"], ["description", "Alvina Collins"], ["service_delivery_unit_id", 55], ["created_at", "2018-03-22 04:40:29.443169"], ["updated_at", "2018-03-22 04:40:29.443169"]]  (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", "Christinia Collier"], ["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", "Alejandrina Waelchi"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Christinia Collier"], ["name", "Alejandrina Waelchi"], ["created_at", "2018-03-22 04:40:29.449733"], ["updated_at", "2018-03-22 04:40:29.449733"]]  (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", "Lazaro Conroy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lazaro Conroy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.454819"], ["updated_at", "2018-03-22 04:40:29.454819"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Joaquin Torphy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joaquin Torphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.458839"], ["updated_at", "2018-03-22 04:40:29.458839"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Meryl Hodkiewicz"], ["LIMIT", 1]] SQL (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", "Meryl Hodkiewicz"], ["name", "Camie Crooks"], ["address", "Albertina Pacocha"], ["created_at", "2018-03-22 04:40:29.462737"], ["updated_at", "2018-03-22 04:40:29.462737"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Mika O'Connell"], ["service_delivery_unit_id", 56], ["LIMIT", 1]] SQL (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", "Mika O'Connell"], ["name", "Sandie Turner"], ["service_type_id", 35], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 56], ["created_at", "2018-03-22 04:40:29.467140"], ["updated_at", "2018-03-22 04:40:29.467140"]]  (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", "Vanessa Mertz"], ["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", "Cleveland Deckow"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vanessa Mertz"], ["name", "Cleveland Deckow"], ["created_at", "2018-03-22 04:40:29.474442"], ["updated_at", "2018-03-22 04:40:29.474442"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ramonita Lang"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ramonita Lang"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.478758"], ["updated_at", "2018-03-22 04:40:29.478758"]]  (0.4ms) 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", "Margarite Reichert"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Margarite Reichert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.482934"], ["updated_at", "2018-03-22 04:40:29.482934"]]  (0.5ms) 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", "Vonnie Padberg"], ["LIMIT", 1]] SQL (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", "Vonnie Padberg"], ["name", "Harley Bailey"], ["address", "Chris Runte"], ["created_at", "2018-03-22 04:40:29.487321"], ["updated_at", "2018-03-22 04:40:29.487321"]]  (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", "Kimber Rogahn"], ["service_delivery_unit_id", 57], ["LIMIT", 1]] SQL (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", "Kimber Rogahn"], ["name", "Roxana Block"], ["service_type_id", 36], ["base_unit_id", 63], ["utilization_unit_id", 64], ["service_delivery_unit_id", 57], ["created_at", "2018-03-22 04:40:29.492316"], ["updated_at", "2018-03-22 04:40:29.492316"]]  (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", "Polly Hand"], ["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", "Regina Moen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Polly Hand"], ["name", "Regina Moen"], ["created_at", "2018-03-22 04:40:29.498485"], ["updated_at", "2018-03-22 04:40:29.498485"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Linsey McClure"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Linsey McClure"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.502731"], ["updated_at", "2018-03-22 04:40:29.502731"]]  (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", "Carrol Herman"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carrol Herman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.508456"], ["updated_at", "2018-03-22 04:40:29.508456"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Susannah Jacobi"], ["LIMIT", 1]] SQL (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", "Susannah Jacobi"], ["name", "Lovie Mraz"], ["address", "Syreeta Conn"], ["created_at", "2018-03-22 04:40:29.512645"], ["updated_at", "2018-03-22 04:40:29.512645"]]  (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", "Jule Dibbert"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] SQL (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", "Jule Dibbert"], ["name", "Selene Feeney"], ["service_type_id", 37], ["base_unit_id", 65], ["utilization_unit_id", 66], ["service_delivery_unit_id", 58], ["created_at", "2018-03-22 04:40:29.516925"], ["updated_at", "2018-03-22 04:40:29.516925"]]  (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", "Mistie Bauch"], ["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", "Levi Hodkiewicz"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mistie Bauch"], ["name", "Levi Hodkiewicz"], ["created_at", "2018-03-22 04:40:29.522563"], ["updated_at", "2018-03-22 04:40:29.522563"]]  (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", "Mervin Bernhard"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mervin Bernhard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.527125"], ["updated_at", "2018-03-22 04:40:29.527125"]]  (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", "Alina Bergnaum"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alina Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.531552"], ["updated_at", "2018-03-22 04:40:29.531552"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cameron Hilpert"], ["LIMIT", 1]] SQL (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", "Cameron Hilpert"], ["name", "Young Turcotte"], ["address", "Joleen Miller"], ["created_at", "2018-03-22 04:40:29.535586"], ["updated_at", "2018-03-22 04:40:29.535586"]]  (0.7ms) 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", "Anisa Stamm"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] SQL (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", "Anisa Stamm"], ["name", "Ervin McKenzie"], ["service_type_id", 38], ["base_unit_id", 67], ["utilization_unit_id", 68], ["service_delivery_unit_id", 59], ["created_at", "2018-03-22 04:40:29.540432"], ["updated_at", "2018-03-22 04:40:29.540432"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Loyd Barrows"], ["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", "Morton Jenkins"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Loyd Barrows"], ["name", "Morton Jenkins"], ["created_at", "2018-03-22 04:40:29.546004"], ["updated_at", "2018-03-22 04:40:29.546004"]]  (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", "Anika Spencer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Anika Spencer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.550469"], ["updated_at", "2018-03-22 04:40:29.550469"]]  (0.7ms) 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", "Katrina Huel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Katrina Huel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.556179"], ["updated_at", "2018-03-22 04:40:29.556179"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tempie O'Reilly"], ["LIMIT", 1]] SQL (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", "Tempie O'Reilly"], ["name", "Saundra Gusikowski"], ["address", "Madaline Hayes"], ["created_at", "2018-03-22 04:40:29.560488"], ["updated_at", "2018-03-22 04:40:29.560488"]]  (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", "Lauran Stamm"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] SQL (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", "Lauran Stamm"], ["name", "Flora Reichel"], ["service_type_id", 39], ["base_unit_id", 69], ["utilization_unit_id", 70], ["service_delivery_unit_id", 60], ["created_at", "2018-03-22 04:40:29.564884"], ["updated_at", "2018-03-22 04:40:29.564884"]]  (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", "Bryant Bogan"], ["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", "Kathlyn Rogahn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bryant Bogan"], ["name", "Kathlyn Rogahn"], ["created_at", "2018-03-22 04:40:29.570497"], ["updated_at", "2018-03-22 04:40:29.570497"]]  (0.4ms) 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", "Rodolfo Simonis"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rodolfo Simonis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.574628"], ["updated_at", "2018-03-22 04:40:29.574628"]]  (0.4ms) 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", "Charis Hahn"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charis Hahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.578932"], ["updated_at", "2018-03-22 04:40:29.578932"]]  (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", "Simona Langosh"], ["LIMIT", 1]] SQL (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", "Simona Langosh"], ["name", "Deane Block"], ["address", "Micheal Fritsch"], ["created_at", "2018-03-22 04:40:29.583438"], ["updated_at", "2018-03-22 04:40:29.583438"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Isabella Orn"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] SQL (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", "Isabella Orn"], ["name", "Keila McGlynn"], ["service_type_id", 40], ["base_unit_id", 71], ["utilization_unit_id", 72], ["service_delivery_unit_id", 61], ["created_at", "2018-03-22 04:40:29.588512"], ["updated_at", "2018-03-22 04:40:29.588512"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 22], ["service_bundle_id", 21], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:40:29.592204"], ["updated_at", "2018-03-22 04:40:29.592204"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 23], ["service_bundle_id", 21], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:40:29.595480"], ["updated_at", "2018-03-22 04:40:29.595480"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 24], ["service_bundle_id", 21], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:40:29.598998"], ["updated_at", "2018-03-22 04:40:29.598998"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_bundle_discounts" ON "mks_rate_chargeable_services"."id" = "mks_rate_bundle_discounts"."chargeable_service_id" WHERE "mks_rate_bundle_discounts"."service_bundle_id" = $1 [["service_bundle_id", 21]]  (1.0ms) 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", "Kathline Schinner"], ["LIMIT", 1]] SQL (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", "Kathline Schinner"], ["name", "Tamekia Heathcote"], ["address", "Creola Leuschke"], ["created_at", "2018-03-22 04:40:29.640140"], ["updated_at", "2018-03-22 04:40:29.640140"]]  (0.5ms) RELEASE 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", "Kathline Schinner"], ["id", 62], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) 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.5ms) ROLLBACK  (0.4ms) 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", "Ludie Schultz"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Zora Roberts"], ["LIMIT", 1]] SQL (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", "Zora Roberts"], ["name", "Alejandro Metz"], ["address", "Arlen Schowalter"], ["created_at", "2018-03-22 04:40:29.659580"], ["updated_at", "2018-03-22 04:40:29.659580"]]  (0.5ms) RELEASE 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", "Zora Roberts"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) 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", "Janene Wehner"], ["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", "Mafalda O'Kon"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Janene Wehner"], ["name", "Mafalda O'Kon"], ["description", "Molestiae sit voluptatem eligendi omnis at recusandae esse cum. Illum laboriosam dolor veniam quo nihil consequuntur voluptas natus. Est dolorem ratione vero ab quis quidem."], ["created_at", "2018-03-22 04:40:29.671775"], ["updated_at", "2018-03-22 04:40:29.671775"]]  (0.7ms) 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", "Jeana Herman"], ["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", "Donnie Weimann"], ["LIMIT", 1]] SQL (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", "Jeana Herman"], ["name", "Donnie Weimann"], ["description", "Qui consequatur veniam voluptatem dignissimos tempora. Sed accusamus qui in velit eligendi. Sit aliquid at corrupti est illum sapiente doloribus et. Maxime quis illum ut quia dolore."], ["equipment_type_id", 7], ["created_at", "2018-03-22 04:40:29.677803"], ["updated_at", "2018-03-22 04:40:29.677803"]]  (0.9ms) 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", "Pattie Bradtke"], ["LIMIT", 1]] SQL (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", "Pattie Bradtke"], ["name", "Donnetta Runolfsdottir"], ["description", "Billi Wilkinson"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-03-22 04:40:29.686545"], ["updated_at", "2018-03-22 04:40:29.686545"]]  (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", "Yessenia Jerde"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Sindy White"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yessenia Jerde"], ["name", "Sindy White"], ["description", "Cathleen Beer"], ["created_at", "2018-03-22 04:40:29.693525"], ["updated_at", "2018-03-22 04:40:29.693525"]]  (0.4ms) 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", "Tyler Renner"], ["LIMIT", 1]] SQL (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", "Tyler Renner"], ["name", "Donnette Schiller"], ["location_type_id", 7], ["description", "Hugo Ebert"], ["address", "Melinda Lehner"], ["created_at", "2018-03-22 04:40:29.697511"], ["updated_at", "2018-03-22 04:40:29.697511"]]  (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", "Drew Johns"], ["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", "Nena Christiansen"], ["LIMIT", 1]] SQL (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", "Drew Johns"], ["name", "Antonio Ankunding"], ["description", "Mariette Cole"], ["serial_number", "Nena Christiansen"], ["brand", "Ardella Osinski"], ["item_model", "Emory Dicki"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-03-22 04:40:29.702751"], ["updated_at", "2018-03-22 04:40:29.702751"]]  (0.6ms) 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", "Kristal Wiza"], ["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", "Ian Torp"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kristal Wiza"], ["name", "Ian Torp"], ["created_at", "2018-03-22 04:40:29.709948"], ["updated_at", "2018-03-22 04:40:29.709948"]]  (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", "Refugio Rempel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Refugio Rempel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.714513"], ["updated_at", "2018-03-22 04:40:29.714513"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Malia Waelchi"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Malia Waelchi"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.718606"], ["updated_at", "2018-03-22 04:40:29.718606"]]  (0.5ms) 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", "Janine Medhurst"], ["LIMIT", 1]] SQL (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", "Janine Medhurst"], ["name", "Randy Becker"], ["address", "Elfreda Greenholt"], ["created_at", "2018-03-22 04:40:29.723607"], ["updated_at", "2018-03-22 04:40:29.723607"]]  (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", "Jeraldine Grady"], ["service_delivery_unit_id", 64], ["LIMIT", 1]] SQL (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", "Jeraldine Grady"], ["name", "Samara Mitchell"], ["service_type_id", 41], ["base_unit_id", 73], ["utilization_unit_id", 74], ["service_delivery_unit_id", 64], ["created_at", "2018-03-22 04:40:29.728258"], ["updated_at", "2018-03-22 04:40:29.728258"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 28], ["equipment_item_id", 7], ["created_at", "2018-03-22 04:40:29.731834"], ["updated_at", "2018-03-22 04:40:29.731834"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) 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", "Fatimah Nienow"], ["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", "Delila Cormier"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Fatimah Nienow"], ["name", "Delila Cormier"], ["description", "Enim qui molestias voluptatem nobis. Inventore molestiae at voluptatem repudiandae veniam cumque eos. Ut vitae et sit veritatis omnis. At sed distinctio quod necessitatibus error sint."], ["created_at", "2018-03-22 04:40:29.742320"], ["updated_at", "2018-03-22 04:40:29.742320"]]  (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", "Trudie King"], ["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", "Hilde Ledner"], ["LIMIT", 1]] SQL (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", "Trudie King"], ["name", "Hilde Ledner"], ["description", "Quia omnis blanditiis rerum aut tenetur similique doloribus adipisci. Assumenda odit nam nemo est ut aut voluptatem quam. Minus asperiores et esse voluptate qui eos. Eos quos laboriosam quidem magnam possimus est. Est ut harum nesciunt id."], ["equipment_type_id", 8], ["created_at", "2018-03-22 04:40:29.747858"], ["updated_at", "2018-03-22 04:40:29.747858"]]  (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", "Christiana Cronin"], ["LIMIT", 1]] SQL (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", "Christiana Cronin"], ["name", "Tracey Davis"], ["description", "Corazon Kassulke"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-03-22 04:40:29.752255"], ["updated_at", "2018-03-22 04:40:29.752255"]]  (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", "Valrie O'Hara"], ["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", "Aurore Luettgen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Valrie O'Hara"], ["name", "Aurore Luettgen"], ["description", "Cristal Ruecker"], ["created_at", "2018-03-22 04:40:29.758099"], ["updated_at", "2018-03-22 04:40:29.758099"]]  (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", "Jeremy Hilll"], ["LIMIT", 1]] SQL (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", "Jeremy Hilll"], ["name", "Sydney Hauck"], ["location_type_id", 8], ["description", "Man Carter"], ["address", "Livia Gusikowski"], ["created_at", "2018-03-22 04:40:29.763460"], ["updated_at", "2018-03-22 04:40:29.763460"]]  (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", "Ken Satterfield"], ["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", "Eli Nienow"], ["LIMIT", 1]] SQL (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", "Ken Satterfield"], ["name", "Merideth Smith"], ["description", "Tonisha Boyle"], ["serial_number", "Eli Nienow"], ["brand", "Michal Greenholt"], ["item_model", "Nestor Boehm"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-03-22 04:40:29.769316"], ["updated_at", "2018-03-22 04:40:29.769316"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jamika Powlowski"], ["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", "Angelo O'Conner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jamika Powlowski"], ["name", "Angelo O'Conner"], ["created_at", "2018-03-22 04:40:29.777697"], ["updated_at", "2018-03-22 04:40:29.777697"]]  (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", "Lester Sipes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lester Sipes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.782100"], ["updated_at", "2018-03-22 04:40:29.782100"]]  (0.7ms) 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", "Kristel Reichert"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kristel Reichert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.787854"], ["updated_at", "2018-03-22 04:40:29.787854"]]  (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", "Jacquelin Bernier"], ["LIMIT", 1]] SQL (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", "Jacquelin Bernier"], ["name", "Exie Schimmel"], ["address", "Alfonso Simonis"], ["created_at", "2018-03-22 04:40:29.792787"], ["updated_at", "2018-03-22 04:40:29.792787"]]  (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", "Heather Langosh"], ["service_delivery_unit_id", 65], ["LIMIT", 1]] SQL (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", "Heather Langosh"], ["name", "Lynell Kshlerin"], ["service_type_id", 42], ["base_unit_id", 75], ["utilization_unit_id", 76], ["service_delivery_unit_id", 65], ["created_at", "2018-03-22 04:40:29.797423"], ["updated_at", "2018-03-22 04:40:29.797423"]]  (0.5ms) 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", "Dorthey Marvin"], ["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", "Ken Turner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dorthey Marvin"], ["name", "Ken Turner"], ["description", "Amet aut impedit molestiae et. Doloribus quasi placeat cum ut est. Ut unde dolorem omnis voluptatem possimus corrupti."], ["created_at", "2018-03-22 04:40:29.807854"], ["updated_at", "2018-03-22 04:40:29.807854"]]  (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", "Cinda Wyman"], ["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", "Fritz Hermann"], ["LIMIT", 1]] SQL (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", "Cinda Wyman"], ["name", "Fritz Hermann"], ["description", "Porro velit voluptatibus possimus quas id qui aut. Dolorem architecto officiis voluptatum labore nisi dolore est alias. Commodi earum atque inventore reiciendis facilis cupiditate laborum. Dolor totam et maiores dolorem dolores."], ["equipment_type_id", 9], ["created_at", "2018-03-22 04:40:29.812906"], ["updated_at", "2018-03-22 04:40:29.812906"]]  (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", "Maira Raynor"], ["LIMIT", 1]] SQL (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", "Maira Raynor"], ["name", "Amie Gibson"], ["description", "Jacque McKenzie"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-03-22 04:40:29.817158"], ["updated_at", "2018-03-22 04:40:29.817158"]]  (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", "Felecia Quitzon"], ["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", "Elsa Green"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Felecia Quitzon"], ["name", "Elsa Green"], ["description", "Mikki Denesik"], ["created_at", "2018-03-22 04:40:29.822713"], ["updated_at", "2018-03-22 04:40:29.822713"]]  (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", "Booker Schaden"], ["LIMIT", 1]] SQL (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", "Booker Schaden"], ["name", "Thomas Hegmann"], ["location_type_id", 9], ["description", "Darrin Schuster"], ["address", "Daine Pfannerstill"], ["created_at", "2018-03-22 04:40:29.827166"], ["updated_at", "2018-03-22 04:40:29.827166"]]  (0.4ms) 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", "Michiko Langosh"], ["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", "Melba Renner"], ["LIMIT", 1]] SQL (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", "Michiko Langosh"], ["name", "Michelle Turner"], ["description", "Yoshie Moen"], ["serial_number", "Melba Renner"], ["brand", "Lavette Kozey"], ["item_model", "Shawn Schiller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-03-22 04:40:29.832505"], ["updated_at", "2018-03-22 04:40:29.832505"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jolyn Kiehn"], ["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", "Jerry Lind"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jolyn Kiehn"], ["name", "Jerry Lind"], ["created_at", "2018-03-22 04:40:29.840023"], ["updated_at", "2018-03-22 04:40:29.840023"]]  (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", "Linda Wolf"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Linda Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.845553"], ["updated_at", "2018-03-22 04:40:29.845553"]]  (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", "Kendall Shields"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kendall Shields"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.850032"], ["updated_at", "2018-03-22 04:40:29.850032"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lolita Waelchi"], ["LIMIT", 1]] SQL (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", "Lolita Waelchi"], ["name", "Earnestine Corwin"], ["address", "Errol Connelly"], ["created_at", "2018-03-22 04:40:29.855429"], ["updated_at", "2018-03-22 04:40:29.855429"]]  (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", "Elfrieda Kuhic"], ["service_delivery_unit_id", 66], ["LIMIT", 1]] SQL (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", "Elfrieda Kuhic"], ["name", "Ann Kuhlman"], ["service_type_id", 43], ["base_unit_id", 77], ["utilization_unit_id", 78], ["service_delivery_unit_id", 66], ["created_at", "2018-03-22 04:40:29.860107"], ["updated_at", "2018-03-22 04:40:29.860107"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) 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", "Nidia Jast"], ["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", "Chrissy Konopelski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nidia Jast"], ["name", "Chrissy Konopelski"], ["description", "Consectetur modi ut voluptatem voluptates sed amet totam. Inventore esse occaecati totam dicta rerum reprehenderit quod. Quidem velit qui dignissimos nesciunt."], ["created_at", "2018-03-22 04:40:29.872408"], ["updated_at", "2018-03-22 04:40:29.872408"]]  (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", "Gwyn Casper"], ["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", "Kirstie Crist"], ["LIMIT", 1]] SQL (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", "Gwyn Casper"], ["name", "Kirstie Crist"], ["description", "Laborum rerum ut est suscipit vitae soluta saepe. Aliquam sunt quam deserunt esse sed qui. Et et et enim earum minus doloremque recusandae voluptatem. Necessitatibus quibusdam tempore culpa dolores ut modi aut magnam."], ["equipment_type_id", 10], ["created_at", "2018-03-22 04:40:29.877683"], ["updated_at", "2018-03-22 04:40:29.877683"]]  (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", "Arlyne Kiehn"], ["LIMIT", 1]] SQL (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", "Arlyne Kiehn"], ["name", "Jeana O'Kon"], ["description", "Deb Schamberger"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-03-22 04:40:29.882004"], ["updated_at", "2018-03-22 04:40:29.882004"]]  (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", "Ilona Boyer"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Shawana Jacobi"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ilona Boyer"], ["name", "Shawana Jacobi"], ["description", "Leone Bahringer"], ["created_at", "2018-03-22 04:40:29.887620"], ["updated_at", "2018-03-22 04:40:29.887620"]]  (0.6ms) 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", "Maren Hagenes"], ["LIMIT", 1]] SQL (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", "Maren Hagenes"], ["name", "Darline Kuvalis"], ["location_type_id", 10], ["description", "Maritza Durgan"], ["address", "Grant Smitham"], ["created_at", "2018-03-22 04:40:29.892289"], ["updated_at", "2018-03-22 04:40:29.892289"]]  (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", "Douglas Streich"], ["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", "Grant Kiehn"], ["LIMIT", 1]] SQL (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", "Douglas Streich"], ["name", "Millie Mertz"], ["description", "Lincoln Denesik"], ["serial_number", "Grant Kiehn"], ["brand", "Cristie Kreiger"], ["item_model", "Milo Stroman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-03-22 04:40:29.897646"], ["updated_at", "2018-03-22 04:40:29.897646"]]  (0.7ms) RELEASE SAVEPOINT active_record_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", "Hyacinth Herman"], ["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", "Rex Kozey"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Hyacinth Herman"], ["name", "Rex Kozey"], ["created_at", "2018-03-22 04:40:29.908604"], ["updated_at", "2018-03-22 04:40:29.908604"]]  (0.5ms) RELEASE 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Hyacinth Herman"], ["id", 44], ["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", "Rex Kozey"], ["id", 44], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceType Exists (0.8ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Beatriz Marquardt"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN 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", "Lincoln Walker"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) 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.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Katerine Toy"], ["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", "Mariella Kuphal"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Katerine Toy"], ["name", "Mariella Kuphal"], ["created_at", "2018-03-22 04:40:29.931578"], ["updated_at", "2018-03-22 04:40:29.931578"]]  (0.5ms) 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", "Katerine Toy"], ["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 Johnston"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (1.3ms) 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", "Judie Franecki"], ["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", "Alicia Turcotte"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Judie Franecki"], ["name", "Alicia Turcotte"], ["created_at", "2018-03-22 04:40:29.945452"], ["updated_at", "2018-03-22 04:40:29.945452"]]  (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 LIMIT $2 [["code", "Idalia Blanda"], ["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", "Alicia Turcotte"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN 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", "Audrea Lind"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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.6ms) ROLLBACK  (0.5ms) BEGIN 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", "Felisha Willms"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "Iluminada Ankunding"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Iluminada Ankunding"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.970770"], ["updated_at", "2018-03-22 04:40:29.970770"]]  (0.9ms) RELEASE 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", "Iluminada Ankunding"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.0ms) BEGIN  (1.3ms) 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", "Mayola Predovic"], ["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", "Emilio Keeling"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mayola Predovic"], ["name", "Emilio Keeling"], ["created_at", "2018-03-22 04:40:29.985606"], ["updated_at", "2018-03-22 04:40:29.985606"]]  (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", "Adriene Lynch"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Adriene Lynch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.991128"], ["updated_at", "2018-03-22 04:40:29.991128"]]  (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", "Rosalva Turner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rosalva Turner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:29.996033"], ["updated_at", "2018-03-22 04:40:29.996033"]]  (0.5ms) 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", "Delia Lebsack"], ["LIMIT", 1]] SQL (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", "Delia Lebsack"], ["name", "Muriel Bartoletti"], ["address", "Blaine Gerlach"], ["created_at", "2018-03-22 04:40:30.000704"], ["updated_at", "2018-03-22 04:40:30.000704"]]  (0.4ms) 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", "Sharri Waelchi"], ["service_delivery_unit_id", 67], ["LIMIT", 1]] SQL (0.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", "Sharri Waelchi"], ["name", "Pearline Gerhold"], ["service_type_id", 47], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 67], ["created_at", "2018-03-22 04:40:30.005107"], ["updated_at", "2018-03-22 04:40:30.005107"]]  (0.4ms) 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", "Silvana Marks"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Liana Stark"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Silvana Marks"], ["name", "Liana Stark"], ["created_at", "2018-03-22 04:40:30.010783"], ["updated_at", "2018-03-22 04:40:30.010783"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Wilbur Friesen"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wilbur Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:30.015166"], ["updated_at", "2018-03-22 04:40:30.015166"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ming Hermann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ming Hermann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:30.020987"], ["updated_at", "2018-03-22 04:40:30.020987"]]  (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", "Tony Dickens"], ["LIMIT", 1]] SQL (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", "Tony Dickens"], ["name", "Anderson Vandervort"], ["address", "Rebbecca Larson"], ["created_at", "2018-03-22 04:40:30.025374"], ["updated_at", "2018-03-22 04:40:30.025374"]]  (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", "Mathew Ruecker"], ["service_delivery_unit_id", 68], ["LIMIT", 1]] SQL (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", "Mathew Ruecker"], ["name", "Davis Tremblay"], ["service_type_id", 48], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 68], ["created_at", "2018-03-22 04:40:30.029527"], ["updated_at", "2018-03-22 04:40:30.029527"]]  (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", "Robin Heaney"], ["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", "Kyoko Dare"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Robin Heaney"], ["name", "Kyoko Dare"], ["created_at", "2018-03-22 04:40:30.035771"], ["updated_at", "2018-03-22 04:40:30.035771"]]  (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", "Nieves Stroman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nieves Stroman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:30.041461"], ["updated_at", "2018-03-22 04:40:30.041461"]]  (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", "Benjamin Miller"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Benjamin Miller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:30.045797"], ["updated_at", "2018-03-22 04:40:30.045797"]]  (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", "Janna Jakubowski"], ["LIMIT", 1]] SQL (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", "Janna Jakubowski"], ["name", "Lesley Weber"], ["address", "Bruce Armstrong"], ["created_at", "2018-03-22 04:40:30.050399"], ["updated_at", "2018-03-22 04:40:30.050399"]]  (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", "Britany Stanton"], ["service_delivery_unit_id", 69], ["LIMIT", 1]] SQL (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", "Britany Stanton"], ["name", "Trinidad Upton"], ["service_type_id", 49], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 69], ["created_at", "2018-03-22 04:40:30.054900"], ["updated_at", "2018-03-22 04:40:30.054900"]]  (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", 31], ["LIMIT", 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", 32], ["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", 31], ["LIMIT", 1]] SQL (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", 31], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-03-22 04:40:30.062959"], ["updated_at", "2018-03-22 04:40:30.062959"]] 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", 32], ["LIMIT", 1]] SQL (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", 32], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-03-22 04:40:30.066904"], ["updated_at", "2018-03-22 04:40:30.066904"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "Stan Bashirian"], ["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", "Jacqualine Stokes"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Stan Bashirian"], ["name", "Jacqualine Stokes"], ["created_at", "2018-03-22 04:40:30.078779"], ["updated_at", "2018-03-22 04:40:30.078779"]]  (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", "Dawna Nolan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dawna Nolan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:30.083434"], ["updated_at", "2018-03-22 04:40:30.083434"]]  (0.4ms) 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", "Lura Ledner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lura Ledner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:40:30.087977"], ["updated_at", "2018-03-22 04:40:30.087977"]]  (0.4ms) 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", "Michaele Jewess"], ["LIMIT", 1]] SQL (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", "Michaele Jewess"], ["name", "Linn Goldner"], ["address", "Sybil Johnson"], ["created_at", "2018-03-22 04:40:30.092254"], ["updated_at", "2018-03-22 04:40:30.092254"]]  (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", "Naida Jacobson"], ["service_delivery_unit_id", 70], ["LIMIT", 1]] SQL (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", "Naida Jacobson"], ["name", "Altha Morissette"], ["service_type_id", 50], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 70], ["created_at", "2018-03-22 04:40:30.096791"], ["updated_at", "2018-03-22 04:40:30.096791"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 34], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-03-22 04:40:30.100231"], ["updated_at", "2018-03-22 04:40:30.100231"]]  (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", 34], ["LIMIT", 1]]  (0.4ms) 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", 34], ["LIMIT", 1]] SQL (1.2ms) 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-03-22 04:40:30.106049"], ["id", 10]]  (0.6ms) 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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "jannie_dooley@hudson.biz"], ["LIMIT", 1]] SQL (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", "Nicolasa Nicolas"], ["last_name", "Trina Heathcote"], ["email", "jannie_dooley@hudson.biz"], ["password_digest", "$2a$04$Hgc2tnrWBIP86YENy9r/Ye7m48j.aEOFuH9nIfR2STM1s0G/zMt0K"], ["created_at", "2018-03-22 04:40:30.118632"], ["updated_at", "2018-03-22 04:40:30.118632"]]  (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", "foster.johns@gusikowski.info"], ["LIMIT", 1]] SQL (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", "Wilbur Renner"], ["last_name", "Treva Graham"], ["email", "foster.johns@gusikowski.info"], ["password_digest", "$2a$04$bBC4.DolHWeQDpx2S4Xm4Ok7F/ZSirvk6kYgVDvlk.IQrYalsx8C6"], ["created_at", "2018-03-22 04:40:30.126355"], ["updated_at", "2018-03-22 04:40:30.126355"]]  (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", "leticia@ritchie.biz"], ["LIMIT", 1]] SQL (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", "Kirby Pfeffer"], ["last_name", "Tim Konopelski"], ["email", "leticia@ritchie.biz"], ["password_digest", "$2a$04$Jn/NEGPr51WXiHamvd0YMeW5NI1N59jIuDt/70EYHGZ9yCZEQC6Lm"], ["created_at", "2018-03-22 04:40:30.132682"], ["updated_at", "2018-03-22 04:40:30.132682"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ileana Kilback"], ["LIMIT", 1]] SQL (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", "Ileana Kilback"], ["authorized_by", "Shakita Rolfson"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 21], ["approved_by_id", 22], ["created_at", "2018-03-22 04:40:30.137684"], ["updated_at", "2018-03-22 04:40:30.137684"]]  (0.6ms) RELEASE SAVEPOINT active_record_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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Ileana Kilback"], ["id", 4], ["LIMIT", 1]] SQL (0.9ms) 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", 20], ["updated_at", "2018-03-22 04:40:30.156947"], ["id", 4]]  (0.4ms) RELEASE SAVEPOINT active_record_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", 4], ["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", 20], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "mks_rate_bundle_discounts"  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) ROLLBACK  (0.7ms) 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", "Violet Welch"], ["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", "Oralia Greenholt"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Violet Welch"], ["name", "Oralia Greenholt"], ["created_at", "2018-03-22 04:41:41.236040"], ["updated_at", "2018-03-22 04:41:41.236040"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Joseph Skiles"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joseph Skiles"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.258480"], ["updated_at", "2018-03-22 04:41:41.258480"]]  (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", "Wade Hintz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wade Hintz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.264346"], ["updated_at", "2018-03-22 04:41:41.264346"]]  (0.4ms) 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", "Kirby Ernser"], ["LIMIT", 1]] SQL (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", "Kirby Ernser"], ["name", "Titus Osinski"], ["address", "Collen Hegmann"], ["created_at", "2018-03-22 04:41:41.280419"], ["updated_at", "2018-03-22 04:41:41.280419"]]  (0.9ms) 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", "Soon Fahey"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Soon Fahey"], ["name", "Xzbdulia Daugherty"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-03-22 04:41:41.294936"], ["updated_at", "2018-03-22 04:41:41.294936"]]  (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", "Lavonne Schowalter"], ["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", "Trena Boyle"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lavonne Schowalter"], ["name", "Trena Boyle"], ["created_at", "2018-03-22 04:41:41.301595"], ["updated_at", "2018-03-22 04:41:41.301595"]]  (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", "Gertrudis Block"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gertrudis Block"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.306033"], ["updated_at", "2018-03-22 04:41:41.306033"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Marybeth Nader"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marybeth Nader"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.310180"], ["updated_at", "2018-03-22 04:41:41.310180"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Rivka Pagac"], ["LIMIT", 1]] SQL (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", "Rivka Pagac"], ["name", "Jina Rippin"], ["address", "Tyesha Davis"], ["created_at", "2018-03-22 04:41:41.314232"], ["updated_at", "2018-03-22 04:41:41.314232"]]  (0.4ms) 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", "Bari Bergstrom"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Bari Bergstrom"], ["name", "Eleanore Heidenreich"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-03-22 04:41:41.318376"], ["updated_at", "2018-03-22 04:41:41.318376"]]  (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", "Teofila Pacocha"], ["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", "Jen Hane"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Teofila Pacocha"], ["name", "Jen Hane"], ["created_at", "2018-03-22 04:41:41.323851"], ["updated_at", "2018-03-22 04:41:41.323851"]]  (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", "Geri Kris"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Geri Kris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.328141"], ["updated_at", "2018-03-22 04:41:41.328141"]]  (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", "Vivien Monahan"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vivien Monahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.332314"], ["updated_at", "2018-03-22 04:41:41.332314"]]  (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", "Kathaleen Corkery"], ["LIMIT", 1]] SQL (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", "Kathaleen Corkery"], ["name", "Merilyn Cummerata"], ["address", "Jackqueline Kertzmann"], ["created_at", "2018-03-22 04:41:41.337408"], ["updated_at", "2018-03-22 04:41:41.337408"]]  (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", "Kasha Torp"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Kasha Torp"], ["name", "Colton Kassulke"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-03-22 04:41:41.341994"], ["updated_at", "2018-03-22 04:41:41.341994"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (1.2ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Joanne Grady"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joanne Grady"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.374538"], ["updated_at", "2018-03-22 04:41:41.374538"]]  (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", "Karine Zemlak"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Karine Zemlak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.379085"], ["updated_at", "2018-03-22 04:41:41.379085"]]  (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", "Marcelino Donnelly"], ["LIMIT", 1]] SQL (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", "Marcelino Donnelly"], ["name", "Daniela Streich"], ["address", "Walker Murphy"], ["created_at", "2018-03-22 04:41:41.383140"], ["updated_at", "2018-03-22 04:41:41.383140"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Misty Little"], ["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", "Tommye Walker"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Misty Little"], ["name", "Tommye Walker"], ["created_at", "2018-03-22 04:41:41.388528"], ["updated_at", "2018-03-22 04:41:41.388528"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Ira Walker", "name"=>"Lynda Hessel", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.5ms) ROLLBACK  (0.7ms) 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", "Petronila Gulgowski"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Petronila Gulgowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.406019"], ["updated_at", "2018-03-22 04:41:41.406019"]]  (0.5ms) 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", "Tai Ritchie"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tai Ritchie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.411435"], ["updated_at", "2018-03-22 04:41:41.411435"]]  (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", "Jenine Bayer"], ["LIMIT", 1]] SQL (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", "Jenine Bayer"], ["name", "Roma Lowe"], ["address", "Elvina Hackett"], ["created_at", "2018-03-22 04:41:41.416547"], ["updated_at", "2018-03-22 04:41:41.416547"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Voncile Purdy"], ["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", "Robby Dibbert"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Voncile Purdy"], ["name", "Robby Dibbert"], ["created_at", "2018-03-22 04:41:41.423222"], ["updated_at", "2018-03-22 04:41:41.423222"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Theo Howell", "name"=>"Breanne Dare", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Lilliana Rippin"], ["LIMIT", 1]] SQL (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 Rippin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.433035"], ["updated_at", "2018-03-22 04:41:41.433035"]]  (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", "Armandina Ondricka"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Armandina Ondricka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.437525"], ["updated_at", "2018-03-22 04:41:41.437525"]]  (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", "Willena Carroll"], ["LIMIT", 1]] SQL (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", "Willena Carroll"], ["name", "Adelia Stracke"], ["address", "Tiana Schamberger"], ["created_at", "2018-03-22 04:41:41.441744"], ["updated_at", "2018-03-22 04:41:41.441744"]]  (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", "Regena Shanahan"], ["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", "Jamila Lemke"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Regena Shanahan"], ["name", "Jamila Lemke"], ["created_at", "2018-03-22 04:41:41.447173"], ["updated_at", "2018-03-22 04:41:41.447173"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Janet Bradtke", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.6ms) 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", "Mason Pfannerstill"], ["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", "Rosalva Morar"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mason Pfannerstill"], ["name", "Rosalva Morar"], ["created_at", "2018-03-22 04:41:41.457870"], ["updated_at", "2018-03-22 04:41:41.457870"]]  (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", "Raleigh Franecki"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Raleigh Franecki"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.462199"], ["updated_at", "2018-03-22 04:41:41.462199"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Aurora Cruickshank"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Aurora Cruickshank"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.468568"], ["updated_at", "2018-03-22 04:41:41.468568"]]  (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", "Raymundo Kreiger"], ["LIMIT", 1]] SQL (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", "Raymundo Kreiger"], ["name", "Ines Keeling"], ["address", "Eunice Emmerich"], ["created_at", "2018-03-22 04:41:41.473189"], ["updated_at", "2018-03-22 04:41:41.473189"]]  (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", "Evelin Jakubowski"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Evelin Jakubowski"], ["name", "Maribel Miller"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-03-22 04:41:41.477395"], ["updated_at", "2018-03-22 04:41:41.477395"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>"Chargeable service 1"}, "id"=>"4"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) 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", 4], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) 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", "Lashell Bashirian"], ["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", "Estefana Fritsch"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lashell Bashirian"], ["name", "Estefana Fritsch"], ["created_at", "2018-03-22 04:41:41.493720"], ["updated_at", "2018-03-22 04:41:41.493720"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Adelina Quitzon"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Adelina Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.498673"], ["updated_at", "2018-03-22 04:41:41.498673"]]  (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", "Jewell Rutherford"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jewell Rutherford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.502943"], ["updated_at", "2018-03-22 04:41:41.502943"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Annmarie Hettinger"], ["LIMIT", 1]] SQL (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", "Annmarie Hettinger"], ["name", "Shan Crona"], ["address", "Jerrica Sporer"], ["created_at", "2018-03-22 04:41:41.506959"], ["updated_at", "2018-03-22 04:41:41.506959"]]  (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", "Vivien Gaylord"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Vivien Gaylord"], ["name", "Robena Quigley"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-03-22 04:41:41.510929"], ["updated_at", "2018-03-22 04:41:41.510929"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"5"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "Hilario King"], ["LIMIT", 1]] SQL (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", "Hilario King"], ["name", "Carmella Mayer"], ["address", "Earlean Mosciski"], ["created_at", "2018-03-22 04:41:41.520552"], ["updated_at", "2018-03-22 04:41:41.520552"]]  (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", "Todd Murray"], ["LIMIT", 1]] SQL (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", "Todd Murray"], ["name", "Herma Ullrich"], ["address", "Jack Kris"], ["created_at", "2018-03-22 04:41:41.525602"], ["updated_at", "2018-03-22 04:41:41.525602"]]  (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", "Lavon Yundt"], ["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", "Ressie Kub"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lavon Yundt"], ["name", "Ressie Kub"], ["created_at", "2018-03-22 04:41:41.531952"], ["updated_at", "2018-03-22 04:41:41.531952"]]  (0.4ms) 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", "Thomasine Hegmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Thomasine Hegmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.537084"], ["updated_at", "2018-03-22 04:41:41.537084"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Dan Hagenes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dan Hagenes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.541243"], ["updated_at", "2018-03-22 04:41:41.541243"]]  (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", "Tiffanie D'Amore"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["LIMIT", 1]] SQL (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", "Tiffanie D'Amore"], ["name", "Christal Davis"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-03-22 04:41:41.553137"], ["updated_at", "2018-03-22 04:41:41.553137"]]  (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", "Latanya Wisozk"], ["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", "Luanna Zulauf"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Latanya Wisozk"], ["name", "Luanna Zulauf"], ["created_at", "2018-03-22 04:41:41.559439"], ["updated_at", "2018-03-22 04:41:41.559439"]]  (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", "Chaya Emard"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chaya Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.563842"], ["updated_at", "2018-03-22 04:41:41.563842"]]  (0.4ms) 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", "Jackie Bahringer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jackie Bahringer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.567998"], ["updated_at", "2018-03-22 04:41:41.567998"]]  (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", "Maxine Rempel"], ["service_delivery_unit_id", 9], ["LIMIT", 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", 9], ["LIMIT", 1]] SQL (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", "Maxine Rempel"], ["name", "Faye Grant"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-03-22 04:41:41.574187"], ["updated_at", "2018-03-22 04:41:41.574187"]]  (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", "Dallas Carter"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Janeth Durgan"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dallas Carter"], ["name", "Janeth Durgan"], ["created_at", "2018-03-22 04:41:41.580136"], ["updated_at", "2018-03-22 04:41:41.580136"]]  (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", "Cherelle Macejkovic"], ["LIMIT", 1]] SQL (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 Macejkovic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.584330"], ["updated_at", "2018-03-22 04:41:41.584330"]]  (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", "Chrystal Kulas"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chrystal Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.589116"], ["updated_at", "2018-03-22 04:41:41.589116"]]  (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", "Merissa Olson"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Merissa Olson"], ["name", "Myrle Armstrong"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-03-22 04:41:41.595077"], ["updated_at", "2018-03-22 04:41:41.595077"]]  (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", "Adriane Hammes"], ["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", "Marilu Muller"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Adriane Hammes"], ["name", "Marilu Muller"], ["created_at", "2018-03-22 04:41:41.601826"], ["updated_at", "2018-03-22 04:41:41.601826"]]  (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", "Dacia Bogan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dacia Bogan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.606471"], ["updated_at", "2018-03-22 04:41:41.606471"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Chance Metz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chance Metz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:41.610523"], ["updated_at", "2018-03-22 04:41:41.610523"]]  (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", "Dean Cormier"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Dean Cormier"], ["name", "Torie Hauck"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-03-22 04:41:41.616151"], ["updated_at", "2018-03-22 04:41:41.616151"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (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", "Celeste Boyer"], ["LIMIT", 1]] SQL (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", "Celeste Boyer"], ["name", "Luisa Gerlach"], ["address", "Dian Botsford"], ["created_at", "2018-03-22 04:41:41.672250"], ["updated_at", "2018-03-22 04:41:41.672250"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Houston Feest"], ["LIMIT", 1]] SQL (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", "Houston Feest"], ["name", "Mia Dietrich"], ["description", "Star Emard"], ["service_delivery_unit_id", 11], ["created_at", "2018-03-22 04:41:41.678187"], ["updated_at", "2018-03-22 04:41:41.678187"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Hunter Metz"], ["LIMIT", 1]] SQL (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", "Hunter Metz"], ["name", "Jewel Tremblay"], ["address", "Bennie Kuphal"], ["created_at", "2018-03-22 04:41:41.689689"], ["updated_at", "2018-03-22 04:41:41.689689"]]  (0.4ms) 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", "Helene Russel"], ["LIMIT", 1]] SQL (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", "Helene Russel"], ["name", "Lupe Purdy"], ["description", "Sina Bergnaum"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:41:41.694106"], ["updated_at", "2018-03-22 04:41:41.694106"]]  (0.4ms) 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", "Rolando Hegmann"], ["LIMIT", 1]] SQL (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", "Rolando Hegmann"], ["name", "Shayne Hauck"], ["description", "Olimpia Koelpin"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:41:41.699421"], ["updated_at", "2018-03-22 04:41:41.699421"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Arthur Jacobi"], ["LIMIT", 1]] SQL (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", "Arthur Jacobi"], ["name", "Akilah Bode"], ["description", "Sheldon Batz"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:41:41.705337"], ["updated_at", "2018-03-22 04:41:41.705337"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "Charles Armstrong"], ["LIMIT", 1]] SQL (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", "Charles Armstrong"], ["name", "Mignon Renner"], ["address", "Vance Yundt"], ["created_at", "2018-03-22 04:41:41.715391"], ["updated_at", "2018-03-22 04:41:41.715391"]]  (0.4ms) 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", "Camelia Adams"], ["LIMIT", 1]] SQL (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", "Camelia Adams"], ["name", "Karleen Hane"], ["description", "Terry Sauer"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:41:41.719989"], ["updated_at", "2018-03-22 04:41:41.719989"]]  (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", "Kiley Swaniawski"], ["LIMIT", 1]] SQL (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", "Kiley Swaniawski"], ["name", "Florrie Moore"], ["description", "Maricela Ziemann"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:41:41.725968"], ["updated_at", "2018-03-22 04:41:41.725968"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Keli Walter"], ["LIMIT", 1]] SQL (0.7ms) 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", "Keli Walter"], ["name", "Toney Morissette"], ["description", "Bibi Will"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:41:41.730656"], ["updated_at", "2018-03-22 04:41:41.730656"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Magaly Harris"], ["LIMIT", 1]] SQL (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", "Magaly Harris"], ["name", "Roxana Prosacco"], ["address", "Lester Romaguera"], ["created_at", "2018-03-22 04:41:41.735479"], ["updated_at", "2018-03-22 04:41:41.735479"]]  (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", "Kelley Gottlieb"], ["LIMIT", 1]] SQL (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", "Kelley Gottlieb"], ["name", "Janine Cartwright"], ["description", "Rivka Grady"], ["service_delivery_unit_id", 14], ["created_at", "2018-03-22 04:41:41.740382"], ["updated_at", "2018-03-22 04:41:41.740382"]]  (0.5ms) 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", "Nathaniel Reichert"], ["LIMIT", 1]] SQL (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", "Nathaniel Reichert"], ["name", "Eddy Kessler"], ["address", "Markita Toy"], ["created_at", "2018-03-22 04:41:41.745036"], ["updated_at", "2018-03-22 04:41:41.745036"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Melodie Russel"], ["LIMIT", 1]] SQL (0.7ms) 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", "Melodie Russel"], ["name", "Cuc O'Kon"], ["description", "Elodia Quigley"], ["service_delivery_unit_id", 15], ["created_at", "2018-03-22 04:41:41.749204"], ["updated_at", "2018-03-22 04:41:41.749204"]]  (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", "Bobby Stehr"], ["LIMIT", 1]] SQL (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", "Bobby Stehr"], ["name", "Marcie Brown"], ["address", "Patience Schulist"], ["created_at", "2018-03-22 04:41:41.753848"], ["updated_at", "2018-03-22 04:41:41.753848"]]  (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", "Harley Streich"], ["LIMIT", 1]] SQL (0.7ms) 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", "Harley Streich"], ["name", "Gregory Jones"], ["description", "Debera Effertz"], ["service_delivery_unit_id", 16], ["created_at", "2018-03-22 04:41:41.758047"], ["updated_at", "2018-03-22 04:41:41.758047"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "Lizzie Murazik"], ["LIMIT", 1]] SQL (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", "Lizzie Murazik"], ["name", "Willian Simonis"], ["address", "Angelique Cummings"], ["created_at", "2018-03-22 04:41:41.767031"], ["updated_at", "2018-03-22 04:41:41.767031"]]  (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", "Zena Renner"], ["LIMIT", 1]] SQL (0.7ms) 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", "Zena Renner"], ["name", "Bernard Spencer"], ["description", "Janina Kirlin"], ["service_delivery_unit_id", 17], ["created_at", "2018-03-22 04:41:41.772299"], ["updated_at", "2018-03-22 04:41:41.772299"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"11"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (1.1ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "August Mayer"], ["LIMIT", 1]] SQL (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", "August Mayer"], ["name", "Eliza Thiel"], ["address", "Teresita Mann"], ["created_at", "2018-03-22 04:41:41.784593"], ["updated_at", "2018-03-22 04:41:41.784593"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Felica Jacobi", "description"=>"Marquis Kuhn", "name"=>"Alease Brown", "service_delivery_unit_id"=>"18"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.5ms) ROLLBACK  (0.4ms) 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", "Myung Rath"], ["LIMIT", 1]] SQL (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", "Myung Rath"], ["name", "Lakeisha Herzog"], ["address", "Shena Trantow"], ["created_at", "2018-03-22 04:41:41.795138"], ["updated_at", "2018-03-22 04:41:41.795138"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Bao Dach", "description"=>"Marlo Corkery", "name"=>"Rex Weissnat", "service_delivery_unit_id"=>"19"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (1.1ms) BEGIN  (0.8ms) 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", "Aurore Ullrich"], ["LIMIT", 1]] SQL (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", "Aurore Ullrich"], ["name", "Geoffrey Kling"], ["address", "Paige Brakus"], ["created_at", "2018-03-22 04:41:41.806965"], ["updated_at", "2018-03-22 04:41:41.806965"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Kanesha VonRueden", "name"=>"Rubi Kemmer", "service_delivery_unit_id"=>"20"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) 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", "Lenard Mertz"], ["LIMIT", 1]] SQL (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", "Lenard Mertz"], ["name", "Machelle Wunsch"], ["address", "Milton Lynch"], ["created_at", "2018-03-22 04:41:41.816957"], ["updated_at", "2018-03-22 04:41:41.816957"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Francis Kerluke"], ["LIMIT", 1]] SQL (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", "Francis Kerluke"], ["name", "Hector Breitenberg"], ["description", "Ofelia Willms"], ["service_delivery_unit_id", 21], ["created_at", "2018-03-22 04:41:41.822555"], ["updated_at", "2018-03-22 04:41:41.822555"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Lauralee Kiehn"}, "id"=>"12"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) 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", 12], ["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", "Candy Ward"], ["LIMIT", 1]] SQL (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", "Candy Ward"], ["name", "Waneta Hamill"], ["address", "Nakia Murray"], ["created_at", "2018-03-22 04:41:41.834001"], ["updated_at", "2018-03-22 04:41:41.834001"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Antonio Pfannerstill"], ["LIMIT", 1]] SQL (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", "Antonio Pfannerstill"], ["name", "Dominga McKenzie"], ["description", "Wynell Greenholt"], ["service_delivery_unit_id", 22], ["created_at", "2018-03-22 04:41:41.838644"], ["updated_at", "2018-03-22 04:41:41.838644"]]  (0.5ms) 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", "Tiesha Volkman"], ["LIMIT", 1]] SQL (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", "Tiesha Volkman"], ["name", "Bertha Schiller"], ["address", "Kyoko Luettgen"], ["created_at", "2018-03-22 04:41:41.844351"], ["updated_at", "2018-03-22 04:41:41.844351"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Mindy Pagac", "description"=>"Alanna Lind", "name"=>"Marilee Powlowski", "service_delivery_unit_id"=>"23"}, "id"=>"13"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Ignacia Bode"], ["LIMIT", 1]] SQL (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", "Ignacia Bode"], ["name", "Richard Gislason"], ["address", "Jessi Wiegand"], ["created_at", "2018-03-22 04:41:41.855257"], ["updated_at", "2018-03-22 04:41:41.855257"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ruthie Romaguera"], ["LIMIT", 1]] SQL (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", "Ruthie Romaguera"], ["name", "Donnetta Cruickshank"], ["description", "Leonel Christiansen"], ["service_delivery_unit_id", 24], ["created_at", "2018-03-22 04:41:41.859199"], ["updated_at", "2018-03-22 04:41:41.859199"]]  (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", "Marisela Towne"], ["LIMIT", 1]] SQL (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", "Marisela Towne"], ["name", "Michiko DuBuque"], ["address", "Chrissy Schuppe"], ["created_at", "2018-03-22 04:41:41.863734"], ["updated_at", "2018-03-22 04:41:41.863734"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Bonnie Bergnaum", "name"=>"Sidney DuBuque", "service_delivery_unit_id"=>"25"}, "id"=>"14"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Tanya Ferry"], ["LIMIT", 1]] SQL (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", "Tanya Ferry"], ["name", "Rolanda Bosco"], ["address", "Chang Bode"], ["created_at", "2018-03-22 04:41:41.873396"], ["updated_at", "2018-03-22 04:41:41.873396"]]  (0.5ms) 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", "Karolyn Torp"], ["LIMIT", 1]] SQL (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", "Karolyn Torp"], ["name", "Dayna Nader"], ["address", "Rosio Hilpert"], ["created_at", "2018-03-22 04:41:41.877653"], ["updated_at", "2018-03-22 04:41:41.877653"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Delora Shanahan"], ["LIMIT", 1]] SQL (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", "Delora Shanahan"], ["name", "Warner Wolf"], ["address", "Tyesha Hartmann"], ["created_at", "2018-03-22 04:41:41.881439"], ["updated_at", "2018-03-22 04:41:41.881439"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Jovita Kessler", "code"=>"Andrew Green", "name"=>"Carisa McDermott"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.6ms) ROLLBACK  (0.5ms) BEGIN Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Casey Collier", "code"=>"Stepanie King", "name"=>"Amada Barrows"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Gigi Purdy", "code"=>"", "name"=>"Guadalupe Orn"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "Phillis Grant"], ["LIMIT", 1]] SQL (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", "Phillis Grant"], ["name", "Reatha Hettinger"], ["address", "Albert Rodriguez"], ["created_at", "2018-03-22 04:41:41.911608"], ["updated_at", "2018-03-22 04:41:41.911608"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"29"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) 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", 29], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "Lucretia Wuckert"], ["LIMIT", 1]] SQL (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", "Lucretia Wuckert"], ["name", "Libbie McGlynn"], ["address", "Janice Lemke"], ["created_at", "2018-03-22 04:41:41.923489"], ["updated_at", "2018-03-22 04:41:41.923489"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"30"} [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "isaias@fay.co.uk"], ["LIMIT", 1]] SQL (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", "Cedric Baumbach"], ["last_name", "Harrison Jakubowski"], ["email", "isaias@fay.co.uk"], ["password_digest", "$2a$04$AZ8tEglqEpxKM8rUPtKmhehA0k7BzZKI.hHd6BtcpkRMU2lBp3mwi"], ["created_at", "2018-03-22 04:41:41.974568"], ["updated_at", "2018-03-22 04:41:41.974568"]]  (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", "Dan Kuhic"], ["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", "Miquel Smitham"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dan Kuhic"], ["name", "Miquel Smitham"], ["description", "Ut quia eos asperiores ea corporis. Est est ut iste aut labore ad. Facere libero cupiditate fugit amet. Harum nemo facilis fuga culpa amet."], ["created_at", "2018-03-22 04:41:42.065340"], ["updated_at", "2018-03-22 04:41:42.065340"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Dori Gleason"], ["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", "Elmer Johnson"], ["LIMIT", 1]] SQL (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", "Dori Gleason"], ["name", "Elmer Johnson"], ["description", "Magnam et eum nam doloribus ea quibusdam fuga ipsam. Consectetur non id amet et. Sapiente delectus aut quia autem. Sed aut est ipsa fuga suscipit."], ["equipment_type_id", 1], ["created_at", "2018-03-22 04:41:42.072959"], ["updated_at", "2018-03-22 04:41:42.072959"]]  (0.5ms) 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", "Alysia Rogahn"], ["LIMIT", 1]] SQL (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", "Alysia Rogahn"], ["name", "Gilda Olson"], ["description", "Jerome Russel"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-03-22 04:41:42.079304"], ["updated_at", "2018-03-22 04:41:42.079304"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Cindie Lueilwitz"], ["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", "Ona Metz"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cindie Lueilwitz"], ["name", "Ona Metz"], ["description", "Bobbi Yost"], ["created_at", "2018-03-22 04:41:42.113779"], ["updated_at", "2018-03-22 04:41:42.113779"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Leslee Kub"], ["LIMIT", 1]] SQL (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", "Leslee Kub"], ["name", "Ciara Denesik"], ["location_type_id", 1], ["description", "Regenia Jaskolski"], ["address", "Alycia Boyle"], ["created_at", "2018-03-22 04:41:42.121429"], ["updated_at", "2018-03-22 04:41:42.121429"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Maribel Altenwerth"], ["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", "Cicely Gislason"], ["LIMIT", 1]] SQL (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", "Maribel Altenwerth"], ["name", "Keven Runte"], ["description", "Tianna Connelly"], ["serial_number", "Cicely Gislason"], ["brand", "Teena Balistreri"], ["item_model", "Emerald Schuppe"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-03-22 04:41:42.130824"], ["updated_at", "2018-03-22 04:41:42.130824"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Mohammad Donnelly"], ["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", "Diamond Gulgowski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mohammad Donnelly"], ["name", "Diamond Gulgowski"], ["created_at", "2018-03-22 04:41:42.139762"], ["updated_at", "2018-03-22 04:41:42.139762"]]  (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", "Sam Beahan"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sam Beahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.144539"], ["updated_at", "2018-03-22 04:41:42.144539"]]  (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", "Norma Kozey"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Norma Kozey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.149319"], ["updated_at", "2018-03-22 04:41:42.149319"]]  (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", "Tawna Grant"], ["LIMIT", 1]] SQL (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", "Tawna Grant"], ["name", "Dorthea Marquardt"], ["address", "Janey Luettgen"], ["created_at", "2018-03-22 04:41:42.154577"], ["updated_at", "2018-03-22 04:41:42.154577"]]  (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", "Mia Connelly"], ["service_delivery_unit_id", 31], ["LIMIT", 1]] SQL (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", "Mia Connelly"], ["name", "Paris Hettinger"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 31], ["created_at", "2018-03-22 04:41:42.159056"], ["updated_at", "2018-03-22 04:41:42.159056"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (10.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", 10], ["equipment_item_id", 1], ["created_at", "2018-03-22 04:41:42.163952"], ["updated_at", "2018-03-22 04:41:42.163952"]]  (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", "Terry Rempel"], ["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", "Tequila Doyle"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Terry Rempel"], ["name", "Tequila Doyle"], ["description", "Veritatis nobis quaerat fugit sed et minima voluptates. Iste facere voluptates rem aliquid nemo in. Quo perspiciatis aut perferendis tempora illo qui minima. Saepe ipsam eius exercitationem non recusandae aut eos ut. Et est at praesentium reprehenderit iure vel deleniti."], ["created_at", "2018-03-22 04:41:42.180887"], ["updated_at", "2018-03-22 04:41:42.180887"]]  (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", "Janene Medhurst"], ["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", "James Stroman"], ["LIMIT", 1]] SQL (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", "Janene Medhurst"], ["name", "James Stroman"], ["description", "Cum consectetur consequuntur accusamus nulla voluptatem illum. Minima est sed itaque architecto excepturi. Modi est aliquid eaque tempore sunt. Ea mollitia quod sit debitis iste nisi in."], ["equipment_type_id", 2], ["created_at", "2018-03-22 04:41:42.186242"], ["updated_at", "2018-03-22 04:41:42.186242"]]  (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", "Tula Johns"], ["LIMIT", 1]] SQL (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", "Tula Johns"], ["name", "Kasandra Balistreri"], ["description", "Suzann Wyman"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-03-22 04:41:42.190471"], ["updated_at", "2018-03-22 04:41:42.190471"]]  (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", "Isreal Runolfsson"], ["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", "Claudio Cummerata"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Isreal Runolfsson"], ["name", "Claudio Cummerata"], ["description", "Mai Bergstrom"], ["created_at", "2018-03-22 04:41:42.196487"], ["updated_at", "2018-03-22 04:41:42.196487"]]  (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", "Margy Bernhard"], ["LIMIT", 1]] SQL (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", "Margy Bernhard"], ["name", "Katerine Predovic"], ["location_type_id", 2], ["description", "Roberta Gerhold"], ["address", "Kiersten Lockman"], ["created_at", "2018-03-22 04:41:42.201163"], ["updated_at", "2018-03-22 04:41:42.201163"]]  (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", "Davina Hessel"], ["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", "Palmira Feil"], ["LIMIT", 1]] SQL (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", "Davina Hessel"], ["name", "Lilliana Buckridge"], ["description", "Petronila Treutel"], ["serial_number", "Palmira Feil"], ["brand", "Miguelina Senger"], ["item_model", "Jimmy Walker"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-03-22 04:41:42.206621"], ["updated_at", "2018-03-22 04:41:42.206621"]]  (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", "Gertrud Goldner"], ["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", "Selene Walsh"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gertrud Goldner"], ["name", "Selene Walsh"], ["created_at", "2018-03-22 04:41:42.212825"], ["updated_at", "2018-03-22 04:41:42.212825"]]  (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", "Eartha Kassulke"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eartha Kassulke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.217365"], ["updated_at", "2018-03-22 04:41:42.217365"]]  (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", "Berta Kautzer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Berta Kautzer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.223465"], ["updated_at", "2018-03-22 04:41:42.223465"]]  (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", "Elisha Schmeler"], ["LIMIT", 1]] SQL (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", "Elisha Schmeler"], ["name", "Derek Skiles"], ["address", "Brittney Rippin"], ["created_at", "2018-03-22 04:41:42.228174"], ["updated_at", "2018-03-22 04:41:42.228174"]]  (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", "Dorris VonRueden"], ["service_delivery_unit_id", 32], ["LIMIT", 1]] SQL (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", "Dorris VonRueden"], ["name", "Sophia Lockman"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 32], ["created_at", "2018-03-22 04:41:42.232662"], ["updated_at", "2018-03-22 04:41:42.232662"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 11], ["equipment_item_id", 2], ["created_at", "2018-03-22 04:41:42.236302"], ["updated_at", "2018-03-22 04:41:42.236302"]]  (0.5ms) 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", "Bettyann Sporer"], ["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", "Mei O'Conner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bettyann Sporer"], ["name", "Mei O'Conner"], ["description", "Ea incidunt voluptatem dolorem ad quisquam tenetur asperiores in. Rerum quo non ea dicta quod quia. Sunt aperiam qui alias eum nam non doloremque. Veniam eos maxime assumenda nobis. Et quo eos expedita est praesentium excepturi."], ["created_at", "2018-03-22 04:41:42.243429"], ["updated_at", "2018-03-22 04:41:42.243429"]]  (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", "Eduardo 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", "Leigha Wyman"], ["LIMIT", 1]] SQL (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", "Eduardo Crooks"], ["name", "Leigha Wyman"], ["description", "Aut molestiae est temporibus odit et nemo quaerat voluptate. Adipisci veritatis officiis voluptas aut illum. Aliquam qui eos officia accusantium veritatis nam."], ["equipment_type_id", 3], ["created_at", "2018-03-22 04:41:42.249167"], ["updated_at", "2018-03-22 04:41:42.249167"]]  (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", "Roseanne Luettgen"], ["LIMIT", 1]] SQL (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", "Roseanne Luettgen"], ["name", "Lanette Schmidt"], ["description", "Shizuko Rowe"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-03-22 04:41:42.254554"], ["updated_at", "2018-03-22 04:41:42.254554"]]  (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", "Claribel Hand"], ["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", "Jessica Nolan"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Claribel Hand"], ["name", "Jessica Nolan"], ["description", "Eleanora Maggio"], ["created_at", "2018-03-22 04:41:42.260744"], ["updated_at", "2018-03-22 04:41:42.260744"]]  (0.6ms) 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", "Vincenza Heathcote"], ["LIMIT", 1]] SQL (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", "Vincenza Heathcote"], ["name", "Kiley Goyette"], ["location_type_id", 3], ["description", "Alverta Schroeder"], ["address", "Perry Krajcik"], ["created_at", "2018-03-22 04:41:42.269039"], ["updated_at", "2018-03-22 04:41:42.269039"]]  (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", "Dotty Greenfelder"], ["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", "Garrett Cassin"], ["LIMIT", 1]] SQL (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", "Dotty Greenfelder"], ["name", "Patrina Jacobs"], ["description", "Margorie Sipes"], ["serial_number", "Garrett Cassin"], ["brand", "Damion Huels"], ["item_model", "Bess Reinger"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-03-22 04:41:42.275245"], ["updated_at", "2018-03-22 04:41:42.275245"]]  (0.4ms) 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", "Shalanda Rodriguez"], ["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", "Gracie Christiansen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shalanda Rodriguez"], ["name", "Gracie Christiansen"], ["created_at", "2018-03-22 04:41:42.281936"], ["updated_at", "2018-03-22 04:41:42.281936"]]  (0.4ms) 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", "Evelin Schamberger"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Evelin Schamberger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.286296"], ["updated_at", "2018-03-22 04:41:42.286296"]]  (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", "Shery Stoltenberg"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shery Stoltenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.290954"], ["updated_at", "2018-03-22 04:41:42.290954"]]  (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", "Hortense Mante"], ["LIMIT", 1]] SQL (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", "Hortense Mante"], ["name", "Marilyn Bradtke"], ["address", "Winfred Reichert"], ["created_at", "2018-03-22 04:41:42.295530"], ["updated_at", "2018-03-22 04:41:42.295530"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Theo Schaden"], ["service_delivery_unit_id", 33], ["LIMIT", 1]] SQL (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", "Theo Schaden"], ["name", "Carey Blanda"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 33], ["created_at", "2018-03-22 04:41:42.299584"], ["updated_at", "2018-03-22 04:41:42.299584"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 12], ["equipment_item_id", 3], ["created_at", "2018-03-22 04:41:42.303380"], ["updated_at", "2018-03-22 04:41:42.303380"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#index as HTML Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (1.1ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 10], ["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", 1], ["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", 11], ["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", 2], ["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", 12], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (12.55ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.39ms) Completed 200 OK in 46ms (Views: 5.9ms | ActiveRecord: 6.9ms)  (1.2ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "marguerita@mills.ca"], ["LIMIT", 1]] SQL (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", "Antoinette Reinger"], ["last_name", "Inez Moen"], ["email", "marguerita@mills.ca"], ["password_digest", "$2a$04$YABsX/3CXO4svZ586h9y0.Lo8eovCKvwWGC43gUIlp6CmR/Bt1pr2"], ["created_at", "2018-03-22 04:41:42.360434"], ["updated_at", "2018-03-22 04:41:42.360434"]]  (0.4ms) 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", "Loris Lowe"], ["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", "Gilma Bayer"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Loris Lowe"], ["name", "Gilma Bayer"], ["description", "At earum quis atque quia aut dolorem. Voluptatem quam ullam qui corrupti quis incidunt quisquam debitis. Enim quia aliquid autem explicabo dolores culpa commodi animi. Similique minus adipisci eius quod fuga."], ["created_at", "2018-03-22 04:41:42.367391"], ["updated_at", "2018-03-22 04:41:42.367391"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Katheryn Leuschke"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Malisa Daugherty"], ["LIMIT", 1]] SQL (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", "Katheryn Leuschke"], ["name", "Malisa Daugherty"], ["description", "Eveniet dolores rerum unde soluta. Inventore non asperiores provident sunt consequuntur rerum quam et. Ut id aut unde non iusto officia deserunt."], ["equipment_type_id", 4], ["created_at", "2018-03-22 04:41:42.372692"], ["updated_at", "2018-03-22 04:41:42.372692"]]  (0.4ms) 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", "Melinda Turcotte"], ["LIMIT", 1]] SQL (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", "Melinda Turcotte"], ["name", "Christina Volkman"], ["description", "Sang Rowe"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-03-22 04:41:42.376562"], ["updated_at", "2018-03-22 04:41:42.376562"]]  (0.5ms) 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", "Enriqueta Rogahn"], ["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", "Santiago Conroy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Enriqueta Rogahn"], ["name", "Santiago Conroy"], ["description", "Kaitlin Wisoky"], ["created_at", "2018-03-22 04:41:42.381975"], ["updated_at", "2018-03-22 04:41:42.381975"]]  (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", "My Hessel"], ["LIMIT", 1]] SQL (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", "My Hessel"], ["name", "Maryetta Baumbach"], ["location_type_id", 4], ["description", "Lilliam Runolfsdottir"], ["address", "Jeannine Jewess"], ["created_at", "2018-03-22 04:41:42.385981"], ["updated_at", "2018-03-22 04:41:42.385981"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Ai McClure"], ["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", "Brenna Fadel"], ["LIMIT", 1]] SQL (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", "Ai McClure"], ["name", "Kendal Harvey"], ["description", "Kami Becker"], ["serial_number", "Brenna Fadel"], ["brand", "Marty Lehner"], ["item_model", "Ina Kirlin"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-03-22 04:41:42.391930"], ["updated_at", "2018-03-22 04:41:42.391930"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Beatrice Conn"], ["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", "Denice Schmidt"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Beatrice Conn"], ["name", "Denice Schmidt"], ["created_at", "2018-03-22 04:41:42.398697"], ["updated_at", "2018-03-22 04:41:42.398697"]]  (0.9ms) 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", "Prince Schumm"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Prince Schumm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.404288"], ["updated_at", "2018-03-22 04:41:42.404288"]]  (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", "Rosemary Hodkiewicz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rosemary Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.408964"], ["updated_at", "2018-03-22 04:41:42.408964"]]  (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", "Charline Harvey"], ["LIMIT", 1]] SQL (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", "Charline Harvey"], ["name", "Kyoko Schultz"], ["address", "Rene White"], ["created_at", "2018-03-22 04:41:42.413712"], ["updated_at", "2018-03-22 04:41:42.413712"]]  (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", "Evalyn Glover"], ["service_delivery_unit_id", 34], ["LIMIT", 1]] SQL (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", "Evalyn Glover"], ["name", "Tresa Wyman"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 34], ["created_at", "2018-03-22 04:41:42.419225"], ["updated_at", "2018-03-22 04:41:42.419225"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 4], ["created_at", "2018-03-22 04:41:42.423032"], ["updated_at", "2018-03-22 04:41:42.423032"]]  (0.4ms) 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", "Vincenza Herman"], ["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", "Nadia Dibbert"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vincenza Herman"], ["name", "Nadia Dibbert"], ["description", "Sint ut cupiditate provident omnis. Ut praesentium et porro perferendis fugit. Dolore facere expedita quo sit non ipsa."], ["created_at", "2018-03-22 04:41:42.430040"], ["updated_at", "2018-03-22 04:41:42.430040"]]  (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", "Maribel Cartwright"], ["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", "Gala Feeney"], ["LIMIT", 1]] SQL (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", "Maribel Cartwright"], ["name", "Gala Feeney"], ["description", "Occaecati ut est esse ipsam fugiat voluptatem rerum. Rerum dolorem neque fugit quaerat nobis recusandae omnis explicabo. Eum consequuntur qui atque tenetur quis omnis assumenda."], ["equipment_type_id", 5], ["created_at", "2018-03-22 04:41:42.436009"], ["updated_at", "2018-03-22 04:41:42.436009"]]  (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", "Shanell Considine"], ["LIMIT", 1]] SQL (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", "Shanell Considine"], ["name", "Terresa Ward"], ["description", "Brigida Hamill"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-03-22 04:41:42.439981"], ["updated_at", "2018-03-22 04:41:42.439981"]]  (0.4ms) 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", "Brianna Balistreri"], ["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", "Shani Carter"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Brianna Balistreri"], ["name", "Shani Carter"], ["description", "Jay Haley"], ["created_at", "2018-03-22 04:41:42.446451"], ["updated_at", "2018-03-22 04:41:42.446451"]]  (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", "Farrah Johnson"], ["LIMIT", 1]] SQL (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", "Farrah Johnson"], ["name", "Michaele Kihn"], ["location_type_id", 5], ["description", "Glory Lebsack"], ["address", "Crista Kuhic"], ["created_at", "2018-03-22 04:41:42.450982"], ["updated_at", "2018-03-22 04:41:42.450982"]]  (0.4ms) 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", "Naoma Jast"], ["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", "Merilyn Von"], ["LIMIT", 1]] SQL (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", "Naoma Jast"], ["name", "Chloe Buckridge"], ["description", "Lavona Stoltenberg"], ["serial_number", "Merilyn Von"], ["brand", "Zoraida Ruecker"], ["item_model", "Romaine Huel"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-03-22 04:41:42.456678"], ["updated_at", "2018-03-22 04:41:42.456678"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Rosita Hirthe"], ["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", "Bok Rolfson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rosita Hirthe"], ["name", "Bok Rolfson"], ["created_at", "2018-03-22 04:41:42.462439"], ["updated_at", "2018-03-22 04:41:42.462439"]]  (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", "Alysha Kovacek"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alysha Kovacek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.466808"], ["updated_at", "2018-03-22 04:41:42.466808"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Louie O'Keefe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Louie O'Keefe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.470722"], ["updated_at", "2018-03-22 04:41:42.470722"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Juliana Schmitt"], ["LIMIT", 1]] SQL (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", "Juliana Schmitt"], ["name", "Tabatha Kshlerin"], ["address", "Nancey Stark"], ["created_at", "2018-03-22 04:41:42.475050"], ["updated_at", "2018-03-22 04:41:42.475050"]]  (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", "Lauryn Braun"], ["service_delivery_unit_id", 35], ["LIMIT", 1]] SQL (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", "Lauryn Braun"], ["name", "Kimber McClure"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 35], ["created_at", "2018-03-22 04:41:42.479452"], ["updated_at", "2018-03-22 04:41:42.479452"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 14], ["equipment_item_id", 5], ["created_at", "2018-03-22 04:41:42.482494"], ["updated_at", "2018-03-22 04:41:42.482494"]]  (0.4ms) 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", "Cordia O'Kon"], ["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", "Kayce Predovic"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cordia O'Kon"], ["name", "Kayce Predovic"], ["description", "Quia rem quasi sed nostrum quo. Qui magnam odit similique vitae est eius rerum. Nihil aut aliquam eos et assumenda magni et voluptates. Corporis nesciunt quas omnis quod. Soluta inventore non dolores rerum ipsam quam."], ["created_at", "2018-03-22 04:41:42.488940"], ["updated_at", "2018-03-22 04:41:42.488940"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Shaquana Muller"], ["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", "Terra Crona"], ["LIMIT", 1]] SQL (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", "Shaquana Muller"], ["name", "Terra Crona"], ["description", "Quia dolorem sit distinctio eos molestiae. Iure autem maxime sint quia est. Libero aut magnam quia perspiciatis cupiditate. Et tempora nesciunt distinctio cum doloribus adipisci."], ["equipment_type_id", 6], ["created_at", "2018-03-22 04:41:42.493753"], ["updated_at", "2018-03-22 04:41:42.493753"]]  (0.4ms) 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", "Candi Feeney"], ["LIMIT", 1]] SQL (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", "Candi Feeney"], ["name", "Lisa Fadel"], ["description", "Jenny Raynor"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-03-22 04:41:42.497774"], ["updated_at", "2018-03-22 04:41:42.497774"]]  (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", "Nichole Donnelly"], ["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", "Vasiliki Bechtelar"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nichole Donnelly"], ["name", "Vasiliki Bechtelar"], ["description", "Carma Conn"], ["created_at", "2018-03-22 04:41:42.503479"], ["updated_at", "2018-03-22 04:41:42.503479"]]  (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", "Penney Corkery"], ["LIMIT", 1]] SQL (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", "Penney Corkery"], ["name", "Floy Jones"], ["location_type_id", 6], ["description", "Dominica Price"], ["address", "Beata Padberg"], ["created_at", "2018-03-22 04:41:42.507602"], ["updated_at", "2018-03-22 04:41:42.507602"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Deedee Bogan"], ["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", "Anh Kunde"], ["LIMIT", 1]] SQL (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", "Deedee Bogan"], ["name", "Ailene Rolfson"], ["description", "Cordell Hills"], ["serial_number", "Anh Kunde"], ["brand", "Dortha Krajcik"], ["item_model", "Lavonda Wehner"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-03-22 04:41:42.513070"], ["updated_at", "2018-03-22 04:41:42.513070"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Brigida Torphy"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Kaci Lehner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Brigida Torphy"], ["name", "Kaci Lehner"], ["created_at", "2018-03-22 04:41:42.519517"], ["updated_at", "2018-03-22 04:41:42.519517"]]  (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", "Billie Pagac"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Billie Pagac"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.523785"], ["updated_at", "2018-03-22 04:41:42.523785"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cristal Jacobson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cristal Jacobson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:41:42.527754"], ["updated_at", "2018-03-22 04:41:42.527754"]]  (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", "Chrystal Schmitt"], ["LIMIT", 1]] SQL (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", "Chrystal Schmitt"], ["name", "Tara Kassulke"], ["address", "Ludivina Littel"], ["created_at", "2018-03-22 04:41:42.531986"], ["updated_at", "2018-03-22 04:41:42.531986"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Len Wolf"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] SQL (0.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", "Len Wolf"], ["name", "Art Klein"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 36], ["created_at", "2018-03-22 04:41:42.538010"], ["updated_at", "2018-03-22 04:41:42.538010"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 15], ["equipment_item_id", 6], ["created_at", "2018-03-22 04:41:42.541668"], ["updated_at", "2018-03-22 04:41:42.541668"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates 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", 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", 2], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.2ms) 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", 13], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.1ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 4], ["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", 34], ["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", 14], ["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", 5], ["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", 35], ["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", 15], ["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", 6], ["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", 36], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (14.64ms) Completed 200 OK in 21ms (Views: 9.1ms | ActiveRecord: 10.0ms)  (2.3ms) ROLLBACK  (0.7ms) BEGIN  (1.2ms) 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", "rickey@oconnersauer.biz"], ["LIMIT", 1]] SQL (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", "Jamar Mayer"], ["last_name", "Dayna Turner"], ["email", "rickey@oconnersauer.biz"], ["password_digest", "$2a$04$m/V/dAHq/nErqH6Lnk4mM.kLKIDLvnBQaYxk6y4WqP2vju4uRydT."], ["created_at", "2018-03-22 04:42:00.437783"], ["updated_at", "2018-03-22 04:42:00.437783"]]  (0.4ms) 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", "Edith Mante"], ["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", "Dong Wuckert"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Edith Mante"], ["name", "Dong Wuckert"], ["created_at", "2018-03-22 04:42:00.444297"], ["updated_at", "2018-03-22 04:42:00.444297"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 3], ["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", 3], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) 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 28ms (Views: 25.2ms | ActiveRecord: 2.1ms)  (1.3ms) 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", "karine@jerde.co.uk"], ["LIMIT", 1]] SQL (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", "Deedee Yost"], ["last_name", "Natosha Leffler"], ["email", "karine@jerde.co.uk"], ["password_digest", "$2a$04$RPPUvXDKUMQrIHEaXuLiv./M90Vc/OjoVgeuvxVL1hCGltGJfVjaO"], ["created_at", "2018-03-22 04:42:00.489264"], ["updated_at", "2018-03-22 04:42:00.489264"]]  (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", "Corrin Mueller"], ["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", "Renae Von"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Corrin Mueller"], ["name", "Renae Von"], ["created_at", "2018-03-22 04:42:00.497483"], ["updated_at", "2018-03-22 04:42:00.497483"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} 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]] 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", 20], ["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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.57ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 2.3ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (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", "malisa.reinger@pfeffer.co.uk"], ["LIMIT", 1]] SQL (2.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", "Deirdre Mohr"], ["last_name", "Takisha Spencer"], ["email", "malisa.reinger@pfeffer.co.uk"], ["password_digest", "$2a$04$B.IxS5/T6QTc8iwnQaXgK.ag3xcVrwV4D2HlcHStzy65Vw3ae34bG"], ["created_at", "2018-03-22 04:42:00.522635"], ["updated_at", "2018-03-22 04:42:00.522635"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Twanda Schuppe", "name"=>"Corinna Fay"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["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 LIMIT $2 [["code", "Twanda Schuppe"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Corinna Fay"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Twanda Schuppe"], ["name", "Corinna Fay"], ["created_at", "2018-03-22 04:42:00.537307"], ["updated_at", "2018-03-22 04:42:00.537307"]]  (0.5ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.3ms) Completed 201 Created in 21ms (Views: 11.1ms | ActiveRecord: 5.1ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.9ms) 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", "adele@reilly.com"], ["LIMIT", 1]] SQL (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", "Kaci Paucek"], ["last_name", "Devon Powlowski"], ["email", "adele@reilly.com"], ["password_digest", "$2a$04$OLqXIiPF9ZSsQEADDPRRzOQSdbe/ivH7PyODGEa32ZBIaYOvQzuxS"], ["created_at", "2018-03-22 04:42:00.561642"], ["updated_at", "2018-03-22 04:42:00.561642"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Jed Wehner", "name"=>"Laureen Kutch"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 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", "Jed Wehner"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Laureen Kutch"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jed Wehner"], ["name", "Laureen Kutch"], ["created_at", "2018-03-22 04:42:00.569330"], ["updated_at", "2018-03-22 04:42:00.569330"]]  (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", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.23ms) Completed 201 Created in 9ms (Views: 1.6ms | ActiveRecord: 4.0ms) 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.7ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "gena@schoen.name"], ["LIMIT", 1]] SQL (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", "Libbie Cartwright"], ["last_name", "Amelia Greenholt"], ["email", "gena@schoen.name"], ["password_digest", "$2a$04$2qNsOoUMBbdx5kBeB3zrhOvROnXx8BKIAYQDVK0z2kezcc/N9Nghi"], ["created_at", "2018-03-22 04:42:00.582908"], ["updated_at", "2018-03-22 04:42:00.582908"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Larita Kemmer"}} 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]]  (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", ""], ["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", "Larita Kemmer"], ["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", 7], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 16ms (Views: 4.7ms | ActiveRecord: 4.1ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "alycia_schmitt@wisozkdach.name"], ["LIMIT", 1]] SQL (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", "Alaine Flatley"], ["last_name", "Simonne D'Amore"], ["email", "alycia_schmitt@wisozkdach.name"], ["password_digest", "$2a$04$.pg3YFsU3q0XGiFRAuyqVOY4IubwLb70V1A5Js7BQgSYg9wyz0tDm"], ["created_at", "2018-03-22 04:42:00.612053"], ["updated_at", "2018-03-22 04:42:00.612053"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Brandy Wintheiser"], ["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", "Keshia Smith"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Brandy Wintheiser"], ["name", "Keshia Smith"], ["created_at", "2018-03-22 04:42:00.618197"], ["updated_at", "2018-03-22 04:42:00.618197"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Elenore Walsh"}, "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", 8], ["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", 23], ["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", "Brandy Wintheiser"], ["id", 23], ["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", "Elenore Walsh"], ["id", 23], ["LIMIT", 1]] SQL (0.8ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Elenore Walsh"], ["updated_at", "2018-03-22 04:42:00.627243"], ["id", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 5.2ms) 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", 23], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "marine_kub@reillylegros.com"], ["LIMIT", 1]] SQL (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", "Santana Feest"], ["last_name", "Kimbery Gorczany"], ["email", "marine_kub@reillylegros.com"], ["password_digest", "$2a$04$UpeOIAGnjFeAjj4DrhbblODoxYKT2Tc4FWZcfSiK48y13YZ0aJIGq"], ["created_at", "2018-03-22 04:42:00.640299"], ["updated_at", "2018-03-22 04:42:00.640299"]]  (1.0ms) 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", "Charlie Zulauf"], ["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", "Lorna Durgan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Charlie Zulauf"], ["name", "Lorna Durgan"], ["created_at", "2018-03-22 04:42:00.647354"], ["updated_at", "2018-03-22 04:42:00.647354"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Coletta Graham", "name"=>"Lakeesha Maggio"}, "id"=>"24"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Coletta Graham"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Lakeesha Maggio"], ["id", 24], ["LIMIT", 1]] SQL (1.1ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Coletta Graham"], ["name", "Lakeesha Maggio"], ["updated_at", "2018-03-22 04:42:00.655993"], ["id", 24]]  (0.7ms) 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", 9], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 5.2ms)  (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", "shandra_huel@satterfield.com"], ["LIMIT", 1]] SQL (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", "Loralee Hamill"], ["last_name", "Suzette Hahn"], ["email", "shandra_huel@satterfield.com"], ["password_digest", "$2a$04$5FcFgzrZm8G6tVRprVZIUOdQQZ3nLyGNy7G9EpsKP8zr6qFxG9dCq"], ["created_at", "2018-03-22 04:42:00.668379"], ["updated_at", "2018-03-22 04:42:00.668379"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gabriella Purdy"], ["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", "Karie Morar"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gabriella Purdy"], ["name", "Karie Morar"], ["created_at", "2018-03-22 04:42:00.673816"], ["updated_at", "2018-03-22 04:42:00.673816"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Anglea Robel"}, "id"=>"25"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["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", 25], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", ""], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Anglea Robel"], ["id", 25], ["LIMIT", 1]]  (0.4ms) 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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.0ms | ActiveRecord: 4.3ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Wayne Hintz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wayne Hintz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.690990"], ["updated_at", "2018-03-22 04:42:00.690990"]]  (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", "Michelle Bashirian"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Michelle Bashirian"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.695303"], ["updated_at", "2018-03-22 04:42:00.695303"]]  (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", "Micah Conroy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Micah Conroy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.699938"], ["updated_at", "2018-03-22 04:42:00.699938"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "Domingo Barton"], ["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", "Kandi Corkery"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Domingo Barton"], ["name", "Kandi Corkery"], ["created_at", "2018-03-22 04:42:00.721215"], ["updated_at", "2018-03-22 04:42:00.721215"]]  (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", "Collette Effertz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Collette Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.725618"], ["updated_at", "2018-03-22 04:42:00.725618"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sarita Stracke"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sarita Stracke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.729834"], ["updated_at", "2018-03-22 04:42:00.729834"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Gale Green"], ["LIMIT", 1]] SQL (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", "Gale Green"], ["name", "Dorthey Oberbrunner"], ["address", "Taren Barton"], ["created_at", "2018-03-22 04:42:00.733832"], ["updated_at", "2018-03-22 04:42:00.733832"]]  (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", "Thea Walter"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (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", "Thea Walter"], ["name", "Etta Paucek"], ["service_type_id", 26], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 37], ["created_at", "2018-03-22 04:42:00.737911"], ["updated_at", "2018-03-22 04:42:00.737911"]]  (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", "Khalilah Schmeler"], ["LIMIT", 1]] SQL (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", "Khalilah Schmeler"], ["name", "Lawrence Reichert"], ["address", "Tora Treutel"], ["created_at", "2018-03-22 04:42:00.744509"], ["updated_at", "2018-03-22 04:42:00.744509"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Emily Kautzer"], ["LIMIT", 1]] SQL (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", "Emily Kautzer"], ["name", "Carlotta Franecki"], ["description", "Janae Nienow"], ["service_delivery_unit_id", 38], ["created_at", "2018-03-22 04:42:00.749486"], ["updated_at", "2018-03-22 04:42:00.749486"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 16], ["service_bundle_id", 15], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:42:00.753493"], ["updated_at", "2018-03-22 04:42:00.753493"]]  (0.4ms) 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", "Alisa Olson"], ["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", "Cortney Emmerich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alisa Olson"], ["name", "Cortney Emmerich"], ["created_at", "2018-03-22 04:42:00.763322"], ["updated_at", "2018-03-22 04:42:00.763322"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Charles Heller"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charles Heller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.767415"], ["updated_at", "2018-03-22 04:42:00.767415"]]  (0.4ms) 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", "Maxwell Bailey"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maxwell Bailey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.771432"], ["updated_at", "2018-03-22 04:42:00.771432"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Shae Heidenreich"], ["LIMIT", 1]] SQL (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", "Shae Heidenreich"], ["name", "Mazie Bechtelar"], ["address", "Cecilia Bernhard"], ["created_at", "2018-03-22 04:42:00.775683"], ["updated_at", "2018-03-22 04:42:00.775683"]]  (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", "Malorie Cronin"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Malorie Cronin"], ["name", "Clora O'Keefe"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 39], ["created_at", "2018-03-22 04:42:00.779759"], ["updated_at", "2018-03-22 04:42:00.779759"]]  (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", "Raquel Abbott"], ["LIMIT", 1]] SQL (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", "Raquel Abbott"], ["name", "Mariel Tillman"], ["address", "Grace Lowe"], ["created_at", "2018-03-22 04:42:00.784478"], ["updated_at", "2018-03-22 04:42:00.784478"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Branden Casper"], ["LIMIT", 1]] SQL (0.7ms) 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", "Branden Casper"], ["name", "Elza Raynor"], ["description", "Tonia Koelpin"], ["service_delivery_unit_id", 40], ["created_at", "2018-03-22 04:42:00.788401"], ["updated_at", "2018-03-22 04:42:00.788401"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.5ms) 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", "Nila Gutkowski"], ["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", "Hosea Nitzsche"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nila Gutkowski"], ["name", "Hosea Nitzsche"], ["created_at", "2018-03-22 04:42:00.799676"], ["updated_at", "2018-03-22 04:42:00.799676"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Daisey O'Connell"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Daisey O'Connell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.803943"], ["updated_at", "2018-03-22 04:42:00.803943"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Elizbeth Toy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elizbeth Toy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.808828"], ["updated_at", "2018-03-22 04:42:00.808828"]]  (0.5ms) 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", "Ashly Dach"], ["LIMIT", 1]] SQL (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", "Ashly Dach"], ["name", "Matilde Hane"], ["address", "Kittie Jakubowski"], ["created_at", "2018-03-22 04:42:00.813389"], ["updated_at", "2018-03-22 04:42:00.813389"]]  (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", "Jung Cormier"], ["service_delivery_unit_id", 41], ["LIMIT", 1]] SQL (0.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", "Jung Cormier"], ["name", "Jesenia McKenzie"], ["service_type_id", 28], ["base_unit_id", 44], ["utilization_unit_id", 45], ["service_delivery_unit_id", 41], ["created_at", "2018-03-22 04:42:00.817494"], ["updated_at", "2018-03-22 04:42:00.817494"]]  (0.6ms) 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", "Leanne Renner"], ["LIMIT", 1]] SQL (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", "Leanne Renner"], ["name", "Gabriella Luettgen"], ["address", "Elda Hamill"], ["created_at", "2018-03-22 04:42:00.823366"], ["updated_at", "2018-03-22 04:42:00.823366"]]  (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", "Beula Mann"], ["LIMIT", 1]] SQL (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", "Beula Mann"], ["name", "Martin Wunsch"], ["description", "Leslee Littel"], ["service_delivery_unit_id", 42], ["created_at", "2018-03-22 04:42:00.827872"], ["updated_at", "2018-03-22 04:42:00.827872"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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 LIMIT $2 [["code", "Trudi Gutmann"], ["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", "Clara Hamill"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Trudi Gutmann"], ["name", "Clara Hamill"], ["created_at", "2018-03-22 04:42:00.838336"], ["updated_at", "2018-03-22 04:42:00.838336"]]  (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", "Hal Rath"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hal Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.843730"], ["updated_at", "2018-03-22 04:42:00.843730"]]  (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", "Miranda Hamill"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Miranda Hamill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.848174"], ["updated_at", "2018-03-22 04:42:00.848174"]]  (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", "Ward Effertz"], ["LIMIT", 1]] SQL (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", "Ward Effertz"], ["name", "Dusti Bartell"], ["address", "Josette Hermann"], ["created_at", "2018-03-22 04:42:00.852271"], ["updated_at", "2018-03-22 04:42:00.852271"]]  (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", "Tonette Boehm"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Tonette Boehm"], ["name", "Marcela Hodkiewicz"], ["service_type_id", 29], ["base_unit_id", 46], ["utilization_unit_id", 47], ["service_delivery_unit_id", 43], ["created_at", "2018-03-22 04:42:00.856478"], ["updated_at", "2018-03-22 04:42:00.856478"]]  (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", "Harriette Champlin"], ["LIMIT", 1]] SQL (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", "Harriette Champlin"], ["name", "Alayna Lowe"], ["address", "Lan Conn"], ["created_at", "2018-03-22 04:42:00.861441"], ["updated_at", "2018-03-22 04:42:00.861441"]]  (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", "Harrison Zboncak"], ["LIMIT", 1]] SQL (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", "Harrison Zboncak"], ["name", "Philip Hayes"], ["description", "Mariah Labadie"], ["service_delivery_unit_id", 44], ["created_at", "2018-03-22 04:42:00.866098"], ["updated_at", "2018-03-22 04:42:00.866098"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "Luise Adams"], ["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", "Vanesa Jacobs"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Luise Adams"], ["name", "Vanesa Jacobs"], ["created_at", "2018-03-22 04:42:00.877911"], ["updated_at", "2018-03-22 04:42:00.877911"]]  (0.4ms) 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", "Odette Ankunding"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Odette Ankunding"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.882396"], ["updated_at", "2018-03-22 04:42:00.882396"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Daryl Daniel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Daryl Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.886501"], ["updated_at", "2018-03-22 04:42:00.886501"]]  (0.4ms) 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", "Jerald Hermiston"], ["LIMIT", 1]] SQL (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", "Jerald Hermiston"], ["name", "Evita Rogahn"], ["address", "Elda Osinski"], ["created_at", "2018-03-22 04:42:00.891548"], ["updated_at", "2018-03-22 04:42:00.891548"]]  (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", "Rocio Rempel"], ["service_delivery_unit_id", 45], ["LIMIT", 1]] SQL (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", "Rocio Rempel"], ["name", "Treena Hansen"], ["service_type_id", 30], ["base_unit_id", 48], ["utilization_unit_id", 49], ["service_delivery_unit_id", 45], ["created_at", "2018-03-22 04:42:00.896155"], ["updated_at", "2018-03-22 04:42:00.896155"]]  (0.5ms) RELEASE 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Rocio Rempel"], ["id", 20], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.5ms) 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", "Jacquie Hudson"], ["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", "Kareen Carter"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jacquie Hudson"], ["name", "Kareen Carter"], ["created_at", "2018-03-22 04:42:00.905759"], ["updated_at", "2018-03-22 04:42:00.905759"]]  (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", "Jacinda Blick"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacinda Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.910168"], ["updated_at", "2018-03-22 04:42:00.910168"]]  (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", "Delphia Lynch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delphia Lynch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.916194"], ["updated_at", "2018-03-22 04:42:00.916194"]]  (0.4ms) 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", "Season Schoen"], ["LIMIT", 1]] SQL (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", "Season Schoen"], ["name", "Randall Wolf"], ["address", "Clementine Stracke"], ["created_at", "2018-03-22 04:42:00.920428"], ["updated_at", "2018-03-22 04:42:00.920428"]]  (0.4ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (1.2ms) 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", "Fidela Greenholt"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Bobbye Cronin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Fidela Greenholt"], ["name", "Bobbye Cronin"], ["created_at", "2018-03-22 04:42:00.933316"], ["updated_at", "2018-03-22 04:42:00.933316"]]  (0.4ms) 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", "Phillip Funk"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Phillip Funk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.937634"], ["updated_at", "2018-03-22 04:42:00.937634"]]  (0.6ms) 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", "Season Watsica"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Season Watsica"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.943056"], ["updated_at", "2018-03-22 04:42:00.943056"]]  (0.4ms) 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", "Winifred Connelly"], ["LIMIT", 1]] SQL (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", "Winifred Connelly"], ["name", "Shellie Rutherford"], ["address", "Dyan Zieme"], ["created_at", "2018-03-22 04:42:00.947507"], ["updated_at", "2018-03-22 04:42:00.947507"]]  (0.4ms) RELEASE 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", "Clarence Weber"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.5ms) 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", "Vannesa Spinka"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Doria Klein"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vannesa Spinka"], ["name", "Doria Klein"], ["created_at", "2018-03-22 04:42:00.957050"], ["updated_at", "2018-03-22 04:42:00.957050"]]  (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", "Hilario Hodkiewicz"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hilario Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.961712"], ["updated_at", "2018-03-22 04:42:00.961712"]]  (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", "Mose Corwin"], ["LIMIT", 1]] SQL (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", "Mose Corwin"], ["name", "Charlene Larson"], ["address", "Kaitlyn Corwin"], ["created_at", "2018-03-22 04:42:00.966782"], ["updated_at", "2018-03-22 04:42:00.966782"]]  (0.4ms) RELEASE 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", "Brinda Kerluke"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.7ms) 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", "Vergie McKenzie"], ["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", "Kandra Ruecker"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vergie McKenzie"], ["name", "Kandra Ruecker"], ["created_at", "2018-03-22 04:42:00.978623"], ["updated_at", "2018-03-22 04:42:00.978623"]]  (0.4ms) 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", "Janis Ernser"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janis Ernser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.982768"], ["updated_at", "2018-03-22 04:42:00.982768"]]  (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", "Sueann Dooley"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sueann Dooley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:00.986871"], ["updated_at", "2018-03-22 04:42:00.986871"]]  (0.4ms) 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" IS NULL LIMIT $2 [["code", "Rosalva Fritsch"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gayle O'Keefe"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Takako Ullrich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gayle O'Keefe"], ["name", "Takako Ullrich"], ["created_at", "2018-03-22 04:42:00.996769"], ["updated_at", "2018-03-22 04:42:00.996769"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Barb Bergnaum"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Barb Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.000858"], ["updated_at", "2018-03-22 04:42:01.000858"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Eryn Connelly"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eryn Connelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.004793"], ["updated_at", "2018-03-22 04:42:01.004793"]]  (0.7ms) 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", "Mickie Spencer"], ["LIMIT", 1]] SQL (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", "Mickie Spencer"], ["name", "Deeanna Jakubowski"], ["address", "Racquel Jaskolski"], ["created_at", "2018-03-22 04:42:01.010725"], ["updated_at", "2018-03-22 04:42:01.010725"]]  (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", "Nickole Grimes"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] SQL (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", "Nickole Grimes"], ["name", "Nathanael Koch"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 49], ["created_at", "2018-03-22 04:42:01.016120"], ["updated_at", "2018-03-22 04:42:01.016120"]]  (0.4ms) 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", "Shawanna Stehr"], ["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", "Rachell Berge"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shawanna Stehr"], ["name", "Rachell Berge"], ["created_at", "2018-03-22 04:42:01.022362"], ["updated_at", "2018-03-22 04:42:01.022362"]]  (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", "Lyndsey Wisoky"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lyndsey Wisoky"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.027782"], ["updated_at", "2018-03-22 04:42:01.027782"]]  (0.7ms) 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", "Leona Cassin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Leona Cassin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.033313"], ["updated_at", "2018-03-22 04:42:01.033313"]]  (0.4ms) RELEASE 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", "Nickole Grimes"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) 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", "deann@bahringer.ca"], ["LIMIT", 1]] SQL (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", "Evelyn Hermann"], ["last_name", "Sandy White"], ["email", "deann@bahringer.ca"], ["password_digest", "$2a$04$Qzeiqtnzb1PimpAXHBCu9u..7MBA95oRHRUa4LmvLYjIZ2MZVSB4q"], ["created_at", "2018-03-22 04:42:01.059716"], ["updated_at", "2018-03-22 04:42:01.059716"]]  (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", "tori.effertz@bins.biz"], ["LIMIT", 1]] SQL (0.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", "Carolynn Konopelski"], ["last_name", "Argelia Tillman"], ["email", "tori.effertz@bins.biz"], ["password_digest", "$2a$04$cQezC6ymXYtQ4xpKpnkAS.K6yBN/4V/DDJ7xA1dtmLXxH.3A6dXMC"], ["created_at", "2018-03-22 04:42:01.067704"], ["updated_at", "2018-03-22 04:42:01.067704"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Virgie Baumbach"], ["LIMIT", 1]] SQL (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", "Virgie Baumbach"], ["authorized_by", "Alease Stoltenberg"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 11], ["approved_by_id", 12], ["created_at", "2018-03-22 04:42:01.072388"], ["updated_at", "2018-03-22 04:42:01.072388"]]  (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", "Virgie Baumbach"], ["id", 1], ["LIMIT", 1]]  (1.0ms) 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", "elvin_wiza@smithgrimes.us"], ["LIMIT", 1]] SQL (0.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", "Susann Schneider"], ["last_name", "Emile Tromp"], ["email", "elvin_wiza@smithgrimes.us"], ["password_digest", "$2a$04$6Gdx3bwZR5FTFktGpOqtJ..S2GlPENTGghnnMKDBDQ/07csCAx6v2"], ["created_at", "2018-03-22 04:42:01.084847"], ["updated_at", "2018-03-22 04:42:01.084847"]]  (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", "charmaine_daugherty@lang.co.uk"], ["LIMIT", 1]] SQL (0.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", "Taylor Dare"], ["last_name", "Candyce Kuhn"], ["email", "charmaine_daugherty@lang.co.uk"], ["password_digest", "$2a$04$uxB98veze7Ubu.687D59k.Zk6NEZlYoAmfqVKN8CAOX1bY0eZMjuy"], ["created_at", "2018-03-22 04:42:01.091615"], ["updated_at", "2018-03-22 04:42:01.091615"]]  (0.4ms) 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", "Vannesa Franecki"], ["LIMIT", 1]]  (0.4ms) 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", "elayne@heathcotechristiansen.co.uk"], ["LIMIT", 1]] SQL (0.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", "Riley Jacobi"], ["last_name", "Norine Kuhn"], ["email", "elayne@heathcotechristiansen.co.uk"], ["password_digest", "$2a$04$/ilqSCOMCYRxijX6SKuuE.h6Y7PeUeWZLGj0qUq7VBpnZ8afjiWTK"], ["created_at", "2018-03-22 04:42:01.102239"], ["updated_at", "2018-03-22 04:42:01.102239"]]  (0.4ms) 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", "gus.kovacek@lefflerhammes.ca"], ["LIMIT", 1]] SQL (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", "Ami Lindgren"], ["last_name", "Victorina Stanton"], ["email", "gus.kovacek@lefflerhammes.ca"], ["password_digest", "$2a$04$QkDuULha1JNaQYJ0veUFGOKwwwcIdIhHeODBFqmS7r/JOj5zZvA/y"], ["created_at", "2018-03-22 04:42:01.108128"], ["updated_at", "2018-03-22 04:42:01.108128"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) 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.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "ian.kerluke@cruickshankleannon.ca"], ["LIMIT", 1]] SQL (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", "Maryrose Upton"], ["last_name", "Wilfredo Kulas"], ["email", "ian.kerluke@cruickshankleannon.ca"], ["password_digest", "$2a$04$f0wddpwJe5XvNXTHeCFFAONRwyrUFJcxYwNt.9H8PDHraRpmCmxt."], ["created_at", "2018-03-22 04:42:01.121417"], ["updated_at", "2018-03-22 04:42:01.121417"]]  (0.9ms) 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", "violet_kshlerin@swift.us"], ["LIMIT", 1]] SQL (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", "Loriann Connelly"], ["last_name", "Marisol Deckow"], ["email", "violet_kshlerin@swift.us"], ["password_digest", "$2a$04$n8OmewFLPxE1ZXcxt3LZzOnrVKUZOv04LdfvVT4yIRkMxY7wX35pi"], ["created_at", "2018-03-22 04:42:01.128233"], ["updated_at", "2018-03-22 04:42:01.128233"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Terrance Kulas"], ["LIMIT", 1]] SQL (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", "Terrance Kulas"], ["authorized_by", "Bryant Ledner"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 17], ["approved_by_id", 18], ["created_at", "2018-03-22 04:42:01.132220"], ["updated_at", "2018-03-22 04:42:01.132220"]]  (0.8ms) 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", "lissa@abernathy.ca"], ["LIMIT", 1]] SQL (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", "Jerrell Marvin"], ["last_name", "Altha Roob"], ["email", "lissa@abernathy.ca"], ["password_digest", "$2a$04$peZv/Amn2TIUuMVmP2iP8.cxl1N3hM2Bqy9csBQOzu5upI8TKRwky"], ["created_at", "2018-03-22 04:42:01.140509"], ["updated_at", "2018-03-22 04:42:01.140509"]]  (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", "elsie.schuster@zemlak.name"], ["LIMIT", 1]] SQL (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", "Tatum Kovacek"], ["last_name", "Vergie Casper"], ["email", "elsie.schuster@zemlak.name"], ["password_digest", "$2a$04$AklIyNBvb3F/gwVzkf.I/OR7VJ6nxLTFYxvLajn4.uB1FBxPIxZb."], ["created_at", "2018-03-22 04:42:01.146698"], ["updated_at", "2018-03-22 04:42:01.146698"]]  (0.5ms) 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", "Terrance Kulas"], ["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", "arturo@gottlieb.info"], ["LIMIT", 1]] SQL (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", "Shantay Treutel"], ["last_name", "Deloris Glover"], ["email", "arturo@gottlieb.info"], ["password_digest", "$2a$04$M9PYmlwIJgJibfPCmhLwhOrOy/KyrX5Ugz0oAzadx/OOAjLz2Zxr6"], ["created_at", "2018-03-22 04:42:01.159715"], ["updated_at", "2018-03-22 04:42:01.159715"]]  (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", "justin@muellerflatley.biz"], ["LIMIT", 1]] SQL (0.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", "Hollis Ziemann"], ["last_name", "Keira Vandervort"], ["email", "justin@muellerflatley.biz"], ["password_digest", "$2a$04$XfjKcXDctahEQCcQvjixcuQRnQB7L44RH44X5vTBNHYizVn4fmm/S"], ["created_at", "2018-03-22 04:42:01.165415"], ["updated_at", "2018-03-22 04:42:01.165415"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Yoshie Schuppe"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "beatriz.swift@rogahnsporer.us"], ["LIMIT", 1]] SQL (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", "Josue Cruickshank"], ["last_name", "Dina McClure"], ["email", "beatriz.swift@rogahnsporer.us"], ["password_digest", "$2a$04$Fe2hqOypPU9NrGm7JD6QzO5xzHWEK7e6BLSVsFyMT8ReW/G4IqKsS"], ["created_at", "2018-03-22 04:42:01.176281"], ["updated_at", "2018-03-22 04:42:01.176281"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "shu_crooks@carter.us"], ["LIMIT", 1]] SQL (0.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", "Mila Morissette"], ["last_name", "Hayley Wiza"], ["email", "shu_crooks@carter.us"], ["password_digest", "$2a$04$H4/xREe.aq/rBdm7x47Qk.jB8vXh5NL1vdbmsGlfc9NHOLiDPnjEa"], ["created_at", "2018-03-22 04:42:01.182109"], ["updated_at", "2018-03-22 04:42:01.182109"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Ellis Hirthe"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) 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", "alex.purdy@johns.us"], ["LIMIT", 1]] SQL (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", "Rashida Gaylord"], ["last_name", "Troy Kuhlman"], ["email", "alex.purdy@johns.us"], ["password_digest", "$2a$04$yT188eOhnodJy6Mqmcxa/OF15KHiqwaZYirBLAzTWkjpE6p/y0Axy"], ["created_at", "2018-03-22 04:42:01.192603"], ["updated_at", "2018-03-22 04:42:01.192603"]]  (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", "allena.bauch@kassulke.com"], ["LIMIT", 1]] SQL (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", "Flo Treutel"], ["last_name", "Cherie Dietrich"], ["email", "allena.bauch@kassulke.com"], ["password_digest", "$2a$04$EtW6abZLIm4tpReH7kEYGuJRBD1xEwlHmyqTvN2oJFCvRSDoQw3mC"], ["created_at", "2018-03-22 04:42:01.198305"], ["updated_at", "2018-03-22 04:42:01.198305"]]  (0.4ms) 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", "Doug Jewess"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) 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", "ardell@damore.us"], ["LIMIT", 1]] SQL (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", "Leena Mitchell"], ["last_name", "Estella Farrell"], ["email", "ardell@damore.us"], ["password_digest", "$2a$04$RmMjOkCyCJUlk7ZmVYbJQ.7U/ZmT7Kknt8LF5C3i/moOrTm9K72WC"], ["created_at", "2018-03-22 04:42:01.211210"], ["updated_at", "2018-03-22 04:42:01.211210"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "carmella.orn@conroy.name"], ["LIMIT", 1]] SQL (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", "Lachelle Greenholt"], ["last_name", "Barrett Schuppe"], ["email", "carmella.orn@conroy.name"], ["password_digest", "$2a$04$7GXtP9PxSJcYuGvFFsUIv.gi1em31Sit4zIqHD7.pHmvlah8ziRu2"], ["created_at", "2018-03-22 04:42:01.217473"], ["updated_at", "2018-03-22 04:42:01.217473"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Caryl Powlowski"], ["LIMIT", 1]]  (0.6ms) 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", "audrey@simoniserdman.co.uk"], ["LIMIT", 1]] SQL (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", "Natalia Beahan"], ["last_name", "Sharyn Kunze"], ["email", "audrey@simoniserdman.co.uk"], ["password_digest", "$2a$04$wx8OZ9vsLT4a1UQDHYv5bOeXx1j828XKWurK6fDPgcX7.mNnc0w2q"], ["created_at", "2018-03-22 04:42:01.229588"], ["updated_at", "2018-03-22 04:42:01.229588"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Olivia Hoeger"], ["LIMIT", 1]] SQL (0.8ms) 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", "Olivia Hoeger"], ["authorized_by", "Timothy Walker"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 29], ["created_at", "2018-03-22 04:42:01.233889"], ["updated_at", "2018-03-22 04:42:01.233889"]]  (0.5ms) 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" = $1 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Olivia Hoeger"], ["id", 3], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.4ms) BEGIN  (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", "Shirlee Fisher"], ["LIMIT", 1]] SQL (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", "Shirlee Fisher"], ["name", "Son McClure"], ["address", "Phillip Lindgren"], ["created_at", "2018-03-22 04:42:01.244935"], ["updated_at", "2018-03-22 04:42:01.244935"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Joane Kerluke"], ["LIMIT", 1]] SQL (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", "Joane Kerluke"], ["name", "Angelyn Hilpert"], ["description", "Tenesha Haley"], ["service_delivery_unit_id", 50], ["created_at", "2018-03-22 04:42:01.249123"], ["updated_at", "2018-03-22 04:42:01.249123"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.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", "Joane Kerluke"], ["id", 19], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Kory Prosacco"], ["LIMIT", 1]] SQL (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", "Kory Prosacco"], ["name", "Devon Marvin"], ["address", "Nisha Cassin"], ["created_at", "2018-03-22 04:42:01.257299"], ["updated_at", "2018-03-22 04:42:01.257299"]]  (0.5ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Vanda Ankunding"], ["LIMIT", 1]] SQL (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", "Vanda Ankunding"], ["name", "Renna Pfeffer"], ["address", "Sage Heathcote"], ["created_at", "2018-03-22 04:42:01.267518"], ["updated_at", "2018-03-22 04:42:01.267518"]]  (0.4ms) 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", "Dayna Johnston"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.9ms) BEGIN  (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", "Asley Ward"], ["LIMIT", 1]] SQL (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", "Asley Ward"], ["name", "Eartha Lockman"], ["address", "Mirna Beatty"], ["created_at", "2018-03-22 04:42:01.276868"], ["updated_at", "2018-03-22 04:42:01.276868"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Margarita Wolff"], ["LIMIT", 1]] SQL (0.7ms) 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", "Margarita Wolff"], ["name", "Lillia Franecki"], ["description", "William Spencer"], ["service_delivery_unit_id", 53], ["created_at", "2018-03-22 04:42:01.280770"], ["updated_at", "2018-03-22 04:42:01.280770"]]  (0.4ms) 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", "Lashawna Towne"], ["LIMIT", 1]] SQL (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", "Lashawna Towne"], ["name", "Amada Schimmel"], ["address", "Jeanelle Streich"], ["created_at", "2018-03-22 04:42:01.285395"], ["updated_at", "2018-03-22 04:42:01.285395"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Margarita Wolff"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Darby Roberts"], ["LIMIT", 1]] SQL (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", "Darby Roberts"], ["name", "Florencia Ullrich"], ["address", "Joanna Corwin"], ["created_at", "2018-03-22 04:42:01.293820"], ["updated_at", "2018-03-22 04:42:01.293820"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lovie Fisher"], ["LIMIT", 1]] SQL (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", "Lovie Fisher"], ["name", "Louella Carroll"], ["description", "Sharmaine Eichmann"], ["service_delivery_unit_id", 55], ["created_at", "2018-03-22 04:42:01.297919"], ["updated_at", "2018-03-22 04:42:01.297919"]]  (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", "Hermila Schuster"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Sidney Tromp"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Hermila Schuster"], ["name", "Sidney Tromp"], ["created_at", "2018-03-22 04:42:01.304774"], ["updated_at", "2018-03-22 04:42:01.304774"]]  (0.4ms) 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", "Gwenn Schuppe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gwenn Schuppe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.309991"], ["updated_at", "2018-03-22 04:42:01.309991"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Yuko Oberbrunner"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yuko Oberbrunner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.314150"], ["updated_at", "2018-03-22 04:42:01.314150"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Maria Von"], ["LIMIT", 1]] SQL (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", "Maria Von"], ["name", "Kasey Stracke"], ["address", "Ramon Hintz"], ["created_at", "2018-03-22 04:42:01.318149"], ["updated_at", "2018-03-22 04:42:01.318149"]]  (0.6ms) 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", "Mercedes Streich"], ["service_delivery_unit_id", 56], ["LIMIT", 1]] SQL (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", "Mercedes Streich"], ["name", "Cassidy Leuschke"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 56], ["created_at", "2018-03-22 04:42:01.323730"], ["updated_at", "2018-03-22 04:42:01.323730"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Alex Kreiger"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Amie Nitzsche"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alex Kreiger"], ["name", "Amie Nitzsche"], ["created_at", "2018-03-22 04:42:01.329572"], ["updated_at", "2018-03-22 04:42:01.329572"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lucio Wisozk"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lucio Wisozk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.333582"], ["updated_at", "2018-03-22 04:42:01.333582"]]  (0.4ms) 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", "Kattie Doyle"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kattie Doyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.337635"], ["updated_at", "2018-03-22 04:42:01.337635"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Chassidy Gislason"], ["LIMIT", 1]] SQL (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", "Chassidy Gislason"], ["name", "Roseanna Wilderman"], ["address", "Londa Johnson"], ["created_at", "2018-03-22 04:42:01.341504"], ["updated_at", "2018-03-22 04:42:01.341504"]]  (0.4ms) 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", "Johnny Halvorson"], ["service_delivery_unit_id", 57], ["LIMIT", 1]] SQL (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", "Johnny Halvorson"], ["name", "Susy Mosciski"], ["service_type_id", 38], ["base_unit_id", 63], ["utilization_unit_id", 64], ["service_delivery_unit_id", 57], ["created_at", "2018-03-22 04:42:01.346681"], ["updated_at", "2018-03-22 04:42:01.346681"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ellis Strosin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jamika Jones"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ellis Strosin"], ["name", "Jamika Jones"], ["created_at", "2018-03-22 04:42:01.352632"], ["updated_at", "2018-03-22 04:42:01.352632"]]  (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", "Albertha Gutkowski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Albertha Gutkowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.357220"], ["updated_at", "2018-03-22 04:42:01.357220"]]  (0.4ms) 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", "Beulah Rohan"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Beulah Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.361235"], ["updated_at", "2018-03-22 04:42:01.361235"]]  (0.7ms) 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", "Adelaide Yundt"], ["LIMIT", 1]] SQL (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", "Adelaide Yundt"], ["name", "Svetlana Schiller"], ["address", "Loriann Hane"], ["created_at", "2018-03-22 04:42:01.369334"], ["updated_at", "2018-03-22 04:42:01.369334"]]  (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", "Clarine Zemlak"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] SQL (0.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", "Clarine Zemlak"], ["name", "Tamela Koch"], ["service_type_id", 39], ["base_unit_id", 65], ["utilization_unit_id", 66], ["service_delivery_unit_id", 58], ["created_at", "2018-03-22 04:42:01.373491"], ["updated_at", "2018-03-22 04:42:01.373491"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jimmy Roberts"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Yolando Brakus"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jimmy Roberts"], ["name", "Yolando Brakus"], ["created_at", "2018-03-22 04:42:01.378943"], ["updated_at", "2018-03-22 04:42:01.378943"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Shawna Toy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shawna Toy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.382830"], ["updated_at", "2018-03-22 04:42:01.382830"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Mandy Gaylord"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mandy Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.386673"], ["updated_at", "2018-03-22 04:42:01.386673"]]  (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", "Clinton Hauck"], ["LIMIT", 1]] SQL (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", "Clinton Hauck"], ["name", "Arthur Hoppe"], ["address", "Olga Rodriguez"], ["created_at", "2018-03-22 04:42:01.390617"], ["updated_at", "2018-03-22 04:42:01.390617"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Ngan Nader"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] SQL (0.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", "Ngan Nader"], ["name", "Mariella Reinger"], ["service_type_id", 40], ["base_unit_id", 67], ["utilization_unit_id", 68], ["service_delivery_unit_id", 59], ["created_at", "2018-03-22 04:42:01.394405"], ["updated_at", "2018-03-22 04:42:01.394405"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Emmett Mayert"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lanie Shields"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Emmett Mayert"], ["name", "Lanie Shields"], ["created_at", "2018-03-22 04:42:01.399472"], ["updated_at", "2018-03-22 04:42:01.399472"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Carola Schoen"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carola Schoen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.403245"], ["updated_at", "2018-03-22 04:42:01.403245"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Carrie Lehner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carrie Lehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.407201"], ["updated_at", "2018-03-22 04:42:01.407201"]]  (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", "Annamae Sawayn"], ["LIMIT", 1]] SQL (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", "Annamae Sawayn"], ["name", "Otelia Homenick"], ["address", "Earlene Nolan"], ["created_at", "2018-03-22 04:42:01.411665"], ["updated_at", "2018-03-22 04:42:01.411665"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Cyril Kris"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] SQL (0.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", "Cyril Kris"], ["name", "Anjanette Ledner"], ["service_type_id", 41], ["base_unit_id", 69], ["utilization_unit_id", 70], ["service_delivery_unit_id", 60], ["created_at", "2018-03-22 04:42:01.415679"], ["updated_at", "2018-03-22 04:42:01.415679"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Elvie Legros"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Mark Kautzer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Elvie Legros"], ["name", "Mark Kautzer"], ["created_at", "2018-03-22 04:42:01.420841"], ["updated_at", "2018-03-22 04:42:01.420841"]]  (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", "Ed Bergnaum"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ed Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.425951"], ["updated_at", "2018-03-22 04:42:01.425951"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Arianna Marquardt"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Arianna Marquardt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.430069"], ["updated_at", "2018-03-22 04:42:01.430069"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Effie Deckow"], ["LIMIT", 1]] SQL (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", "Effie Deckow"], ["name", "Dora Zieme"], ["address", "Maile Lehner"], ["created_at", "2018-03-22 04:42:01.433838"], ["updated_at", "2018-03-22 04:42:01.433838"]]  (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", "Janee Mante"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] SQL (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", "Janee Mante"], ["name", "Tony Gerlach"], ["service_type_id", 42], ["base_unit_id", 71], ["utilization_unit_id", 72], ["service_delivery_unit_id", 61], ["created_at", "2018-03-22 04:42:01.437968"], ["updated_at", "2018-03-22 04:42:01.437968"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 22], ["service_bundle_id", 21], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:42:01.442204"], ["updated_at", "2018-03-22 04:42:01.442204"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 23], ["service_bundle_id", 21], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:42:01.445624"], ["updated_at", "2018-03-22 04:42:01.445624"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 24], ["service_bundle_id", 21], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:42:01.450167"], ["updated_at", "2018-03-22 04:42:01.450167"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_bundle_discounts" ON "mks_rate_chargeable_services"."id" = "mks_rate_bundle_discounts"."chargeable_service_id" WHERE "mks_rate_bundle_discounts"."service_bundle_id" = $1 [["service_bundle_id", 21]]  (1.1ms) ROLLBACK  (0.7ms) 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", "Danae Mante"], ["LIMIT", 1]] SQL (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", "Danae Mante"], ["name", "Shaquita Miller"], ["address", "Janis Rau"], ["created_at", "2018-03-22 04:42:01.475640"], ["updated_at", "2018-03-22 04:42:01.475640"]]  (0.5ms) RELEASE 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Danae Mante"], ["id", 62], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) 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.4ms) BEGIN 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", "Verline Daugherty"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (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", "Christiane Hane"], ["LIMIT", 1]] SQL (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", "Christiane Hane"], ["name", "Toshia McGlynn"], ["address", "Eli Walsh"], ["created_at", "2018-03-22 04:42:01.492201"], ["updated_at", "2018-03-22 04:42:01.492201"]]  (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 LIMIT $2 [["code", "Christiane Hane"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "Allegra Gulgowski"], ["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", "Bettina Gibson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Allegra Gulgowski"], ["name", "Bettina Gibson"], ["description", "Qui dolores maiores ratione maxime voluptates explicabo. Minima exercitationem neque facilis voluptates officia doloribus sunt ut. Cum qui quo minima autem sed enim quibusdam."], ["created_at", "2018-03-22 04:42:01.503245"], ["updated_at", "2018-03-22 04:42:01.503245"]]  (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", "Chandra Mills"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Grazyna Hirthe"], ["LIMIT", 1]] SQL (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", "Chandra Mills"], ["name", "Grazyna Hirthe"], ["description", "Qui cum dicta voluptatem eum dolorem corporis. Eum sunt perspiciatis temporibus illum aut. Nulla odit consequuntur et quis mollitia."], ["equipment_type_id", 7], ["created_at", "2018-03-22 04:42:01.510013"], ["updated_at", "2018-03-22 04:42:01.510013"]]  (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", "Sherrill West"], ["LIMIT", 1]] SQL (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", "Sherrill West"], ["name", "Shaunna Runte"], ["description", "Neoma Dare"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-03-22 04:42:01.514357"], ["updated_at", "2018-03-22 04:42:01.514357"]]  (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", "Toshiko O'Connell"], ["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", "Lenore Robel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Toshiko O'Connell"], ["name", "Lenore Robel"], ["description", "Laurie Armstrong"], ["created_at", "2018-03-22 04:42:01.519946"], ["updated_at", "2018-03-22 04:42:01.519946"]]  (0.4ms) 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", "Raymundo Bode"], ["LIMIT", 1]] SQL (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", "Raymundo Bode"], ["name", "Billie Ullrich"], ["location_type_id", 7], ["description", "Sixta Abshire"], ["address", "Sook Lueilwitz"], ["created_at", "2018-03-22 04:42:01.524934"], ["updated_at", "2018-03-22 04:42:01.524934"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Sheila Nienow"], ["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", "Rossie Bruen"], ["LIMIT", 1]] SQL (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", "Sheila Nienow"], ["name", "Chae Gottlieb"], ["description", "Ashely West"], ["serial_number", "Rossie Bruen"], ["brand", "Mabel Feeney"], ["item_model", "Ben Gaylord"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-03-22 04:42:01.531169"], ["updated_at", "2018-03-22 04:42:01.531169"]]  (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", "Minda Schmeler"], ["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", "Jannet Johns"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Minda Schmeler"], ["name", "Jannet Johns"], ["created_at", "2018-03-22 04:42:01.537286"], ["updated_at", "2018-03-22 04:42:01.537286"]]  (0.9ms) 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", "Antoine Schuster"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Antoine Schuster"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.542870"], ["updated_at", "2018-03-22 04:42:01.542870"]]  (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", "Evelynn Krajcik"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Evelynn Krajcik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.547300"], ["updated_at", "2018-03-22 04:42:01.547300"]]  (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", "Stephine Koch"], ["LIMIT", 1]] SQL (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", "Stephine Koch"], ["name", "Gail Heaney"], ["address", "Josh Fahey"], ["created_at", "2018-03-22 04:42:01.551887"], ["updated_at", "2018-03-22 04:42:01.551887"]]  (0.7ms) 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", "Daysi McClure"], ["service_delivery_unit_id", 64], ["LIMIT", 1]] SQL (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", "Daysi McClure"], ["name", "Elden Block"], ["service_type_id", 43], ["base_unit_id", 73], ["utilization_unit_id", 74], ["service_delivery_unit_id", 64], ["created_at", "2018-03-22 04:42:01.557462"], ["updated_at", "2018-03-22 04:42:01.557462"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 28], ["equipment_item_id", 7], ["created_at", "2018-03-22 04:42:01.560867"], ["updated_at", "2018-03-22 04:42:01.560867"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "Virginia Price"], ["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", "An Lang"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Virginia Price"], ["name", "An Lang"], ["description", "Sit consequatur corrupti expedita dolorum sint quis non. Blanditiis rem hic ad ut expedita facere libero voluptatem. Eum provident dolores laudantium qui voluptatem."], ["created_at", "2018-03-22 04:42:01.570034"], ["updated_at", "2018-03-22 04:42:01.570034"]]  (0.7ms) 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", "Mirian Mraz"], ["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", "Ossie Dicki"], ["LIMIT", 1]] SQL (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", "Mirian Mraz"], ["name", "Ossie Dicki"], ["description", "Eaque enim quis perferendis veritatis quo esse. Excepturi odio eos iure non aut molestiae. Vel perspiciatis iure velit id voluptas dignissimos illo sequi. Accusamus repudiandae esse dolores alias et non."], ["equipment_type_id", 8], ["created_at", "2018-03-22 04:42:01.575692"], ["updated_at", "2018-03-22 04:42:01.575692"]]  (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", "Shawnee Batz"], ["LIMIT", 1]] SQL (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", "Shawnee Batz"], ["name", "Delbert Roob"], ["description", "Rowena Wuckert"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-03-22 04:42:01.579750"], ["updated_at", "2018-03-22 04:42:01.579750"]]  (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", "Cassy Gorczany"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Alma Emmerich"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cassy Gorczany"], ["name", "Alma Emmerich"], ["description", "Ronna McDermott"], ["created_at", "2018-03-22 04:42:01.585230"], ["updated_at", "2018-03-22 04:42:01.585230"]]  (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", "Esteban Toy"], ["LIMIT", 1]] SQL (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", "Esteban Toy"], ["name", "Myesha Lakin"], ["location_type_id", 8], ["description", "Verna Quigley"], ["address", "Coleen VonRueden"], ["created_at", "2018-03-22 04:42:01.589260"], ["updated_at", "2018-03-22 04:42:01.589260"]]  (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", "Lola Brown"], ["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", "Van Stanton"], ["LIMIT", 1]] SQL (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", "Lola Brown"], ["name", "Elena Ortiz"], ["description", "Terrance Miller"], ["serial_number", "Van Stanton"], ["brand", "Travis Murphy"], ["item_model", "Kandra Gerlach"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-03-22 04:42:01.595084"], ["updated_at", "2018-03-22 04:42:01.595084"]]  (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", "Casimira 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", "Kiyoko Prosacco"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Casimira McCullough"], ["name", "Kiyoko Prosacco"], ["created_at", "2018-03-22 04:42:01.601640"], ["updated_at", "2018-03-22 04:42:01.601640"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Gaynell Gerhold"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gaynell Gerhold"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.607727"], ["updated_at", "2018-03-22 04:42:01.607727"]]  (0.4ms) 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", "Chanelle Altenwerth"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chanelle Altenwerth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.612400"], ["updated_at", "2018-03-22 04:42:01.612400"]]  (0.5ms) 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", "Frederick Russel"], ["LIMIT", 1]] SQL (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", "Frederick Russel"], ["name", "Shanon Stokes"], ["address", "Lulu Turcotte"], ["created_at", "2018-03-22 04:42:01.616691"], ["updated_at", "2018-03-22 04:42:01.616691"]]  (0.4ms) 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", "Rossana Jast"], ["service_delivery_unit_id", 65], ["LIMIT", 1]] SQL (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", "Rossana Jast"], ["name", "Lawrence Towne"], ["service_type_id", 44], ["base_unit_id", 75], ["utilization_unit_id", 76], ["service_delivery_unit_id", 65], ["created_at", "2018-03-22 04:42:01.621701"], ["updated_at", "2018-03-22 04:42:01.621701"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "Roxie 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", "Refugio Stanton"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Roxie Anderson"], ["name", "Refugio Stanton"], ["description", "Cupiditate nulla vel accusamus culpa necessitatibus et. Odio molestias suscipit eum aperiam. Itaque qui enim quia veniam sed. Harum quo corporis sint sequi. Est vel corrupti ad laudantium libero."], ["created_at", "2018-03-22 04:42:01.632527"], ["updated_at", "2018-03-22 04:42:01.632527"]]  (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", "Marlana Mosciski"], ["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", "Kimiko Bednar"], ["LIMIT", 1]] SQL (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", "Marlana Mosciski"], ["name", "Kimiko Bednar"], ["description", "Impedit odit ipsa sunt voluptatibus dolores aliquam voluptas nihil. Corrupti facilis in ipsam velit et autem ut rem. Placeat debitis iste voluptatem magni esse. Aut omnis ipsam vel quasi consequatur sapiente consequatur."], ["equipment_type_id", 9], ["created_at", "2018-03-22 04:42:01.637873"], ["updated_at", "2018-03-22 04:42:01.637873"]]  (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", "Jordan Bauch"], ["LIMIT", 1]] SQL (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", "Jordan Bauch"], ["name", "Margene Spinka"], ["description", "Celestina Erdman"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-03-22 04:42:01.642276"], ["updated_at", "2018-03-22 04:42:01.642276"]]  (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", "Logan Gulgowski"], ["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", "Emmitt Goyette"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Logan Gulgowski"], ["name", "Emmitt Goyette"], ["description", "Parker Feest"], ["created_at", "2018-03-22 04:42:01.648212"], ["updated_at", "2018-03-22 04:42:01.648212"]]  (0.6ms) 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", "Casey Hilll"], ["LIMIT", 1]] SQL (1.4ms) 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", "Casey Hilll"], ["name", "Antonietta Bogan"], ["location_type_id", 9], ["description", "Matthew Kuhlman"], ["address", "Carmen Muller"], ["created_at", "2018-03-22 04:42:01.653782"], ["updated_at", "2018-03-22 04:42:01.653782"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Charlesetta McLaughlin"], ["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", "Palmira Wiza"], ["LIMIT", 1]] SQL (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", "Charlesetta McLaughlin"], ["name", "Christia Davis"], ["description", "Albert Von"], ["serial_number", "Palmira Wiza"], ["brand", "Genia Herman"], ["item_model", "Chrissy Kris"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-03-22 04:42:01.661288"], ["updated_at", "2018-03-22 04:42:01.661288"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Glady Gutmann"], ["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", "Susanna Schowalter"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Glady Gutmann"], ["name", "Susanna Schowalter"], ["created_at", "2018-03-22 04:42:01.668823"], ["updated_at", "2018-03-22 04:42:01.668823"]]  (0.4ms) 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", "Jospeh Kuhic"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jospeh Kuhic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.674237"], ["updated_at", "2018-03-22 04:42:01.674237"]]  (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", "Kesha Dickens"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kesha Dickens"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.678855"], ["updated_at", "2018-03-22 04:42:01.678855"]]  (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", "Loreen Jewess"], ["LIMIT", 1]] SQL (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", "Loreen Jewess"], ["name", "Agustina Stanton"], ["address", "Alfonzo Gaylord"], ["created_at", "2018-03-22 04:42:01.683596"], ["updated_at", "2018-03-22 04:42:01.683596"]]  (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", "Tiffani Schamberger"], ["service_delivery_unit_id", 66], ["LIMIT", 1]] SQL (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", "Tiffani Schamberger"], ["name", "Ashanti Ferry"], ["service_type_id", 45], ["base_unit_id", 77], ["utilization_unit_id", 78], ["service_delivery_unit_id", 66], ["created_at", "2018-03-22 04:42:01.687815"], ["updated_at", "2018-03-22 04:42:01.687815"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Diana Renner"], ["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", "Shirlene Stroman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Diana Renner"], ["name", "Shirlene Stroman"], ["description", "Nemo quia quibusdam deserunt deleniti labore aperiam unde. Dolorum totam blanditiis in consectetur sequi maxime enim. Nulla non voluptatem qui fuga magni atque. Accusamus possimus eum qui ea vel nam."], ["created_at", "2018-03-22 04:42:01.699128"], ["updated_at", "2018-03-22 04:42:01.699128"]]  (0.4ms) 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", "Mindi Farrell"], ["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", "Lin McKenzie"], ["LIMIT", 1]] SQL (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", "Mindi Farrell"], ["name", "Lin McKenzie"], ["description", "Possimus quae dolores fugiat consequatur repudiandae ipsa omnis sapiente. Quo soluta porro veniam autem vel. Enim sed est impedit amet aperiam."], ["equipment_type_id", 10], ["created_at", "2018-03-22 04:42:01.704296"], ["updated_at", "2018-03-22 04:42:01.704296"]]  (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", "Joana Zieme"], ["LIMIT", 1]] SQL (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", "Joana Zieme"], ["name", "Cyndy Satterfield"], ["description", "Miguel Witting"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-03-22 04:42:01.708249"], ["updated_at", "2018-03-22 04:42:01.708249"]]  (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", "Kandi Thiel"], ["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", "Sandy Buckridge"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kandi Thiel"], ["name", "Sandy Buckridge"], ["description", "Henry VonRueden"], ["created_at", "2018-03-22 04:42:01.714201"], ["updated_at", "2018-03-22 04:42:01.714201"]]  (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", "Barton Kuhlman"], ["LIMIT", 1]] SQL (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", "Barton Kuhlman"], ["name", "Rebbecca Nicolas"], ["location_type_id", 10], ["description", "Jack Okuneva"], ["address", "Noah Langworth"], ["created_at", "2018-03-22 04:42:01.717966"], ["updated_at", "2018-03-22 04:42:01.717966"]]  (0.4ms) 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", "Sheridan Shanahan"], ["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", "Samuel Christiansen"], ["LIMIT", 1]] SQL (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", "Sheridan Shanahan"], ["name", "Mitchell Hahn"], ["description", "Gordon Weber"], ["serial_number", "Samuel Christiansen"], ["brand", "Brinda Zemlak"], ["item_model", "Michaele White"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-03-22 04:42:01.723020"], ["updated_at", "2018-03-22 04:42:01.723020"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (0.9ms) BEGIN  (1.1ms) 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", "Edra Runolfsson"], ["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", "Barb Crist"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Edra Runolfsson"], ["name", "Barb Crist"], ["created_at", "2018-03-22 04:42:01.735086"], ["updated_at", "2018-03-22 04:42:01.735086"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) 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", "Edra Runolfsson"], ["id", 46], ["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", "Barb Crist"], ["id", 46], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceType Exists (0.7ms) 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.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Zenaida Kuhlman"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN 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", "Shaneka Toy"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) 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", "Digna Spencer"], ["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", "Ed Bergstrom"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Digna Spencer"], ["name", "Ed Bergstrom"], ["created_at", "2018-03-22 04:42:01.757832"], ["updated_at", "2018-03-22 04:42:01.757832"]]  (0.4ms) RELEASE 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", "Digna Spencer"], ["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", "Megan Legros"], ["LIMIT", 1]]  (0.5ms) 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", "Yetta Tremblay"], ["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", "Johnie Bruen"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yetta Tremblay"], ["name", "Johnie Bruen"], ["created_at", "2018-03-22 04:42:01.770937"], ["updated_at", "2018-03-22 04:42:01.770937"]]  (0.4ms) RELEASE 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", "Trent Mosciski"], ["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", "Johnie Bruen"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN 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", "Kermit Gerlach"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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.4ms) ROLLBACK  (0.4ms) 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", "Edwina Kris"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Claribel Christiansen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Claribel Christiansen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.794300"], ["updated_at", "2018-03-22 04:42:01.794300"]]  (0.4ms) RELEASE 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", "Claribel Christiansen"], ["LIMIT", 1]]  (0.5ms) 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", "Sam Block"], ["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", "Hye Becker"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sam Block"], ["name", "Hye Becker"], ["created_at", "2018-03-22 04:42:01.805043"], ["updated_at", "2018-03-22 04:42:01.805043"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cody Runolfsdottir"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cody Runolfsdottir"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.809988"], ["updated_at", "2018-03-22 04:42:01.809988"]]  (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", "Ashlyn Wilderman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ashlyn Wilderman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.816023"], ["updated_at", "2018-03-22 04:42:01.816023"]]  (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", "Leena Metz"], ["LIMIT", 1]] SQL (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", "Leena Metz"], ["name", "Tanika Yost"], ["address", "Santos Tromp"], ["created_at", "2018-03-22 04:42:01.820354"], ["updated_at", "2018-03-22 04:42:01.820354"]]  (0.9ms) 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", "Roselyn Sporer"], ["service_delivery_unit_id", 67], ["LIMIT", 1]] SQL (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", "Roselyn Sporer"], ["name", "Helaine Welch"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 67], ["created_at", "2018-03-22 04:42:01.825831"], ["updated_at", "2018-03-22 04:42:01.825831"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Toni Ferry"], ["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", "Miss Macejkovic"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Toni Ferry"], ["name", "Miss Macejkovic"], ["created_at", "2018-03-22 04:42:01.831611"], ["updated_at", "2018-03-22 04:42:01.831611"]]  (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", "Shelby Spinka"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shelby Spinka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.835809"], ["updated_at", "2018-03-22 04:42:01.835809"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Astrid Volkman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Astrid Volkman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.839667"], ["updated_at", "2018-03-22 04:42:01.839667"]]  (0.5ms) 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", "Jenine Carroll"], ["LIMIT", 1]] SQL (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", "Jenine Carroll"], ["name", "Coletta Powlowski"], ["address", "Carlo McClure"], ["created_at", "2018-03-22 04:42:01.844108"], ["updated_at", "2018-03-22 04:42:01.844108"]]  (0.4ms) 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", "Andy Denesik"], ["service_delivery_unit_id", 68], ["LIMIT", 1]] SQL (0.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", "Andy Denesik"], ["name", "Twila Wehner"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 68], ["created_at", "2018-03-22 04:42:01.848505"], ["updated_at", "2018-03-22 04:42:01.848505"]]  (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", "Davis Ward"], ["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", "Shella Zieme"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Davis Ward"], ["name", "Shella Zieme"], ["created_at", "2018-03-22 04:42:01.854119"], ["updated_at", "2018-03-22 04:42:01.854119"]]  (0.4ms) 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", "Wilhemina Hilpert"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wilhemina Hilpert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.858390"], ["updated_at", "2018-03-22 04:42:01.858390"]]  (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", "Melaine Oga"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Melaine Oga"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.862850"], ["updated_at", "2018-03-22 04:42:01.862850"]]  (0.7ms) 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", "Pearlie Lynch"], ["LIMIT", 1]] SQL (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", "Pearlie Lynch"], ["name", "Rubye Rempel"], ["address", "Marielle Bergnaum"], ["created_at", "2018-03-22 04:42:01.868383"], ["updated_at", "2018-03-22 04:42:01.868383"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Hyon Barton"], ["service_delivery_unit_id", 69], ["LIMIT", 1]] SQL (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", "Hyon Barton"], ["name", "Sunday Roberts"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 69], ["created_at", "2018-03-22 04:42:01.874446"], ["updated_at", "2018-03-22 04:42:01.874446"]]  (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", 31], ["LIMIT", 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", 32], ["LIMIT", 1]]  (0.4ms) 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", 31], ["LIMIT", 1]] SQL (0.8ms) 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", 31], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-03-22 04:42:01.882041"], ["updated_at", "2018-03-22 04:42:01.882041"]] 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", 32], ["LIMIT", 1]] SQL (0.8ms) 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", 32], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-03-22 04:42:01.885091"], ["updated_at", "2018-03-22 04:42:01.885091"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.6ms) 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", "Chad Prosacco"], ["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", "Dionne Paucek"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chad Prosacco"], ["name", "Dionne Paucek"], ["created_at", "2018-03-22 04:42:01.894461"], ["updated_at", "2018-03-22 04:42:01.894461"]]  (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", "Tierra Blick"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tierra Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.898771"], ["updated_at", "2018-03-22 04:42:01.898771"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Janett Thompson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janett Thompson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:42:01.902686"], ["updated_at", "2018-03-22 04:42:01.902686"]]  (0.7ms) 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", "Tynisha Lind"], ["LIMIT", 1]] SQL (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", "Tynisha Lind"], ["name", "Gussie Gibson"], ["address", "Shirely Pacocha"], ["created_at", "2018-03-22 04:42:01.907466"], ["updated_at", "2018-03-22 04:42:01.907466"]]  (0.4ms) 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", "Lauren McCullough"], ["service_delivery_unit_id", 70], ["LIMIT", 1]] SQL (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", "Lauren McCullough"], ["name", "Kum Bartoletti"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 70], ["created_at", "2018-03-22 04:42:01.911745"], ["updated_at", "2018-03-22 04:42:01.911745"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", 34], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-03-22 04:42:01.914937"], ["updated_at", "2018-03-22 04:42:01.914937"]]  (0.4ms) 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", 34], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] SQL (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-03-22 04:42:01.920331"], ["id", 10]]  (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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) 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", "dorinda@kuhn.name"], ["LIMIT", 1]] SQL (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 Jewess"], ["last_name", "Denyse Stiedemann"], ["email", "dorinda@kuhn.name"], ["password_digest", "$2a$04$HguGlWA8Ak2LB5QO5wsudeGgUXHuT27NKLsfwcnr22ReNd9ZXDYJO"], ["created_at", "2018-03-22 04:42:01.932811"], ["updated_at", "2018-03-22 04:42:01.932811"]]  (0.4ms) 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", "linnie@harber.us"], ["LIMIT", 1]] SQL (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", "Phuong Rohan"], ["last_name", "Yahaira Kling"], ["email", "linnie@harber.us"], ["password_digest", "$2a$04$2Dcofo5u/EFAw6.ZX65OL.GTGQCCV6cVUOuhz7.KXaEmn3c.dBEZK"], ["created_at", "2018-03-22 04:42:01.940099"], ["updated_at", "2018-03-22 04:42:01.940099"]]  (0.7ms) 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", "sherell@ebertstehr.info"], ["LIMIT", 1]] SQL (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 Rau"], ["last_name", "Kati Frami"], ["email", "sherell@ebertstehr.info"], ["password_digest", "$2a$04$fB4.f9cwZBJh4NHMUNuF6.3kbOzjIrLvFBOVl.X2.EubXH3qZ9/ZW"], ["created_at", "2018-03-22 04:42:01.946963"], ["updated_at", "2018-03-22 04:42:01.946963"]]  (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", "Alden Herman"], ["LIMIT", 1]] SQL (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", "Alden Herman"], ["authorized_by", "Jerlene Fisher"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 31], ["approved_by_id", 32], ["created_at", "2018-03-22 04:42:01.951824"], ["updated_at", "2018-03-22 04:42:01.951824"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Alden Herman"], ["id", 4], ["LIMIT", 1]] SQL (1.5ms) 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", 30], ["updated_at", "2018-03-22 04:42:01.966009"], ["id", 4]]  (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", 4], ["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", 30], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.1ms) BEGIN  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (1.3ms) SELECT COUNT(*) FROM "mks_rate_bundle_discounts"  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.5ms) 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", "ione.balistreri@mantepagac.biz"], ["LIMIT", 1]] SQL (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", "Victorina Yundt"], ["last_name", "Dominique Lemke"], ["email", "ione.balistreri@mantepagac.biz"], ["password_digest", "$2a$04$E9JH0wovB6wYHc.dttEhkudmfjDVk3Nskxf9O1a99ehz.7lupa7da"], ["created_at", "2018-03-22 04:43:28.432305"], ["updated_at", "2018-03-22 04:43:28.432305"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Sharda Glover"], ["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", "Margorie Jacobs"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sharda Glover"], ["name", "Margorie Jacobs"], ["created_at", "2018-03-22 04:43:28.471097"], ["updated_at", "2018-03-22 04:43:28.471097"]]  (0.4ms) 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", "Jeff Fahey"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jeff Fahey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.491489"], ["updated_at", "2018-03-22 04:43:28.491489"]]  (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", "Jenise Gutkowski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jenise Gutkowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.497105"], ["updated_at", "2018-03-22 04:43:28.497105"]]  (0.5ms) 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", "Leeanne Reinger"], ["LIMIT", 1]] SQL (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", "Leeanne Reinger"], ["name", "Lashaun Toy"], ["address", "Gregg Veum"], ["created_at", "2018-03-22 04:43:28.513458"], ["updated_at", "2018-03-22 04:43:28.513458"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Alejandro Rogahn"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Alejandro Rogahn"], ["name", "Cody Stiedemann"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-03-22 04:43:28.520291"], ["updated_at", "2018-03-22 04:43:28.520291"]]  (0.5ms) 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", "Gussie Stokes"], ["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", "Sharee Oga"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gussie Stokes"], ["name", "Sharee Oga"], ["created_at", "2018-03-22 04:43:28.527687"], ["updated_at", "2018-03-22 04:43:28.527687"]]  (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", "Maple Ondricka"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maple Ondricka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.532123"], ["updated_at", "2018-03-22 04:43:28.532123"]]  (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", "Meghan Koss"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Meghan Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.536674"], ["updated_at", "2018-03-22 04:43:28.536674"]]  (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", "Fairy Sawayn"], ["LIMIT", 1]] SQL (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", "Fairy Sawayn"], ["name", "Paulene Reynolds"], ["address", "Thomasina Muller"], ["created_at", "2018-03-22 04:43:28.540674"], ["updated_at", "2018-03-22 04:43:28.540674"]]  (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", "Tina Ferry"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Tina Ferry"], ["name", "Robt Morissette"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-03-22 04:43:28.545149"], ["updated_at", "2018-03-22 04:43:28.545149"]]  (0.8ms) 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", "Efren Howell"], ["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", "Hong Adams"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Efren Howell"], ["name", "Hong Adams"], ["created_at", "2018-03-22 04:43:28.552344"], ["updated_at", "2018-03-22 04:43:28.552344"]]  (0.4ms) 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", "Mariana Batz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mariana Batz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.556497"], ["updated_at", "2018-03-22 04:43:28.556497"]]  (0.4ms) 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", "Edelmira Hermiston"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Edelmira Hermiston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.560621"], ["updated_at", "2018-03-22 04:43:28.560621"]]  (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", "Rubi Marquardt"], ["LIMIT", 1]] SQL (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", "Rubi Marquardt"], ["name", "Darrell Prohaska"], ["address", "Stacia Ortiz"], ["created_at", "2018-03-22 04:43:28.564801"], ["updated_at", "2018-03-22 04:43:28.564801"]]  (0.4ms) 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", "Jacquie Hayes"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Jacquie Hayes"], ["name", "Dorris Batz"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-03-22 04:43:28.569547"], ["updated_at", "2018-03-22 04:43:28.569547"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML Mks::Auth::User Load (0.6ms) 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.3ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN (1, 3, 2) [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", 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] 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.6ms) 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.6ms) 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 (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", 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (19.0ms) Completed 200 OK in 56ms (Views: 39.9ms | ActiveRecord: 11.4ms)  (0.8ms) 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", "anjanette@dooleydicki.biz"], ["LIMIT", 1]] SQL (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", "Darcel Borer"], ["last_name", "Josphine Luettgen"], ["email", "anjanette@dooleydicki.biz"], ["password_digest", "$2a$04$VY0s2qGy8utkuIueP1.m2u1d.Rtkks4FYONv6ZsMsiUg89N2Lhb22"], ["created_at", "2018-03-22 04:43:28.638774"], ["updated_at", "2018-03-22 04:43:28.638774"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Delta Bradtke"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delta Bradtke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.644909"], ["updated_at", "2018-03-22 04:43:28.644909"]]  (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", "Nila Jacobs"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nila Jacobs"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.649276"], ["updated_at", "2018-03-22 04:43:28.649276"]]  (0.6ms) 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", "Elroy Waters"], ["LIMIT", 1]] SQL (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", "Elroy Waters"], ["name", "Emanuel Buckridge"], ["address", "Genoveva Stracke"], ["created_at", "2018-03-22 04:43:28.654719"], ["updated_at", "2018-03-22 04:43:28.654719"]]  (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", "Patrick Fisher"], ["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", "Viviana Watsica"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Patrick Fisher"], ["name", "Viviana Watsica"], ["created_at", "2018-03-22 04:43:28.659857"], ["updated_at", "2018-03-22 04:43:28.659857"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Edie Stokes", "name"=>"Robt Bogan", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.0ms) 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 (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", "Edie Stokes"], ["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.8ms) 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.6ms) 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]] SQL (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", "Edie Stokes"], ["name", "Robt Bogan"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-03-22 04:43:28.679524"], ["updated_at", "2018-03-22 04:43:28.679524"]]  (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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.67ms) Completed 200 OK in 25ms (Views: 10.3ms | ActiveRecord: 7.5ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "heidi@bartonkeebler.co.uk"], ["LIMIT", 1]] SQL (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", "Sondra Heathcote"], ["last_name", "Leesa Rice"], ["email", "heidi@bartonkeebler.co.uk"], ["password_digest", "$2a$04$lB8PrvMbeYYM4OeWq3maW.x5tZ9ptHe2lXmw3Qz3Wa5I1LAS7AFT."], ["created_at", "2018-03-22 04:43:28.703894"], ["updated_at", "2018-03-22 04:43:28.703894"]]  (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", "Maureen Pfeffer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maureen Pfeffer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.709263"], ["updated_at", "2018-03-22 04:43:28.709263"]]  (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", "Laverne Durgan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laverne Durgan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.713794"], ["updated_at", "2018-03-22 04:43:28.713794"]]  (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", "Suzan Collier"], ["LIMIT", 1]] SQL (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", "Suzan Collier"], ["name", "Frieda Hand"], ["address", "Henry Spinka"], ["created_at", "2018-03-22 04:43:28.717985"], ["updated_at", "2018-03-22 04:43:28.717985"]]  (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", "Ira Jacobs"], ["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", "Eddie Lebsack"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ira Jacobs"], ["name", "Eddie Lebsack"], ["created_at", "2018-03-22 04:43:28.723552"], ["updated_at", "2018-03-22 04:43:28.723552"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Maye Bosco", "name"=>"Addie Bogan", "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.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", "Maye Bosco"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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 (1.4ms) 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 (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", 5], ["LIMIT", 1]] SQL (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", "Maye Bosco"], ["name", "Addie Bogan"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-03-22 04:43:28.738232"], ["updated_at", "2018-03-22 04:43:28.738232"]]  (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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.39ms) Completed 200 OK in 17ms (Views: 1.5ms | ActiveRecord: 8.6ms)  (1.1ms) ROLLBACK  (0.4ms) BEGIN  (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", "niesha.wiza@langosh.co.uk"], ["LIMIT", 1]] SQL (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", "Marjory Morar"], ["last_name", "Ross Windler"], ["email", "niesha.wiza@langosh.co.uk"], ["password_digest", "$2a$04$AzJ.NcGBSL0Y5CXjgbCTDuKxgBFAtJjW7ipgQT5LN1ODn3JZAli9a"], ["created_at", "2018-03-22 04:43:28.751771"], ["updated_at", "2018-03-22 04:43:28.751771"]]  (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", "Megan Lynch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Megan Lynch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.757565"], ["updated_at", "2018-03-22 04:43:28.757565"]]  (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", "Nery Stark"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nery Stark"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.761902"], ["updated_at", "2018-03-22 04:43:28.761902"]]  (0.5ms) 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", "Carolee Parker"], ["LIMIT", 1]] SQL (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", "Carolee Parker"], ["name", "Deidre Lang"], ["address", "Elana Medhurst"], ["created_at", "2018-03-22 04:43:28.766058"], ["updated_at", "2018-03-22 04:43:28.766058"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Dario Schiller"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Evita Huel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dario Schiller"], ["name", "Evita Huel"], ["created_at", "2018-03-22 04:43:28.770976"], ["updated_at", "2018-03-22 04:43:28.770976"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Nannie Grimes", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.6ms) 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", ""], ["service_delivery_unit_id", 6], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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.8ms) 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]]  (1.3ms) 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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 24ms (Views: 4.4ms | ActiveRecord: 7.7ms)  (0.8ms) 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", "marielle.sporer@kubrunte.ca"], ["LIMIT", 1]] SQL (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", "Deon Jones"], ["last_name", "Lupe Wisoky"], ["email", "marielle.sporer@kubrunte.ca"], ["password_digest", "$2a$04$nUyHrPttA4tQpSCwXalGXeaR0FDTH8lRrUoumjyXLTtd.m5PQikaW"], ["created_at", "2018-03-22 04:43:28.811771"], ["updated_at", "2018-03-22 04:43:28.811771"]]  (0.4ms) 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", "Trang Nolan"], ["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", "Ester Haag"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Trang Nolan"], ["name", "Ester Haag"], ["created_at", "2018-03-22 04:43:28.818648"], ["updated_at", "2018-03-22 04:43:28.818648"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Walter Rempel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Walter Rempel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.823092"], ["updated_at", "2018-03-22 04:43:28.823092"]]  (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", "Rosario Cronin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rosario Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.827711"], ["updated_at", "2018-03-22 04:43:28.827711"]]  (0.4ms) 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", "Hallie Effertz"], ["LIMIT", 1]] SQL (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", "Hallie Effertz"], ["name", "Johnnie Glover"], ["address", "Sachiko Champlin"], ["created_at", "2018-03-22 04:43:28.831941"], ["updated_at", "2018-03-22 04:43:28.831941"]]  (0.4ms) 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", "Jodie Douglas"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Jodie Douglas"], ["name", "Jeniffer Hand"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-03-22 04:43:28.836990"], ["updated_at", "2018-03-22 04:43:28.836990"]]  (0.6ms) 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.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["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", "Jodie Douglas"], ["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 (1.5ms) 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.9ms) 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]] SQL (1.0ms) 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-03-22 04:43:28.853514"], ["id", 6]]  (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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.29ms) Completed 200 OK in 16ms (Views: 1.2ms | ActiveRecord: 8.0ms) 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", 6], ["LIMIT", 1]]  (0.9ms) 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", "coralie@hauck.info"], ["LIMIT", 1]] SQL (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", "Annetta Mann"], ["last_name", "Shandra McGlynn"], ["email", "coralie@hauck.info"], ["password_digest", "$2a$04$Tqy0bS6DyWb/jxOBIpXP1.fq8reMydt3CgvzVIy/RkYvhJ/EiKSpu"], ["created_at", "2018-03-22 04:43:28.867590"], ["updated_at", "2018-03-22 04:43:28.867590"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (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", "Yelena Bednar"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eliana Stiedemann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yelena Bednar"], ["name", "Eliana Stiedemann"], ["created_at", "2018-03-22 04:43:28.873584"], ["updated_at", "2018-03-22 04:43:28.873584"]]  (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", "Lorette Russel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lorette Russel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.877944"], ["updated_at", "2018-03-22 04:43:28.877944"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kellee Stroman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kellee Stroman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.881968"], ["updated_at", "2018-03-22 04:43:28.881968"]]  (1.3ms) 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", "Verona Hirthe"], ["LIMIT", 1]] SQL (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", "Verona Hirthe"], ["name", "Edwardo Balistreri"], ["address", "Fabian Herzog"], ["created_at", "2018-03-22 04:43:28.887618"], ["updated_at", "2018-03-22 04:43:28.887618"]]  (0.4ms) 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", "Boris Raynor"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Boris Raynor"], ["name", "Virgil Fahey"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-03-22 04:43:28.891969"], ["updated_at", "2018-03-22 04:43:28.891969"]]  (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.9ms) 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.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", "Boris Raynor"], ["id", 7], ["service_delivery_unit_id", 8], ["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", 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.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 14ms (Views: 1.0ms | ActiveRecord: 6.6ms)  (0.7ms) 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", "leda.mosciski@watsica.biz"], ["LIMIT", 1]] SQL (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", "Jim Howell"], ["last_name", "Sandee Murazik"], ["email", "leda.mosciski@watsica.biz"], ["password_digest", "$2a$04$mpr1.GTy8p6T2DCj7FNPBuhYehgvpoG7CLHx5WhzgzTYLT00B5NKi"], ["created_at", "2018-03-22 04:43:28.916325"], ["updated_at", "2018-03-22 04:43:28.916325"]]  (0.5ms) 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", "Sharda Hermann"], ["LIMIT", 1]] SQL (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", "Sharda Hermann"], ["name", "Janie Robel"], ["address", "Tess Heller"], ["created_at", "2018-03-22 04:43:28.921973"], ["updated_at", "2018-03-22 04:43:28.921973"]]  (0.4ms) 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", "Dalene Schmitt"], ["LIMIT", 1]] SQL (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", "Dalene Schmitt"], ["name", "Bobbye King"], ["address", "Hyman Beahan"], ["created_at", "2018-03-22 04:43:28.925984"], ["updated_at", "2018-03-22 04:43:28.925984"]]  (0.4ms) 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", "Jewel Orn"], ["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", "Winfred Nienow"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jewel Orn"], ["name", "Winfred Nienow"], ["created_at", "2018-03-22 04:43:28.931736"], ["updated_at", "2018-03-22 04:43:28.931736"]]  (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", "Reiko Rau"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Reiko Rau"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.936960"], ["updated_at", "2018-03-22 04:43:28.936960"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vickey Wolf"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vickey Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.941209"], ["updated_at", "2018-03-22 04:43:28.941209"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Palmira Zboncak"], ["service_delivery_unit_id", 9], ["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", 9], ["LIMIT", 1]] SQL (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", "Palmira Zboncak"], ["name", "Salvador Schultz"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-03-22 04:43:28.948026"], ["updated_at", "2018-03-22 04:43:28.948026"]]  (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", "Alvina Bergstrom"], ["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", "Tyree Olson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alvina Bergstrom"], ["name", "Tyree Olson"], ["created_at", "2018-03-22 04:43:28.954844"], ["updated_at", "2018-03-22 04:43:28.954844"]]  (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", "Gay Steuber"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gay Steuber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.959039"], ["updated_at", "2018-03-22 04:43:28.959039"]]  (0.4ms) 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", "Ariane Kemmer"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ariane Kemmer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.963368"], ["updated_at", "2018-03-22 04:43:28.963368"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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 Rau"], ["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]] SQL (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", "Cristin Rau"], ["name", "Earnest Yundt"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-03-22 04:43:28.971192"], ["updated_at", "2018-03-22 04:43:28.971192"]]  (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", "Kelley VonRueden"], ["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", "Kacey Wilderman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kelley VonRueden"], ["name", "Kacey Wilderman"], ["created_at", "2018-03-22 04:43:28.976958"], ["updated_at", "2018-03-22 04:43:28.976958"]]  (0.4ms) 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", "Dustin Gutkowski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dustin Gutkowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.981037"], ["updated_at", "2018-03-22 04:43:28.981037"]]  (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", "Lincoln Schimmel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lincoln Schimmel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:28.985263"], ["updated_at", "2018-03-22 04:43:28.985263"]]  (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", "Michiko Robel"], ["service_delivery_unit_id", 10], ["LIMIT", 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", 10], ["LIMIT", 1]] SQL (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", "Michiko Robel"], ["name", "Rolf Zboncak"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-03-22 04:43:28.991179"], ["updated_at", "2018-03-22 04:43:28.991179"]]  (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", "Jacqualine Block"], ["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", "Aline Mueller"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jacqualine Block"], ["name", "Aline Mueller"], ["created_at", "2018-03-22 04:43:28.997270"], ["updated_at", "2018-03-22 04:43:28.997270"]]  (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", "Marisha Cremin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marisha Cremin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:29.002424"], ["updated_at", "2018-03-22 04:43:29.002424"]]  (0.4ms) 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", "Angel Dickinson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Angel Dickinson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:29.006526"], ["updated_at", "2018-03-22 04:43:29.006526"]]  (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", "Azzie Bergnaum"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Azzie Bergnaum"], ["name", "Kum Johns"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-03-22 04:43:29.012299"], ["updated_at", "2018-03-22 04:43:29.012299"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (0.6ms) 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.6ms) 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.9ms) 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.5ms) 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.6ms) 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.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", 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.37ms) Completed 200 OK in 15ms (Views: 7.2ms | ActiveRecord: 6.9ms)  (0.6ms) ROLLBACK  (0.8ms) 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", "elsie@purdy.biz"], ["LIMIT", 1]] SQL (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", "Earnest Yost"], ["last_name", "Iraida Ratke"], ["email", "elsie@purdy.biz"], ["password_digest", "$2a$04$gLpZGTyDXKsBG9Kng3AIYeMWMV2HURSmzSacZr9g0HptNazDgoa2G"], ["created_at", "2018-03-22 04:43:29.039466"], ["updated_at", "2018-03-22 04:43:29.039466"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "owen@mccullough.name"], ["LIMIT", 1]] SQL (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", "Denny Strosin"], ["last_name", "Dusty Conroy"], ["email", "owen@mccullough.name"], ["password_digest", "$2a$04$l2smbaSbIike/ybkieQLJum0FQPFbQcI5YQ.0nZZ7FPsrPZz7650e"], ["created_at", "2018-03-22 04:43:29.048833"], ["updated_at", "2018-03-22 04:43:29.048833"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "chung.schowalter@purdyking.name"], ["LIMIT", 1]] SQL (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", "Keven Rosenbaum"], ["last_name", "Franchesca McDermott"], ["email", "chung.schowalter@purdyking.name"], ["password_digest", "$2a$04$Hb4vaYKzsaqz54fa6uGTkupk6a/3yiRBzTOIJny6lRuoU5a/Tb1oG"], ["created_at", "2018-03-22 04:43:29.058221"], ["updated_at", "2018-03-22 04:43:29.058221"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.2ms) ROLLBACK  (0.7ms) 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", "carmine@wehner.us"], ["LIMIT", 1]] SQL (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", "Jeffrey Schneider"], ["last_name", "Tiera Kilback"], ["email", "carmine@wehner.us"], ["password_digest", "$2a$04$GLXmMKKal7EDIrBbkaAre.He5aidUAJXjt3csH9./jNoq.exS0DuW"], ["created_at", "2018-03-22 04:43:29.075086"], ["updated_at", "2018-03-22 04:43:29.075086"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "ricky.brown@larkin.ca"], ["LIMIT", 1]] SQL (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", "Adelina Johns"], ["last_name", "Kyra VonRueden"], ["email", "ricky.brown@larkin.ca"], ["password_digest", "$2a$04$V1dX4ZFd3LGVZwbHz/WuGugQyDTmsxOxc87LHO8OzhY47PnO4uyLy"], ["created_at", "2018-03-22 04:43:29.085277"], ["updated_at", "2018-03-22 04:43:29.085277"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "faustino_buckridge@hartmann.us"], ["LIMIT", 1]] SQL (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", "Madelyn Mueller"], ["last_name", "Kari Howell"], ["email", "faustino_buckridge@hartmann.us"], ["password_digest", "$2a$04$ovYr/p7bXZzS7KgkJp4Rt.6yT6DonzEA2vxSnUdKtg8ONX6Jp7rsS"], ["created_at", "2018-03-22 04:43:29.094723"], ["updated_at", "2018-03-22 04:43:29.094723"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "val@schumm.biz"], ["LIMIT", 1]] SQL (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", "Kurtis Christiansen"], ["last_name", "Earnestine Mante"], ["email", "val@schumm.biz"], ["password_digest", "$2a$04$NQaZoqbMuz4z43fwTJ3nUuZ7cAGzKmIPBKoy.17UjIF2evbzi1VDu"], ["created_at", "2018-03-22 04:43:29.103621"], ["updated_at", "2018-03-22 04:43:29.103621"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "ehtel.howell@davis.biz"], ["LIMIT", 1]] SQL (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", "Karina Goodwin"], ["last_name", "Oliver Homenick"], ["email", "ehtel.howell@davis.biz"], ["password_digest", "$2a$04$GuOq1pKubpM2p5BDb7CLWOBQv4aS0l3c3MnEXrf31FeIds54lOsHW"], ["created_at", "2018-03-22 04:43:29.115157"], ["updated_at", "2018-03-22 04:43:29.115157"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "charolette@schroeder.info"], ["LIMIT", 1]] SQL (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", "Elliot Prosacco"], ["last_name", "Fermin Murazik"], ["email", "charolette@schroeder.info"], ["password_digest", "$2a$04$VMmEOXdEXrdDU4S4CcyVfutslkkXpx8bEyFbNs6St1OVlttrF7kpq"], ["created_at", "2018-03-22 04:43:29.125109"], ["updated_at", "2018-03-22 04:43:29.125109"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.5ms) 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", "toney@langoshupton.co.uk"], ["LIMIT", 1]] SQL (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", "Cody Runte"], ["last_name", "Dave Funk"], ["email", "toney@langoshupton.co.uk"], ["password_digest", "$2a$04$JSVdtVPGEAsn35VcR8bhBe5SNaz9fTRjhSkK6pdYh2wf/0Dm.Bjdi"], ["created_at", "2018-03-22 04:43:29.134330"], ["updated_at", "2018-03-22 04:43:29.134330"]]  (0.5ms) 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", "Daysi Hickle"], ["LIMIT", 1]] SQL (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", "Daysi Hickle"], ["name", "Tomi Kihn"], ["address", "Erik Wiza"], ["created_at", "2018-03-22 04:43:29.152244"], ["updated_at", "2018-03-22 04:43:29.152244"]]  (0.4ms) 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", "Gillian Kemmer"], ["LIMIT", 1]] SQL (3.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", "Gillian Kemmer"], ["name", "Gayle Koepp"], ["description", "Shanta Veum"], ["service_delivery_unit_id", 11], ["created_at", "2018-03-22 04:43:29.157716"], ["updated_at", "2018-03-22 04:43:29.157716"]]  (0.6ms) 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", 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]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.89ms) Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 3.6ms)  (1.0ms) 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", "antoine.morissette@jacobs.com"], ["LIMIT", 1]] SQL (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", "Malia Klein"], ["last_name", "Eugenio Stamm"], ["email", "antoine.morissette@jacobs.com"], ["password_digest", "$2a$04$TrRTpQtoZW7BDJBKwOgXAug0.ZCGmNRHerrkuX7cs0FtXqL6.nrLC"], ["created_at", "2018-03-22 04:43:29.181735"], ["updated_at", "2018-03-22 04:43:29.181735"]]  (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", "Janis Schaefer"], ["LIMIT", 1]] SQL (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", "Janis Schaefer"], ["name", "Sona West"], ["address", "Genevie Jewess"], ["created_at", "2018-03-22 04:43:29.186456"], ["updated_at", "2018-03-22 04:43:29.186456"]]  (0.4ms) 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", "Fleta Boehm"], ["LIMIT", 1]] SQL (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", "Fleta Boehm"], ["name", "Jamie Kiehn"], ["description", "Catalina Stark"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:43:29.190652"], ["updated_at", "2018-03-22 04:43:29.190652"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lue Fahey"], ["LIMIT", 1]] SQL (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", "Lue Fahey"], ["name", "Kyra Hoeger"], ["description", "Emeline Lowe"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:43:29.195057"], ["updated_at", "2018-03-22 04:43:29.195057"]]  (1.1ms) 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", "Asha Grimes"], ["LIMIT", 1]] SQL (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", "Asha Grimes"], ["name", "Benton Treutel"], ["description", "Chantal Quigley"], ["service_delivery_unit_id", 12], ["created_at", "2018-03-22 04:43:29.203767"], ["updated_at", "2018-03-22 04:43:29.203767"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["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", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["LIMIT", 1]] [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", 12], ["LIMIT", 1]] [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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.24ms) Completed 200 OK in 11ms (Views: 5.5ms | ActiveRecord: 5.0ms)  (0.7ms) 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", "veronique@funk.com"], ["LIMIT", 1]] SQL (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", "Sommer Bosco"], ["last_name", "Dreama Will"], ["email", "veronique@funk.com"], ["password_digest", "$2a$04$asuiMzTeJ1XIg1KnEdA2X.DtMM0I38A4Sd12jLMsHui//Vynmj.dW"], ["created_at", "2018-03-22 04:43:29.225028"], ["updated_at", "2018-03-22 04:43:29.225028"]]  (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", "Bennett Blanda"], ["LIMIT", 1]] SQL (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", "Bennett Blanda"], ["name", "Henriette Feest"], ["address", "Meryl Boyle"], ["created_at", "2018-03-22 04:43:29.229446"], ["updated_at", "2018-03-22 04:43:29.229446"]]  (0.5ms) 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", "Inez Baumbach"], ["LIMIT", 1]] SQL (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", "Inez Baumbach"], ["name", "Hazel Jacobi"], ["description", "Jefferson Feest"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:43:29.235314"], ["updated_at", "2018-03-22 04:43:29.235314"]]  (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", "Myrl Shields"], ["LIMIT", 1]] SQL (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", "Myrl Shields"], ["name", "Noah Casper"], ["description", "Dorothea Nader"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:43:29.240022"], ["updated_at", "2018-03-22 04:43:29.240022"]]  (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", "Oma Hackett"], ["LIMIT", 1]] SQL (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", "Oma Hackett"], ["name", "Raymond Kessler"], ["description", "Michiko Bailey"], ["service_delivery_unit_id", 13], ["created_at", "2018-03-22 04:43:29.244687"], ["updated_at", "2018-03-22 04:43:29.244687"]]  (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", "Fredric Olson"], ["LIMIT", 1]] SQL (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", "Fredric Olson"], ["name", "Mariam Keeling"], ["address", "Min Prosacco"], ["created_at", "2018-03-22 04:43:29.249245"], ["updated_at", "2018-03-22 04:43:29.249245"]]  (0.4ms) 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", "Emiko Moore"], ["LIMIT", 1]] SQL (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", "Emiko Moore"], ["name", "Milly Stark"], ["description", "Winfred Bernier"], ["service_delivery_unit_id", 14], ["created_at", "2018-03-22 04:43:29.253014"], ["updated_at", "2018-03-22 04:43:29.253014"]]  (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", "Melinda Schroeder"], ["LIMIT", 1]] SQL (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", "Melinda Schroeder"], ["name", "Verlie Hilpert"], ["address", "Lonna Dicki"], ["created_at", "2018-03-22 04:43:29.258826"], ["updated_at", "2018-03-22 04:43:29.258826"]]  (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", "Alana Boyle"], ["LIMIT", 1]] SQL (0.7ms) 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", "Alana Boyle"], ["name", "Denny Brown"], ["description", "Twila Mertz"], ["service_delivery_unit_id", 15], ["created_at", "2018-03-22 04:43:29.263681"], ["updated_at", "2018-03-22 04:43:29.263681"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Carlo Witting"], ["LIMIT", 1]] SQL (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", "Carlo Witting"], ["name", "Emmaline Hermiston"], ["address", "Jamila Schuppe"], ["created_at", "2018-03-22 04:43:29.269253"], ["updated_at", "2018-03-22 04:43:29.269253"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kathy Thiel"], ["LIMIT", 1]] SQL (0.7ms) 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", "Kathy Thiel"], ["name", "Myrl Wolff"], ["description", "Sharita Spinka"], ["service_delivery_unit_id", 16], ["created_at", "2018-03-22 04:43:29.273045"], ["updated_at", "2018-03-22 04:43:29.273045"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.1ms) Completed 200 OK in 11ms (Views: 4.7ms | ActiveRecord: 4.8ms)  (0.9ms) 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", "tonie.abernathy@bogisich.ca"], ["LIMIT", 1]] SQL (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", "Alvera Kozey"], ["last_name", "Eliz Hudson"], ["email", "tonie.abernathy@bogisich.ca"], ["password_digest", "$2a$04$OMNaWzwAnD3U2q1MBLsHSOGBPM23b.vpe9VEDOit8WcZmrQ73WtTq"], ["created_at", "2018-03-22 04:43:29.293953"], ["updated_at", "2018-03-22 04:43:29.293953"]]  (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", "Sheryll Marquardt"], ["LIMIT", 1]] SQL (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", "Sheryll Marquardt"], ["name", "Raquel Thompson"], ["address", "Kenya Wolff"], ["created_at", "2018-03-22 04:43:29.298688"], ["updated_at", "2018-03-22 04:43:29.298688"]]  (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", "Lavonia Lakin"], ["LIMIT", 1]] SQL (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", "Lavonia Lakin"], ["name", "Gus Zemlak"], ["description", "Joan Willms"], ["service_delivery_unit_id", 17], ["created_at", "2018-03-22 04:43:29.303092"], ["updated_at", "2018-03-22 04:43:29.303092"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"11"} 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::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", 11], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.57ms) Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 2.6ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "nicola@bodealtenwerth.info"], ["LIMIT", 1]] SQL (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", "Sammie Gutmann"], ["last_name", "Henriette O'Keefe"], ["email", "nicola@bodealtenwerth.info"], ["password_digest", "$2a$04$TDfYJ8CwrpWAhoKbgv2ozOr3SI6RVLHFkiQL3..juZDtOUbW6L0i."], ["created_at", "2018-03-22 04:43:29.320588"], ["updated_at", "2018-03-22 04:43:29.320588"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Joesph Runolfsson"], ["LIMIT", 1]] SQL (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", "Joesph Runolfsson"], ["name", "Jaquelyn Kertzmann"], ["address", "Adelaida Johns"], ["created_at", "2018-03-22 04:43:29.328358"], ["updated_at", "2018-03-22 04:43:29.328358"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Shenika McDermott", "description"=>"Janee Botsford", "name"=>"Lael Schuppe", "service_delivery_unit_id"=>"18"}} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.7ms) 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", 18], ["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", "Shenika McDermott"], ["LIMIT", 1]] SQL (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", "Shenika McDermott"], ["name", "Lael Schuppe"], ["description", "Janee Botsford"], ["service_delivery_unit_id", 18], ["created_at", "2018-03-22 04:43:29.338101"], ["updated_at", "2018-03-22 04:43:29.338101"]]  (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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 201 Created in 11ms (Views: 2.1ms | ActiveRecord: 5.4ms)  (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 (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dominique_moore@christiansen.co.uk"], ["LIMIT", 1]] SQL (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", "Kelsie Carroll"], ["last_name", "Glady Mante"], ["email", "dominique_moore@christiansen.co.uk"], ["password_digest", "$2a$04$VFBLClfSaao/RSMZQYHgQ.q6kIe4AHBxPtbLAVfgWqxcp.kqbpm5u"], ["created_at", "2018-03-22 04:43:29.351659"], ["updated_at", "2018-03-22 04:43:29.351659"]]  (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", "Bronwyn Schaefer"], ["LIMIT", 1]] SQL (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", "Bronwyn Schaefer"], ["name", "Mariko Gorczany"], ["address", "Ashly Pfannerstill"], ["created_at", "2018-03-22 04:43:29.356215"], ["updated_at", "2018-03-22 04:43:29.356215"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Estella Friesen", "description"=>"Avery Jakubowski", "name"=>"Eura Goldner", "service_delivery_unit_id"=>"19"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["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", 19], ["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", "Estella Friesen"], ["LIMIT", 1]] SQL (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", "Estella Friesen"], ["name", "Eura Goldner"], ["description", "Avery Jakubowski"], ["service_delivery_unit_id", 19], ["created_at", "2018-03-22 04:43:29.364324"], ["updated_at", "2018-03-22 04:43:29.364324"]]  (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", 22], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.27ms) Completed 201 Created in 10ms (Views: 1.7ms | ActiveRecord: 4.8ms) Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) 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", "anastasia@corkery.com"], ["LIMIT", 1]] SQL (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", "Arnoldo Emard"], ["last_name", "Maurine Christiansen"], ["email", "anastasia@corkery.com"], ["password_digest", "$2a$04$.osggnyTrpl44ZMKeIpAgu1ZGoUFY47UlaPzX2OKng3V1m6x5ZPkW"], ["created_at", "2018-03-22 04:43:29.379034"], ["updated_at", "2018-03-22 04:43:29.379034"]]  (1.0ms) 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", "Austin Bednar"], ["LIMIT", 1]] SQL (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", "Austin Bednar"], ["name", "Howard Koepp"], ["address", "Emmanuel Altenwerth"], ["created_at", "2018-03-22 04:43:29.386315"], ["updated_at", "2018-03-22 04:43:29.386315"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Shirly Reilly", "name"=>"Bryon Rice", "service_delivery_unit_id"=>"20"}} 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]]  (0.5ms) 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", 20], ["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", ""], ["LIMIT", 1]]  (0.4ms) 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.09ms) Completed 422 Unprocessable Entity in 12ms (Views: 5.0ms | ActiveRecord: 3.8ms)  (0.9ms) 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", "graciela@keeblercorkery.com"], ["LIMIT", 1]] SQL (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", "Shaunda Botsford"], ["last_name", "Clare Keebler"], ["email", "graciela@keeblercorkery.com"], ["password_digest", "$2a$04$Qkf7DKmzOJZPZR.WulEudOnTceCe/yaE95EVyn9DKHvq4U1YWyXi6"], ["created_at", "2018-03-22 04:43:29.409725"], ["updated_at", "2018-03-22 04:43:29.409725"]]  (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", "Anh Klocko"], ["LIMIT", 1]] SQL (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", "Anh Klocko"], ["name", "Cecily Treutel"], ["address", "Leslie Schneider"], ["created_at", "2018-03-22 04:43:29.414517"], ["updated_at", "2018-03-22 04:43:29.414517"]]  (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", "Flora Olson"], ["LIMIT", 1]] SQL (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", "Flora Olson"], ["name", "Tennille Fisher"], ["description", "Yun Cummings"], ["service_delivery_unit_id", 21], ["created_at", "2018-03-22 04:43:29.418613"], ["updated_at", "2018-03-22 04:43:29.418613"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Shanel Turcotte"}, "id"=>"14"} 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::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 14], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) 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", "Flora Olson"], ["id", 14], ["LIMIT", 1]] SQL (1.0ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Shanel Turcotte"], ["updated_at", "2018-03-22 04:43:29.427834"], ["id", 14]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.2ms) Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 5.1ms) 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", 14], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "felicia_damore@runolfssonhayes.us"], ["LIMIT", 1]] SQL (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", "Clinton Frami"], ["last_name", "Peggie Beahan"], ["email", "felicia_damore@runolfssonhayes.us"], ["password_digest", "$2a$04$MTA4pcK0ONItSRT/pvLGMeqaRagabNnAqrBp3/o65zzlhS93C4K7m"], ["created_at", "2018-03-22 04:43:29.440676"], ["updated_at", "2018-03-22 04:43:29.440676"]]  (1.1ms) 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", "Louvenia Armstrong"], ["LIMIT", 1]] SQL (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", "Louvenia Armstrong"], ["name", "Jona Balistreri"], ["address", "Alexis Reichert"], ["created_at", "2018-03-22 04:43:29.447090"], ["updated_at", "2018-03-22 04:43:29.447090"]]  (0.9ms) 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", "Nadia Romaguera"], ["LIMIT", 1]] SQL (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", "Nadia Romaguera"], ["name", "Tera Lynch"], ["description", "Lucille Pfeffer"], ["service_delivery_unit_id", 22], ["created_at", "2018-03-22 04:43:29.452658"], ["updated_at", "2018-03-22 04:43:29.452658"]]  (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", "Isis Olson"], ["LIMIT", 1]] SQL (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", "Isis Olson"], ["name", "Natalia Nikolaus"], ["address", "Brook Shanahan"], ["created_at", "2018-03-22 04:43:29.456993"], ["updated_at", "2018-03-22 04:43:29.456993"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Sharika Zboncak", "description"=>"Rick Batz", "name"=>"Allison Stark", "service_delivery_unit_id"=>"23"}, "id"=>"15"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 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", 15], ["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", 23], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) 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", "Sharika Zboncak"], ["id", 15], ["LIMIT", 1]] SQL (0.8ms) 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", "Sharika Zboncak"], ["name", "Allison Stark"], ["description", "Rick Batz"], ["service_delivery_unit_id", 23], ["updated_at", "2018-03-22 04:43:29.466234"], ["id", 15]]  (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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 5.1ms)  (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", "lilian.homenick@leannon.biz"], ["LIMIT", 1]] SQL (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", "Oliva Brekke"], ["last_name", "Zena O'Connell"], ["email", "lilian.homenick@leannon.biz"], ["password_digest", "$2a$04$9OyUqP9ijosa/O4VDF90fuWhubcBmntwpZxFDO7/RxnveNJnXXwcS"], ["created_at", "2018-03-22 04:43:29.478005"], ["updated_at", "2018-03-22 04:43:29.478005"]]  (0.5ms) 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", "Marta Ullrich"], ["LIMIT", 1]] SQL (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", "Marta Ullrich"], ["name", "Lorette Gleichner"], ["address", "Indira Mertz"], ["created_at", "2018-03-22 04:43:29.483534"], ["updated_at", "2018-03-22 04:43:29.483534"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Anjanette Marks"], ["LIMIT", 1]] SQL (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", "Anjanette Marks"], ["name", "Micheal Crooks"], ["description", "Lawana Thompson"], ["service_delivery_unit_id", 24], ["created_at", "2018-03-22 04:43:29.488710"], ["updated_at", "2018-03-22 04:43:29.488710"]]  (0.5ms) 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", "Lurlene Nader"], ["LIMIT", 1]] SQL (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", "Lurlene Nader"], ["name", "Margeret King"], ["address", "Chantal DuBuque"], ["created_at", "2018-03-22 04:43:29.493320"], ["updated_at", "2018-03-22 04:43:29.493320"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Margaret Osinski", "name"=>"Randee Bechtelar", "service_delivery_unit_id"=>"25"}, "id"=>"16"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 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", 16], ["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", 25], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) 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", 16], ["LIMIT", 1]]  (0.4ms) 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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.0ms | ActiveRecord: 4.3ms)  (0.7ms) ROLLBACK  (1.0ms) 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", "blaine_beatty@schmitt.name"], ["LIMIT", 1]] SQL (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", "Shauna Lemke"], ["last_name", "Esperanza Ferry"], ["email", "blaine_beatty@schmitt.name"], ["password_digest", "$2a$04$e8Fr0WEGXUwOpMiD5YI9feLzAVMlDzcnluMOpUuoQXIxtyU9MLBAu"], ["created_at", "2018-03-22 04:43:29.515800"], ["updated_at", "2018-03-22 04:43:29.515800"]]  (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", "Valarie Maggio"], ["LIMIT", 1]] SQL (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", "Valarie Maggio"], ["name", "Danuta Dietrich"], ["address", "Hershel Feil"], ["created_at", "2018-03-22 04:43:29.521154"], ["updated_at", "2018-03-22 04:43:29.521154"]]  (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", "Shena Hilll"], ["LIMIT", 1]] SQL (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", "Shena Hilll"], ["name", "Allyson O'Conner"], ["address", "Rickie Schoen"], ["created_at", "2018-03-22 04:43:29.525159"], ["updated_at", "2018-03-22 04:43:29.525159"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Hyo Huel"], ["LIMIT", 1]] SQL (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", "Hyo Huel"], ["name", "Tyler Mueller"], ["address", "Waltraud Kshlerin"], ["created_at", "2018-03-22 04:43:29.528939"], ["updated_at", "2018-03-22 04:43:29.528939"]]  (0.5ms) 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", 27], ["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", 27], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) 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.91ms) Completed 200 OK in 15ms (Views: 11.4ms | ActiveRecord: 2.3ms)  (1.3ms) 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", "ebony@bechtelar.ca"], ["LIMIT", 1]] SQL (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", "Eleonora Deckow"], ["last_name", "Donnie Steuber"], ["email", "ebony@bechtelar.ca"], ["password_digest", "$2a$04$M5mroh/xW0ygnKQbiXXxrOCU6AYQjdrSr0omu8OiZnqFXjS4qj1jW"], ["created_at", "2018-03-22 04:43:29.558658"], ["updated_at", "2018-03-22 04:43:29.558658"]]  (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"=>"Venetta Rutherford", "code"=>"Muoi Morar", "name"=>"Huey Stamm"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]]  (1.0ms) 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", "Muoi Morar"], ["LIMIT", 1]] SQL (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", "Muoi Morar"], ["name", "Huey Stamm"], ["address", "Venetta Rutherford"], ["created_at", "2018-03-22 04:43:29.569186"], ["updated_at", "2018-03-22 04:43:29.569186"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 4.2ms)  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.5ms) 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", "zena@shanahangrady.com"], ["LIMIT", 1]] SQL (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", "Tony Dietrich"], ["last_name", "Jeanene Champlin"], ["email", "zena@shanahangrady.com"], ["password_digest", "$2a$04$pY8gF18xagqN9Nfkdu9RJu5kif4vN98wFSGiD4QEYulbiVYFzv5Ga"], ["created_at", "2018-03-22 04:43:29.580581"], ["updated_at", "2018-03-22 04:43:29.580581"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Gilberto Hayes", "code"=>"Laree Runolfsdottir", "name"=>"Kathyrn Halvorson"}} 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]]  (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", "Laree Runolfsdottir"], ["LIMIT", 1]] SQL (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", "Laree Runolfsdottir"], ["name", "Kathyrn Halvorson"], ["address", "Gilberto Hayes"], ["created_at", "2018-03-22 04:43:29.588202"], ["updated_at", "2018-03-22 04:43:29.588202"]]  (0.7ms) 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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 4.8ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) 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", "randi_emmerich@ernser.co.uk"], ["LIMIT", 1]] SQL (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", "Adell Hessel"], ["last_name", "Clinton Senger"], ["email", "randi_emmerich@ernser.co.uk"], ["password_digest", "$2a$04$dBaXpkPBIw/q8N/ASOE0auLOcLZB3W19MSuOL7JJTz29j.vV7fnna"], ["created_at", "2018-03-22 04:43:29.601952"], ["updated_at", "2018-03-22 04:43:29.601952"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Clelia Hackett", "code"=>"", "name"=>"Margaretta Fritsch"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["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", ""], ["LIMIT", 1]]  (0.4ms) 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", 30], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 422 Unprocessable Entity in 7ms (Views: 1.0ms | ActiveRecord: 3.1ms)  (0.6ms) ROLLBACK  (0.8ms) 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", "rozella@vonruedenhowe.co.uk"], ["LIMIT", 1]] SQL (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", "Sheena Olson"], ["last_name", "Darleen Kub"], ["email", "rozella@vonruedenhowe.co.uk"], ["password_digest", "$2a$04$LPr6zyDsr5hsdTW7S31GBe63l4owc6PlsWV1GpegO81lsr20cvsva"], ["created_at", "2018-03-22 04:43:29.621406"], ["updated_at", "2018-03-22 04:43:29.621406"]]  (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", "Edgar Ortiz"], ["LIMIT", 1]] SQL (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", "Edgar Ortiz"], ["name", "Tricia Thompson"], ["address", "Alexia Hettinger"], ["created_at", "2018-03-22 04:43:29.625936"], ["updated_at", "2018-03-22 04:43:29.625936"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"31"} 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]] 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", 31], ["LIMIT", 1]]  (0.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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Edgar Ortiz"], ["id", 31], ["LIMIT", 1]] SQL (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-03-22 04:43:29.635216"], ["id", 31]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) 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 Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.4ms) 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", 31], ["LIMIT", 1]]  (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", "jaye@swaniawskileuschke.ca"], ["LIMIT", 1]] SQL (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", "Melody Russel"], ["last_name", "Mae Fisher"], ["email", "jaye@swaniawskileuschke.ca"], ["password_digest", "$2a$04$me0DdrB.CewK01e6RX0gCOi3eb53UH6W/1Io1bD97ULrc4OKWiRIS"], ["created_at", "2018-03-22 04:43:29.648710"], ["updated_at", "2018-03-22 04:43:29.648710"]]  (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", "Eula Reichert"], ["LIMIT", 1]] SQL (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", "Eula Reichert"], ["name", "Pablo Skiles"], ["address", "Anthony Towne"], ["created_at", "2018-03-22 04:43:29.654072"], ["updated_at", "2018-03-22 04:43:29.654072"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "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", 32], ["LIMIT", 1]] 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", 32], ["LIMIT", 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Eula Reichert"], ["id", 32], ["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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.3ms | ActiveRecord: 4.0ms)  (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", "sunny@stamm.us"], ["LIMIT", 1]] SQL (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", "Art Ebert"], ["last_name", "Luise Trantow"], ["email", "sunny@stamm.us"], ["password_digest", "$2a$04$oelJaK1rKpHnz.0sULkeQeiLw2gegbYuzeNtpgkh4Rz.NS4KxQ4.e"], ["created_at", "2018-03-22 04:43:29.672951"], ["updated_at", "2018-03-22 04:43:29.672951"]]  (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", "Valerie Barton"], ["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", "Tresa Barrows"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Valerie Barton"], ["name", "Tresa Barrows"], ["description", "Et nobis quos aut ut voluptatibus cumque. A ut officiis quasi molestias nostrum. Quibusdam a esse fugit nulla dolore ipsa aperiam. Neque qui tenetur omnis dolorum nihil."], ["created_at", "2018-03-22 04:43:29.759616"], ["updated_at", "2018-03-22 04:43:29.759616"]]  (0.4ms) 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", "Saul Cormier"], ["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", "Trudi Jast"], ["LIMIT", 1]] SQL (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", "Saul Cormier"], ["name", "Trudi Jast"], ["description", "Qui atque soluta enim fugit maiores ut delectus error. Eveniet eos quia cupiditate corporis nobis consequatur qui. Non voluptates praesentium maxime non est occaecati non. Beatae et molestiae autem dolores voluptatem. Laboriosam ad nobis vero et sunt ipsam."], ["equipment_type_id", 1], ["created_at", "2018-03-22 04:43:29.767116"], ["updated_at", "2018-03-22 04:43:29.767116"]]  (0.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", "Georgine Sanford"], ["LIMIT", 1]] SQL (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", "Georgine Sanford"], ["name", "Chester Schoen"], ["description", "Kim Reichert"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-03-22 04:43:29.774000"], ["updated_at", "2018-03-22 04:43:29.774000"]]  (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", "Len Maggio"], ["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", "Letha Stoltenberg"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Len Maggio"], ["name", "Letha Stoltenberg"], ["description", "Sunday Botsford"], ["created_at", "2018-03-22 04:43:29.813005"], ["updated_at", "2018-03-22 04:43:29.813005"]]  (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", "Loralee Kertzmann"], ["LIMIT", 1]] SQL (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", "Loralee Kertzmann"], ["name", "Athena Volkman"], ["location_type_id", 1], ["description", "Junko Osinski"], ["address", "Tressie Ortiz"], ["created_at", "2018-03-22 04:43:29.819584"], ["updated_at", "2018-03-22 04:43:29.819584"]]  (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", "Arnita Nicolas"], ["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", "Deon Prohaska"], ["LIMIT", 1]] SQL (3.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", "Arnita Nicolas"], ["name", "Clarinda Gorczany"], ["description", "Wendi Pfannerstill"], ["serial_number", "Deon Prohaska"], ["brand", "Anjanette Murphy"], ["item_model", "Tamara Lesch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-03-22 04:43:29.828204"], ["updated_at", "2018-03-22 04:43:29.828204"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ai Parker"], ["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", "Vickey Zemlak"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ai Parker"], ["name", "Vickey Zemlak"], ["created_at", "2018-03-22 04:43:29.839122"], ["updated_at", "2018-03-22 04:43:29.839122"]]  (0.4ms) 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", "Ona Casper"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ona Casper"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:29.843359"], ["updated_at", "2018-03-22 04:43:29.843359"]]  (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", "Sabina Denesik"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sabina Denesik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:29.847625"], ["updated_at", "2018-03-22 04:43:29.847625"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Danette Rau"], ["LIMIT", 1]] SQL (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", "Danette Rau"], ["name", "Veronique Yundt"], ["address", "Sigrid Tromp"], ["created_at", "2018-03-22 04:43:29.851608"], ["updated_at", "2018-03-22 04:43:29.851608"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Katharyn Funk"], ["service_delivery_unit_id", 33], ["LIMIT", 1]] SQL (0.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", "Katharyn Funk"], ["name", "Ricki Rosenbaum"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 33], ["created_at", "2018-03-22 04:43:29.855431"], ["updated_at", "2018-03-22 04:43:29.855431"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 12], ["equipment_item_id", 1], ["created_at", "2018-03-22 04:43:29.859416"], ["updated_at", "2018-03-22 04:43:29.859416"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Eric Dicki"], ["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", "Delisa Effertz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eric Dicki"], ["name", "Delisa Effertz"], ["description", "Magni architecto est similique ea qui sunt. Reiciendis praesentium quae eveniet reprehenderit aliquam architecto dolorem sed. Id voluptatem neque alias sed molestiae officia dolores."], ["created_at", "2018-03-22 04:43:29.867473"], ["updated_at", "2018-03-22 04:43:29.867473"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jacquelynn Conn"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Millard Kessler"], ["LIMIT", 1]] SQL (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", "Jacquelynn Conn"], ["name", "Millard Kessler"], ["description", "Qui unde fugit corporis aliquam occaecati quo. Reprehenderit unde id commodi consequatur ea expedita harum alias. Mollitia eum qui adipisci molestiae magni dolorem quia non."], ["equipment_type_id", 2], ["created_at", "2018-03-22 04:43:29.872200"], ["updated_at", "2018-03-22 04:43:29.872200"]]  (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", "Jenette Hegmann"], ["LIMIT", 1]] SQL (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", "Jenette Hegmann"], ["name", "Genevive Bergstrom"], ["description", "Ara Jakubowski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-03-22 04:43:29.876364"], ["updated_at", "2018-03-22 04:43:29.876364"]]  (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", "Karole Pfeffer"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Joane Gottlieb"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Karole Pfeffer"], ["name", "Joane Gottlieb"], ["description", "Exie Herzog"], ["created_at", "2018-03-22 04:43:29.882023"], ["updated_at", "2018-03-22 04:43:29.882023"]]  (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", "Lana West"], ["LIMIT", 1]] SQL (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", "Lana West"], ["name", "Johnie Batz"], ["location_type_id", 2], ["description", "Denna Howell"], ["address", "Domitila Treutel"], ["created_at", "2018-03-22 04:43:29.885976"], ["updated_at", "2018-03-22 04:43:29.885976"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Neville Blick"], ["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", "Vernetta McClure"], ["LIMIT", 1]] SQL (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", "Neville Blick"], ["name", "Rocky Schamberger"], ["description", "Harold Roob"], ["serial_number", "Vernetta McClure"], ["brand", "Mora Kihn"], ["item_model", "Lilli Hilll"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-03-22 04:43:29.891900"], ["updated_at", "2018-03-22 04:43:29.891900"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ashlyn D'Amore"], ["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", "Josh Howell"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ashlyn D'Amore"], ["name", "Josh Howell"], ["created_at", "2018-03-22 04:43:29.897891"], ["updated_at", "2018-03-22 04:43:29.897891"]]  (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", "Graig Blick"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Graig Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:29.902783"], ["updated_at", "2018-03-22 04:43:29.902783"]]  (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", "Ludivina Jones"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ludivina Jones"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:29.908430"], ["updated_at", "2018-03-22 04:43:29.908430"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 Runte"], ["LIMIT", 1]] SQL (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", "Jessie Runte"], ["name", "Arlean Ziemann"], ["address", "Allan Schaden"], ["created_at", "2018-03-22 04:43:29.912703"], ["updated_at", "2018-03-22 04:43:29.912703"]]  (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", "Shellie Zboncak"], ["service_delivery_unit_id", 34], ["LIMIT", 1]] SQL (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", "Shellie Zboncak"], ["name", "Sanjuanita Lind"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 34], ["created_at", "2018-03-22 04:43:29.917383"], ["updated_at", "2018-03-22 04:43:29.917383"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 2], ["created_at", "2018-03-22 04:43:29.920750"], ["updated_at", "2018-03-22 04:43:29.920750"]]  (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", "Stephen Zemlak"], ["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", "Morgan Reynolds"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Stephen Zemlak"], ["name", "Morgan Reynolds"], ["description", "Quo perspiciatis similique reiciendis dolorem repellat qui. Est voluptatem sequi ullam dolores vero ab ut itaque. Ut odit laborum quaerat vel officia excepturi doloribus tempore."], ["created_at", "2018-03-22 04:43:29.928100"], ["updated_at", "2018-03-22 04:43:29.928100"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Melania Zboncak"], ["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", "Deja Schiller"], ["LIMIT", 1]] SQL (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", "Melania Zboncak"], ["name", "Deja Schiller"], ["description", "Iste pariatur voluptatem eum harum totam et fugit. Cumque ducimus sed alias vel pariatur tempora corporis. Eos quidem fugiat delectus aut dolores laudantium nihil. Itaque accusamus autem voluptate maxime dolorem aspernatur asperiores veritatis."], ["equipment_type_id", 3], ["created_at", "2018-03-22 04:43:29.933793"], ["updated_at", "2018-03-22 04:43:29.933793"]]  (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", "Shenita Abernathy"], ["LIMIT", 1]] SQL (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", "Shenita Abernathy"], ["name", "Theresa Frami"], ["description", "Belinda Haley"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-03-22 04:43:29.938085"], ["updated_at", "2018-03-22 04:43:29.938085"]]  (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", "Ivonne Nienow"], ["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", "Ruthe Ullrich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ivonne Nienow"], ["name", "Ruthe Ullrich"], ["description", "Sherry Borer"], ["created_at", "2018-03-22 04:43:29.944002"], ["updated_at", "2018-03-22 04:43:29.944002"]]  (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", "Lynwood Dickinson"], ["LIMIT", 1]] SQL (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", "Lynwood Dickinson"], ["name", "Lakita Jaskolski"], ["location_type_id", 3], ["description", "Jarrod Conroy"], ["address", "Kimberlee Aufderhar"], ["created_at", "2018-03-22 04:43:29.948220"], ["updated_at", "2018-03-22 04:43:29.948220"]]  (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", "Sunday McDermott"], ["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", "Gustavo Balistreri"], ["LIMIT", 1]] SQL (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", "Sunday McDermott"], ["name", "Joya Larkin"], ["description", "Charlie Von"], ["serial_number", "Gustavo Balistreri"], ["brand", "Eulalia Hermann"], ["item_model", "Shanelle Marquardt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-03-22 04:43:29.953952"], ["updated_at", "2018-03-22 04:43:29.953952"]]  (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", "Velda Botsford"], ["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", "Oliva Heathcote"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Velda Botsford"], ["name", "Oliva Heathcote"], ["created_at", "2018-03-22 04:43:29.960031"], ["updated_at", "2018-03-22 04:43:29.960031"]]  (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", "Teri Cronin"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Teri Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:29.964404"], ["updated_at", "2018-03-22 04:43:29.964404"]]  (0.4ms) 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", "Cassy Kuhlman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cassy Kuhlman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:29.969500"], ["updated_at", "2018-03-22 04:43:29.969500"]]  (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", "Bari Goldner"], ["LIMIT", 1]] SQL (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", "Bari Goldner"], ["name", "Gayle Ortiz"], ["address", "Corrina Senger"], ["created_at", "2018-03-22 04:43:29.974007"], ["updated_at", "2018-03-22 04:43:29.974007"]]  (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", "Williemae Hagenes"], ["service_delivery_unit_id", 35], ["LIMIT", 1]] SQL (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", "Williemae Hagenes"], ["name", "Mikaela Pollich"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 35], ["created_at", "2018-03-22 04:43:29.978339"], ["updated_at", "2018-03-22 04:43:29.978339"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 14], ["equipment_item_id", 3], ["created_at", "2018-03-22 04:43:29.981803"], ["updated_at", "2018-03-22 04:43:29.981803"]]  (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", 33], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 12], ["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", 1], ["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", 13], ["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", 2], ["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", 14], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.08ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 18ms (Views: 1.2ms | ActiveRecord: 6.6ms)  (1.2ms) ROLLBACK  (0.4ms) 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", "rochell@skiles.co.uk"], ["LIMIT", 1]] SQL (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", "Sharon Simonis"], ["last_name", "Tiesha Runolfsdottir"], ["email", "rochell@skiles.co.uk"], ["password_digest", "$2a$04$J4xa7u7YgkQ.lZJafBe.NuF5EVbv6CJ2mV0uc1GuG9KDqLnjOospG"], ["created_at", "2018-03-22 04:43:30.012023"], ["updated_at", "2018-03-22 04:43:30.012023"]]  (0.7ms) 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", "Maurita Haag"], ["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", "Emma Herzog"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maurita Haag"], ["name", "Emma Herzog"], ["description", "Magnam ducimus sequi nobis dolor. Qui nemo maiores dolores incidunt. Qui rem aperiam est nam pariatur sed. Sapiente ut totam et molestiae architecto dignissimos molestiae."], ["created_at", "2018-03-22 04:43:30.019761"], ["updated_at", "2018-03-22 04:43:30.019761"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vada Terry"], ["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", "Retta Farrell"], ["LIMIT", 1]] SQL (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", "Vada Terry"], ["name", "Retta Farrell"], ["description", "A esse ipsam facere temporibus quia. Quia hic inventore iure veniam. Omnis reiciendis minus facere commodi et ullam vel dolore. Iusto dolorem enim doloribus omnis aperiam et quisquam."], ["equipment_type_id", 4], ["created_at", "2018-03-22 04:43:30.024526"], ["updated_at", "2018-03-22 04:43:30.024526"]]  (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", "Aurelia Jakubowski"], ["LIMIT", 1]] SQL (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", "Aurelia Jakubowski"], ["name", "Lilliana Reichert"], ["description", "Jamey Hickle"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-03-22 04:43:30.028582"], ["updated_at", "2018-03-22 04:43:30.028582"]]  (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", "Gladis Block"], ["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", "Talisha Buckridge"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gladis Block"], ["name", "Talisha Buckridge"], ["description", "Sharlene Wunsch"], ["created_at", "2018-03-22 04:43:30.034806"], ["updated_at", "2018-03-22 04:43:30.034806"]]  (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", "Boyd Hartmann"], ["LIMIT", 1]] SQL (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", "Boyd Hartmann"], ["name", "Ayanna Jewess"], ["location_type_id", 4], ["description", "Makeda Pfeffer"], ["address", "Keith Jacobson"], ["created_at", "2018-03-22 04:43:30.039879"], ["updated_at", "2018-03-22 04:43:30.039879"]]  (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", "Beverlee Greenfelder"], ["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", "Lyn Jerde"], ["LIMIT", 1]] SQL (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", "Beverlee Greenfelder"], ["name", "Assunta Moen"], ["description", "Cira Krajcik"], ["serial_number", "Lyn Jerde"], ["brand", "Berneice Dicki"], ["item_model", "Geneva Fay"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-03-22 04:43:30.048250"], ["updated_at", "2018-03-22 04:43:30.048250"]]  (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", "Chloe Huel"], ["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", "Shaun Mante"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chloe Huel"], ["name", "Shaun Mante"], ["created_at", "2018-03-22 04:43:30.055275"], ["updated_at", "2018-03-22 04:43:30.055275"]]  (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", "Dorian Casper"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dorian Casper"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.059961"], ["updated_at", "2018-03-22 04:43:30.059961"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Nick Haley"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nick Haley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.065229"], ["updated_at", "2018-03-22 04:43:30.065229"]]  (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", "Deb Bergstrom"], ["LIMIT", 1]] SQL (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", "Deb Bergstrom"], ["name", "Renea Dach"], ["address", "Tequila Torphy"], ["created_at", "2018-03-22 04:43:30.069925"], ["updated_at", "2018-03-22 04:43:30.069925"]]  (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", "Cherilyn Zulauf"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] SQL (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", "Cherilyn Zulauf"], ["name", "Estelle Lakin"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 36], ["created_at", "2018-03-22 04:43:30.074597"], ["updated_at", "2018-03-22 04:43:30.074597"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 15], ["equipment_item_id", 4], ["created_at", "2018-03-22 04:43:30.077960"], ["updated_at", "2018-03-22 04:43:30.077960"]]  (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", "Berna Davis"], ["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", "Therese Gibson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Berna Davis"], ["name", "Therese Gibson"], ["description", "Ut praesentium vel quaerat impedit. Velit corrupti laborum beatae aliquam magnam consequuntur. Et eum magnam architecto quia quia aut vero. Ut ex expedita autem porro quidem quae. Occaecati eum consequatur natus et."], ["created_at", "2018-03-22 04:43:30.085869"], ["updated_at", "2018-03-22 04:43:30.085869"]]  (0.4ms) 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", "Jaclyn Reilly"], ["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", "Jacquelin Turcotte"], ["LIMIT", 1]] SQL (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", "Jaclyn Reilly"], ["name", "Jacquelin Turcotte"], ["description", "Sint ut modi rerum suscipit sapiente est. Accusamus sequi architecto incidunt pariatur dolorem. Tempora eos repellat magnam incidunt illum ex et. Libero cum in voluptates enim rerum."], ["equipment_type_id", 5], ["created_at", "2018-03-22 04:43:30.090858"], ["updated_at", "2018-03-22 04:43:30.090858"]]  (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", "Dalia Stiedemann"], ["LIMIT", 1]] SQL (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", "Dalia Stiedemann"], ["name", "Bibi Hilpert"], ["description", "Shana Muller"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-03-22 04:43:30.095327"], ["updated_at", "2018-03-22 04:43:30.095327"]]  (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", "Deane Conn"], ["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", "Matthew Kilback"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Deane Conn"], ["name", "Matthew Kilback"], ["description", "Babette Dach"], ["created_at", "2018-03-22 04:43:30.101684"], ["updated_at", "2018-03-22 04:43:30.101684"]]  (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", "Tempie Quitzon"], ["LIMIT", 1]] SQL (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", "Tempie Quitzon"], ["name", "Jon Dach"], ["location_type_id", 5], ["description", "Minh Reynolds"], ["address", "Susan Marks"], ["created_at", "2018-03-22 04:43:30.105983"], ["updated_at", "2018-03-22 04:43:30.105983"]]  (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", "Kasie 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", "Sammie Nolan"], ["LIMIT", 1]] SQL (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", "Kasie Christiansen"], ["name", "Florencia Gibson"], ["description", "Denita Shields"], ["serial_number", "Sammie Nolan"], ["brand", "Elvia Predovic"], ["item_model", "Ike Padberg"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-03-22 04:43:30.111597"], ["updated_at", "2018-03-22 04:43:30.111597"]]  (0.9ms) 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", "Gabrielle Okuneva"], ["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", "Vickey Rowe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gabrielle Okuneva"], ["name", "Vickey Rowe"], ["created_at", "2018-03-22 04:43:30.119558"], ["updated_at", "2018-03-22 04:43:30.119558"]]  (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", "Tamica Kling"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tamica Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.124009"], ["updated_at", "2018-03-22 04:43:30.124009"]]  (0.4ms) 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", "Sol Raynor"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sol Raynor"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.128517"], ["updated_at", "2018-03-22 04:43:30.128517"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Ariel Emard"], ["LIMIT", 1]] SQL (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", "Ariel Emard"], ["name", "Margaretta Smitham"], ["address", "Neoma Eichmann"], ["created_at", "2018-03-22 04:43:30.136793"], ["updated_at", "2018-03-22 04:43:30.136793"]]  (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", "Elizbeth Jakubowski"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (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", "Elizbeth Jakubowski"], ["name", "Oliva Wuckert"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 37], ["created_at", "2018-03-22 04:43:30.141205"], ["updated_at", "2018-03-22 04:43:30.141205"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 16], ["equipment_item_id", 5], ["created_at", "2018-03-22 04:43:30.144487"], ["updated_at", "2018-03-22 04:43:30.144487"]]  (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", "Carmen Oga"], ["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", "Ramon Jakubowski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carmen Oga"], ["name", "Ramon Jakubowski"], ["description", "Iste voluptas ducimus sed veritatis sunt. Nulla mollitia impedit non necessitatibus. Et assumenda dolorem provident et natus exercitationem ducimus est. Quisquam provident ratione voluptatem libero eos ea fuga."], ["created_at", "2018-03-22 04:43:30.151258"], ["updated_at", "2018-03-22 04:43:30.151258"]]  (0.4ms) 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", "Ehtel Will"], ["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", "Phylicia Conroy"], ["LIMIT", 1]] SQL (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", "Ehtel Will"], ["name", "Phylicia Conroy"], ["description", "Illum iure laboriosam perferendis deleniti impedit aut autem similique. Quia ullam non pariatur aliquam magni mollitia exercitationem. Quae corrupti et blanditiis quidem aut debitis magnam dolorem. Voluptatum maiores sit voluptatibus minus est amet aut. Quia optio pariatur est rerum odit amet ullam sed."], ["equipment_type_id", 6], ["created_at", "2018-03-22 04:43:30.156031"], ["updated_at", "2018-03-22 04:43:30.156031"]]  (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", "Renita O'Keefe"], ["LIMIT", 1]] SQL (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", "Renita O'Keefe"], ["name", "Judie Leffler"], ["description", "Karoline Stehr"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-03-22 04:43:30.160449"], ["updated_at", "2018-03-22 04:43:30.160449"]]  (0.6ms) 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", "Juan Thiel"], ["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", "Kendrick Doyle"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Juan Thiel"], ["name", "Kendrick Doyle"], ["description", "Eboni O'Hara"], ["created_at", "2018-03-22 04:43:30.166939"], ["updated_at", "2018-03-22 04:43:30.166939"]]  (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", "Lillia Pouros"], ["LIMIT", 1]] SQL (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", "Lillia Pouros"], ["name", "Gaye Hilll"], ["location_type_id", 6], ["description", "Dion Adams"], ["address", "Tangela Haag"], ["created_at", "2018-03-22 04:43:30.170873"], ["updated_at", "2018-03-22 04:43:30.170873"]]  (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", "Jeanine Parker"], ["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", "Samuel Hegmann"], ["LIMIT", 1]] SQL (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", "Jeanine Parker"], ["name", "Gaynell Kris"], ["description", "Sherilyn Collier"], ["serial_number", "Samuel Hegmann"], ["brand", "Ivory Schneider"], ["item_model", "Rosalina Weissnat"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-03-22 04:43:30.176244"], ["updated_at", "2018-03-22 04:43:30.176244"]]  (0.6ms) 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", "Isiah Batz"], ["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", "Zula Ratke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Isiah Batz"], ["name", "Zula Ratke"], ["created_at", "2018-03-22 04:43:30.182429"], ["updated_at", "2018-03-22 04:43:30.182429"]]  (0.4ms) 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", "Vincenza Kessler"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vincenza Kessler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.186952"], ["updated_at", "2018-03-22 04:43:30.186952"]]  (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", "Billie Veum"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Billie Veum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.191734"], ["updated_at", "2018-03-22 04:43:30.191734"]]  (0.4ms) 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", "Dee Ritchie"], ["LIMIT", 1]] SQL (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", "Dee Ritchie"], ["name", "Jesus Schmitt"], ["address", "Gabriela Lubowitz"], ["created_at", "2018-03-22 04:43:30.196249"], ["updated_at", "2018-03-22 04:43:30.196249"]]  (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", "Santos Botsford"], ["service_delivery_unit_id", 38], ["LIMIT", 1]] SQL (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", "Santos Botsford"], ["name", "Paola Pacocha"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 38], ["created_at", "2018-03-22 04:43:30.201390"], ["updated_at", "2018-03-22 04:43:30.201390"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 17], ["equipment_item_id", 6], ["created_at", "2018-03-22 04:43:30.204481"], ["updated_at", "2018-03-22 04:43:30.204481"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates 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", 34], ["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", 34], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.8ms) 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", 15], ["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", 4], ["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", 36], ["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", 16], ["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", 5], ["LIMIT", 1]] [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", 37], ["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", 17], ["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", 6], ["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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (13.84ms) Completed 200 OK in 19ms (Views: 8.9ms | ActiveRecord: 8.7ms)  (0.7ms) 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", "felice@pagac.ca"], ["LIMIT", 1]] SQL (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", "Odell Morissette"], ["last_name", "Tonda Mills"], ["email", "felice@pagac.ca"], ["password_digest", "$2a$04$8w8y3UyMPUz309OpbHtWRerQscegYSW4dT1ZSgfZOa3zunnqBh.lO"], ["created_at", "2018-03-22 04:43:30.235184"], ["updated_at", "2018-03-22 04:43:30.235184"]]  (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", "Tanisha Bernier"], ["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", "Laurine Emard"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tanisha Bernier"], ["name", "Laurine Emard"], ["created_at", "2018-03-22 04:43:30.241613"], ["updated_at", "2018-03-22 04:43:30.241613"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 35], ["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", 35], ["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.22ms) Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 1.9ms)  (0.8ms) 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", "floy@parker.us"], ["LIMIT", 1]] SQL (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", "Lou Wuckert"], ["last_name", "Estefana Champlin"], ["email", "floy@parker.us"], ["password_digest", "$2a$04$is5jm.pRKuKxQ3DJ2w/kI.LINxAKFk8/DSppbwYvf8Vnd283qt8xC"], ["created_at", "2018-03-22 04:43:30.260710"], ["updated_at", "2018-03-22 04:43:30.260710"]]  (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", "Linda Emmerich"], ["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", "Caitlyn Simonis"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Linda Emmerich"], ["name", "Caitlyn Simonis"], ["created_at", "2018-03-22 04:43:30.267807"], ["updated_at", "2018-03-22 04:43:30.267807"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} 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::ServiceType Load (0.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 20], ["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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.32ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 1.9ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (1.1ms) 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", "johnnie_frami@nader.us"], ["LIMIT", 1]] SQL (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", "Charita Von"], ["last_name", "Melita Ferry"], ["email", "johnnie_frami@nader.us"], ["password_digest", "$2a$04$l2L9p5K2.9beGBeyV6HSledsXMqSWzV0IfZ8i3kHA7TcitIWiNokS"], ["created_at", "2018-03-22 04:43:30.283378"], ["updated_at", "2018-03-22 04:43:30.283378"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Arianne Heathcote", "name"=>"Dolores Bailey"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["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 LIMIT $2 [["code", "Arianne Heathcote"], ["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", "Dolores Bailey"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Arianne Heathcote"], ["name", "Dolores Bailey"], ["created_at", "2018-03-22 04:43:30.293104"], ["updated_at", "2018-03-22 04:43:30.293104"]]  (0.5ms) 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", 37], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 201 Created in 11ms (Views: 2.4ms | ActiveRecord: 5.5ms)  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "junko_gleason@mullerkovacek.us"], ["LIMIT", 1]] SQL (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", "Mark Stroman"], ["last_name", "Elisa Boehm"], ["email", "junko_gleason@mullerkovacek.us"], ["password_digest", "$2a$04$4Eofy0Sh.I.oBVjcoEPIk.CqapRBicKaEKVRrrkGrR8MxWxmW06jm"], ["created_at", "2018-03-22 04:43:30.306647"], ["updated_at", "2018-03-22 04:43:30.306647"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Marg Hermann", "name"=>"Marisa Turcotte"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["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", "Marg Hermann"], ["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", "Marisa Turcotte"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marg Hermann"], ["name", "Marisa Turcotte"], ["created_at", "2018-03-22 04:43:30.317069"], ["updated_at", "2018-03-22 04:43:30.317069"]]  (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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.24ms) Completed 201 Created in 11ms (Views: 1.6ms | ActiveRecord: 6.0ms) 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.4ms) 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", "yee.metz@weissnat.us"], ["LIMIT", 1]] SQL (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", "Desiree Torphy"], ["last_name", "Jeanette Hills"], ["email", "yee.metz@weissnat.us"], ["password_digest", "$2a$04$xv/MYkc3uWLd.69ju5kppu8nkmhjiOm0nhO93a/v/MfGMS26Qa9S2"], ["created_at", "2018-03-22 04:43:30.333073"], ["updated_at", "2018-03-22 04:43:30.333073"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Lashonda Kiehn"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]]  (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", ""], ["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", "Lashonda Kiehn"], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.0ms | ActiveRecord: 4.3ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "hedwig@botsford.co.uk"], ["LIMIT", 1]] SQL (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", "Lenita Bode"], ["last_name", "Glen O'Hara"], ["email", "hedwig@botsford.co.uk"], ["password_digest", "$2a$04$UAPcXWfhgTJglxikQY7IGO3tZClXumMqmU0rQANBj9v0kf3De5jRC"], ["created_at", "2018-03-22 04:43:30.353014"], ["updated_at", "2018-03-22 04:43:30.353014"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Anjelica Treutel"], ["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", "Daniela Leffler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Anjelica Treutel"], ["name", "Daniela Leffler"], ["created_at", "2018-03-22 04:43:30.358211"], ["updated_at", "2018-03-22 04:43:30.358211"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Tracy O'Reilly"}, "id"=>"23"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["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", 23], ["LIMIT", 1]]  (1.0ms) 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", "Anjelica Treutel"], ["id", 23], ["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", "Tracy O'Reilly"], ["id", 23], ["LIMIT", 1]] SQL (0.9ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Tracy O'Reilly"], ["updated_at", "2018-03-22 04:43:30.368783"], ["id", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 6.1ms) 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", 23], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "saran@pricelarkin.biz"], ["LIMIT", 1]] SQL (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", "Cindy Mraz"], ["last_name", "Barbar Muller"], ["email", "saran@pricelarkin.biz"], ["password_digest", "$2a$04$wzXEqm8ZYS7jDj5vTp9GmuUk1Ixn6ZabwjczYYqBmVE1qhtB9mBwm"], ["created_at", "2018-03-22 04:43:30.382176"], ["updated_at", "2018-03-22 04:43:30.382176"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Page 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", "Pearlene Goyette"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Page Doyle"], ["name", "Pearlene Goyette"], ["created_at", "2018-03-22 04:43:30.387594"], ["updated_at", "2018-03-22 04:43:30.387594"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Myrl Leffler", "name"=>"Lenore Rosenbaum"}, "id"=>"24"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["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", 24], ["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", "Myrl Leffler"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Lenore Rosenbaum"], ["id", 24], ["LIMIT", 1]] SQL (0.7ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Myrl Leffler"], ["name", "Lenore Rosenbaum"], ["updated_at", "2018-03-22 04:43:30.396644"], ["id", 24]]  (0.4ms) 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 4.9ms)  (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", "brandie.trantow@eichmann.name"], ["LIMIT", 1]] SQL (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", "Camellia Predovic"], ["last_name", "Stephenie Aufderhar"], ["email", "brandie.trantow@eichmann.name"], ["password_digest", "$2a$04$vVzhVQxinIyu4rGT1CLBC.f3JJQ8oNdcEi/Ak502roaROMWFF1fA2"], ["created_at", "2018-03-22 04:43:30.408088"], ["updated_at", "2018-03-22 04:43:30.408088"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Christen Roob"], ["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", "Yvette Klocko"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Christen Roob"], ["name", "Yvette Klocko"], ["created_at", "2018-03-22 04:43:30.417850"], ["updated_at", "2018-03-22 04:43:30.417850"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Lesha Treutel"}, "id"=>"25"} 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]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", ""], ["id", 25], ["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", "Lesha Treutel"], ["id", 25], ["LIMIT", 1]]  (0.5ms) 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.1ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.7ms | ActiveRecord: 5.2ms)  (0.8ms) 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", "royce.emard@ankunding.info"], ["LIMIT", 1]] SQL (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", "Emilee Greenholt"], ["last_name", "Sabine Frami"], ["email", "royce.emard@ankunding.info"], ["password_digest", "$2a$04$./12tlGeWuZZRU7S2nHYPuCMVy6YyTmM3P6oNf2saAdaO8PbFO0Y6"], ["created_at", "2018-03-22 04:43:30.438613"], ["updated_at", "2018-03-22 04:43:30.438613"]]  (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", "Lizeth Wyman"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lizeth Wyman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.443673"], ["updated_at", "2018-03-22 04:43:30.443673"]]  (0.4ms) 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", "Theressa Kemmer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Theressa Kemmer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.448911"], ["updated_at", "2018-03-22 04:43:30.448911"]]  (0.4ms) 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", "Freddie Gutmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Freddie Gutmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.453140"], ["updated_at", "2018-03-22 04:43:30.453140"]]  (0.5ms) 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", 43], ["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", 43], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.9ms) Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 2.1ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (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", "Kris 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", "Yuko Stoltenberg"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kris Skiles"], ["name", "Yuko Stoltenberg"], ["created_at", "2018-03-22 04:43:30.480122"], ["updated_at", "2018-03-22 04:43:30.480122"]]  (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", "Jacob Jacobson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacob Jacobson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.485166"], ["updated_at", "2018-03-22 04:43:30.485166"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lakia Roob"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lakia Roob"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.489297"], ["updated_at", "2018-03-22 04:43:30.489297"]]  (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", "Kelley Sipes"], ["LIMIT", 1]] SQL (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", "Kelley Sipes"], ["name", "Molly Hyatt"], ["address", "Joann Rau"], ["created_at", "2018-03-22 04:43:30.493871"], ["updated_at", "2018-03-22 04:43:30.493871"]]  (0.5ms) 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", "Leticia Rohan"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Leticia Rohan"], ["name", "Donnetta Terry"], ["service_type_id", 26], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 39], ["created_at", "2018-03-22 04:43:30.499260"], ["updated_at", "2018-03-22 04:43:30.499260"]]  (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", "Sanora Wehner"], ["LIMIT", 1]] SQL (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", "Sanora Wehner"], ["name", "Shery Franecki"], ["address", "Enrique Franecki"], ["created_at", "2018-03-22 04:43:30.504941"], ["updated_at", "2018-03-22 04:43:30.504941"]]  (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", "Renea Schumm"], ["LIMIT", 1]] SQL (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", "Renea Schumm"], ["name", "Orlando Labadie"], ["description", "Alayna Roberts"], ["service_delivery_unit_id", 40], ["created_at", "2018-03-22 04:43:30.509101"], ["updated_at", "2018-03-22 04:43:30.509101"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 18], ["service_bundle_id", 17], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:43:30.513152"], ["updated_at", "2018-03-22 04:43:30.513152"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Rolanda Gleason"], ["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", "Mozell Bahringer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rolanda Gleason"], ["name", "Mozell Bahringer"], ["created_at", "2018-03-22 04:43:30.522545"], ["updated_at", "2018-03-22 04:43:30.522545"]]  (0.4ms) 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", "Shaunna Brown"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shaunna Brown"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.526732"], ["updated_at", "2018-03-22 04:43:30.526732"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Merrilee Willms"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Merrilee Willms"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.531263"], ["updated_at", "2018-03-22 04:43:30.531263"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Clemente Ebert"], ["LIMIT", 1]] SQL (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", "Clemente Ebert"], ["name", "Carrol White"], ["address", "Verna Abbott"], ["created_at", "2018-03-22 04:43:30.536501"], ["updated_at", "2018-03-22 04:43:30.536501"]]  (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", "Ann Sanford"], ["service_delivery_unit_id", 41], ["LIMIT", 1]] SQL (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", "Ann Sanford"], ["name", "Tammera Heathcote"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 41], ["created_at", "2018-03-22 04:43:30.540597"], ["updated_at", "2018-03-22 04:43:30.540597"]]  (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", "Glinda Mosciski"], ["LIMIT", 1]] SQL (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", "Glinda Mosciski"], ["name", "Felica Jaskolski"], ["address", "Wesley Stoltenberg"], ["created_at", "2018-03-22 04:43:30.546090"], ["updated_at", "2018-03-22 04:43:30.546090"]]  (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", "Lincoln Deckow"], ["LIMIT", 1]] SQL (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", "Lincoln Deckow"], ["name", "Nakesha Fadel"], ["description", "Marcia Cassin"], ["service_delivery_unit_id", 42], ["created_at", "2018-03-22 04:43:30.550789"], ["updated_at", "2018-03-22 04:43:30.550789"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Colby Sanford"], ["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", "Verda Haag"], ["LIMIT", 1]] SQL (2.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Colby Sanford"], ["name", "Verda Haag"], ["created_at", "2018-03-22 04:43:30.561824"], ["updated_at", "2018-03-22 04:43:30.561824"]]  (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", "Jonah Koelpin"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jonah Koelpin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.567838"], ["updated_at", "2018-03-22 04:43:30.567838"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Rozella Rutherford"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rozella Rutherford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.571750"], ["updated_at", "2018-03-22 04:43:30.571750"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Francesca Wiza"], ["LIMIT", 1]] SQL (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", "Francesca Wiza"], ["name", "Marvella Gorczany"], ["address", "Shantel Boehm"], ["created_at", "2018-03-22 04:43:30.575882"], ["updated_at", "2018-03-22 04:43:30.575882"]]  (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", "Tommy Schmeler"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Tommy Schmeler"], ["name", "Shaneka Yost"], ["service_type_id", 28], ["base_unit_id", 44], ["utilization_unit_id", 45], ["service_delivery_unit_id", 43], ["created_at", "2018-03-22 04:43:30.580312"], ["updated_at", "2018-03-22 04:43:30.580312"]]  (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", "Paulita Nitzsche"], ["LIMIT", 1]] SQL (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", "Paulita Nitzsche"], ["name", "Marilou Robel"], ["address", "Marisela Bins"], ["created_at", "2018-03-22 04:43:30.584990"], ["updated_at", "2018-03-22 04:43:30.584990"]]  (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", "Maria Hammes"], ["LIMIT", 1]] SQL (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", "Maria Hammes"], ["name", "Leopoldo Welch"], ["description", "Conchita Cole"], ["service_delivery_unit_id", 44], ["created_at", "2018-03-22 04:43:30.589090"], ["updated_at", "2018-03-22 04:43:30.589090"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Krista Crist"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cyril Schultz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Krista Crist"], ["name", "Cyril Schultz"], ["created_at", "2018-03-22 04:43:30.599722"], ["updated_at", "2018-03-22 04:43:30.599722"]]  (0.4ms) 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", "Delila Kunde"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delila Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.603842"], ["updated_at", "2018-03-22 04:43:30.603842"]]  (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", "Brian Hickle"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brian Hickle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.607936"], ["updated_at", "2018-03-22 04:43:30.607936"]]  (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", "Lynelle Gislason"], ["LIMIT", 1]] SQL (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", "Lynelle Gislason"], ["name", "Wendi Kozey"], ["address", "Wilbur Ryan"], ["created_at", "2018-03-22 04:43:30.612592"], ["updated_at", "2018-03-22 04:43:30.612592"]]  (0.7ms) 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", "Sheba Rempel"], ["service_delivery_unit_id", 45], ["LIMIT", 1]] SQL (0.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", "Sheba Rempel"], ["name", "Taina Shields"], ["service_type_id", 29], ["base_unit_id", 46], ["utilization_unit_id", 47], ["service_delivery_unit_id", 45], ["created_at", "2018-03-22 04:43:30.617978"], ["updated_at", "2018-03-22 04:43:30.617978"]]  (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", "Terresa Kirlin"], ["LIMIT", 1]] SQL (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", "Terresa Kirlin"], ["name", "Barbera Jewess"], ["address", "Jone Konopelski"], ["created_at", "2018-03-22 04:43:30.622554"], ["updated_at", "2018-03-22 04:43:30.622554"]]  (0.4ms) 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", "Alesha Weissnat"], ["LIMIT", 1]] SQL (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", "Alesha Weissnat"], ["name", "Filiberto Wunsch"], ["description", "Dawna Goodwin"], ["service_delivery_unit_id", 46], ["created_at", "2018-03-22 04:43:30.626458"], ["updated_at", "2018-03-22 04:43:30.626458"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sebrina Hilpert"], ["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", "Margaretta Beatty"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sebrina Hilpert"], ["name", "Margaretta Beatty"], ["created_at", "2018-03-22 04:43:30.638545"], ["updated_at", "2018-03-22 04:43:30.638545"]]  (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", "Latarsha Jakubowski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Latarsha Jakubowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.643574"], ["updated_at", "2018-03-22 04:43:30.643574"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Lanell Mosciski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lanell Mosciski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.649194"], ["updated_at", "2018-03-22 04:43:30.649194"]]  (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", "Alta Lueilwitz"], ["LIMIT", 1]] SQL (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", "Alta Lueilwitz"], ["name", "Walter Abshire"], ["address", "Janette Kessler"], ["created_at", "2018-03-22 04:43:30.653377"], ["updated_at", "2018-03-22 04:43:30.653377"]]  (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", "Kenya Hauck"], ["service_delivery_unit_id", 47], ["LIMIT", 1]] SQL (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", "Kenya Hauck"], ["name", "Maud Kuhn"], ["service_type_id", 30], ["base_unit_id", 48], ["utilization_unit_id", 49], ["service_delivery_unit_id", 47], ["created_at", "2018-03-22 04:43:30.657462"], ["updated_at", "2018-03-22 04:43:30.657462"]]  (0.5ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Kenya Hauck"], ["id", 22], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kena Stokes"], ["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", "Elise Hilpert"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kena Stokes"], ["name", "Elise Hilpert"], ["created_at", "2018-03-22 04:43:30.667309"], ["updated_at", "2018-03-22 04:43:30.667309"]]  (0.4ms) 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", "Shasta Barton"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shasta Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.672066"], ["updated_at", "2018-03-22 04:43:30.672066"]]  (0.6ms) 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", "Deandrea Powlowski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Deandrea Powlowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.677719"], ["updated_at", "2018-03-22 04:43:30.677719"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Ligia Rice"], ["LIMIT", 1]] SQL (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", "Ligia Rice"], ["name", "Arnold Feest"], ["address", "Lesley Dickens"], ["created_at", "2018-03-22 04:43:30.683347"], ["updated_at", "2018-03-22 04:43:30.683347"]]  (0.4ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.5ms) 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", "Rima Ankunding"], ["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", "Roy Price"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rima Ankunding"], ["name", "Roy Price"], ["created_at", "2018-03-22 04:43:30.693008"], ["updated_at", "2018-03-22 04:43:30.693008"]]  (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", "Pablo Kerluke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pablo Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.697282"], ["updated_at", "2018-03-22 04:43:30.697282"]]  (0.4ms) 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", "Dee Keebler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dee Keebler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.701414"], ["updated_at", "2018-03-22 04:43:30.701414"]]  (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", "Aleida Kunde"], ["LIMIT", 1]] SQL (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", "Aleida Kunde"], ["name", "Raven Langosh"], ["address", "Linwood Homenick"], ["created_at", "2018-03-22 04:43:30.705591"], ["updated_at", "2018-03-22 04:43:30.705591"]]  (0.4ms) RELEASE 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", "Shanice Medhurst"], ["service_delivery_unit_id", 49], ["LIMIT", 1]]  (0.5ms) 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", "Mellie Sanford"], ["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", "Carlee Lynch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mellie Sanford"], ["name", "Carlee Lynch"], ["created_at", "2018-03-22 04:43:30.715260"], ["updated_at", "2018-03-22 04:43:30.715260"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Eusebio Schultz"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eusebio Schultz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.719511"], ["updated_at", "2018-03-22 04:43:30.719511"]]  (0.5ms) 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", "Lashaunda Mitchell"], ["LIMIT", 1]] SQL (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", "Lashaunda Mitchell"], ["name", "Jasmin Medhurst"], ["address", "Delmer Kreiger"], ["created_at", "2018-03-22 04:43:30.724278"], ["updated_at", "2018-03-22 04:43:30.724278"]]  (0.5ms) 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"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Antonetta Lang"], ["service_delivery_unit_id", 50], ["LIMIT", 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", "Nobuko Zboncak"], ["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", "Katelyn Leffler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nobuko Zboncak"], ["name", "Katelyn Leffler"], ["created_at", "2018-03-22 04:43:30.736471"], ["updated_at", "2018-03-22 04:43:30.736471"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Renda Schroeder"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Renda Schroeder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.741237"], ["updated_at", "2018-03-22 04:43:30.741237"]]  (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", "Carlene Zemlak"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carlene Zemlak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.747488"], ["updated_at", "2018-03-22 04:43:30.747488"]]  (0.4ms) RELEASE 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" IS NULL LIMIT $2 [["code", "Brett Gorczany"], ["LIMIT", 1]]  (0.5ms) 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", "Stacey Dietrich"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Analisa Emmerich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Stacey Dietrich"], ["name", "Analisa Emmerich"], ["created_at", "2018-03-22 04:43:30.757144"], ["updated_at", "2018-03-22 04:43:30.757144"]]  (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", "Trang Shields"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Trang Shields"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.761751"], ["updated_at", "2018-03-22 04:43:30.761751"]]  (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", "Andres Sanford"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Andres Sanford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.767164"], ["updated_at", "2018-03-22 04:43:30.767164"]]  (0.6ms) 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", "Cinda Swaniawski"], ["LIMIT", 1]] SQL (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", "Cinda Swaniawski"], ["name", "Prince White"], ["address", "Lashanda Rosenbaum"], ["created_at", "2018-03-22 04:43:30.772538"], ["updated_at", "2018-03-22 04:43:30.772538"]]  (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", "Susanna Schneider"], ["service_delivery_unit_id", 51], ["LIMIT", 1]] SQL (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", "Susanna Schneider"], ["name", "Alessandra Oga"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 51], ["created_at", "2018-03-22 04:43:30.776954"], ["updated_at", "2018-03-22 04:43:30.776954"]]  (1.0ms) 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", "Antonio Rau"], ["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", "Raina Stark"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Antonio Rau"], ["name", "Raina Stark"], ["created_at", "2018-03-22 04:43:30.783745"], ["updated_at", "2018-03-22 04:43:30.783745"]]  (0.4ms) 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", "Nena Cronin"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nena Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.790696"], ["updated_at", "2018-03-22 04:43:30.790696"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ehtel Lubowitz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ehtel Lubowitz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:30.795010"], ["updated_at", "2018-03-22 04:43:30.795010"]]  (0.4ms) 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", "Susanna Schneider"], ["service_delivery_unit_id", 51], ["LIMIT", 1]] 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", 51], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "yvette_mosciski@carter.ca"], ["LIMIT", 1]] SQL (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", "America Keebler"], ["last_name", "Darryl Casper"], ["email", "yvette_mosciski@carter.ca"], ["password_digest", "$2a$04$1iHbIHPm4rOEoSYOnYPPpOiii1SEVkFlYbcN2GsBXG/EuNAEQGmZO"], ["created_at", "2018-03-22 04:43:30.820725"], ["updated_at", "2018-03-22 04:43:30.820725"]]  (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", "may@hauck.name"], ["LIMIT", 1]] SQL (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", "Margaret Schaefer"], ["last_name", "Beverley Kemmer"], ["email", "may@hauck.name"], ["password_digest", "$2a$04$O.qO//Z/wUGtKbh4aEUcT.kF4oVu661OKSyTUGP5xNSG37nSuWcku"], ["created_at", "2018-03-22 04:43:30.828993"], ["updated_at", "2018-03-22 04:43:30.828993"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lorita Ondricka"], ["LIMIT", 1]] SQL (1.4ms) 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", "Lorita Ondricka"], ["authorized_by", "Kaitlin Treutel"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 44], ["approved_by_id", 45], ["created_at", "2018-03-22 04:43:30.834396"], ["updated_at", "2018-03-22 04:43:30.834396"]]  (1.0ms) 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" = $1 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Lorita Ondricka"], ["id", 1], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (1.2ms) 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", "lorina@vonruedenhammes.biz"], ["LIMIT", 1]] SQL (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", "Sudie Reynolds"], ["last_name", "Kathey Kunde"], ["email", "lorina@vonruedenhammes.biz"], ["password_digest", "$2a$04$fFWY/TkYcW9a2IZdGacWyeGskekgcSFcPEwe6ThXECO1g9nB5bA52"], ["created_at", "2018-03-22 04:43:30.849937"], ["updated_at", "2018-03-22 04:43:30.849937"]]  (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", "brandon_walsh@mclaughlin.co.uk"], ["LIMIT", 1]] SQL (0.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", "Georgianne Waelchi"], ["last_name", "Randy Carroll"], ["email", "brandon_walsh@mclaughlin.co.uk"], ["password_digest", "$2a$04$/JZTUvRMzKZHNolEmVntGudRPNpTim7lH0TyxOV43s7uTUuhB1Ctq"], ["created_at", "2018-03-22 04:43:30.856280"], ["updated_at", "2018-03-22 04:43:30.856280"]]  (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", "Flor Orn"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.7ms) 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", "gail@rosenbaum.co.uk"], ["LIMIT", 1]] SQL (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", "Angla Connelly"], ["last_name", "Aurore Deckow"], ["email", "gail@rosenbaum.co.uk"], ["password_digest", "$2a$04$GKRkj4KRDXsiNKN2R47JAO6uShRtjmPRKVtPMHq6k84EyARcIg7EG"], ["created_at", "2018-03-22 04:43:30.868161"], ["updated_at", "2018-03-22 04:43:30.868161"]]  (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", "emory@borer.us"], ["LIMIT", 1]] SQL (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", "Tom Luettgen"], ["last_name", "Kaila Botsford"], ["email", "emory@borer.us"], ["password_digest", "$2a$04$8c2Laon9s2ttA7XCA2GejeKRRehp/5PLIFPPbVu63MdBbdXqfD9xO"], ["created_at", "2018-03-22 04:43:30.873731"], ["updated_at", "2018-03-22 04:43:30.873731"]]  (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" IS NULL LIMIT $1 [["LIMIT", 1]]  (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", "doretha@considinebalistreri.com"], ["LIMIT", 1]] SQL (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", "Keven Orn"], ["last_name", "Flora Dach"], ["email", "doretha@considinebalistreri.com"], ["password_digest", "$2a$04$OxnTYHG4o.wualb25tFjIuqpw4rQkjzCPd6AFGjL1ri3l/8RbJxjG"], ["created_at", "2018-03-22 04:43:30.886087"], ["updated_at", "2018-03-22 04:43:30.886087"]]  (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", "jodi@lubowitz.info"], ["LIMIT", 1]] SQL (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", "Kyla Wisozk"], ["last_name", "Francis Schumm"], ["email", "jodi@lubowitz.info"], ["password_digest", "$2a$04$pI0Wnlhpu77XQVbKEn4bSul.jFrtxKND4xA5JJw87r0CeyP3ZeaPS"], ["created_at", "2018-03-22 04:43:30.892261"], ["updated_at", "2018-03-22 04:43:30.892261"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vanesa Nader"], ["LIMIT", 1]] SQL (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", "Vanesa Nader"], ["authorized_by", "Angelita Bradtke"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 50], ["approved_by_id", 51], ["created_at", "2018-03-22 04:43:30.897382"], ["updated_at", "2018-03-22 04:43:30.897382"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "torrie@heidenreich.us"], ["LIMIT", 1]] SQL (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", "Taylor Kub"], ["last_name", "Vonnie Goldner"], ["email", "torrie@heidenreich.us"], ["password_digest", "$2a$04$pOf4Z01brgTEcyx25X8IC.vyVOFJNb7M4m7bg/3qNVuMvUlUQnYwi"], ["created_at", "2018-03-22 04:43:30.904292"], ["updated_at", "2018-03-22 04:43:30.904292"]]  (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", "cassey_hoppe@hessel.info"], ["LIMIT", 1]] SQL (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", "Refugio Hegmann"], ["last_name", "Gerry Gusikowski"], ["email", "cassey_hoppe@hessel.info"], ["password_digest", "$2a$04$EAaRMDb6Siv9C4jZml8oRuXzZ28.X9RRHVMuRoG0wZ/cIyK0o/dBK"], ["created_at", "2018-03-22 04:43:30.910244"], ["updated_at", "2018-03-22 04:43:30.910244"]]  (0.7ms) 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", "Vanesa Nader"], ["LIMIT", 1]]  (0.7ms) 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", "camellia_barton@kerlukewintheiser.name"], ["LIMIT", 1]] SQL (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", "Carola Lindgren"], ["last_name", "Van Ruecker"], ["email", "camellia_barton@kerlukewintheiser.name"], ["password_digest", "$2a$04$HCyHZQ7X0nNzNm/kRfX4X.fNro4WY8CZnt15.lih5H9Gtf1Y6W4le"], ["created_at", "2018-03-22 04:43:30.923428"], ["updated_at", "2018-03-22 04:43:30.923428"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "warren_moen@wardlehner.ca"], ["LIMIT", 1]] SQL (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", "Artie Rath"], ["last_name", "Edelmira Bechtelar"], ["email", "warren_moen@wardlehner.ca"], ["password_digest", "$2a$04$leRDKmIa5udRYlNyuZJzkulF6mhcrSx8MUoE1N/95SEv99Ao7Jvd6"], ["created_at", "2018-03-22 04:43:30.930309"], ["updated_at", "2018-03-22 04:43:30.930309"]]  (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", "Olin Carroll"], ["LIMIT", 1]]  (0.5ms) 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", "candy_weber@halvorson.name"], ["LIMIT", 1]] SQL (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", "Kenda Torphy"], ["last_name", "Janina Kiehn"], ["email", "candy_weber@halvorson.name"], ["password_digest", "$2a$04$V0QXFMMg1cqn0fokbvPh2OcjQDidkt3hmftwNQAbPxIrEL1kFuoI."], ["created_at", "2018-03-22 04:43:30.941473"], ["updated_at", "2018-03-22 04:43:30.941473"]]  (0.6ms) 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", "gino.lowe@beerthiel.ca"], ["LIMIT", 1]] SQL (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", "Azalee Casper"], ["last_name", "Jerlene Schmidt"], ["email", "gino.lowe@beerthiel.ca"], ["password_digest", "$2a$04$bEcd3jN6fYoPBTuYuQsykuNma4xDd3lOboEa0tP5bRH3kQ1o41gcS"], ["created_at", "2018-03-22 04:43:30.948642"], ["updated_at", "2018-03-22 04:43:30.948642"]]  (0.6ms) RELEASE 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", "Wendi Swaniawski"], ["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", "deann.carroll@larkindouglas.co.uk"], ["LIMIT", 1]] SQL (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", "Joette Hansen"], ["last_name", "Aron Morissette"], ["email", "deann.carroll@larkindouglas.co.uk"], ["password_digest", "$2a$04$bYegNRcrffbfpbhbkOaJ5en3x8TTOSvCilhfybNR5bZmIxdUPD6ze"], ["created_at", "2018-03-22 04:43:30.962205"], ["updated_at", "2018-03-22 04:43:30.962205"]]  (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", "lakisha@pouros.us"], ["LIMIT", 1]] SQL (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", "Jaquelyn Grant"], ["last_name", "Josephina Greenfelder"], ["email", "lakisha@pouros.us"], ["password_digest", "$2a$04$D6JYmZz3xV2vqX6iFp7WKetO4za.UdArl8sTtc/ULzvPvJO5ILFem"], ["created_at", "2018-03-22 04:43:30.968555"], ["updated_at", "2018-03-22 04:43:30.968555"]]  (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 LIMIT $2 [["reference_number", "Jona Pollich"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "so_leuschke@gerhold.ca"], ["LIMIT", 1]] SQL (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", "Kittie Walker"], ["last_name", "Melvina Turcotte"], ["email", "so_leuschke@gerhold.ca"], ["password_digest", "$2a$04$cTW0CxMbGN/WyZKIc7tvlerpkYh2afLYzVjx6Zdx7320.8N2oRdv6"], ["created_at", "2018-03-22 04:43:30.980401"], ["updated_at", "2018-03-22 04:43:30.980401"]]  (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", "spencer.donnelly@lind.name"], ["LIMIT", 1]] SQL (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", "Lindsay Rogahn"], ["last_name", "Beau Roob"], ["email", "spencer.donnelly@lind.name"], ["password_digest", "$2a$04$JdcIEMN7xPQWR6eWtd5RJOYT2Q4EzduL0eaYrQdUGS90DEptlQwue"], ["created_at", "2018-03-22 04:43:30.986538"], ["updated_at", "2018-03-22 04:43:30.986538"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Jerold Kiehn"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "luvenia@lindgren.biz"], ["LIMIT", 1]] SQL (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", "Toccara Ratke"], ["last_name", "Chelsie Dare"], ["email", "luvenia@lindgren.biz"], ["password_digest", "$2a$04$o.9N2xdWk4qURV3asBlg7.iwgHjDlA9ofungPmahnVItcgUHO0Kv6"], ["created_at", "2018-03-22 04:43:30.998674"], ["updated_at", "2018-03-22 04:43:30.998674"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Stephnie Anderson"], ["LIMIT", 1]] SQL (0.9ms) 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", "Stephnie Anderson"], ["authorized_by", "Kristofer Hilpert"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 62], ["created_at", "2018-03-22 04:43:31.002891"], ["updated_at", "2018-03-22 04:43:31.002891"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) 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", "Stephnie Anderson"], ["id", 3], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Ed Jacobs"], ["LIMIT", 1]] SQL (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", "Ed Jacobs"], ["name", "Irma Reichel"], ["address", "Rayna Hane"], ["created_at", "2018-03-22 04:43:31.012051"], ["updated_at", "2018-03-22 04:43:31.012051"]]  (0.4ms) 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", "Kimbra Bruen"], ["LIMIT", 1]] SQL (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", "Kimbra Bruen"], ["name", "Ardelia Marvin"], ["description", "Erich Gutkowski"], ["service_delivery_unit_id", 52], ["created_at", "2018-03-22 04:43:31.016943"], ["updated_at", "2018-03-22 04:43:31.016943"]]  (0.6ms) 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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Kimbra Bruen"], ["id", 21], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Delma Stark"], ["LIMIT", 1]] SQL (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", "Delma Stark"], ["name", "Yoshie Dickinson"], ["address", "Emelia Roob"], ["created_at", "2018-03-22 04:43:31.025670"], ["updated_at", "2018-03-22 04:43:31.025670"]]  (0.5ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Linh Adams"], ["LIMIT", 1]] SQL (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", "Linh Adams"], ["name", "Leticia Littel"], ["address", "Anastacia VonRueden"], ["created_at", "2018-03-22 04:43:31.035902"], ["updated_at", "2018-03-22 04:43:31.035902"]]  (0.5ms) 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", "William Hartmann"], ["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", "Cris Metz"], ["LIMIT", 1]] SQL (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", "Cris Metz"], ["name", "Billie Halvorson"], ["address", "Karma Macejkovic"], ["created_at", "2018-03-22 04:43:31.045068"], ["updated_at", "2018-03-22 04:43:31.045068"]]  (0.7ms) 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", "Elsa Hayes"], ["LIMIT", 1]] SQL (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", "Elsa Hayes"], ["name", "Lovie Dickinson"], ["description", "Dawne Herzog"], ["service_delivery_unit_id", 55], ["created_at", "2018-03-22 04:43:31.050920"], ["updated_at", "2018-03-22 04:43:31.050920"]]  (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", "Carol Hahn"], ["LIMIT", 1]] SQL (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", "Carol Hahn"], ["name", "Sarai Runolfsson"], ["address", "Madie Labadie"], ["created_at", "2018-03-22 04:43:31.056958"], ["updated_at", "2018-03-22 04:43:31.056958"]]  (0.5ms) RELEASE 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", "Elsa Hayes"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.4ms) 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", "Keshia Kris"], ["LIMIT", 1]] SQL (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", "Keshia Kris"], ["name", "Wilber Price"], ["address", "Talitha Frami"], ["created_at", "2018-03-22 04:43:31.067553"], ["updated_at", "2018-03-22 04:43:31.067553"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Royce Wyman"], ["LIMIT", 1]] SQL (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", "Royce Wyman"], ["name", "Bettye Leffler"], ["description", "Leota O'Connell"], ["service_delivery_unit_id", 57], ["created_at", "2018-03-22 04:43:31.073301"], ["updated_at", "2018-03-22 04:43:31.073301"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Shemika Osinski"], ["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", "Cindy Bayer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shemika Osinski"], ["name", "Cindy Bayer"], ["created_at", "2018-03-22 04:43:31.080540"], ["updated_at", "2018-03-22 04:43:31.080540"]]  (0.4ms) 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", "Roy Goyette"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roy Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.084746"], ["updated_at", "2018-03-22 04:43:31.084746"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Keri O'Reilly"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Keri O'Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.088762"], ["updated_at", "2018-03-22 04:43:31.088762"]]  (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", "Carlos Witting"], ["LIMIT", 1]] SQL (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", "Carlos Witting"], ["name", "Colton Hamill"], ["address", "Lizabeth Blanda"], ["created_at", "2018-03-22 04:43:31.093442"], ["updated_at", "2018-03-22 04:43:31.093442"]]  (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", "Catheryn Lind"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] SQL (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", "Catheryn Lind"], ["name", "Ginette Kub"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 58], ["created_at", "2018-03-22 04:43:31.100667"], ["updated_at", "2018-03-22 04:43:31.100667"]]  (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", "Addie Conn"], ["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", "Erline Schaefer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Addie Conn"], ["name", "Erline Schaefer"], ["created_at", "2018-03-22 04:43:31.106487"], ["updated_at", "2018-03-22 04:43:31.106487"]]  (0.4ms) 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", "Jasmine Botsford"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jasmine Botsford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.110903"], ["updated_at", "2018-03-22 04:43:31.110903"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Olen Kilback"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Olen Kilback"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.115277"], ["updated_at", "2018-03-22 04:43:31.115277"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Alyce Conroy"], ["LIMIT", 1]] SQL (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", "Alyce Conroy"], ["name", "Matha Lemke"], ["address", "Darlene Wisoky"], ["created_at", "2018-03-22 04:43:31.119683"], ["updated_at", "2018-03-22 04:43:31.119683"]]  (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", "Christie Beer"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] SQL (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", "Christie Beer"], ["name", "Junior Lueilwitz"], ["service_type_id", 38], ["base_unit_id", 63], ["utilization_unit_id", 64], ["service_delivery_unit_id", 59], ["created_at", "2018-03-22 04:43:31.124450"], ["updated_at", "2018-03-22 04:43:31.124450"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Myrtice Konopelski"], ["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", "Winnifred Schmidt"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myrtice Konopelski"], ["name", "Winnifred Schmidt"], ["created_at", "2018-03-22 04:43:31.130975"], ["updated_at", "2018-03-22 04:43:31.130975"]]  (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", "Raelene Collins"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Raelene Collins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.135272"], ["updated_at", "2018-03-22 04:43:31.135272"]]  (0.4ms) 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", "Camie Dietrich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Camie Dietrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.139521"], ["updated_at", "2018-03-22 04:43:31.139521"]]  (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", "Bud Hoppe"], ["LIMIT", 1]] SQL (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", "Bud Hoppe"], ["name", "Dia Toy"], ["address", "Tatiana Block"], ["created_at", "2018-03-22 04:43:31.144113"], ["updated_at", "2018-03-22 04:43:31.144113"]]  (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", "Major Hintz"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] SQL (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", "Major Hintz"], ["name", "Lauran Hickle"], ["service_type_id", 39], ["base_unit_id", 65], ["utilization_unit_id", 66], ["service_delivery_unit_id", 60], ["created_at", "2018-03-22 04:43:31.148588"], ["updated_at", "2018-03-22 04:43:31.148588"]]  (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", "Barbara Bruen"], ["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", "Rosaline Kerluke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Barbara Bruen"], ["name", "Rosaline Kerluke"], ["created_at", "2018-03-22 04:43:31.154930"], ["updated_at", "2018-03-22 04:43:31.154930"]]  (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", "Dusty Koss"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dusty Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.160276"], ["updated_at", "2018-03-22 04:43:31.160276"]]  (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", "Stephaine Torphy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stephaine Torphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.165695"], ["updated_at", "2018-03-22 04:43:31.165695"]]  (0.5ms) 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", "Katelin Anderson"], ["LIMIT", 1]] SQL (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", "Katelin Anderson"], ["name", "Elmira Lowe"], ["address", "Latina Kuhlman"], ["created_at", "2018-03-22 04:43:31.169967"], ["updated_at", "2018-03-22 04:43:31.169967"]]  (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", "Shavon Daugherty"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] SQL (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", "Shavon Daugherty"], ["name", "Hyun Bosco"], ["service_type_id", 40], ["base_unit_id", 67], ["utilization_unit_id", 68], ["service_delivery_unit_id", 61], ["created_at", "2018-03-22 04:43:31.174229"], ["updated_at", "2018-03-22 04:43:31.174229"]]  (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", "Wally Hartmann"], ["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", "Stuart Rohan"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Wally Hartmann"], ["name", "Stuart Rohan"], ["created_at", "2018-03-22 04:43:31.180378"], ["updated_at", "2018-03-22 04:43:31.180378"]]  (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", "Sol Wuckert"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sol Wuckert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.184945"], ["updated_at", "2018-03-22 04:43:31.184945"]]  (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", "Glady Lakin"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Glady Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.189164"], ["updated_at", "2018-03-22 04:43:31.189164"]]  (0.5ms) 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", "Tomi Effertz"], ["LIMIT", 1]] SQL (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", "Tomi Effertz"], ["name", "Narcisa Connelly"], ["address", "Allison Mertz"], ["created_at", "2018-03-22 04:43:31.193364"], ["updated_at", "2018-03-22 04:43:31.193364"]]  (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", "Gabriele Ziemann"], ["service_delivery_unit_id", 62], ["LIMIT", 1]] SQL (0.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", "Gabriele Ziemann"], ["name", "Christinia McGlynn"], ["service_type_id", 41], ["base_unit_id", 69], ["utilization_unit_id", 70], ["service_delivery_unit_id", 62], ["created_at", "2018-03-22 04:43:31.198253"], ["updated_at", "2018-03-22 04:43:31.198253"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Athena Lind"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Wava Barrows"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Athena Lind"], ["name", "Wava Barrows"], ["created_at", "2018-03-22 04:43:31.203683"], ["updated_at", "2018-03-22 04:43:31.203683"]]  (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", "Denise Wolf"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Denise Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.207925"], ["updated_at", "2018-03-22 04:43:31.207925"]]  (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", "Larry Douglas"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Larry Douglas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.212338"], ["updated_at", "2018-03-22 04:43:31.212338"]]  (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", "Andria Ernser"], ["LIMIT", 1]] SQL (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", "Andria Ernser"], ["name", "Maxie Bruen"], ["address", "Sherwood Corwin"], ["created_at", "2018-03-22 04:43:31.216477"], ["updated_at", "2018-03-22 04:43:31.216477"]]  (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", "Oralia Sipes"], ["service_delivery_unit_id", 63], ["LIMIT", 1]] SQL (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", "Oralia Sipes"], ["name", "Richelle VonRueden"], ["service_type_id", 42], ["base_unit_id", 71], ["utilization_unit_id", 72], ["service_delivery_unit_id", 63], ["created_at", "2018-03-22 04:43:31.220712"], ["updated_at", "2018-03-22 04:43:31.220712"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 24], ["service_bundle_id", 23], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:43:31.224361"], ["updated_at", "2018-03-22 04:43:31.224361"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 25], ["service_bundle_id", 23], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:43:31.228025"], ["updated_at", "2018-03-22 04:43:31.228025"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "mks_rate_bundle_discounts" ("chargeable_service_id", "service_bundle_id", "percent_discount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 26], ["service_bundle_id", 23], ["percent_discount", 11.5], ["created_at", "2018-03-22 04:43:31.231658"], ["updated_at", "2018-03-22 04:43:31.231658"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.4ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_bundle_discounts" ON "mks_rate_chargeable_services"."id" = "mks_rate_bundle_discounts"."chargeable_service_id" WHERE "mks_rate_bundle_discounts"."service_bundle_id" = $1 [["service_bundle_id", 23]]  (0.6ms) 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", "Tommy Donnelly"], ["LIMIT", 1]] SQL (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", "Tommy Donnelly"], ["name", "Karlyn Nolan"], ["address", "Teresa DuBuque"], ["created_at", "2018-03-22 04:43:31.259452"], ["updated_at", "2018-03-22 04:43:31.259452"]]  (0.7ms) RELEASE 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Tommy Donnelly"], ["id", 64], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) 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.4ms) 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", "Cherri Lebsack"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "Elana Hagenes"], ["LIMIT", 1]] SQL (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", "Elana Hagenes"], ["name", "Augustine Zulauf"], ["address", "Aldo Mayer"], ["created_at", "2018-03-22 04:43:31.281770"], ["updated_at", "2018-03-22 04:43:31.281770"]]  (0.4ms) 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 LIMIT $2 [["code", "Elana Hagenes"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Efren Ledner"], ["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", "Camila Crist"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Efren Ledner"], ["name", "Camila Crist"], ["description", "Repudiandae et dolorum veritatis praesentium iure. Saepe vero accusantium maiores harum voluptatem. Sed reiciendis repudiandae eum qui dolores consequuntur culpa dolor. Laboriosam officiis ullam qui natus distinctio incidunt dolores. Odio at natus est dignissimos dolorum cupiditate dolor sapiente."], ["created_at", "2018-03-22 04:43:31.297582"], ["updated_at", "2018-03-22 04:43:31.297582"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Israel Fisher"], ["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", "Kevin Morissette"], ["LIMIT", 1]] SQL (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", "Israel Fisher"], ["name", "Kevin Morissette"], ["description", "Necessitatibus repudiandae aperiam omnis voluptatem perspiciatis vel amet totam. Eligendi id quia molestiae consectetur dolores totam. Rerum explicabo commodi nobis sed. Perspiciatis corrupti maiores aut delectus suscipit."], ["equipment_type_id", 7], ["created_at", "2018-03-22 04:43:31.304735"], ["updated_at", "2018-03-22 04:43:31.304735"]]  (0.5ms) 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", "Carisa Hilll"], ["LIMIT", 1]] SQL (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", "Carisa Hilll"], ["name", "Lavenia Osinski"], ["description", "Rocio Fritsch"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-03-22 04:43:31.309820"], ["updated_at", "2018-03-22 04:43:31.309820"]]  (0.8ms) 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", "Wade Beatty"], ["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", "Scarlet Krajcik"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Wade Beatty"], ["name", "Scarlet Krajcik"], ["description", "Nadia Gorczany"], ["created_at", "2018-03-22 04:43:31.318010"], ["updated_at", "2018-03-22 04:43:31.318010"]]  (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", "Jule Erdman"], ["LIMIT", 1]] SQL (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", "Jule Erdman"], ["name", "Andre Stehr"], ["location_type_id", 7], ["description", "Daria Greenfelder"], ["address", "Roscoe Kilback"], ["created_at", "2018-03-22 04:43:31.323120"], ["updated_at", "2018-03-22 04:43:31.323120"]]  (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", "Mariette Marquardt"], ["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", "Demetrius Hettinger"], ["LIMIT", 1]] SQL (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", "Mariette Marquardt"], ["name", "Mirian Borer"], ["description", "Edna Veum"], ["serial_number", "Demetrius Hettinger"], ["brand", "Norene Douglas"], ["item_model", "Stanford Hand"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-03-22 04:43:31.329721"], ["updated_at", "2018-03-22 04:43:31.329721"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Karl Glover"], ["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", "Colin Zboncak"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Karl Glover"], ["name", "Colin Zboncak"], ["created_at", "2018-03-22 04:43:31.336824"], ["updated_at", "2018-03-22 04:43:31.336824"]]  (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", "Wade Hirthe"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wade Hirthe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.342174"], ["updated_at", "2018-03-22 04:43:31.342174"]]  (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", "Kasha Pfannerstill"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kasha Pfannerstill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.347769"], ["updated_at", "2018-03-22 04:43:31.347769"]]  (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", "Gerardo Connelly"], ["LIMIT", 1]] SQL (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", "Gerardo Connelly"], ["name", "Huey Spencer"], ["address", "Susan Kling"], ["created_at", "2018-03-22 04:43:31.353632"], ["updated_at", "2018-03-22 04:43:31.353632"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Wilson Gerlach"], ["service_delivery_unit_id", 66], ["LIMIT", 1]] SQL (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", "Wilson Gerlach"], ["name", "Donnell Aufderhar"], ["service_type_id", 43], ["base_unit_id", 73], ["utilization_unit_id", 74], ["service_delivery_unit_id", 66], ["created_at", "2018-03-22 04:43:31.358705"], ["updated_at", "2018-03-22 04:43:31.358705"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 30], ["equipment_item_id", 7], ["created_at", "2018-03-22 04:43:31.363234"], ["updated_at", "2018-03-22 04:43:31.363234"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "Maragaret Prosacco"], ["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", "Ola Bogan"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maragaret Prosacco"], ["name", "Ola Bogan"], ["description", "Et aut odio et tenetur temporibus. Est et voluptas vel inventore. Nam non similique laudantium facere quia et eum consequuntur. At autem voluptatem et sit ut non quos."], ["created_at", "2018-03-22 04:43:31.375875"], ["updated_at", "2018-03-22 04:43:31.375875"]]  (0.7ms) 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", "Shonda Kub"], ["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", "Verline Stokes"], ["LIMIT", 1]] SQL (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", "Shonda Kub"], ["name", "Verline Stokes"], ["description", "Molestiae sit id quo officiis asperiores et sit. Omnis sunt officiis voluptates voluptatem est voluptas autem. Unde maxime molestiae totam similique occaecati consequuntur ipsam. Quisquam beatae eum facere tenetur asperiores rem consequatur necessitatibus."], ["equipment_type_id", 8], ["created_at", "2018-03-22 04:43:31.382669"], ["updated_at", "2018-03-22 04:43:31.382669"]]  (0.6ms) 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", "Cythia Spencer"], ["LIMIT", 1]] SQL (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", "Cythia Spencer"], ["name", "Dorian Hansen"], ["description", "Lindsay Armstrong"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-03-22 04:43:31.387550"], ["updated_at", "2018-03-22 04:43:31.387550"]]  (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", "Johna Connelly"], ["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", "Cristine Satterfield"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Johna Connelly"], ["name", "Cristine Satterfield"], ["description", "Raylene VonRueden"], ["created_at", "2018-03-22 04:43:31.394813"], ["updated_at", "2018-03-22 04:43:31.394813"]]  (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", "Waylon Bayer"], ["LIMIT", 1]] SQL (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", "Waylon Bayer"], ["name", "Merrie Kohler"], ["location_type_id", 8], ["description", "Fairy O'Keefe"], ["address", "Davis Gorczany"], ["created_at", "2018-03-22 04:43:31.400285"], ["updated_at", "2018-03-22 04:43:31.400285"]]  (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", "Holley Daniel"], ["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", "Fidelia Kris"], ["LIMIT", 1]] SQL (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", "Holley Daniel"], ["name", "Genoveva Lynch"], ["description", "Kimberely Paucek"], ["serial_number", "Fidelia Kris"], ["brand", "Homer Kemmer"], ["item_model", "Jules Mitchell"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-03-22 04:43:31.407672"], ["updated_at", "2018-03-22 04:43:31.407672"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Giovanna Larkin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Charise Wuckert"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Giovanna Larkin"], ["name", "Charise Wuckert"], ["created_at", "2018-03-22 04:43:31.415874"], ["updated_at", "2018-03-22 04:43:31.415874"]]  (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", "Irene Daniel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Irene Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.421387"], ["updated_at", "2018-03-22 04:43:31.421387"]]  (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", "Joslyn White"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joslyn White"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.427171"], ["updated_at", "2018-03-22 04:43:31.427171"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Genevieve Rodriguez"], ["LIMIT", 1]] SQL (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", "Genevieve Rodriguez"], ["name", "Izola Ryan"], ["address", "Melody Wilderman"], ["created_at", "2018-03-22 04:43:31.432766"], ["updated_at", "2018-03-22 04:43:31.432766"]]  (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", "Jerry Turner"], ["service_delivery_unit_id", 67], ["LIMIT", 1]] SQL (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", "Jerry Turner"], ["name", "Eli Sanford"], ["service_type_id", 44], ["base_unit_id", 75], ["utilization_unit_id", 76], ["service_delivery_unit_id", 67], ["created_at", "2018-03-22 04:43:31.438330"], ["updated_at", "2018-03-22 04:43:31.438330"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) 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", "Francene Jewess"], ["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", "Mallie Schmeler"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Francene Jewess"], ["name", "Mallie Schmeler"], ["description", "Ea praesentium qui voluptatem quo explicabo numquam. Laboriosam consequatur aliquid ipsam sunt cumque. Sint amet est maxime aut distinctio magni doloribus aliquam. Sed nulla est velit odio debitis."], ["created_at", "2018-03-22 04:43:31.456382"], ["updated_at", "2018-03-22 04:43:31.456382"]]  (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", "Su Gutkowski"], ["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", "Catalina Kiehn"], ["LIMIT", 1]] SQL (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", "Su Gutkowski"], ["name", "Catalina Kiehn"], ["description", "Minima accusamus facere distinctio tempora ipsa quas eligendi. Sint perspiciatis dolor fugiat sapiente vero velit omnis. Accusamus nihil sit quo aut ducimus."], ["equipment_type_id", 9], ["created_at", "2018-03-22 04:43:31.462458"], ["updated_at", "2018-03-22 04:43:31.462458"]]  (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", "Daphine Heaney"], ["LIMIT", 1]] SQL (0.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", "Daphine Heaney"], ["name", "Malika Schiller"], ["description", "Melissa Grady"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-03-22 04:43:31.466754"], ["updated_at", "2018-03-22 04:43:31.466754"]]  (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", "Val Runolfsson"], ["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", "Omega Gusikowski"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Val Runolfsson"], ["name", "Omega Gusikowski"], ["description", "Lelah Kuhlman"], ["created_at", "2018-03-22 04:43:31.472758"], ["updated_at", "2018-03-22 04:43:31.472758"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Buck Quitzon"], ["LIMIT", 1]] SQL (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", "Buck Quitzon"], ["name", "Barry D'Amore"], ["location_type_id", 9], ["description", "Francesca Purdy"], ["address", "Trevor Gusikowski"], ["created_at", "2018-03-22 04:43:31.478219"], ["updated_at", "2018-03-22 04:43:31.478219"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Kathey Paucek"], ["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", "Myrl Howe"], ["LIMIT", 1]] SQL (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", "Kathey Paucek"], ["name", "Leah Jewess"], ["description", "Shan Ullrich"], ["serial_number", "Myrl Howe"], ["brand", "Tonya Medhurst"], ["item_model", "Bettina Torphy"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-03-22 04:43:31.484919"], ["updated_at", "2018-03-22 04:43:31.484919"]]  (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", "Shavon Abernathy"], ["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", "Augustus Crist"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shavon Abernathy"], ["name", "Augustus Crist"], ["created_at", "2018-03-22 04:43:31.490760"], ["updated_at", "2018-03-22 04:43:31.490760"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Emmaline Wehner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Emmaline Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.495871"], ["updated_at", "2018-03-22 04:43:31.495871"]]  (0.4ms) 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", "Goldie Deckow"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Goldie Deckow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.500449"], ["updated_at", "2018-03-22 04:43:31.500449"]]  (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", "Andrea Murazik"], ["LIMIT", 1]] SQL (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", "Andrea Murazik"], ["name", "Maia Kemmer"], ["address", "Bethann Corwin"], ["created_at", "2018-03-22 04:43:31.504611"], ["updated_at", "2018-03-22 04:43:31.504611"]]  (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", "Evelin Keebler"], ["service_delivery_unit_id", 68], ["LIMIT", 1]] SQL (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", "Evelin Keebler"], ["name", "Beulah Davis"], ["service_type_id", 45], ["base_unit_id", 77], ["utilization_unit_id", 78], ["service_delivery_unit_id", 68], ["created_at", "2018-03-22 04:43:31.509001"], ["updated_at", "2018-03-22 04:43:31.509001"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Lenny Swaniawski"], ["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", "Darla Bruen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lenny Swaniawski"], ["name", "Darla Bruen"], ["description", "Officiis soluta inventore reprehenderit vel laboriosam nisi fugiat. Ad velit corrupti aut odit doloremque ut. Enim praesentium nihil dolor quia. Omnis incidunt maiores quia non ratione beatae fugit omnis. Quia modi quia fugiat ad beatae debitis facilis."], ["created_at", "2018-03-22 04:43:31.519067"], ["updated_at", "2018-03-22 04:43:31.519067"]]  (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", "Ozie DuBuque"], ["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", "Brigette Abernathy"], ["LIMIT", 1]] SQL (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", "Ozie DuBuque"], ["name", "Brigette Abernathy"], ["description", "Eaque odio consequuntur fuga a sit rerum blanditiis voluptate. Odit tempora necessitatibus sunt quia eos quis. Laborum qui quia a est dignissimos quis fugit. Quia esse est quibusdam nostrum rerum et assumenda sint."], ["equipment_type_id", 10], ["created_at", "2018-03-22 04:43:31.524190"], ["updated_at", "2018-03-22 04:43:31.524190"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Yang Marks"], ["LIMIT", 1]] SQL (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", "Yang Marks"], ["name", "Gus Zemlak"], ["description", "Chieko Mayer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-03-22 04:43:31.529278"], ["updated_at", "2018-03-22 04:43:31.529278"]]  (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", "Arleen Romaguera"], ["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", "Edgardo Padberg"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Arleen Romaguera"], ["name", "Edgardo Padberg"], ["description", "Demetria Skiles"], ["created_at", "2018-03-22 04:43:31.534880"], ["updated_at", "2018-03-22 04:43:31.534880"]]  (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", "Vikki Krajcik"], ["LIMIT", 1]] SQL (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", "Vikki Krajcik"], ["name", "Paz Rutherford"], ["location_type_id", 10], ["description", "Hanh Zboncak"], ["address", "Leone Kulas"], ["created_at", "2018-03-22 04:43:31.538778"], ["updated_at", "2018-03-22 04:43:31.538778"]]  (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", "Denny Leannon"], ["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", "Mitsuko Mayert"], ["LIMIT", 1]] SQL (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", "Denny Leannon"], ["name", "Noah Bergnaum"], ["description", "Elissa Hermann"], ["serial_number", "Mitsuko Mayert"], ["brand", "Merna Hintz"], ["item_model", "Jason Gorczany"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-03-22 04:43:31.544472"], ["updated_at", "2018-03-22 04:43:31.544472"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (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", "Odilia Dickinson"], ["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", "Darla Muller"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Odilia Dickinson"], ["name", "Darla Muller"], ["created_at", "2018-03-22 04:43:31.556351"], ["updated_at", "2018-03-22 04:43:31.556351"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) 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", "Odilia Dickinson"], ["id", 46], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.5ms) 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", "Darla Muller"], ["id", 46], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceType Exists (0.7ms) 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.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Avery Oga"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN 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", "Yoshie Larkin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Fatima Zboncak"], ["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", "Eliza Pollich"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Fatima Zboncak"], ["name", "Eliza Pollich"], ["created_at", "2018-03-22 04:43:31.579221"], ["updated_at", "2018-03-22 04:43:31.579221"]]  (0.4ms) RELEASE 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", "Fatima Zboncak"], ["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", "Lucie Pagac"], ["LIMIT", 1]]  (0.5ms) 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", "Titus Ferry"], ["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", "Haley Kilback"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Titus Ferry"], ["name", "Haley Kilback"], ["created_at", "2018-03-22 04:43:31.591410"], ["updated_at", "2018-03-22 04:43:31.591410"]]  (0.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", "Carley Koepp"], ["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", "Haley Kilback"], ["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", "Cara Rohan"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::UnitOfCharge Exists (0.8ms) 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.4ms) 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", "Louis Kiehn"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Marcel Mraz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marcel Mraz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.616758"], ["updated_at", "2018-03-22 04:43:31.616758"]]  (0.4ms) RELEASE 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", "Marcel Mraz"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) 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", "Madaline Ruecker"], ["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", "Cecile Mraz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Madaline Ruecker"], ["name", "Cecile Mraz"], ["created_at", "2018-03-22 04:43:31.627154"], ["updated_at", "2018-03-22 04:43:31.627154"]]  (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", "Loretta Crooks"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Loretta Crooks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.631480"], ["updated_at", "2018-03-22 04:43:31.631480"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Pamala Quigley"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pamala Quigley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.637226"], ["updated_at", "2018-03-22 04:43:31.637226"]]  (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", "Domonique Jerde"], ["LIMIT", 1]] SQL (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", "Domonique Jerde"], ["name", "Jeanine McDermott"], ["address", "Evie Labadie"], ["created_at", "2018-03-22 04:43:31.642140"], ["updated_at", "2018-03-22 04:43:31.642140"]]  (1.0ms) 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", "Soo Tremblay"], ["service_delivery_unit_id", 69], ["LIMIT", 1]] SQL (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", "Soo Tremblay"], ["name", "Marry Bauch"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 69], ["created_at", "2018-03-22 04:43:31.647633"], ["updated_at", "2018-03-22 04:43:31.647633"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Giselle Pacocha"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Patsy Zulauf"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Giselle Pacocha"], ["name", "Patsy Zulauf"], ["created_at", "2018-03-22 04:43:31.653203"], ["updated_at", "2018-03-22 04:43:31.653203"]]  (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", "Asuncion Murphy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Asuncion Murphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.657639"], ["updated_at", "2018-03-22 04:43:31.657639"]]  (0.4ms) 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", "Rocky Pollich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rocky Pollich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.662251"], ["updated_at", "2018-03-22 04:43:31.662251"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Arvilla Bosco"], ["LIMIT", 1]] SQL (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", "Arvilla Bosco"], ["name", "Claudine Ankunding"], ["address", "Lorrie West"], ["created_at", "2018-03-22 04:43:31.666321"], ["updated_at", "2018-03-22 04:43:31.666321"]]  (0.4ms) 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", "Cinda Daugherty"], ["service_delivery_unit_id", 70], ["LIMIT", 1]] SQL (0.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", "Cinda Daugherty"], ["name", "Jeanna Dooley"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 70], ["created_at", "2018-03-22 04:43:31.670409"], ["updated_at", "2018-03-22 04:43:31.670409"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Yer Hartmann"], ["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", "Denver Quitzon"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yer Hartmann"], ["name", "Denver Quitzon"], ["created_at", "2018-03-22 04:43:31.675901"], ["updated_at", "2018-03-22 04:43:31.675901"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Mahalia Barton"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mahalia Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.681299"], ["updated_at", "2018-03-22 04:43:31.681299"]]  (0.6ms) 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", "Luanna Hintz"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Luanna Hintz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.686376"], ["updated_at", "2018-03-22 04:43:31.686376"]]  (0.4ms) 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", "Lourdes Buckridge"], ["LIMIT", 1]] SQL (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", "Lourdes Buckridge"], ["name", "Maurice Bode"], ["address", "Eleanora Zemlak"], ["created_at", "2018-03-22 04:43:31.690650"], ["updated_at", "2018-03-22 04:43:31.690650"]]  (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", "Benton Jacobson"], ["service_delivery_unit_id", 71], ["LIMIT", 1]] SQL (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", "Benton Jacobson"], ["name", "Lydia Lind"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 71], ["created_at", "2018-03-22 04:43:31.695792"], ["updated_at", "2018-03-22 04:43:31.695792"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.5ms) 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", 33], ["LIMIT", 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", 34], ["LIMIT", 1]]  (0.4ms) 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", 33], ["LIMIT", 1]] SQL (0.8ms) 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", 33], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-03-22 04:43:31.702892"], ["updated_at", "2018-03-22 04:43:31.702892"]] 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", 34], ["LIMIT", 1]] SQL (0.8ms) 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", 34], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-03-22 04:43:31.705973"], ["updated_at", "2018-03-22 04:43:31.705973"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) 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", "Dell Simonis"], ["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", "Minnie Jacobson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dell Simonis"], ["name", "Minnie Jacobson"], ["created_at", "2018-03-22 04:43:31.715130"], ["updated_at", "2018-03-22 04:43:31.715130"]]  (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", "Evelia Krajcik"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Evelia Krajcik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.719403"], ["updated_at", "2018-03-22 04:43:31.719403"]]  (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", "Flavia Robel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Flavia Robel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-03-22 04:43:31.723909"], ["updated_at", "2018-03-22 04:43:31.723909"]]  (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", "Cathrine Prohaska"], ["LIMIT", 1]] SQL (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", "Cathrine Prohaska"], ["name", "Charlene Jenkins"], ["address", "Cristina White"], ["created_at", "2018-03-22 04:43:31.728933"], ["updated_at", "2018-03-22 04:43:31.728933"]]  (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", "Mona Pouros"], ["service_delivery_unit_id", 72], ["LIMIT", 1]] SQL (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", "Mona Pouros"], ["name", "Rosanne Hodkiewicz"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 72], ["created_at", "2018-03-22 04:43:31.733161"], ["updated_at", "2018-03-22 04:43:31.733161"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-03-22 04:43:31.736212"], ["updated_at", "2018-03-22 04:43:31.736212"]]  (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", 36], ["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", 36], ["LIMIT", 1]] SQL (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-03-22 04:43:31.741942"], ["id", 10]]  (0.7ms) 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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.9ms) 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", "nola@lind.info"], ["LIMIT", 1]] SQL (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", "Telma Moen"], ["last_name", "Meryl Abbott"], ["email", "nola@lind.info"], ["password_digest", "$2a$04$Nkdxp/ULsJ9EhbMsyZiSpuQnWaQqtB0TFvrllm8fpPO2mjGlIXGZm"], ["created_at", "2018-03-22 04:43:31.754943"], ["updated_at", "2018-03-22 04:43:31.754943"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "sarai_blick@mckenziekihn.co.uk"], ["LIMIT", 1]] SQL (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", "Dorian Dickens"], ["last_name", "Malorie Nitzsche"], ["email", "sarai_blick@mckenziekihn.co.uk"], ["password_digest", "$2a$04$sgZV3zBCS1jqB7aPG.tyfeabFKlk70hlRFIrHn8QuGmhywG5xDtMu"], ["created_at", "2018-03-22 04:43:31.762712"], ["updated_at", "2018-03-22 04:43:31.762712"]]  (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", "keneth@reynolds.com"], ["LIMIT", 1]] SQL (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", "Kala Robel"], ["last_name", "Myrle Bosco"], ["email", "keneth@reynolds.com"], ["password_digest", "$2a$04$f5NK2TXbjy2dEk7z5JOSYOHrnSYsbwRjQ44I9YkcfaTPTdIEv687K"], ["created_at", "2018-03-22 04:43:31.768636"], ["updated_at", "2018-03-22 04:43:31.768636"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Jannet Reilly"], ["LIMIT", 1]] SQL (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", "Jannet Reilly"], ["authorized_by", "Lizbeth Little"], ["effective_on", "2018-03-22"], ["authorized_on", "2018-03-22"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 64], ["approved_by_id", 65], ["created_at", "2018-03-22 04:43:31.772809"], ["updated_at", "2018-03-22 04:43:31.772809"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Jannet Reilly"], ["id", 4], ["LIMIT", 1]] SQL (1.3ms) 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", 63], ["updated_at", "2018-03-22 04:43:31.791382"], ["id", 4]]  (1.0ms) RELEASE SAVEPOINT active_record_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", 4], ["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", 63], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "mks_rate_bundle_discounts"  (0.4ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) ROLLBACK  (0.7ms) BEGIN  (1.0ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) ROLLBACK  (0.8ms) BEGIN  (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", "lanelle.schumm@heaney.biz"], ["LIMIT", 1]] SQL (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", "Felicia Cassin"], ["last_name", "Sandra Ondricka"], ["email", "lanelle.schumm@heaney.biz"], ["password_digest", "$2a$04$ayctMlEu/3iJ13UiGfR/buwtdeS0OsvEyUn1zlw.xvREWdaLz/LPu"], ["created_at", "2018-04-01 10:01:54.766660"], ["updated_at", "2018-04-01 10:01:54.766660"]]  (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", "Stasia Brown"], ["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", "Oliver Spinka"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Stasia Brown"], ["name", "Oliver Spinka"], ["created_at", "2018-04-01 10:01:54.796379"], ["updated_at", "2018-04-01 10:01:54.796379"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Ena Gibson"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ena Gibson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:54.847505"], ["updated_at", "2018-04-01 10:01:54.847505"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Virgilio Spinka"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Virgilio Spinka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:54.867776"], ["updated_at", "2018-04-01 10:01:54.867776"]]  (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", "Maryam Stroman"], ["LIMIT", 1]] SQL (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", "Maryam Stroman"], ["name", "Lavonna Abbott"], ["address", "Annis Oberbrunner"], ["created_at", "2018-04-01 10:01:54.884707"], ["updated_at", "2018-04-01 10:01:54.884707"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Dino Baumbach"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Dino Baumbach"], ["name", "Rebecca Zemlak"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 10:01:54.891099"], ["updated_at", "2018-04-01 10:01:54.891099"]]  (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", "Lyndon Hilpert"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Connie Littel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lyndon Hilpert"], ["name", "Connie Littel"], ["created_at", "2018-04-01 10:01:54.898084"], ["updated_at", "2018-04-01 10:01:54.898084"]]  (0.4ms) 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", "Staci Robel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Staci Robel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:54.902130"], ["updated_at", "2018-04-01 10:01:54.902130"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Meggan Walsh"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Meggan Walsh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:54.906124"], ["updated_at", "2018-04-01 10:01:54.906124"]]  (0.5ms) 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", "Rivka Emard"], ["LIMIT", 1]] SQL (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", "Rivka Emard"], ["name", "Tuan Conroy"], ["address", "Lakeesha Moore"], ["created_at", "2018-04-01 10:01:54.916566"], ["updated_at", "2018-04-01 10:01:54.916566"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Jaime Stracke"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Jaime Stracke"], ["name", "Jessia King"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-04-01 10:01:54.931318"], ["updated_at", "2018-04-01 10:01:54.931318"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Marguerite Botsford"], ["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", "Viola Jacobi"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marguerite Botsford"], ["name", "Viola Jacobi"], ["created_at", "2018-04-01 10:01:54.950365"], ["updated_at", "2018-04-01 10:01:54.950365"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Bobby Carroll"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bobby Carroll"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:54.964209"], ["updated_at", "2018-04-01 10:01:54.964209"]]  (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", "Deloise Lockman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Deloise Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:54.969660"], ["updated_at", "2018-04-01 10:01:54.969660"]]  (0.4ms) 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", "Drusilla Willms"], ["LIMIT", 1]] SQL (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", "Drusilla Willms"], ["name", "Myles Schuppe"], ["address", "Adam Hayes"], ["created_at", "2018-04-01 10:01:54.974730"], ["updated_at", "2018-04-01 10:01:54.974730"]]  (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", "Isaac Kertzmann"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Isaac Kertzmann"], ["name", "Marylou Wuckert"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-04-01 10:01:54.979262"], ["updated_at", "2018-04-01 10:01:54.979262"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML Mks::Auth::User Load (0.6ms) 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.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN (2, 3, 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", 3], ["LIMIT", 1]] [active_model_serializers] 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", 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", 5], ["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", 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] 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.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 (36.02ms) Completed 200 OK in 104ms (Views: 88.5ms | ActiveRecord: 11.3ms)  (1.1ms) ROLLBACK  (0.4ms) 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", "marjorie.schneider@hilll.com"], ["LIMIT", 1]] SQL (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", "Wendie Wolf"], ["last_name", "Idella Marquardt"], ["email", "marjorie.schneider@hilll.com"], ["password_digest", "$2a$04$xB6o90GHG/7C9MbyjyjW4.LNx.iNOzXPkj4DkApA3fKcCJULpV3ci"], ["created_at", "2018-04-01 10:01:55.098208"], ["updated_at", "2018-04-01 10:01:55.098208"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.6ms) 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", "Houston Douglas"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Houston Douglas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.105524"], ["updated_at", "2018-04-01 10:01:55.105524"]]  (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", "Kasha Rath"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kasha Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.111155"], ["updated_at", "2018-04-01 10:01:55.111155"]]  (0.6ms) 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", "Belkis West"], ["LIMIT", 1]] SQL (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", "Belkis West"], ["name", "Collette Armstrong"], ["address", "Deadra Skiles"], ["created_at", "2018-04-01 10:01:55.116310"], ["updated_at", "2018-04-01 10:01:55.116310"]]  (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", "Antonietta Stroman"], ["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", "Donald Deckow"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Antonietta Stroman"], ["name", "Donald Deckow"], ["created_at", "2018-04-01 10:01:55.123232"], ["updated_at", "2018-04-01 10:01:55.123232"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Jolynn Bode", "name"=>"Brittaney Mohr", "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]]  (1.0ms) 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", "Jolynn Bode"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.0ms) 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.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]] SQL (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", "Jolynn Bode"], ["name", "Brittaney Mohr"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-04-01 10:01:55.154631"], ["updated_at", "2018-04-01 10:01:55.154631"]]  (0.7ms) 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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.52ms) Completed 200 OK in 35ms (Views: 12.4ms | ActiveRecord: 8.8ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.6ms) ROLLBACK  (0.6ms) 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", "ardis.ruecker@jenkinsmoore.biz"], ["LIMIT", 1]] SQL (0.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", "Isaura Halvorson"], ["last_name", "Ollie Altenwerth"], ["email", "ardis.ruecker@jenkinsmoore.biz"], ["password_digest", "$2a$04$uDGB2qSutHSxjR67RH/XtuUSGTtd5hNYykGEkiCGb5xuE/zcCHQkK"], ["created_at", "2018-04-01 10:01:55.181992"], ["updated_at", "2018-04-01 10:01:55.181992"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Trudie Rogahn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Trudie Rogahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.186659"], ["updated_at", "2018-04-01 10:01:55.186659"]]  (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", "Zana Bahringer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zana Bahringer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.190902"], ["updated_at", "2018-04-01 10:01:55.190902"]]  (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", "Janyce Kshlerin"], ["LIMIT", 1]] SQL (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", "Janyce Kshlerin"], ["name", "Mozella Hermann"], ["address", "Lovetta Rath"], ["created_at", "2018-04-01 10:01:55.195366"], ["updated_at", "2018-04-01 10:01:55.195366"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vonnie Abbott"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Celia Dickens"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vonnie Abbott"], ["name", "Celia Dickens"], ["created_at", "2018-04-01 10:01:55.200710"], ["updated_at", "2018-04-01 10:01:55.200710"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Blair Nader", "name"=>"Val Botsford", "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.5ms) 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", "Blair Nader"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.0ms) 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.7ms) 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.6ms) 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]] SQL (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", "Blair Nader"], ["name", "Val Botsford"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 10:01:55.218905"], ["updated_at", "2018-04-01 10:01:55.218905"]]  (0.6ms) 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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.75ms) Completed 200 OK in 22ms (Views: 2.3ms | ActiveRecord: 7.7ms)  (1.1ms) ROLLBACK  (0.8ms) 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", "elliot@kovacek.info"], ["LIMIT", 1]] SQL (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", "Chia Sauer"], ["last_name", "Lashaunda Howe"], ["email", "elliot@kovacek.info"], ["password_digest", "$2a$04$fALufRnBnlYZD1IJPCBRu.Bghx7RFJQknvVhIYwgI8w9Jm95EfF32"], ["created_at", "2018-04-01 10:01:55.235736"], ["updated_at", "2018-04-01 10:01:55.235736"]]  (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", "Jacqualine Stoltenberg"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacqualine Stoltenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.241866"], ["updated_at", "2018-04-01 10:01:55.241866"]]  (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", "Luann Pfannerstill"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Luann Pfannerstill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.248212"], ["updated_at", "2018-04-01 10:01:55.248212"]]  (0.5ms) 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", "Lynette Langosh"], ["LIMIT", 1]] SQL (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", "Lynette Langosh"], ["name", "Nicolle Williamson"], ["address", "Georgene Weissnat"], ["created_at", "2018-04-01 10:01:55.253672"], ["updated_at", "2018-04-01 10:01:55.253672"]]  (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", "Myesha Price"], ["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", "Waldo Mueller"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myesha Price"], ["name", "Waldo Mueller"], ["created_at", "2018-04-01 10:01:55.259590"], ["updated_at", "2018-04-01 10:01:55.259590"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Clementina Schaden", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.0ms) 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.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", ""], ["service_delivery_unit_id", 6], ["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", 6], ["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", 11], ["LIMIT", 1]] 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", 6], ["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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 422 Unprocessable Entity in 35ms (Views: 4.6ms | ActiveRecord: 7.0ms)  (0.7ms) ROLLBACK  (0.5ms) 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", "lurline.schuster@harrisromaguera.co.uk"], ["LIMIT", 1]] SQL (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", "Fred Stark"], ["last_name", "Tiesha Cronin"], ["email", "lurline.schuster@harrisromaguera.co.uk"], ["password_digest", "$2a$04$FtmF87tOEslV2f.Cc6CGKu3jg/OY.LCqRRS5ciPPBa2F62XZB4A92"], ["created_at", "2018-04-01 10:01:55.306416"], ["updated_at", "2018-04-01 10:01:55.306416"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Buford Grimes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cleora Gaylord"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Buford Grimes"], ["name", "Cleora Gaylord"], ["created_at", "2018-04-01 10:01:55.312202"], ["updated_at", "2018-04-01 10:01:55.312202"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Nichelle Kessler"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nichelle Kessler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.316654"], ["updated_at", "2018-04-01 10:01:55.316654"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Orval Homenick"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Orval Homenick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.320721"], ["updated_at", "2018-04-01 10:01:55.320721"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Elsie Watsica"], ["LIMIT", 1]] SQL (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", "Elsie Watsica"], ["name", "Emanuel Rowe"], ["address", "Emely Dach"], ["created_at", "2018-04-01 10:01:55.325340"], ["updated_at", "2018-04-01 10:01:55.325340"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Eddy Collier"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Eddy Collier"], ["name", "Harrison Crist"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-04-01 10:01:55.341025"], ["updated_at", "2018-04-01 10:01:55.341025"]]  (0.7ms) 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 (1.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (1.0ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Eddy Collier"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 7], ["LIMIT", 1]] 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", 13], ["LIMIT", 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", 7], ["LIMIT", 1]] SQL (1.7ms) 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-04-01 10:01:55.389454"], ["id", 6]]  (0.8ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 45ms (Views: 1.3ms | ActiveRecord: 11.7ms) 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.5ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "lavonne.reichert@macejkovic.name"], ["LIMIT", 1]] SQL (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", "Kristina Tremblay"], ["last_name", "Helen Kub"], ["email", "lavonne.reichert@macejkovic.name"], ["password_digest", "$2a$04$mHBeEVkQRE8kN77Y8NrAguHBWPvsXqj4l.Lt.jlQr8S7kg64DlHU."], ["created_at", "2018-04-01 10:01:55.406806"], ["updated_at", "2018-04-01 10:01:55.406806"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Malinda Prohaska"], ["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", "Shawanda Lueilwitz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Malinda Prohaska"], ["name", "Shawanda Lueilwitz"], ["created_at", "2018-04-01 10:01:55.413696"], ["updated_at", "2018-04-01 10:01:55.413696"]]  (0.5ms) 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", "Helena Zboncak"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Helena Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.418082"], ["updated_at", "2018-04-01 10:01:55.418082"]]  (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", "Shaquana Tromp"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shaquana Tromp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.422544"], ["updated_at", "2018-04-01 10:01:55.422544"]]  (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", "Letisha Bechtelar"], ["LIMIT", 1]] SQL (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", "Letisha Bechtelar"], ["name", "Jon O'Connell"], ["address", "Fidel Hane"], ["created_at", "2018-04-01 10:01:55.426881"], ["updated_at", "2018-04-01 10:01:55.426881"]]  (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", "Taylor Graham"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Taylor Graham"], ["name", "Annalee Swift"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-04-01 10:01:55.433021"], ["updated_at", "2018-04-01 10:01:55.433021"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"7"} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (1.0ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Taylor Graham"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.4ms) 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 (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", 15], ["LIMIT", 1]] 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", 8], ["LIMIT", 1]]  (1.0ms) 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", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 422 Unprocessable Entity in 37ms (Views: 1.0ms | ActiveRecord: 11.6ms)  (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", "levi@lehnerkuvalis.biz"], ["LIMIT", 1]] SQL (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", "Lori Wehner"], ["last_name", "Elke Feeney"], ["email", "levi@lehnerkuvalis.biz"], ["password_digest", "$2a$04$w//Y4Y2HM8naLxRcovMiPO11WtxOPAOmEh.tmYS.hlunzxq/QS37m"], ["created_at", "2018-04-01 10:01:55.499381"], ["updated_at", "2018-04-01 10:01:55.499381"]]  (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", "Merlin Nolan"], ["LIMIT", 1]] SQL (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", "Merlin Nolan"], ["name", "Chantel Dibbert"], ["address", "Taunya Veum"], ["created_at", "2018-04-01 10:01:55.504249"], ["updated_at", "2018-04-01 10:01:55.504249"]]  (0.4ms) 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", "Debrah Russel"], ["LIMIT", 1]] SQL (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", "Debrah Russel"], ["name", "Clifton Walsh"], ["address", "Jina Streich"], ["created_at", "2018-04-01 10:01:55.508834"], ["updated_at", "2018-04-01 10:01:55.508834"]]  (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", "Michale Conroy"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Abigail Bauch"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Michale Conroy"], ["name", "Abigail Bauch"], ["created_at", "2018-04-01 10:01:55.514224"], ["updated_at", "2018-04-01 10:01:55.514224"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Anabel Walsh"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Anabel Walsh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.518120"], ["updated_at", "2018-04-01 10:01:55.518120"]]  (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", "Carmen Schumm"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carmen Schumm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.522350"], ["updated_at", "2018-04-01 10:01:55.522350"]]  (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", "Pamella Ziemann"], ["service_delivery_unit_id", 9], ["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", 9], ["LIMIT", 1]] SQL (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", "Pamella Ziemann"], ["name", "Evelyn Monahan"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 10:01:55.529394"], ["updated_at", "2018-04-01 10:01:55.529394"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Ashton Skiles"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Kaley Hegmann"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ashton Skiles"], ["name", "Kaley Hegmann"], ["created_at", "2018-04-01 10:01:55.544166"], ["updated_at", "2018-04-01 10:01:55.544166"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Duane Mante"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Duane Mante"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.562780"], ["updated_at", "2018-04-01 10:01:55.562780"]]  (1.2ms) 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", "Therese Cormier"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Therese Cormier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.572955"], ["updated_at", "2018-04-01 10:01:55.572955"]]  (0.8ms) 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", "Lester Hahn"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["LIMIT", 1]] SQL (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", "Lester Hahn"], ["name", "Shae Gislason"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 10:01:55.582051"], ["updated_at", "2018-04-01 10:01:55.582051"]]  (0.9ms) 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", "Jasmine Boyer"], ["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", "Claudette Robel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jasmine Boyer"], ["name", "Claudette Robel"], ["created_at", "2018-04-01 10:01:55.590649"], ["updated_at", "2018-04-01 10:01:55.590649"]]  (0.4ms) 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", "Charlie Beahan"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charlie Beahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.595087"], ["updated_at", "2018-04-01 10:01:55.595087"]]  (0.6ms) 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", "Alexia Welch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alexia Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.599922"], ["updated_at", "2018-04-01 10:01:55.599922"]]  (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", "Lan Blick"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Lan Blick"], ["name", "Jean Tillman"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 10:01:55.605625"], ["updated_at", "2018-04-01 10:01:55.605625"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lissa Green"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jesica Yost"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lissa Green"], ["name", "Jesica Yost"], ["created_at", "2018-04-01 10:01:55.612396"], ["updated_at", "2018-04-01 10:01:55.612396"]]  (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", "Pok Murazik"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pok Murazik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.617114"], ["updated_at", "2018-04-01 10:01:55.617114"]]  (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", "Latarsha Harvey"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Latarsha Harvey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:55.621657"], ["updated_at", "2018-04-01 10:01:55.621657"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Bernardine Bahringer"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (0.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", "Bernardine Bahringer"], ["name", "Daina Schultz"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 10:01:55.628248"], ["updated_at", "2018-04-01 10:01:55.628248"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (0.6ms) 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.6ms) 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.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.7ms) 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.8ms) 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.8ms) 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 (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", 9], ["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", 19], ["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", 20], ["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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (15.61ms) Completed 200 OK in 20ms (Views: 11.1ms | ActiveRecord: 8.2ms)  (0.9ms) 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", "tisa@bernhard.ca"], ["LIMIT", 1]] SQL (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", "Cassie Turcotte"], ["last_name", "Aron Schmidt"], ["email", "tisa@bernhard.ca"], ["password_digest", "$2a$04$DFVeEJ4rIYyKthlnvwjqlOWQDR/SnoTh8yOcvxu6e/Sj0ujZJiz2y"], ["created_at", "2018-04-01 10:01:55.662108"], ["updated_at", "2018-04-01 10:01:55.662108"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "tamara_smitham@reilly.biz"], ["LIMIT", 1]] SQL (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", "Lazaro Mohr"], ["last_name", "Matthew Hills"], ["email", "tamara_smitham@reilly.biz"], ["password_digest", "$2a$04$TEmzSnJr9qaRx1FuPFrqdujeN2nGz2EylshraYmzON3Zt7mZdvJ.q"], ["created_at", "2018-04-01 10:01:55.674835"], ["updated_at", "2018-04-01 10:01:55.674835"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "riley_schulist@ernser.biz"], ["LIMIT", 1]] SQL (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", "Onita Mante"], ["last_name", "Tamar Hegmann"], ["email", "riley_schulist@ernser.biz"], ["password_digest", "$2a$04$zUNGCH.DmlKFO2FpHXijv.fburi49E718yGQuBK2jgGdw5/nO.P0y"], ["created_at", "2018-04-01 10:01:55.686512"], ["updated_at", "2018-04-01 10:01:55.686512"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "issac.bradtke@kovacek.com"], ["LIMIT", 1]] SQL (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", "Shane O'Kon"], ["last_name", "Tory Lindgren"], ["email", "issac.bradtke@kovacek.com"], ["password_digest", "$2a$04$zpJQgUQYc6F6WA9EFJZzPucM2yX6tAeyMFtJIsYwURouafuauBfWe"], ["created_at", "2018-04-01 10:01:55.701313"], ["updated_at", "2018-04-01 10:01:55.701313"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "man@skiles.biz"], ["LIMIT", 1]] SQL (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", "Beau Lang"], ["last_name", "Daron Wolff"], ["email", "man@skiles.biz"], ["password_digest", "$2a$04$qYphG/3p1mSUuSdAAFnbFOCl8IXqEq/FXKfKERYuGe29.FIdoVUIa"], ["created_at", "2018-04-01 10:01:55.712221"], ["updated_at", "2018-04-01 10:01:55.712221"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "chang@waters.biz"], ["LIMIT", 1]] SQL (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", "Kyung Greenholt"], ["last_name", "Denis Rohan"], ["email", "chang@waters.biz"], ["password_digest", "$2a$04$Xtc8uBFhGegP09OtjHxqberAoWNz/L7RRoe6XxSdRUgp7JMjPqHYi"], ["created_at", "2018-04-01 10:01:55.721938"], ["updated_at", "2018-04-01 10:01:55.721938"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "teena.prohaska@considine.com"], ["LIMIT", 1]] SQL (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", "Trinh Hartmann"], ["last_name", "Cedric Mosciski"], ["email", "teena.prohaska@considine.com"], ["password_digest", "$2a$04$wPsCOizU0HyMm6ehb4DdxO56gAyJw9T/v3P7aMdQZr20YgpJHwBqy"], ["created_at", "2018-04-01 10:01:55.736537"], ["updated_at", "2018-04-01 10:01:55.736537"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.6ms) 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", "theola@prosaccokoss.ca"], ["LIMIT", 1]] SQL (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", "Hugo Cormier"], ["last_name", "Zonia Mayer"], ["email", "theola@prosaccokoss.ca"], ["password_digest", "$2a$04$xdbmEj.PCvtM/7XFPZG6bOMoH7JviP7hq3hE1zeld4k0KjVN/MkAm"], ["created_at", "2018-04-01 10:01:55.748864"], ["updated_at", "2018-04-01 10:01:55.748864"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "leonila@pouros.ca"], ["LIMIT", 1]] SQL (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", "Jeanene Batz"], ["last_name", "Charlsie Dickens"], ["email", "leonila@pouros.ca"], ["password_digest", "$2a$04$kZ1VOEeXX8XAP3zHgobMru/1.41FCicnp9MV/u2w5/Ow8tXeaZlb2"], ["created_at", "2018-04-01 10:01:55.761949"], ["updated_at", "2018-04-01 10:01:55.761949"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "royal@smith.co.uk"], ["LIMIT", 1]] SQL (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", "Latrina Casper"], ["last_name", "Jettie Wunsch"], ["email", "royal@smith.co.uk"], ["password_digest", "$2a$04$PjH2G8opCHDSwY3apn6AdOJ9kyXAhNapeZWmT2MmyoVShCwiB5wkO"], ["created_at", "2018-04-01 10:01:55.775925"], ["updated_at", "2018-04-01 10:01:55.775925"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "cyndi@willmssporer.name"], ["LIMIT", 1]] SQL (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", "Teena Emard"], ["last_name", "Kemberly McKenzie"], ["email", "cyndi@willmssporer.name"], ["password_digest", "$2a$04$HDNdwLfJGG1nBuKGROzOF.0/cSnwCdSjADROAyRZmMP9rm3p6hkKa"], ["created_at", "2018-04-01 10:01:55.804944"], ["updated_at", "2018-04-01 10:01:55.804944"]]  (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", "Season Farrell"], ["LIMIT", 1]] SQL (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", "Season Farrell"], ["name", "Kathi Shanahan"], ["address", "Aida Rohan"], ["created_at", "2018-04-01 10:01:55.809657"], ["updated_at", "2018-04-01 10:01:55.809657"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "ines.stroman@brekkeprohaska.info"], ["LIMIT", 1]] SQL (0.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", "Sarai Anderson"], ["last_name", "Magaly Franecki"], ["email", "ines.stroman@brekkeprohaska.info"], ["password_digest", "$2a$04$ZblzoXMCvB2EX1JjPChTiOIiXwe4JPA2QfOf4G8foXLqjRG8UdJCe"], ["created_at", "2018-04-01 10:01:55.819251"], ["updated_at", "2018-04-01 10:01:55.819251"]]  (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", "Vernie Olson"], ["LIMIT", 1]] SQL (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", "Vernie Olson"], ["name", "Christia Conn"], ["address", "Towanda Ziemann"], ["created_at", "2018-04-01 10:01:55.823826"], ["updated_at", "2018-04-01 10:01:55.823826"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "sharda_cassin@kihn.info"], ["LIMIT", 1]] SQL (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", "Soraya Gleason"], ["last_name", "Remona Ledner"], ["email", "sharda_cassin@kihn.info"], ["password_digest", "$2a$04$xpwojWFkOQtB8Hj9An7PM.VWKbV8EO2DEXh92I4oG37/jecqwKq7m"], ["created_at", "2018-04-01 10:01:55.833673"], ["updated_at", "2018-04-01 10:01:55.833673"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) ROLLBACK  (0.6ms) BEGIN  (0.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", "mikaela_jerde@gloverlehner.co.uk"], ["LIMIT", 1]] SQL (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", "Shavonda Kub"], ["last_name", "Luna Keeling"], ["email", "mikaela_jerde@gloverlehner.co.uk"], ["password_digest", "$2a$04$IFevoPnTrbLgfYTR8NH/xuxSYY6kgkSCWyp.CUXubiI0J32RalIkK"], ["created_at", "2018-04-01 10:01:55.847000"], ["updated_at", "2018-04-01 10:01:55.847000"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.8ms) 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", "Yukiko Green"], ["LIMIT", 1]] SQL (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", "Yukiko Green"], ["name", "Vannessa Treutel"], ["address", "Ashleigh Bailey"], ["created_at", "2018-04-01 10:01:55.857096"], ["updated_at", "2018-04-01 10:01:55.857096"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Asia Parisian", "description"=>"Susie Lakin", "name"=>"Sage Lebsack", "service_delivery_unit_id"=>"13"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.6ms) 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", 13], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 35ms (ActiveRecord: 3.2ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "oliva_torp@wuckertadams.biz"], ["LIMIT", 1]] SQL (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", "Lea Walsh"], ["last_name", "Usha Gaylord"], ["email", "oliva_torp@wuckertadams.biz"], ["password_digest", "$2a$04$.if/GTASzyvS4mfrmjGjs.aJhoat6xz2bE1B7WH3sEmsChAJJoxN2"], ["created_at", "2018-04-01 10:01:55.905924"], ["updated_at", "2018-04-01 10:01:55.905924"]]  (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", "Sarai Hegmann"], ["LIMIT", 1]] SQL (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", "Sarai Hegmann"], ["name", "Letty Heidenreich"], ["address", "Tona Waters"], ["created_at", "2018-04-01 10:01:55.910830"], ["updated_at", "2018-04-01 10:01:55.910830"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Yuki Daniel", "description"=>"Kara Metz", "name"=>"Kenna Dietrich", "service_delivery_unit_id"=>"14"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["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", 14], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 20ms (ActiveRecord: 2.4ms)  (1.1ms) 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", "shasta@cormiercarter.co.uk"], ["LIMIT", 1]] SQL (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", "Thomas Frami"], ["last_name", "Christia Herman"], ["email", "shasta@cormiercarter.co.uk"], ["password_digest", "$2a$04$VZO2UuKrO1NnS9LtOmFVWOxoAjjmTqnjGpysHz1dOKOE5D7DxkjJ6"], ["created_at", "2018-04-01 10:01:55.944563"], ["updated_at", "2018-04-01 10:01:55.944563"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Xzbdulia Corwin"], ["LIMIT", 1]] SQL (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", "Xzbdulia Corwin"], ["name", "Jacklyn Durgan"], ["address", "Yuki Braun"], ["created_at", "2018-04-01 10:01:55.949109"], ["updated_at", "2018-04-01 10:01:55.949109"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Alexander Frami", "name"=>"Leon Wisoky", "service_delivery_unit_id"=>"15"}} 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]]  (1.3ms) SAVEPOINT active_record_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", 15], ["LIMIT", 1]]  (1.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 38ms (ActiveRecord: 4.6ms)  (1.2ms) 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", "terra_johns@nikolaus.com"], ["LIMIT", 1]] SQL (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", "Kevin Hudson"], ["last_name", "Gricelda Cronin"], ["email", "terra_johns@nikolaus.com"], ["password_digest", "$2a$04$wwihpbju3vwp4zJmX8T4Cu6TS37KO.kg.LUJ/6BR3jfmr/nJohUoO"], ["created_at", "2018-04-01 10:01:56.002972"], ["updated_at", "2018-04-01 10:01:56.002972"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.6ms) 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", "emile@veumratke.name"], ["LIMIT", 1]] SQL (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", "Sallie Jenkins"], ["last_name", "Larue Hickle"], ["email", "emile@veumratke.name"], ["password_digest", "$2a$04$izNY3UkploLjTeDazTKm1u.iB23XfDTbbLOyD9uhE0obCdK/qocJm"], ["created_at", "2018-04-01 10:01:56.012729"], ["updated_at", "2018-04-01 10:01:56.012729"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "ada.larkin@keebler.name"], ["LIMIT", 1]] SQL (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 Kerluke"], ["last_name", "Xavier McGlynn"], ["email", "ada.larkin@keebler.name"], ["password_digest", "$2a$04$NAwjeHmG0aBzcedRgfcvOedZg6IJ.kkjiYpENQER3agO5w2NNB1gq"], ["created_at", "2018-04-01 10:01:56.022394"], ["updated_at", "2018-04-01 10:01:56.022394"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) 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", "inocencia_dare@gloverkub.us"], ["LIMIT", 1]] SQL (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", "Magdalen Denesik"], ["last_name", "Les Bruen"], ["email", "inocencia_dare@gloverkub.us"], ["password_digest", "$2a$04$26ldUhv9T5i19a.HXsb6L.w9hK9qjMuWW8IBmxH5sbSb066xl/PHG"], ["created_at", "2018-04-01 10:01:56.033270"], ["updated_at", "2018-04-01 10:01:56.033270"]]  (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", "Rosalba Balistreri"], ["LIMIT", 1]] SQL (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", "Rosalba Balistreri"], ["name", "Neal Hegmann"], ["address", "Santina Yost"], ["created_at", "2018-04-01 10:01:56.039000"], ["updated_at", "2018-04-01 10:01:56.039000"]]  (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", "Ali White"], ["LIMIT", 1]] SQL (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", "Ali White"], ["name", "Karina Hermann"], ["address", "Kathie Johnson"], ["created_at", "2018-04-01 10:01:56.044980"], ["updated_at", "2018-04-01 10:01:56.044980"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Nanette Lemke"], ["LIMIT", 1]] SQL (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", "Nanette Lemke"], ["name", "Tammi O'Conner"], ["address", "Ron Kemmer"], ["created_at", "2018-04-01 10:01:56.049549"], ["updated_at", "2018-04-01 10:01:56.049549"]]  (0.4ms) 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", 27], ["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", 27], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.3ms) 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 (1.03ms) Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 2.8ms)  (1.0ms) ROLLBACK  (0.7ms) 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", "laurena@gorczany.co.uk"], ["LIMIT", 1]] SQL (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", "Emerald Hoeger"], ["last_name", "Cassi Dietrich"], ["email", "laurena@gorczany.co.uk"], ["password_digest", "$2a$04$7phdfl/4Q3wdpJfnB.b8jurF/vofQHt2MfM6kGTt0.zp7Xkd7ja5W"], ["created_at", "2018-04-01 10:01:56.086445"], ["updated_at", "2018-04-01 10:01:56.086445"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Kerry D'Amore", "code"=>"Juan Skiles", "name"=>"Kyong Buckridge"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 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", "Juan Skiles"], ["LIMIT", 1]] SQL (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", "Juan Skiles"], ["name", "Kyong Buckridge"], ["address", "Kerry D'Amore"], ["created_at", "2018-04-01 10:01:56.099979"], ["updated_at", "2018-04-01 10:01:56.099979"]]  (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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 6.2ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "creola.schmidt@graham.info"], ["LIMIT", 1]] SQL (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", "Marilynn Harvey"], ["last_name", "Elisha Mills"], ["email", "creola.schmidt@graham.info"], ["password_digest", "$2a$04$baIFWsrdu2YUFjCbc6ePxO7XR/aYF1mJ3z7OZdPSqmlumL/kXOjya"], ["created_at", "2018-04-01 10:01:56.116051"], ["updated_at", "2018-04-01 10:01:56.116051"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Benton Schmitt", "code"=>"Lashawna Hand", "name"=>"Corazon Bosco"}} 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]]  (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", "Lashawna Hand"], ["LIMIT", 1]] SQL (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", "Lashawna Hand"], ["name", "Corazon Bosco"], ["address", "Benton Schmitt"], ["created_at", "2018-04-01 10:01:56.123571"], ["updated_at", "2018-04-01 10:01:56.123571"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 3.8ms)  (0.7ms) 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", "elidia_kirlin@rempel.info"], ["LIMIT", 1]] SQL (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", "Ryan Littel"], ["last_name", "Freeman Kihn"], ["email", "elidia_kirlin@rempel.info"], ["password_digest", "$2a$04$PGEOnaBMyBVm15/H97lm8edgGnIMk7vmD9M7BU9utSuYqTCE9Ws/2"], ["created_at", "2018-04-01 10:01:56.134686"], ["updated_at", "2018-04-01 10:01:56.134686"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Amina Torp", "code"=>"", "name"=>"Criselda Ferry"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.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", ""], ["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", 30], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.1ms | ActiveRecord: 3.9ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (1.2ms) 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", "tisha@schamberger.biz"], ["LIMIT", 1]] SQL (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", "Sarah Weimann"], ["last_name", "Krystle Dach"], ["email", "tisha@schamberger.biz"], ["password_digest", "$2a$04$D5oY86sTHxxMaQoHozkEE.56cjxgmcRy/dSo324Wn.zfCqBZhwoue"], ["created_at", "2018-04-01 10:01:56.159479"], ["updated_at", "2018-04-01 10:01:56.159479"]]  (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", "Mika Nikolaus"], ["LIMIT", 1]] SQL (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", "Mika Nikolaus"], ["name", "Suzan Tromp"], ["address", "Lia Haley"], ["created_at", "2018-04-01 10:01:56.166591"], ["updated_at", "2018-04-01 10:01:56.166591"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"21"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["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", 21], ["LIMIT", 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Mika Nikolaus"], ["id", 21], ["LIMIT", 1]] SQL (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-04-01 10:01:56.179291"], ["id", 21]]  (0.7ms) 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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.59ms) Completed 200 OK in 14ms (Views: 2.4ms | ActiveRecord: 6.2ms) 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", 21], ["LIMIT", 1]]  (1.8ms) ROLLBACK  (0.6ms) 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", "deborah@wilkinson.biz"], ["LIMIT", 1]] SQL (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", "Doretta Fay"], ["last_name", "Bok Hand"], ["email", "deborah@wilkinson.biz"], ["password_digest", "$2a$04$ptbmuNUdz0iEwkA2DRtkqevipWv3bH7Mfi6sYK7H4.Uq2gnPuEhlm"], ["created_at", "2018-04-01 10:01:56.200387"], ["updated_at", "2018-04-01 10:01:56.200387"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Penny Fahey"], ["LIMIT", 1]] SQL (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", "Penny Fahey"], ["name", "Krysten Adams"], ["address", "Oleta Carroll"], ["created_at", "2018-04-01 10:01:56.206698"], ["updated_at", "2018-04-01 10:01:56.206698"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "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", 32], ["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", 22], ["LIMIT", 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Penny Fahey"], ["id", 22], ["LIMIT", 1]]  (0.4ms) ROLLBACK TO 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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.0ms | ActiveRecord: 3.6ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "christi.hansen@mccullough.us"], ["LIMIT", 1]] SQL (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", "Vinita Willms"], ["last_name", "Fredericka Renner"], ["email", "christi.hansen@mccullough.us"], ["password_digest", "$2a$04$m2/QBemTi1idfRWQxjkxIedwQ4G/Zw.qbnTqCOs3jgqx2keb0yeba"], ["created_at", "2018-04-01 10:01:56.226679"], ["updated_at", "2018-04-01 10:01:56.226679"]]  (0.6ms) 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", "Kimberly Stamm"], ["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", "Elisabeth Bartell"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kimberly Stamm"], ["name", "Elisabeth Bartell"], ["description", "Quia repellat laudantium aliquid assumenda eum minima laboriosam. Accusamus sed iste nostrum quod vitae eius qui. Et nemo tempora at maxime blanditiis ducimus. Aut molestiae quis saepe molestias molestiae minima aliquid."], ["created_at", "2018-04-01 10:01:56.347729"], ["updated_at", "2018-04-01 10:01:56.347729"]]  (0.4ms) 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", "Liliana Yost"], ["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", "Elfreda Lehner"], ["LIMIT", 1]] SQL (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", "Liliana Yost"], ["name", "Elfreda Lehner"], ["description", "Voluptatem quo necessitatibus recusandae voluptatem ipsum ut quasi. Odit voluptate molestiae officia accusantium aut dolores. Blanditiis qui vel rerum esse."], ["equipment_type_id", 1], ["created_at", "2018-04-01 10:01:56.354650"], ["updated_at", "2018-04-01 10:01:56.354650"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Chun Wolf"], ["LIMIT", 1]] SQL (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", "Chun Wolf"], ["name", "Yan Braun"], ["description", "Hong Kreiger"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-04-01 10:01:56.361371"], ["updated_at", "2018-04-01 10:01:56.361371"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Lakesha Skiles"], ["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", "Bette Greenfelder"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lakesha Skiles"], ["name", "Bette Greenfelder"], ["description", "Armand Fritsch"], ["created_at", "2018-04-01 10:01:56.415521"], ["updated_at", "2018-04-01 10:01:56.415521"]]  (0.4ms) 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", "Carey Gusikowski"], ["LIMIT", 1]] SQL (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", "Carey Gusikowski"], ["name", "Olene Hane"], ["location_type_id", 1], ["description", "Ray Smith"], ["address", "Faviola Collier"], ["created_at", "2018-04-01 10:01:56.421838"], ["updated_at", "2018-04-01 10:01:56.421838"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kanisha Quitzon"], ["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", "Florentina Krajcik"], ["LIMIT", 1]] SQL (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", "Kanisha Quitzon"], ["name", "Terry Torp"], ["description", "Kevin Miller"], ["serial_number", "Florentina Krajcik"], ["brand", "Debbra Tromp"], ["item_model", "Sheree Braun"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-04-01 10:01:56.430875"], ["updated_at", "2018-04-01 10:01:56.430875"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Marica Schuster"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Janessa Mante"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marica Schuster"], ["name", "Janessa Mante"], ["created_at", "2018-04-01 10:01:56.442494"], ["updated_at", "2018-04-01 10:01:56.442494"]]  (0.4ms) 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", "Abraham Wehner"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Abraham Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.446703"], ["updated_at", "2018-04-01 10:01:56.446703"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kenisha Dietrich"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kenisha Dietrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.450653"], ["updated_at", "2018-04-01 10:01:56.450653"]]  (0.6ms) 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", "Mariela Corkery"], ["LIMIT", 1]] SQL (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", "Mariela Corkery"], ["name", "Carol Ebert"], ["address", "Rolf Barton"], ["created_at", "2018-04-01 10:01:56.455163"], ["updated_at", "2018-04-01 10:01:56.455163"]]  (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", "Lorretta Bailey"], ["service_delivery_unit_id", 23], ["LIMIT", 1]] SQL (0.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", "Lorretta Bailey"], ["name", "Maria Jacobs"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 23], ["created_at", "2018-04-01 10:01:56.459295"], ["updated_at", "2018-04-01 10:01:56.459295"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.4ms) 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", 12], ["equipment_item_id", 1], ["created_at", "2018-04-01 10:01:56.463183"], ["updated_at", "2018-04-01 10:01:56.463183"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Lashaunda Price"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Velma Raynor"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lashaunda Price"], ["name", "Velma Raynor"], ["description", "Ullam dolorem iusto quas explicabo et autem adipisci impedit. Qui soluta qui rem cumque et aut animi. Omnis sunt sed eos ex ab. Voluptatem quia dicta quasi et sed. Voluptatem aperiam soluta sint explicabo ut."], ["created_at", "2018-04-01 10:01:56.473077"], ["updated_at", "2018-04-01 10:01:56.473077"]]  (0.6ms) 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", "Marco Prohaska"], ["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", "Wendy Altenwerth"], ["LIMIT", 1]] SQL (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", "Marco Prohaska"], ["name", "Wendy Altenwerth"], ["description", "Alias nihil reprehenderit deserunt delectus autem fugiat praesentium. Dolorum et fugit aut voluptatem quo. Numquam praesentium ad omnis iure expedita iste facilis dolore. Ut maxime a tenetur sit perspiciatis error iure porro. Sunt illum dolorem rem ipsa sed fugiat adipisci."], ["equipment_type_id", 2], ["created_at", "2018-04-01 10:01:56.480273"], ["updated_at", "2018-04-01 10:01:56.480273"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Basilia Kub"], ["LIMIT", 1]] SQL (1.6ms) 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", "Basilia Kub"], ["name", "Yung Rutherford"], ["description", "Svetlana Mertz"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-04-01 10:01:56.486827"], ["updated_at", "2018-04-01 10:01:56.486827"]]  (0.7ms) 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", "Kandi Herman"], ["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", "Hermine Ferry"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kandi Herman"], ["name", "Hermine Ferry"], ["description", "Tiana Ryan"], ["created_at", "2018-04-01 10:01:56.495603"], ["updated_at", "2018-04-01 10:01:56.495603"]]  (0.5ms) 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", "Lon Durgan"], ["LIMIT", 1]] SQL (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", "Lon Durgan"], ["name", "Tomas Schimmel"], ["location_type_id", 2], ["description", "Rima Kertzmann"], ["address", "Mafalda Lesch"], ["created_at", "2018-04-01 10:01:56.501422"], ["updated_at", "2018-04-01 10:01:56.501422"]]  (0.7ms) 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", "Meghan Gleichner"], ["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", "Edgar Bahringer"], ["LIMIT", 1]] SQL (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", "Meghan Gleichner"], ["name", "Shelba Schiller"], ["description", "Tyisha Bahringer"], ["serial_number", "Edgar Bahringer"], ["brand", "Dortha King"], ["item_model", "Pedro Hammes"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-04-01 10:01:56.509459"], ["updated_at", "2018-04-01 10:01:56.509459"]]  (0.7ms) 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", "Sonja Harris"], ["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", "Bart Haag"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sonja Harris"], ["name", "Bart Haag"], ["created_at", "2018-04-01 10:01:56.518360"], ["updated_at", "2018-04-01 10:01:56.518360"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Maple Konopelski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maple Konopelski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.524240"], ["updated_at", "2018-04-01 10:01:56.524240"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lynna Armstrong"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lynna Armstrong"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.528597"], ["updated_at", "2018-04-01 10:01:56.528597"]]  (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", "Eugene Abernathy"], ["LIMIT", 1]] SQL (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", "Eugene Abernathy"], ["name", "Hollie O'Reilly"], ["address", "Sheridan DuBuque"], ["created_at", "2018-04-01 10:01:56.532829"], ["updated_at", "2018-04-01 10:01:56.532829"]]  (0.4ms) 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", "Hermelinda Borer"], ["service_delivery_unit_id", 24], ["LIMIT", 1]] SQL (0.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", "Hermelinda Borer"], ["name", "Tayna Stamm"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 24], ["created_at", "2018-04-01 10:01:56.537161"], ["updated_at", "2018-04-01 10:01:56.537161"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 2], ["created_at", "2018-04-01 10:01:56.540358"], ["updated_at", "2018-04-01 10:01:56.540358"]]  (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", "Manual Towne"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Jeane Johnson"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Manual Towne"], ["name", "Jeane Johnson"], ["description", "Recusandae consequatur explicabo voluptatibus placeat. Sequi est cumque dignissimos eos corrupti nostrum porro. Dolor nostrum cum eum quod."], ["created_at", "2018-04-01 10:01:56.547175"], ["updated_at", "2018-04-01 10:01:56.547175"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Antonio Sporer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Cindie Pollich"], ["LIMIT", 1]] SQL (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", "Antonio Sporer"], ["name", "Cindie Pollich"], ["description", "Ratione aut vero similique sit molestiae. Dolorum aut perferendis et ut. Eos assumenda neque libero beatae ut corporis."], ["equipment_type_id", 3], ["created_at", "2018-04-01 10:01:56.551945"], ["updated_at", "2018-04-01 10:01:56.551945"]]  (0.4ms) 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", "Samuel Rice"], ["LIMIT", 1]] SQL (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", "Samuel Rice"], ["name", "Yvette Swift"], ["description", "Maple Kassulke"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-04-01 10:01:56.555869"], ["updated_at", "2018-04-01 10:01:56.555869"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Zonia Hettinger"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Coy Hessel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Zonia Hettinger"], ["name", "Coy Hessel"], ["description", "Laverne Littel"], ["created_at", "2018-04-01 10:01:56.561190"], ["updated_at", "2018-04-01 10:01:56.561190"]]  (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", "Oneida Nitzsche"], ["LIMIT", 1]] SQL (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", "Oneida Nitzsche"], ["name", "Ali Halvorson"], ["location_type_id", 3], ["description", "Hattie Denesik"], ["address", "Anneliese Leuschke"], ["created_at", "2018-04-01 10:01:56.564997"], ["updated_at", "2018-04-01 10:01:56.564997"]]  (0.4ms) 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", "Elinor Bergstrom"], ["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", "Page Corkery"], ["LIMIT", 1]] SQL (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", "Elinor Bergstrom"], ["name", "Pamila Grimes"], ["description", "Lindsey Walker"], ["serial_number", "Page Corkery"], ["brand", "Taylor Stamm"], ["item_model", "Delfina Hilll"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-04-01 10:01:56.571124"], ["updated_at", "2018-04-01 10:01:56.571124"]]  (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", "Shiloh Shields"], ["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", "Violet Conroy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shiloh Shields"], ["name", "Violet Conroy"], ["created_at", "2018-04-01 10:01:56.580146"], ["updated_at", "2018-04-01 10:01:56.580146"]]  (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", "Tanika Steuber"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tanika Steuber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.586073"], ["updated_at", "2018-04-01 10:01:56.586073"]]  (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", "Giovanni DuBuque"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Giovanni DuBuque"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.593234"], ["updated_at", "2018-04-01 10:01:56.593234"]]  (0.7ms) 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", "Deshawn Murray"], ["LIMIT", 1]] SQL (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", "Deshawn Murray"], ["name", "Maggie Tromp"], ["address", "Lakiesha Marvin"], ["created_at", "2018-04-01 10:01:56.599992"], ["updated_at", "2018-04-01 10:01:56.599992"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Jolyn Torphy"], ["service_delivery_unit_id", 25], ["LIMIT", 1]] SQL (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", "Jolyn Torphy"], ["name", "Steven Gaylord"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 25], ["created_at", "2018-04-01 10:01:56.607494"], ["updated_at", "2018-04-01 10:01:56.607494"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (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", 14], ["equipment_item_id", 3], ["created_at", "2018-04-01 10:01:56.612123"], ["updated_at", "2018-04-01 10:01:56.612123"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#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", 33], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 12], ["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", 1], ["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", 13], ["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", 2], ["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", 14], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.27ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.32ms) Completed 200 OK in 19ms (Views: 1.2ms | ActiveRecord: 6.6ms)  (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", "chu_dooley@daniel.com"], ["LIMIT", 1]] SQL (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", "Kala Farrell"], ["last_name", "Romeo Connelly"], ["email", "chu_dooley@daniel.com"], ["password_digest", "$2a$04$pmwZOBLHDnbVEYrY2gMB.O6aNuMuTy6LJ4f43PAfO9lmgATT2bddS"], ["created_at", "2018-04-01 10:01:56.644154"], ["updated_at", "2018-04-01 10:01:56.644154"]]  (0.4ms) 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", "Jordon Simonis"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Willodean Jaskolski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jordon Simonis"], ["name", "Willodean Jaskolski"], ["description", "Dignissimos cum deserunt et et quaerat aut alias quia. A molestias non ut repudiandae necessitatibus. Quasi est et laboriosam enim quia. Aut explicabo illum sed distinctio est quidem tenetur veniam."], ["created_at", "2018-04-01 10:01:56.650860"], ["updated_at", "2018-04-01 10:01:56.650860"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Barney Klocko"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "My Botsford"], ["LIMIT", 1]] SQL (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", "Barney Klocko"], ["name", "My Botsford"], ["description", "Quis dolorum et maiores autem at consequuntur minima. Possimus odio ut consequatur numquam voluptatum sint architecto aspernatur. Similique corrupti consequatur quas et temporibus."], ["equipment_type_id", 4], ["created_at", "2018-04-01 10:01:56.655874"], ["updated_at", "2018-04-01 10:01:56.655874"]]  (0.4ms) 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", "Frankie Turner"], ["LIMIT", 1]] SQL (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", "Frankie Turner"], ["name", "Darin Weimann"], ["description", "Seth Franecki"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-04-01 10:01:56.659978"], ["updated_at", "2018-04-01 10:01:56.659978"]]  (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", "Joshua Konopelski"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Ronnie Hansen"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Joshua Konopelski"], ["name", "Ronnie Hansen"], ["description", "Tonisha Bruen"], ["created_at", "2018-04-01 10:01:56.665940"], ["updated_at", "2018-04-01 10:01:56.665940"]]  (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", "Patsy Morissette"], ["LIMIT", 1]] SQL (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", "Patsy Morissette"], ["name", "Reginald Beahan"], ["location_type_id", 4], ["description", "Taren Sipes"], ["address", "Ardelia Schiller"], ["created_at", "2018-04-01 10:01:56.670165"], ["updated_at", "2018-04-01 10:01:56.670165"]]  (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", "Chastity Purdy"], ["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", "Ashanti Walsh"], ["LIMIT", 1]] SQL (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", "Chastity Purdy"], ["name", "Erinn Kautzer"], ["description", "Yulanda Davis"], ["serial_number", "Ashanti Walsh"], ["brand", "Mariann Gulgowski"], ["item_model", "Mckenzie Waelchi"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-04-01 10:01:56.678099"], ["updated_at", "2018-04-01 10:01:56.678099"]]  (0.6ms) 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", "Roy Treutel"], ["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", "Carlota Stanton"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Roy Treutel"], ["name", "Carlota Stanton"], ["created_at", "2018-04-01 10:01:56.687439"], ["updated_at", "2018-04-01 10:01:56.687439"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Leonora Reichel"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Leonora Reichel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.696312"], ["updated_at", "2018-04-01 10:01:56.696312"]]  (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", "Adrianne Kuvalis"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Adrianne Kuvalis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.702580"], ["updated_at", "2018-04-01 10:01:56.702580"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Todd Williamson"], ["LIMIT", 1]] SQL (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", "Todd Williamson"], ["name", "Martin Wiegand"], ["address", "Nigel Bartell"], ["created_at", "2018-04-01 10:01:56.710264"], ["updated_at", "2018-04-01 10:01:56.710264"]]  (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", "Rickie Baumbach"], ["service_delivery_unit_id", 26], ["LIMIT", 1]] SQL (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", "Rickie Baumbach"], ["name", "Marcy Pouros"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 26], ["created_at", "2018-04-01 10:01:56.716316"], ["updated_at", "2018-04-01 10:01:56.716316"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", 15], ["equipment_item_id", 4], ["created_at", "2018-04-01 10:01:56.721125"], ["updated_at", "2018-04-01 10:01:56.721125"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lavada Howe"], ["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", "Alyson Lowe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lavada Howe"], ["name", "Alyson Lowe"], ["description", "Magnam omnis esse ut aut nulla necessitatibus et nisi. Omnis aut error deleniti ut. Non eaque molestias harum temporibus. Est debitis fuga porro vitae. Quibusdam a repudiandae non accusantium."], ["created_at", "2018-04-01 10:01:56.731977"], ["updated_at", "2018-04-01 10:01:56.731977"]]  (0.4ms) 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", "Blair Farrell"], ["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", "Pauletta Dickinson"], ["LIMIT", 1]] SQL (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", "Blair Farrell"], ["name", "Pauletta Dickinson"], ["description", "Exercitationem aut laudantium doloribus rem voluptate. Et et consectetur vero voluptatem vel rerum. Sequi aut fugiat dolore atque consequatur repellendus totam aliquid. Est numquam et officia nihil unde quisquam necessitatibus. Quaerat veritatis et non quod officia pariatur officiis."], ["equipment_type_id", 5], ["created_at", "2018-04-01 10:01:56.737148"], ["updated_at", "2018-04-01 10:01:56.737148"]]  (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", "Donna Trantow"], ["LIMIT", 1]] SQL (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", "Donna Trantow"], ["name", "Christina O'Conner"], ["description", "Digna Abernathy"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-04-01 10:01:56.742028"], ["updated_at", "2018-04-01 10:01:56.742028"]]  (0.5ms) 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", "Renea Gusikowski"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jolyn Kihn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Renea Gusikowski"], ["name", "Jolyn Kihn"], ["description", "Alisa Morar"], ["created_at", "2018-04-01 10:01:56.747769"], ["updated_at", "2018-04-01 10:01:56.747769"]]  (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", "Breann Parisian"], ["LIMIT", 1]] SQL (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", "Breann Parisian"], ["name", "Karin Goldner"], ["location_type_id", 5], ["description", "Mellie Steuber"], ["address", "Cheyenne Watsica"], ["created_at", "2018-04-01 10:01:56.751699"], ["updated_at", "2018-04-01 10:01:56.751699"]]  (0.4ms) 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", "Erlinda Ernser"], ["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", "Jayna Kuphal"], ["LIMIT", 1]] SQL (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", "Erlinda Ernser"], ["name", "Cheryle Hoppe"], ["description", "Rocco Hand"], ["serial_number", "Jayna Kuphal"], ["brand", "Rosio Veum"], ["item_model", "Lonnie Maggio"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-04-01 10:01:56.757642"], ["updated_at", "2018-04-01 10:01:56.757642"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lynsey McKenzie"], ["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", "Twana Johnston"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lynsey McKenzie"], ["name", "Twana Johnston"], ["created_at", "2018-04-01 10:01:56.767347"], ["updated_at", "2018-04-01 10:01:56.767347"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Pamela Trantow"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pamela Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.771838"], ["updated_at", "2018-04-01 10:01:56.771838"]]  (0.4ms) 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", "Branda Grady"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Branda Grady"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.775865"], ["updated_at", "2018-04-01 10:01:56.775865"]]  (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", "Aldo Fritsch"], ["LIMIT", 1]] SQL (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", "Aldo Fritsch"], ["name", "Dexter Baumbach"], ["address", "Hayley Douglas"], ["created_at", "2018-04-01 10:01:56.781035"], ["updated_at", "2018-04-01 10:01:56.781035"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Sade Huels"], ["service_delivery_unit_id", 27], ["LIMIT", 1]] SQL (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", "Sade Huels"], ["name", "Pam Hayes"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 27], ["created_at", "2018-04-01 10:01:56.788285"], ["updated_at", "2018-04-01 10:01:56.788285"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (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", 16], ["equipment_item_id", 5], ["created_at", "2018-04-01 10:01:56.793247"], ["updated_at", "2018-04-01 10:01:56.793247"]]  (0.6ms) 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", "Annmarie Volkman"], ["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", "Dann Ferry"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Annmarie Volkman"], ["name", "Dann Ferry"], ["description", "Et aut laudantium architecto nesciunt quae beatae odio. Qui placeat dignissimos facere assumenda. Esse inventore praesentium nulla iste voluptatem natus. Vel consequatur aliquam quia quae dolor. Qui laborum recusandae distinctio ipsam."], ["created_at", "2018-04-01 10:01:56.803365"], ["updated_at", "2018-04-01 10:01:56.803365"]]  (0.6ms) 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", "Zena Monahan"], ["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", "Candance Kertzmann"], ["LIMIT", 1]] SQL (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", "Zena Monahan"], ["name", "Candance Kertzmann"], ["description", "Sed quidem laudantium necessitatibus dolor voluptas. Quo nulla asperiores nisi officiis. Et temporibus in aut molestias nemo magnam exercitationem. Odit quia omnis explicabo ut ab."], ["equipment_type_id", 6], ["created_at", "2018-04-01 10:01:56.810631"], ["updated_at", "2018-04-01 10:01:56.810631"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Eulah Conroy"], ["LIMIT", 1]] SQL (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", "Eulah Conroy"], ["name", "Cleveland Hudson"], ["description", "Barbar Hoppe"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-04-01 10:01:56.816899"], ["updated_at", "2018-04-01 10:01:56.816899"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.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", "Neda VonRueden"], ["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", "Alethia Hoeger"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Neda VonRueden"], ["name", "Alethia Hoeger"], ["description", "Cherise Kihn"], ["created_at", "2018-04-01 10:01:56.828557"], ["updated_at", "2018-04-01 10:01:56.828557"]]  (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", "Mitzie Corwin"], ["LIMIT", 1]] SQL (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", "Mitzie Corwin"], ["name", "Faith Dickinson"], ["location_type_id", 6], ["description", "Nicolle Schmitt"], ["address", "Basilia Beatty"], ["created_at", "2018-04-01 10:01:56.832951"], ["updated_at", "2018-04-01 10:01:56.832951"]]  (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", "Toby Runte"], ["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", "Belia Lemke"], ["LIMIT", 1]] SQL (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", "Toby Runte"], ["name", "Talitha Buckridge"], ["description", "Deetta Rodriguez"], ["serial_number", "Belia Lemke"], ["brand", "Jenni Gulgowski"], ["item_model", "Phil Abernathy"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-04-01 10:01:56.838672"], ["updated_at", "2018-04-01 10:01:56.838672"]]  (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", "Grant Fisher"], ["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", "Armida Stehr"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Grant Fisher"], ["name", "Armida Stehr"], ["created_at", "2018-04-01 10:01:56.845590"], ["updated_at", "2018-04-01 10:01:56.845590"]]  (0.6ms) 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", "Cody Moen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cody Moen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.850280"], ["updated_at", "2018-04-01 10:01:56.850280"]]  (0.5ms) 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", "Denna Morar"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Denna Morar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:56.854910"], ["updated_at", "2018-04-01 10:01:56.854910"]]  (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", "Neoma Cummings"], ["LIMIT", 1]] SQL (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 Cummings"], ["name", "Jesica Weber"], ["address", "Svetlana Oga"], ["created_at", "2018-04-01 10:01:56.859812"], ["updated_at", "2018-04-01 10:01:56.859812"]]  (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", "Travis Wunsch"], ["service_delivery_unit_id", 28], ["LIMIT", 1]] SQL (0.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", "Travis Wunsch"], ["name", "Fae Reichert"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 28], ["created_at", "2018-04-01 10:01:56.864120"], ["updated_at", "2018-04-01 10:01:56.864120"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 17], ["equipment_item_id", 6], ["created_at", "2018-04-01 10:01:56.867280"], ["updated_at", "2018-04-01 10:01:56.867280"]]  (0.7ms) 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", 34], ["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", 34], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 15], ["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", 4], ["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", 26], ["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", 16], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.5ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] [active_model_serializers] 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", 27], ["LIMIT", 1]] [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", 17], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.6ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 6], ["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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (29.22ms) Completed 200 OK in 35ms (Views: 21.5ms | ActiveRecord: 11.6ms)  (2.5ms) ROLLBACK  (0.9ms) BEGIN  (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", "luana@prosacco.info"], ["LIMIT", 1]] SQL (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", "Carrie Wiegand"], ["last_name", "Merna Heidenreich"], ["email", "luana@prosacco.info"], ["password_digest", "$2a$04$6hXBux8A2g1nX9qnvpncYeXqPdO8.AW3/9kHvFB6jZdELynR.ALri"], ["created_at", "2018-04-01 10:01:56.926075"], ["updated_at", "2018-04-01 10:01:56.926075"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Carlota Kutch"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rubin VonRueden"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Carlota Kutch"], ["name", "Rubin VonRueden"], ["created_at", "2018-04-01 10:01:56.931765"], ["updated_at", "2018-04-01 10:01:56.931765"]]  (0.5ms) 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", 35], ["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", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) 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.24ms) Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 2.4ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.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", "agatha@abbottbauch.info"], ["LIMIT", 1]] SQL (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", "Aundrea Balistreri"], ["last_name", "Jong Hermann"], ["email", "agatha@abbottbauch.info"], ["password_digest", "$2a$04$07KNetOEeR4b5Q3hR6iUIONtTvvWQnC2cawiVlQZ2VrXyNl.aPEfO"], ["created_at", "2018-04-01 10:01:56.956889"], ["updated_at", "2018-04-01 10:01:56.956889"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Neva Gleason"], ["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", "Klara O'Reilly"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Neva Gleason"], ["name", "Klara O'Reilly"], ["created_at", "2018-04-01 10:01:56.965303"], ["updated_at", "2018-04-01 10:01:56.965303"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} 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::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", 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", 36], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.7ms) Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 2.2ms)  (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", "beth_dicki@streichnader.us"], ["LIMIT", 1]] SQL (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", "Marybeth Corwin"], ["last_name", "Roderick Kozey"], ["email", "beth_dicki@streichnader.us"], ["password_digest", "$2a$04$kKbgXjQfJN3oy8bCfQQPv.JtbsZxol2m/pjF5bWNZzGCzbyHiH0tm"], ["created_at", "2018-04-01 10:01:56.983492"], ["updated_at", "2018-04-01 10:01:56.983492"]]  (0.9ms) 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"=>"Kallie Berge", "name"=>"Vanessa Goyette"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["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", "Kallie Berge"], ["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", "Vanessa Goyette"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kallie Berge"], ["name", "Vanessa Goyette"], ["created_at", "2018-04-01 10:01:56.999872"], ["updated_at", "2018-04-01 10:01:56.999872"]]  (1.0ms) RELEASE 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", 37], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.53ms) Completed 201 Created in 22ms (Views: 7.1ms | ActiveRecord: 7.5ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.7ms) 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", "coral_kertzmann@connelly.biz"], ["LIMIT", 1]] SQL (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", "Phung Mraz"], ["last_name", "Lavern O'Keefe"], ["email", "coral_kertzmann@connelly.biz"], ["password_digest", "$2a$04$9mHCDkwd3R.940NHRj8fu.Sq.3Pb0ZX12eQzElItBD/L7xUscAcny"], ["created_at", "2018-04-01 10:01:57.027224"], ["updated_at", "2018-04-01 10:01:57.027224"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Chantelle Steuber", "name"=>"Jonelle Marvin"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]]  (1.0ms) 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", "Chantelle Steuber"], ["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", "Jonelle Marvin"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chantelle Steuber"], ["name", "Jonelle Marvin"], ["created_at", "2018-04-01 10:01:57.044006"], ["updated_at", "2018-04-01 10:01:57.044006"]]  (0.8ms) 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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.24ms) Completed 201 Created in 16ms (Views: 2.2ms | ActiveRecord: 7.4ms) 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]]  (1.5ms) 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", "esta@brekke.ca"], ["LIMIT", 1]] SQL (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", "Bobbi Hahn"], ["last_name", "Reed Runolfsdottir"], ["email", "esta@brekke.ca"], ["password_digest", "$2a$04$qfRUepagyP2GogHeSBV.iuS1GhwID0LHUlJCVuIHcDe8No0xXZYHO"], ["created_at", "2018-04-01 10:01:57.064381"], ["updated_at", "2018-04-01 10:01:57.064381"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Jesusita Kerluke"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]]  (0.8ms) 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", ""], ["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", "Jesusita Kerluke"], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 19ms (Views: 8.3ms | ActiveRecord: 5.5ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (1.2ms) 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", "kareen@townerempel.biz"], ["LIMIT", 1]] SQL (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", "Clementine Schmitt"], ["last_name", "Cody Gerlach"], ["email", "kareen@townerempel.biz"], ["password_digest", "$2a$04$eXMqR4sQLJh7SSFZeNZVPebHXH1PbmYi/FF3cUSGiWlxzsHVFjSWa"], ["created_at", "2018-04-01 10:01:57.107345"], ["updated_at", "2018-04-01 10:01:57.107345"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (4.6ms) 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", "Creola Becker"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (3.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Patrick Brekke"], ["LIMIT", 1]] SQL (4.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Creola Becker"], ["name", "Patrick Brekke"], ["created_at", "2018-04-01 10:01:57.139915"], ["updated_at", "2018-04-01 10:01:57.139915"]]  (2.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Corinna Moore"}, "id"=>"23"} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["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", 23], ["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", "Creola Becker"], ["id", 23], ["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", "Corinna Moore"], ["id", 23], ["LIMIT", 1]] SQL (1.0ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Corinna Moore"], ["updated_at", "2018-04-01 10:01:57.169580"], ["id", 23]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 18ms (Views: 1.7ms | ActiveRecord: 6.6ms) 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", 23], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "hershel@waters.biz"], ["LIMIT", 1]] SQL (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", "Laquanda Leffler"], ["last_name", "Lisabeth Lind"], ["email", "hershel@waters.biz"], ["password_digest", "$2a$04$luPJEJcEhfAd6ZLKIMW9lOiUa/2XhyH4cURP84lWaeFbXlFSg1Rvy"], ["created_at", "2018-04-01 10:01:57.184790"], ["updated_at", "2018-04-01 10:01:57.184790"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Travis Gusikowski"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Agnus Abernathy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Travis Gusikowski"], ["name", "Agnus Abernathy"], ["created_at", "2018-04-01 10:01:57.191525"], ["updated_at", "2018-04-01 10:01:57.191525"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Lillie Kautzer", "name"=>"Donya Weber"}, "id"=>"24"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["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", 24], ["LIMIT", 1]]  (1.3ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Lillie Kautzer"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.4ms) 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", "Donya Weber"], ["id", 24], ["LIMIT", 1]] SQL (1.6ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Lillie Kautzer"], ["name", "Donya Weber"], ["updated_at", "2018-04-01 10:01:57.221933"], ["id", 24]]  (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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.32ms) Completed 200 OK in 64ms (Views: 1.7ms | ActiveRecord: 10.3ms)  (0.6ms) 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", "melida_lebsack@berge.com"], ["LIMIT", 1]] SQL (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", "Lavelle Littel"], ["last_name", "Carmon Lehner"], ["email", "melida_lebsack@berge.com"], ["password_digest", "$2a$04$feJNw6mrM98t5mLzbB9QFeCdsEo91Ojy6ma5TDnPvRmi5kVHlg9Q."], ["created_at", "2018-04-01 10:01:57.267887"], ["updated_at", "2018-04-01 10:01:57.267887"]]  (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", "Celina Harber"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rosenda Hauck"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Celina Harber"], ["name", "Rosenda Hauck"], ["created_at", "2018-04-01 10:01:57.274342"], ["updated_at", "2018-04-01 10:01:57.274342"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Rickie Turner"}, "id"=>"25"} 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]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", ""], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) 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", "Rickie Turner"], ["id", 25], ["LIMIT", 1]]  (0.4ms) 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.0ms | ActiveRecord: 3.9ms)  (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", "branda_feil@rolfsonmcclure.biz"], ["LIMIT", 1]] SQL (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", "Tilda Schulist"], ["last_name", "Henrietta Morissette"], ["email", "branda_feil@rolfsonmcclure.biz"], ["password_digest", "$2a$04$PTpuYTRZOah3u3L17NeQbObp1yPu8McRhNQwByzFvTd5wtVbaLMpK"], ["created_at", "2018-04-01 10:01:57.292757"], ["updated_at", "2018-04-01 10:01:57.292757"]]  (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", "Madelyn Predovic"], ["LIMIT", 1]] SQL (2.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Madelyn Predovic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.298337"], ["updated_at", "2018-04-01 10:01:57.298337"]]  (1.2ms) 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", "Dahlia Bayer"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dahlia Bayer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.312048"], ["updated_at", "2018-04-01 10:01:57.312048"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Irvin Yundt"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Irvin Yundt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.325318"], ["updated_at", "2018-04-01 10:01:57.325318"]]  (0.7ms) 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", 43], ["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", 43], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.3ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (3.62ms) Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 3.0ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (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", "Evan Stanton"], ["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", "Sol Wehner"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Evan Stanton"], ["name", "Sol Wehner"], ["created_at", "2018-04-01 10:01:57.360358"], ["updated_at", "2018-04-01 10:01:57.360358"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Benito Moore"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Benito Moore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.364671"], ["updated_at", "2018-04-01 10:01:57.364671"]]  (0.4ms) 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", "Nam Effertz"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nam Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.368829"], ["updated_at", "2018-04-01 10:01:57.368829"]]  (0.4ms) 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", "Mariette Schimmel"], ["LIMIT", 1]] SQL (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", "Mariette Schimmel"], ["name", "Colby Blanda"], ["address", "Madelaine Hickle"], ["created_at", "2018-04-01 10:01:57.373778"], ["updated_at", "2018-04-01 10:01:57.373778"]]  (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", "Elana Conn"], ["service_delivery_unit_id", 29], ["LIMIT", 1]] SQL (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", "Elana Conn"], ["name", "Beverly Oberbrunner"], ["service_type_id", 26], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 29], ["created_at", "2018-04-01 10:01:57.379211"], ["updated_at", "2018-04-01 10:01:57.379211"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "Janessa Block"], ["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", "Shantelle Douglas"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Janessa Block"], ["name", "Shantelle Douglas"], ["created_at", "2018-04-01 10:01:57.392520"], ["updated_at", "2018-04-01 10:01:57.392520"]]  (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", "Rutha Sauer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rutha Sauer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.397428"], ["updated_at", "2018-04-01 10:01:57.397428"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Isaias Mayer"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Isaias Mayer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.401604"], ["updated_at", "2018-04-01 10:01:57.401604"]]  (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", "Deidre Barrows"], ["LIMIT", 1]] SQL (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", "Deidre Barrows"], ["name", "Edelmira Gislason"], ["address", "Yen Walter"], ["created_at", "2018-04-01 10:01:57.408040"], ["updated_at", "2018-04-01 10:01:57.408040"]]  (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", "Corey Schiller"], ["service_delivery_unit_id", 30], ["LIMIT", 1]] SQL (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", "Corey Schiller"], ["name", "Darrell McCullough"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 30], ["created_at", "2018-04-01 10:01:57.414059"], ["updated_at", "2018-04-01 10:01:57.414059"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) 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", "Alycia Labadie"], ["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", "Laurena Howell"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alycia Labadie"], ["name", "Laurena Howell"], ["created_at", "2018-04-01 10:01:57.429046"], ["updated_at", "2018-04-01 10:01:57.429046"]]  (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", "Elvin Mante"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elvin Mante"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.435368"], ["updated_at", "2018-04-01 10:01:57.435368"]]  (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", "Kristal Oga"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kristal Oga"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.444351"], ["updated_at", "2018-04-01 10:01:57.444351"]]  (0.6ms) 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", "Tegan Crona"], ["LIMIT", 1]] SQL (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", "Tegan Crona"], ["name", "Alena Senger"], ["address", "Trinh Smitham"], ["created_at", "2018-04-01 10:01:57.450764"], ["updated_at", "2018-04-01 10:01:57.450764"]]  (0.9ms) RELEASE SAVEPOINT active_record_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", "Debra Bechtelar"], ["service_delivery_unit_id", 31], ["LIMIT", 1]] SQL (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", "Debra Bechtelar"], ["name", "Coleman Pouros"], ["service_type_id", 28], ["base_unit_id", 44], ["utilization_unit_id", 45], ["service_delivery_unit_id", 31], ["created_at", "2018-04-01 10:01:57.457509"], ["updated_at", "2018-04-01 10:01:57.457509"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.5ms) 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", "Ray Littel"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Myles O'Connell"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ray Littel"], ["name", "Myles O'Connell"], ["created_at", "2018-04-01 10:01:57.468249"], ["updated_at", "2018-04-01 10:01:57.468249"]]  (0.7ms) 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", "Dalene Walsh"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dalene Walsh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.474993"], ["updated_at", "2018-04-01 10:01:57.474993"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Terry Emard"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Terry Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.479683"], ["updated_at", "2018-04-01 10:01:57.479683"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ardell Feest"], ["LIMIT", 1]] SQL (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", "Ardell Feest"], ["name", "Ofelia Yundt"], ["address", "Shaina Runolfsdottir"], ["created_at", "2018-04-01 10:01:57.483531"], ["updated_at", "2018-04-01 10:01:57.483531"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Levi Crooks"], ["service_delivery_unit_id", 32], ["LIMIT", 1]] SQL (0.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", "Levi Crooks"], ["name", "Manie Schimmel"], ["service_type_id", 29], ["base_unit_id", 46], ["utilization_unit_id", 47], ["service_delivery_unit_id", 32], ["created_at", "2018-04-01 10:01:57.489028"], ["updated_at", "2018-04-01 10:01:57.489028"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Deborah Beatty"], ["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", "Carmelina Osinski"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deborah Beatty"], ["name", "Carmelina Osinski"], ["created_at", "2018-04-01 10:01:57.497670"], ["updated_at", "2018-04-01 10:01:57.497670"]]  (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", "Lakeesha Sporer"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lakeesha Sporer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.503692"], ["updated_at", "2018-04-01 10:01:57.503692"]]  (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", "Kazuko McKenzie"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kazuko McKenzie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.510347"], ["updated_at", "2018-04-01 10:01:57.510347"]]  (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", "Bo Rutherford"], ["LIMIT", 1]] SQL (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", "Bo Rutherford"], ["name", "Tricia Pagac"], ["address", "Renay Moore"], ["created_at", "2018-04-01 10:01:57.516403"], ["updated_at", "2018-04-01 10:01:57.516403"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Clemente Schultz"], ["service_delivery_unit_id", 33], ["LIMIT", 1]] SQL (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", "Clemente Schultz"], ["name", "Leonel Reilly"], ["service_type_id", 30], ["base_unit_id", 48], ["utilization_unit_id", 49], ["service_delivery_unit_id", 33], ["created_at", "2018-04-01 10:01:57.525256"], ["updated_at", "2018-04-01 10:01:57.525256"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (3.3ms) 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", "Clemente Schultz"], ["id", 22], ["service_delivery_unit_id", 33], ["LIMIT", 1]]  (1.8ms) ROLLBACK  (0.8ms) BEGIN  (1.0ms) 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", "Edmond Macejkovic"], ["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", "Stacie Dare"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Edmond Macejkovic"], ["name", "Stacie Dare"], ["created_at", "2018-04-01 10:01:57.546764"], ["updated_at", "2018-04-01 10:01:57.546764"]]  (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", "Vergie Nitzsche"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vergie Nitzsche"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.552949"], ["updated_at", "2018-04-01 10:01:57.552949"]]  (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", "Becky Herzog"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Becky Herzog"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.559167"], ["updated_at", "2018-04-01 10:01:57.559167"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Boris Kunde"], ["LIMIT", 1]] SQL (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", "Boris Kunde"], ["name", "Mimi Bartell"], ["address", "Bettye Schuster"], ["created_at", "2018-04-01 10:01:57.563595"], ["updated_at", "2018-04-01 10:01:57.563595"]]  (0.4ms) 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", 34], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) 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", "Linda Auer"], ["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", "Shizuko Carter"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Linda Auer"], ["name", "Shizuko Carter"], ["created_at", "2018-04-01 10:01:57.576737"], ["updated_at", "2018-04-01 10:01:57.576737"]]  (0.6ms) 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", "Jasper Huels"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jasper Huels"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.582122"], ["updated_at", "2018-04-01 10:01:57.582122"]]  (0.4ms) 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", "Myrtis Boehm"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Myrtis Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.587425"], ["updated_at", "2018-04-01 10:01:57.587425"]]  (0.7ms) 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", "Taryn Quigley"], ["LIMIT", 1]] SQL (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", "Taryn Quigley"], ["name", "Berna Wiegand"], ["address", "Kandice Jast"], ["created_at", "2018-04-01 10:01:57.593406"], ["updated_at", "2018-04-01 10:01:57.593406"]]  (0.4ms) 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", "Lulu Altenwerth"], ["service_delivery_unit_id", 35], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "Efren McLaughlin"], ["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", "Patrica Grady"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Efren McLaughlin"], ["name", "Patrica Grady"], ["created_at", "2018-04-01 10:01:57.604966"], ["updated_at", "2018-04-01 10:01:57.604966"]]  (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", "Elly White"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elly White"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.610316"], ["updated_at", "2018-04-01 10:01:57.610316"]]  (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", "Gerard Conroy"], ["LIMIT", 1]] SQL (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", "Gerard Conroy"], ["name", "Delia Mante"], ["address", "Alverta Braun"], ["created_at", "2018-04-01 10:01:57.616529"], ["updated_at", "2018-04-01 10:01:57.616529"]]  (0.6ms) 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", "Fredrick Ebert"], ["service_delivery_unit_id", 36], ["LIMIT", 1]]  (0.9ms) 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", "Riva Daniel"], ["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", "Long Stanton"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Riva Daniel"], ["name", "Long Stanton"], ["created_at", "2018-04-01 10:01:57.631227"], ["updated_at", "2018-04-01 10:01:57.631227"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Petrina Medhurst"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Petrina Medhurst"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.639124"], ["updated_at", "2018-04-01 10:01:57.639124"]]  (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", "Gerardo Muller"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gerardo Muller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.645448"], ["updated_at", "2018-04-01 10:01:57.645448"]]  (0.8ms) RELEASE 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" IS NULL LIMIT $2 [["code", "Bronwyn Wiegand"], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Trista Ankunding"], ["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", "Avery Flatley"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Trista Ankunding"], ["name", "Avery Flatley"], ["created_at", "2018-04-01 10:01:57.663555"], ["updated_at", "2018-04-01 10:01:57.663555"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Chieko Hand"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chieko Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.667640"], ["updated_at", "2018-04-01 10:01:57.667640"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Opal Borer"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Opal Borer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.673255"], ["updated_at", "2018-04-01 10:01:57.673255"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tarra Bayer"], ["LIMIT", 1]] SQL (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", "Tarra Bayer"], ["name", "Byron Lakin"], ["address", "Coleen Hirthe"], ["created_at", "2018-04-01 10:01:57.677195"], ["updated_at", "2018-04-01 10:01:57.677195"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Kala Kunze"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (0.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", "Kala Kunze"], ["name", "Rodger Rippin"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 37], ["created_at", "2018-04-01 10:01:57.681098"], ["updated_at", "2018-04-01 10:01:57.681098"]]  (0.6ms) 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", "Albertha Considine"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Carlota Quitzon"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Albertha Considine"], ["name", "Carlota Quitzon"], ["created_at", "2018-04-01 10:01:57.687952"], ["updated_at", "2018-04-01 10:01:57.687952"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Rolf Miller"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rolf Miller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.691923"], ["updated_at", "2018-04-01 10:01:57.691923"]]  (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", "Kazuko Goyette"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kazuko Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:57.697659"], ["updated_at", "2018-04-01 10:01:57.697659"]]  (0.4ms) RELEASE 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", "Kala Kunze"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] 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", 37], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.4ms) 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", "marya_durgan@kerluke.co.uk"], ["LIMIT", 1]] SQL (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", "Annalisa Ziemann"], ["last_name", "Jamaal Robel"], ["email", "marya_durgan@kerluke.co.uk"], ["password_digest", "$2a$04$Bn4NydJLyd.PJozJnRJk0./XfDVcyacPa94EKeyJ5TdJxROlcV2tK"], ["created_at", "2018-04-01 10:01:57.727040"], ["updated_at", "2018-04-01 10:01:57.727040"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "jeannette_rath@schimmel.name"], ["LIMIT", 1]] SQL (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", "Ione Batz"], ["last_name", "Jeannetta Deckow"], ["email", "jeannette_rath@schimmel.name"], ["password_digest", "$2a$04$Q0dzHHiHW4Jw4LVnmNLupeclBI7ehHYWQueI5yXvLL1AJ3oGsYfVG"], ["created_at", "2018-04-01 10:01:57.741993"], ["updated_at", "2018-04-01 10:01:57.741993"]]  (1.0ms) 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", "Fermina Pollich"], ["LIMIT", 1]] SQL (5.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", "Fermina Pollich"], ["authorized_by", "Zada Lynch"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 44], ["approved_by_id", 45], ["created_at", "2018-04-01 10:01:57.750524"], ["updated_at", "2018-04-01 10:01:57.750524"]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (2.0ms) 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", "Fermina Pollich"], ["id", 1], ["LIMIT", 1]]  (1.3ms) 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", "ernestina.schamberger@turcotte.co.uk"], ["LIMIT", 1]] SQL (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", "Kristi Crist"], ["last_name", "Latrice Schmeler"], ["email", "ernestina.schamberger@turcotte.co.uk"], ["password_digest", "$2a$04$lKBkRGXHlD/UjN9Q.D1FWemES1IN49d8.cQWT9JvkOKPSU6rAbOSq"], ["created_at", "2018-04-01 10:01:57.773662"], ["updated_at", "2018-04-01 10:01:57.773662"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "earle.towne@heaneymante.us"], ["LIMIT", 1]] SQL (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", "Burma Kovacek"], ["last_name", "Silvana Rosenbaum"], ["email", "earle.towne@heaneymante.us"], ["password_digest", "$2a$04$YelC.8.jiH1RQR.8o5tCa.TQ4EhdUkb.TbVQ/zxrHNBlSlB7XpsEi"], ["created_at", "2018-04-01 10:01:57.779903"], ["updated_at", "2018-04-01 10:01:57.779903"]]  (0.4ms) 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", "Alona Price"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) 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", "nelia@fisher.ca"], ["LIMIT", 1]] SQL (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", "Janine Wilkinson"], ["last_name", "Kenneth Wehner"], ["email", "nelia@fisher.ca"], ["password_digest", "$2a$04$N1u1yEMiRQ1lx/w2Yu/USOt/IJojS4SPpOjm3pV43bCzGD6A3xNF2"], ["created_at", "2018-04-01 10:01:57.792402"], ["updated_at", "2018-04-01 10:01:57.792402"]]  (0.4ms) 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", "kathe.bode@upton.co.uk"], ["LIMIT", 1]] SQL (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", "Lacy Metz"], ["last_name", "King Schoen"], ["email", "kathe.bode@upton.co.uk"], ["password_digest", "$2a$04$e.foVeI2fl7gO338TW5Q9.cZscCogFfuIpQiMq49Sqhjj68l1gGYS"], ["created_at", "2018-04-01 10:01:57.798287"], ["updated_at", "2018-04-01 10:01:57.798287"]]  (0.5ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) 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", "elliott@hudsonbrekke.info"], ["LIMIT", 1]] SQL (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", "Priscilla Greenholt"], ["last_name", "Abbie McKenzie"], ["email", "elliott@hudsonbrekke.info"], ["password_digest", "$2a$04$hfgjsu.M4.5tvYaNvccUQOj9MCRe17hwUFV2OXH/SEy4ZD0g7f1V2"], ["created_at", "2018-04-01 10:01:57.811182"], ["updated_at", "2018-04-01 10:01:57.811182"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (3.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "torrie@rippin.name"], ["LIMIT", 1]] SQL (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", "Johnnie Rippin"], ["last_name", "Leana Rowe"], ["email", "torrie@rippin.name"], ["password_digest", "$2a$04$7yDCk1o0mYh91wXicpMmQeyK./.PNe.flC90cwbvC9Lur4w3Z8272"], ["created_at", "2018-04-01 10:01:57.821641"], ["updated_at", "2018-04-01 10:01:57.821641"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Arlie O'Connell"], ["LIMIT", 1]] SQL (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", "Arlie O'Connell"], ["authorized_by", "Martina Gibson"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 50], ["approved_by_id", 51], ["created_at", "2018-04-01 10:01:57.828658"], ["updated_at", "2018-04-01 10:01:57.828658"]]  (0.6ms) 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", "valentine@hintz.ca"], ["LIMIT", 1]] SQL (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", "Naoma Marquardt"], ["last_name", "Ayana Padberg"], ["email", "valentine@hintz.ca"], ["password_digest", "$2a$04$YVCel3PM.oAbrFuwr2ju9uI4nUcUl4yccns.Ky/Ts0qefS4ZrlNUe"], ["created_at", "2018-04-01 10:01:57.837253"], ["updated_at", "2018-04-01 10:01:57.837253"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "khalilah@langoshcasper.name"], ["LIMIT", 1]] SQL (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", "Terisa Batz"], ["last_name", "Lilliam Rohan"], ["email", "khalilah@langoshcasper.name"], ["password_digest", "$2a$04$UsOxX4bE7vkyHS.IHFxRUufR5WMNjll6eNNvlqVVxrMZdefI1q5fy"], ["created_at", "2018-04-01 10:01:57.846688"], ["updated_at", "2018-04-01 10:01:57.846688"]]  (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", "Arlie O'Connell"], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.7ms) BEGIN  (1.2ms) 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", "erminia@johnstonheaney.info"], ["LIMIT", 1]] SQL (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", "Janina Schumm"], ["last_name", "Nicole Zemlak"], ["email", "erminia@johnstonheaney.info"], ["password_digest", "$2a$04$wrbZp4UYL3b3sITPwWFqjeXUdNRywt91DoLonAeE0krfWBM0IphmW"], ["created_at", "2018-04-01 10:01:57.863210"], ["updated_at", "2018-04-01 10:01:57.863210"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "asley@kunze.name"], ["LIMIT", 1]] SQL (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", "Tod Dietrich"], ["last_name", "Neda Paucek"], ["email", "asley@kunze.name"], ["password_digest", "$2a$04$Hr..dR8B0VHIFc29m6gE5uCiSA4s2M0CVirgaxhTjBciy8hUniQ6O"], ["created_at", "2018-04-01 10:01:57.872280"], ["updated_at", "2018-04-01 10:01:57.872280"]]  (0.4ms) 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", "Raymonde Lind"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "quiana@rathbeahan.com"], ["LIMIT", 1]] SQL (0.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", "Earlean Block"], ["last_name", "Leonel Pfannerstill"], ["email", "quiana@rathbeahan.com"], ["password_digest", "$2a$04$ZU/Pl45sgw/FzhOFa4HXy.KI40x4vJHqLpGTCfm.lB891.AzoHeC2"], ["created_at", "2018-04-01 10:01:57.882797"], ["updated_at", "2018-04-01 10:01:57.882797"]]  (0.4ms) 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", "monte@abernathyfadel.info"], ["LIMIT", 1]] SQL (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", "Dan Doyle"], ["last_name", "Lillia Kilback"], ["email", "monte@abernathyfadel.info"], ["password_digest", "$2a$04$L72EtjIz0skMEo08TAF93uhh8GjKiborq7zZHthywZnO3pg6aZwu6"], ["created_at", "2018-04-01 10:01:57.888946"], ["updated_at", "2018-04-01 10:01:57.888946"]]  (0.6ms) 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" = $1 LIMIT $2 [["reference_number", "Onie Beer"], ["LIMIT", 1]]  (0.6ms) 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", "ming@anderson.info"], ["LIMIT", 1]] SQL (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", "Britt Harris"], ["last_name", "Tequila Smith"], ["email", "ming@anderson.info"], ["password_digest", "$2a$04$dl1T6SZZ90O3ue2D5aFEd.QldlYc24Avdj9tnvUGjqoszLLA5VDR6"], ["created_at", "2018-04-01 10:01:57.901768"], ["updated_at", "2018-04-01 10:01:57.901768"]]  (0.8ms) 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", "amal_breitenberg@hansen.name"], ["LIMIT", 1]] SQL (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", "Teresita Mohr"], ["last_name", "Glenn Mayert"], ["email", "amal_breitenberg@hansen.name"], ["password_digest", "$2a$04$INtc1zqHe275wxtoFArFCeE42W8zT7kkYXb90nawRXb9zfJvIqmia"], ["created_at", "2018-04-01 10:01:57.910223"], ["updated_at", "2018-04-01 10:01:57.910223"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Idalia Okuneva"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) 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", "cyndi_rempel@okuneva.biz"], ["LIMIT", 1]] SQL (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", "Mabel Goyette"], ["last_name", "Quincy Nitzsche"], ["email", "cyndi_rempel@okuneva.biz"], ["password_digest", "$2a$04$bmY4g0hif.3t0GXBhZqNE.EHTY8JLUaB8fyNdUo1/A04rIwQof4ri"], ["created_at", "2018-04-01 10:01:57.924064"], ["updated_at", "2018-04-01 10:01:57.924064"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "kareen.marks@rolfsonhammes.name"], ["LIMIT", 1]] SQL (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", "Emil Schuster"], ["last_name", "Jared Flatley"], ["email", "kareen.marks@rolfsonhammes.name"], ["password_digest", "$2a$04$AkVbGnLF0dmZGO0Fe4CHZ.s6oM8ijBxIj1SbE6h4fEUp4zpmhNCP6"], ["created_at", "2018-04-01 10:01:57.934631"], ["updated_at", "2018-04-01 10:01:57.934631"]]  (1.1ms) 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", "Chun Muller"], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) 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", "loria@gutkowskiokeefe.com"], ["LIMIT", 1]] SQL (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", "Tom Hoeger"], ["last_name", "Marianna Upton"], ["email", "loria@gutkowskiokeefe.com"], ["password_digest", "$2a$04$ZOvElaafvCjv8/RS2ZCHGeGJJI66CqZX4jYAto5EDKLSyUeqpB1OG"], ["created_at", "2018-04-01 10:01:57.956450"], ["updated_at", "2018-04-01 10:01:57.956450"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Zina Cruickshank"], ["LIMIT", 1]] SQL (1.1ms) 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", "Zina Cruickshank"], ["authorized_by", "Mellisa VonRueden"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 62], ["created_at", "2018-04-01 10:01:57.962602"], ["updated_at", "2018-04-01 10:01:57.962602"]]  (0.6ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Zina Cruickshank"], ["id", 3], ["LIMIT", 1]]  (1.4ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Salena Konopelski"], ["LIMIT", 1]] SQL (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", "Salena Konopelski"], ["name", "Granville Kiehn"], ["address", "Dennis Satterfield"], ["created_at", "2018-04-01 10:01:57.993529"], ["updated_at", "2018-04-01 10:01:57.993529"]]  (0.4ms) 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", "Salena Konopelski"], ["id", 38], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN 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", "Vonnie Gerhold"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Tereasa Schultz"], ["LIMIT", 1]] SQL (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", "Tereasa Schultz"], ["name", "Tobias Armstrong"], ["address", "Awilda Kuphal"], ["created_at", "2018-04-01 10:01:58.012752"], ["updated_at", "2018-04-01 10:01:58.012752"]]  (0.5ms) 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", "Tereasa Schultz"], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.6ms) BEGIN  (1.5ms) 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", "Felecia Bogisich"], ["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", "Marjorie Harber"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Felecia Bogisich"], ["name", "Marjorie Harber"], ["description", "Non ullam est cumque excepturi. Optio distinctio dolores tempora odio. Deserunt ipsum doloribus dolore labore sit nihil voluptatum nemo. Autem omnis totam quisquam fugiat quia molestiae sit. Neque nostrum dicta et vel."], ["created_at", "2018-04-01 10:01:58.029169"], ["updated_at", "2018-04-01 10:01:58.029169"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Margarette Hane"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Jerrell Hartmann"], ["LIMIT", 1]] SQL (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", "Margarette Hane"], ["name", "Jerrell Hartmann"], ["description", "Quia iste voluptates vitae unde omnis nisi perspiciatis qui. Dolores dicta et aliquid voluptas nostrum tenetur consequuntur. Vero quaerat delectus ea cupiditate quis."], ["equipment_type_id", 7], ["created_at", "2018-04-01 10:01:58.038169"], ["updated_at", "2018-04-01 10:01:58.038169"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Alba Kuhlman"], ["LIMIT", 1]] SQL (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", "Alba Kuhlman"], ["name", "Tamekia Hegmann"], ["description", "Camie Haag"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-04-01 10:01:58.045198"], ["updated_at", "2018-04-01 10:01:58.045198"]]  (0.7ms) 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", "Suzi Predovic"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (2.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jerlene Murphy"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Suzi Predovic"], ["name", "Jerlene Murphy"], ["description", "Echo Hodkiewicz"], ["created_at", "2018-04-01 10:01:58.054664"], ["updated_at", "2018-04-01 10:01:58.054664"]]  (0.8ms) 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", "Reiko Wiza"], ["LIMIT", 1]] SQL (1.4ms) 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", "Reiko Wiza"], ["name", "Martina Sporer"], ["location_type_id", 7], ["description", "Al Turcotte"], ["address", "Ronda Daugherty"], ["created_at", "2018-04-01 10:01:58.064464"], ["updated_at", "2018-04-01 10:01:58.064464"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Sandi Metz"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Cinthia Vandervort"], ["LIMIT", 1]] SQL (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", "Sandi Metz"], ["name", "Jarred Blanda"], ["description", "Eddie Beatty"], ["serial_number", "Cinthia Vandervort"], ["brand", "Johnna Ferry"], ["item_model", "Natacha Stroman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-04-01 10:01:58.081664"], ["updated_at", "2018-04-01 10:01:58.081664"]]  (0.9ms) 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", "Kecia Welch"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Santos Runolfsson"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kecia Welch"], ["name", "Santos Runolfsson"], ["created_at", "2018-04-01 10:01:58.089376"], ["updated_at", "2018-04-01 10:01:58.089376"]]  (0.4ms) 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", "Miles Greenholt"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Miles Greenholt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.093525"], ["updated_at", "2018-04-01 10:01:58.093525"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Heidy Zieme"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Heidy Zieme"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.098247"], ["updated_at", "2018-04-01 10:01:58.098247"]]  (0.4ms) 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", "Tammie Bayer"], ["LIMIT", 1]] SQL (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", "Tammie Bayer"], ["name", "Eldora Hamill"], ["address", "Vince Wisozk"], ["created_at", "2018-04-01 10:01:58.103694"], ["updated_at", "2018-04-01 10:01:58.103694"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Song Romaguera"], ["service_delivery_unit_id", 40], ["LIMIT", 1]] SQL (0.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", "Song Romaguera"], ["name", "Avery Ankunding"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 40], ["created_at", "2018-04-01 10:01:58.107879"], ["updated_at", "2018-04-01 10:01:58.107879"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.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", 24], ["equipment_item_id", 7], ["created_at", "2018-04-01 10:01:58.110817"], ["updated_at", "2018-04-01 10:01:58.110817"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) 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", "Odelia Rodriguez"], ["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", "Somer Becker"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Odelia Rodriguez"], ["name", "Somer Becker"], ["description", "Nemo deserunt fuga voluptatum officiis consequatur et sed. Rem dolores qui est sed qui excepturi voluptatem. Quibusdam rerum unde facilis quia. Aut repellendus sunt eveniet dolor. Aut cumque et itaque quis provident blanditiis deleniti iure."], ["created_at", "2018-04-01 10:01:58.120459"], ["updated_at", "2018-04-01 10:01:58.120459"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Cherise Gutmann"], ["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", "Alesia Gleason"], ["LIMIT", 1]] SQL (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", "Cherise Gutmann"], ["name", "Alesia Gleason"], ["description", "Praesentium iste pariatur dolorem consequatur omnis id. Corrupti libero quo facere dolorem in. Ex earum dolorem corrupti voluptatibus. Et debitis fuga non aliquid cum. Et et deleniti quod quo."], ["equipment_type_id", 8], ["created_at", "2018-04-01 10:01:58.125533"], ["updated_at", "2018-04-01 10:01:58.125533"]]  (0.8ms) 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", "Toby Blick"], ["LIMIT", 1]] SQL (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", "Toby Blick"], ["name", "Wendell Friesen"], ["description", "Almeta Weimann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-04-01 10:01:58.137281"], ["updated_at", "2018-04-01 10:01:58.137281"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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", "Valery Grimes"], ["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", "Omar Walsh"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Valery Grimes"], ["name", "Omar Walsh"], ["description", "Markus Streich"], ["created_at", "2018-04-01 10:01:58.162934"], ["updated_at", "2018-04-01 10:01:58.162934"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Magdalene Little"], ["LIMIT", 1]] SQL (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", "Magdalene Little"], ["name", "Kamala Sporer"], ["location_type_id", 8], ["description", "Clemencia Schuster"], ["address", "Adolph Dach"], ["created_at", "2018-04-01 10:01:58.180178"], ["updated_at", "2018-04-01 10:01:58.180178"]]  (0.6ms) 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", "Jani Miller"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Janina Graham"], ["LIMIT", 1]] SQL (0.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", "Jani Miller"], ["name", "Queen Smitham"], ["description", "Ninfa Morar"], ["serial_number", "Janina Graham"], ["brand", "Kazuko Orn"], ["item_model", "Milan Auer"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-04-01 10:01:58.188381"], ["updated_at", "2018-04-01 10:01:58.188381"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ted Luettgen"], ["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", "Jackson Becker"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ted Luettgen"], ["name", "Jackson Becker"], ["created_at", "2018-04-01 10:01:58.194291"], ["updated_at", "2018-04-01 10:01:58.194291"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Shantelle Conn"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shantelle Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.198516"], ["updated_at", "2018-04-01 10:01:58.198516"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Melinda O'Kon"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Melinda O'Kon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.203421"], ["updated_at", "2018-04-01 10:01:58.203421"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Genoveva Stracke"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Genoveva Stracke"], ["name", "Nisha Mayert"], ["address", "Ha Gottlieb"], ["created_at", "2018-04-01 10:01:58.207458"], ["updated_at", "2018-04-01 10:01:58.207458"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Leon Powlowski"], ["service_delivery_unit_id", 41], ["LIMIT", 1]] SQL (0.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", "Leon Powlowski"], ["name", "Anh Thompson"], ["service_type_id", 38], ["base_unit_id", 63], ["utilization_unit_id", 64], ["service_delivery_unit_id", 41], ["created_at", "2018-04-01 10:01:58.211222"], ["updated_at", "2018-04-01 10:01:58.211222"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (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", "Agueda Rutherford"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Pamila Kuhn"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Agueda Rutherford"], ["name", "Pamila Kuhn"], ["description", "Architecto dolores facere debitis quis. Deleniti perferendis praesentium ut ipsam consequatur error voluptas illo. Dolor autem mollitia et quisquam ullam qui facere qui. In vel necessitatibus fugiat voluptatem est laboriosam. Occaecati quos amet est reiciendis voluptate nihil."], ["created_at", "2018-04-01 10:01:58.221058"], ["updated_at", "2018-04-01 10:01:58.221058"]]  (0.6ms) 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", "Kim Oberbrunner"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Aimee Lehner"], ["LIMIT", 1]] SQL (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", "Kim Oberbrunner"], ["name", "Aimee Lehner"], ["description", "Corrupti qui exercitationem officiis ut sit tempora omnis aut. Omnis provident tempora asperiores deleniti exercitationem veritatis id harum. Doloremque porro quasi aut et totam adipisci."], ["equipment_type_id", 9], ["created_at", "2018-04-01 10:01:58.226277"], ["updated_at", "2018-04-01 10:01:58.226277"]]  (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", "Patrick Bednar"], ["LIMIT", 1]] SQL (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", "Patrick Bednar"], ["name", "Susan Hayes"], ["description", "Sandy Huels"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-04-01 10:01:58.232097"], ["updated_at", "2018-04-01 10:01:58.232097"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (2.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Clarice Auer"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Yvonne Price"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Clarice Auer"], ["name", "Yvonne Price"], ["description", "Rosena Mills"], ["created_at", "2018-04-01 10:01:58.259684"], ["updated_at", "2018-04-01 10:01:58.259684"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Lajuana Swift"], ["LIMIT", 1]] SQL (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", "Lajuana Swift"], ["name", "Chuck Vandervort"], ["location_type_id", 9], ["description", "Oswaldo Luettgen"], ["address", "Shannon Smitham"], ["created_at", "2018-04-01 10:01:58.277921"], ["updated_at", "2018-04-01 10:01:58.277921"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Dannie Yundt"], ["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", "Virgilio Eichmann"], ["LIMIT", 1]] SQL (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", "Dannie Yundt"], ["name", "Cami Homenick"], ["description", "Digna Legros"], ["serial_number", "Virgilio Eichmann"], ["brand", "Shawn Hirthe"], ["item_model", "Buena Schowalter"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-04-01 10:01:58.288207"], ["updated_at", "2018-04-01 10:01:58.288207"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Javier Greenholt"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lesha Gaylord"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Javier Greenholt"], ["name", "Lesha Gaylord"], ["created_at", "2018-04-01 10:01:58.293808"], ["updated_at", "2018-04-01 10:01:58.293808"]]  (0.4ms) 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", "Tawna Crooks"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tawna Crooks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.298047"], ["updated_at", "2018-04-01 10:01:58.298047"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Honey Upton"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Honey Upton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.303100"], ["updated_at", "2018-04-01 10:01:58.303100"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Charis Braun"], ["LIMIT", 1]] SQL (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", "Charis Braun"], ["name", "Wilbur Schaden"], ["address", "Helena Ratke"], ["created_at", "2018-04-01 10:01:58.307302"], ["updated_at", "2018-04-01 10:01:58.307302"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Linnie Mosciski"], ["service_delivery_unit_id", 42], ["LIMIT", 1]] SQL (0.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", "Linnie Mosciski"], ["name", "Tressa Pfeffer"], ["service_type_id", 39], ["base_unit_id", 65], ["utilization_unit_id", 66], ["service_delivery_unit_id", 42], ["created_at", "2018-04-01 10:01:58.311446"], ["updated_at", "2018-04-01 10:01:58.311446"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (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", "Odell Langworth"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Donnie Blanda"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Odell Langworth"], ["name", "Donnie Blanda"], ["description", "Non dicta voluptas autem consequatur debitis nihil officia sunt. Aut ad voluptatem et magni similique. Quasi fugit sed dolorem perferendis. Enim quo vero aut veniam fugit error temporibus et. Quo ullam nihil molestiae quam quibusdam et consequatur natus."], ["created_at", "2018-04-01 10:01:58.321979"], ["updated_at", "2018-04-01 10:01:58.321979"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Keeley Emmerich"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Verdie Emmerich"], ["LIMIT", 1]] SQL (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", "Keeley Emmerich"], ["name", "Verdie Emmerich"], ["description", "Tempore enim necessitatibus sed sit quasi qui nihil sit. Exercitationem aperiam ab non mollitia temporibus doloremque quis sunt. Et et ipsa quaerat aut accusamus aut. Dolor vel eius maiores sed. Qui laborum sit ut quis beatae."], ["equipment_type_id", 10], ["created_at", "2018-04-01 10:01:58.326787"], ["updated_at", "2018-04-01 10:01:58.326787"]]  (0.4ms) 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", "Soila Langosh"], ["LIMIT", 1]] SQL (0.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", "Soila Langosh"], ["name", "Dominica Feil"], ["description", "Fiona Collier"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-04-01 10:01:58.330669"], ["updated_at", "2018-04-01 10:01:58.330669"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Maryam Runte"], ["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", "Daren Wuckert"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maryam Runte"], ["name", "Daren Wuckert"], ["description", "Charlesetta Spencer"], ["created_at", "2018-04-01 10:01:58.341776"], ["updated_at", "2018-04-01 10:01:58.341776"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Cyril Marks"], ["LIMIT", 1]] SQL (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", "Cyril Marks"], ["name", "Phebe Wehner"], ["location_type_id", 10], ["description", "Neoma Ward"], ["address", "Lesha Effertz"], ["created_at", "2018-04-01 10:01:58.361674"], ["updated_at", "2018-04-01 10:01:58.361674"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Karma Johnson"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Hunter Wolff"], ["LIMIT", 1]] SQL (2.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", "Karma Johnson"], ["name", "Damian Powlowski"], ["description", "Ellamae Bode"], ["serial_number", "Hunter Wolff"], ["brand", "Song Anderson"], ["item_model", "Jaimee Jewess"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-04-01 10:01:58.381039"], ["updated_at", "2018-04-01 10:01:58.381039"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.3ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Magaret Schneider"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Reginia Swift"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Magaret Schneider"], ["name", "Reginia Swift"], ["created_at", "2018-04-01 10:01:58.400023"], ["updated_at", "2018-04-01 10:01:58.400023"]]  (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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Magaret Schneider"], ["id", 40], ["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", "Reginia Swift"], ["id", 40], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceType Exists (0.7ms) 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.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Derick Green"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN 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", "Angel Medhurst"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) 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", "Nelda Yundt"], ["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", "Kayla Thompson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nelda Yundt"], ["name", "Kayla Thompson"], ["created_at", "2018-04-01 10:01:58.420985"], ["updated_at", "2018-04-01 10:01:58.420985"]]  (0.4ms) RELEASE 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", "Nelda 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", "Annett Kerluke"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) 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", "Marcia Champlin"], ["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", "Essie Goyette"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marcia Champlin"], ["name", "Essie Goyette"], ["created_at", "2018-04-01 10:01:58.432352"], ["updated_at", "2018-04-01 10:01:58.432352"]]  (0.6ms) RELEASE 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", "Royce Lehner"], ["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", "Essie Goyette"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN 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", "Yetta Breitenberg"], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.6ms) 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.6ms) ROLLBACK  (0.5ms) BEGIN 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", "Chelsea Gulgowski"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.8ms) BEGIN  (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", "Junie Turner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Junie Turner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.472598"], ["updated_at", "2018-04-01 10:01:58.472598"]]  (0.5ms) 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", "Junie Turner"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.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", "Priscilla Wuckert"], ["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", "Joan Satterfield"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Priscilla Wuckert"], ["name", "Joan Satterfield"], ["created_at", "2018-04-01 10:01:58.487007"], ["updated_at", "2018-04-01 10:01:58.487007"]]  (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", "Deja Kuphal"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Deja Kuphal"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.492138"], ["updated_at", "2018-04-01 10:01:58.492138"]]  (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", "Britt Rohan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Britt Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.497065"], ["updated_at", "2018-04-01 10:01:58.497065"]]  (0.4ms) 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", "Morgan Okuneva"], ["LIMIT", 1]] SQL (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", "Morgan Okuneva"], ["name", "Cassaundra Armstrong"], ["address", "Dorcas Mills"], ["created_at", "2018-04-01 10:01:58.502517"], ["updated_at", "2018-04-01 10:01:58.502517"]]  (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", "Constance Gottlieb"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Constance Gottlieb"], ["name", "Jacklyn Haley"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 43], ["created_at", "2018-04-01 10:01:58.508078"], ["updated_at", "2018-04-01 10:01:58.508078"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Myrtie Schroeder"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Darren Greenfelder"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myrtie Schroeder"], ["name", "Darren Greenfelder"], ["created_at", "2018-04-01 10:01:58.513679"], ["updated_at", "2018-04-01 10:01:58.513679"]]  (0.6ms) 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", "Hanna O'Connell"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hanna O'Connell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.518379"], ["updated_at", "2018-04-01 10:01:58.518379"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Luanna Schroeder"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Luanna Schroeder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.524833"], ["updated_at", "2018-04-01 10:01:58.524833"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lorretta Altenwerth"], ["LIMIT", 1]] SQL (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", "Lorretta Altenwerth"], ["name", "Dallas Hagenes"], ["address", "Helen Block"], ["created_at", "2018-04-01 10:01:58.529034"], ["updated_at", "2018-04-01 10:01:58.529034"]]  (0.4ms) 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", "Gilda Luettgen"], ["service_delivery_unit_id", 44], ["LIMIT", 1]] SQL (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", "Gilda Luettgen"], ["name", "Candace Schmeler"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 44], ["created_at", "2018-04-01 10:01:58.533171"], ["updated_at", "2018-04-01 10:01:58.533171"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Paul Schneider"], ["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", "Genevieve Schowalter"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Paul Schneider"], ["name", "Genevieve Schowalter"], ["created_at", "2018-04-01 10:01:58.541358"], ["updated_at", "2018-04-01 10:01:58.541358"]]  (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", "Yuette Abshire"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yuette Abshire"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.546812"], ["updated_at", "2018-04-01 10:01:58.546812"]]  (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", "Guillermo Kuhlman"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Guillermo Kuhlman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.551834"], ["updated_at", "2018-04-01 10:01:58.551834"]]  (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", "Ta Leannon"], ["LIMIT", 1]] SQL (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", "Ta Leannon"], ["name", "Melony Greenholt"], ["address", "Andres Dach"], ["created_at", "2018-04-01 10:01:58.557124"], ["updated_at", "2018-04-01 10:01:58.557124"]]  (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", "Tamesha Wuckert"], ["service_delivery_unit_id", 45], ["LIMIT", 1]] SQL (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", "Tamesha Wuckert"], ["name", "Thalia Kovacek"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 45], ["created_at", "2018-04-01 10:01:58.561705"], ["updated_at", "2018-04-01 10:01:58.561705"]]  (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"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 27], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.3ms) 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", 28], ["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", 27], ["LIMIT", 1]] SQL (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", 27], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-04-01 10:01:58.572478"], ["updated_at", "2018-04-01 10:01:58.572478"]] 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", 28], ["LIMIT", 1]] SQL (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", 28], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-04-01 10:01:58.576427"], ["updated_at", "2018-04-01 10:01:58.576427"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.9ms) ROLLBACK  (0.5ms) 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", "Effie Bailey"], ["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", "Brenna Nicolas"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Effie Bailey"], ["name", "Brenna Nicolas"], ["created_at", "2018-04-01 10:01:58.592373"], ["updated_at", "2018-04-01 10:01:58.592373"]]  (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", "Linnea Dickinson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Linnea Dickinson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.598435"], ["updated_at", "2018-04-01 10:01:58.598435"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Xuan Donnelly"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Xuan Donnelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:01:58.603880"], ["updated_at", "2018-04-01 10:01:58.603880"]]  (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", "Monty Parisian"], ["LIMIT", 1]] SQL (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", "Monty Parisian"], ["name", "Celine McLaughlin"], ["address", "Trinity Heaney"], ["created_at", "2018-04-01 10:01:58.608011"], ["updated_at", "2018-04-01 10:01:58.608011"]]  (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", "Eduardo Wuckert"], ["service_delivery_unit_id", 46], ["LIMIT", 1]] SQL (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", "Eduardo Wuckert"], ["name", "Michal Crona"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 46], ["created_at", "2018-04-01 10:01:58.612159"], ["updated_at", "2018-04-01 10:01:58.612159"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 30], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-04-01 10:01:58.615602"], ["updated_at", "2018-04-01 10:01:58.615602"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (1.0ms) 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", 30], ["LIMIT", 1]]  (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" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] SQL (1.2ms) 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-04-01 10:01:58.624024"], ["id", 10]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.5ms) 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.4ms) BEGIN  (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", "laurel_kuvalis@klockopaucek.co.uk"], ["LIMIT", 1]] SQL (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", "Gino Jones"], ["last_name", "Francesca Kemmer"], ["email", "laurel_kuvalis@klockopaucek.co.uk"], ["password_digest", "$2a$04$2C1ZCI9LJhCcPTF.vK5Ev.Nlngl30/gBuWRmva9bJje2Ql.bgMWDy"], ["created_at", "2018-04-01 10:01:58.635599"], ["updated_at", "2018-04-01 10:01:58.635599"]]  (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", "lanita_trantow@witting.biz"], ["LIMIT", 1]] SQL (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", "Jami Waters"], ["last_name", "Daria Medhurst"], ["email", "lanita_trantow@witting.biz"], ["password_digest", "$2a$04$SZyT29gT.TEkvy9COr6oI.Hw9e8HQWW3KHbMBOd.fUnyRtFWz2CrO"], ["created_at", "2018-04-01 10:01:58.641969"], ["updated_at", "2018-04-01 10:01:58.641969"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "joey@kuhic.biz"], ["LIMIT", 1]] SQL (1.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", "Cher Mohr"], ["last_name", "Gail Toy"], ["email", "joey@kuhic.biz"], ["password_digest", "$2a$04$6aUZSokcHg01zNjBAm47U.hUfcVVaJCNABKfVfY4j4Rtq1uOvpWii"], ["created_at", "2018-04-01 10:01:58.650553"], ["updated_at", "2018-04-01 10:01:58.650553"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Meryl Sipes"], ["LIMIT", 1]] SQL (4.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", "Meryl Sipes"], ["authorized_by", "Janice Grant"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 64], ["approved_by_id", 65], ["created_at", "2018-04-01 10:01:58.664054"], ["updated_at", "2018-04-01 10:01:58.664054"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Meryl Sipes"], ["id", 4], ["LIMIT", 1]] SQL (1.2ms) 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", 63], ["updated_at", "2018-04-01 10:01:58.705439"], ["id", 4]]  (0.5ms) RELEASE SAVEPOINT active_record_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", 4], ["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", 63], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.1ms) BEGIN  (0.9ms) ROLLBACK  (1.1ms) BEGIN  (0.7ms) ROLLBACK  (1.1ms) BEGIN  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "trudie_daugherty@ryankovacek.com"], ["LIMIT", 1]] SQL (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", "Chantel Weber"], ["last_name", "Sheba Haag"], ["email", "trudie_daugherty@ryankovacek.com"], ["password_digest", "$2a$04$2n.d1MBOJVhodhyNGMyOvumRdaLpFHlt7FNXGXIkGCdByRNMAd8Ei"], ["created_at", "2018-04-01 10:08:31.311646"], ["updated_at", "2018-04-01 10:08:31.311646"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Tricia Altenwerth"], ["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", "Dodie Okuneva"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tricia Altenwerth"], ["name", "Dodie Okuneva"], ["created_at", "2018-04-01 10:08:31.357133"], ["updated_at", "2018-04-01 10:08:31.357133"]]  (0.9ms) 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", "Houston Hackett"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Houston Hackett"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.390641"], ["updated_at", "2018-04-01 10:08:31.390641"]]  (0.8ms) 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", "Oneida Wuckert"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oneida Wuckert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.399896"], ["updated_at", "2018-04-01 10:08:31.399896"]]  (0.5ms) 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", "Sherley Murphy"], ["LIMIT", 1]] SQL (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", "Sherley Murphy"], ["name", "Maisha Kshlerin"], ["address", "Ashleigh Tromp"], ["created_at", "2018-04-01 10:08:31.417519"], ["updated_at", "2018-04-01 10:08:31.417519"]]  (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", "Lanell Walsh"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Lanell Walsh"], ["name", "Dorian Turcotte"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 10:08:31.423840"], ["updated_at", "2018-04-01 10:08:31.423840"]]  (0.6ms) 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", "Alexander Satterfield"], ["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", "Phil Jerde"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alexander Satterfield"], ["name", "Phil Jerde"], ["created_at", "2018-04-01 10:08:31.431152"], ["updated_at", "2018-04-01 10:08:31.431152"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Catherin Brown"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Catherin Brown"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.436755"], ["updated_at", "2018-04-01 10:08:31.436755"]]  (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", "Lesley Jacobs"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lesley Jacobs"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.441293"], ["updated_at", "2018-04-01 10:08:31.441293"]]  (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", "Thanh Funk"], ["LIMIT", 1]] SQL (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", "Thanh Funk"], ["name", "Rachel Bayer"], ["address", "Cleo Price"], ["created_at", "2018-04-01 10:08:31.445363"], ["updated_at", "2018-04-01 10:08:31.445363"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Dong Mante"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Dong Mante"], ["name", "Libby Buckridge"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-04-01 10:08:31.452935"], ["updated_at", "2018-04-01 10:08:31.452935"]]  (0.7ms) 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", "Meta Lang"], ["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", "Adrian Hansen"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Meta Lang"], ["name", "Adrian Hansen"], ["created_at", "2018-04-01 10:08:31.461852"], ["updated_at", "2018-04-01 10:08:31.461852"]]  (0.9ms) 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", "Mahalia Schmidt"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mahalia Schmidt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.469363"], ["updated_at", "2018-04-01 10:08:31.469363"]]  (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", "Jacklyn Schaden"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacklyn Schaden"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.475434"], ["updated_at", "2018-04-01 10:08:31.475434"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Penelope Koelpin"], ["LIMIT", 1]] SQL (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", "Penelope Koelpin"], ["name", "Piper Spinka"], ["address", "Treva Crooks"], ["created_at", "2018-04-01 10:08:31.483324"], ["updated_at", "2018-04-01 10:08:31.483324"]]  (0.8ms) 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", "Mistie Kuhic"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Mistie Kuhic"], ["name", "Santiago Walker"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-04-01 10:08:31.489888"], ["updated_at", "2018-04-01 10:08:31.489888"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML Mks::Auth::User Load (0.5ms) 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.8ms) 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.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN (1, 2, 3) [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", 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.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", 3], ["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", 4], ["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", 2], ["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", 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.6ms) 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 (19.23ms) Completed 200 OK in 47ms (Views: 31.0ms | ActiveRecord: 10.8ms)  (1.8ms) ROLLBACK  (0.6ms) 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", "maggie@erdmangleason.ca"], ["LIMIT", 1]] SQL (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", "Almeta Gleichner"], ["last_name", "Argentina Runolfsson"], ["email", "maggie@erdmangleason.ca"], ["password_digest", "$2a$04$1g2A1vKudF..yNcN6sJcu.Of7WP/hgdxulws2oL.PdtRytSnMvHeC"], ["created_at", "2018-04-01 10:08:31.557343"], ["updated_at", "2018-04-01 10:08:31.557343"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.8ms) 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", "Maxwell Bogan"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maxwell Bogan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.567054"], ["updated_at", "2018-04-01 10:08:31.567054"]]  (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", "Elli Klein"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elli Klein"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.573875"], ["updated_at", "2018-04-01 10:08:31.573875"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Trena Rath"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Trena Rath"], ["name", "Kimberly Farrell"], ["address", "Rupert Herman"], ["created_at", "2018-04-01 10:08:31.581187"], ["updated_at", "2018-04-01 10:08:31.581187"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Albert Bashirian"], ["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", "Johnnie Kunze"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Albert Bashirian"], ["name", "Johnnie Kunze"], ["created_at", "2018-04-01 10:08:31.591741"], ["updated_at", "2018-04-01 10:08:31.591741"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Lorrine Dibbert", "name"=>"Marlys Green", "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.8ms) 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", "Lorrine Dibbert"], ["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.6ms) 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 (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", 4], ["LIMIT", 1]] SQL (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", "Lorrine Dibbert"], ["name", "Marlys Green"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-04-01 10:08:31.615682"], ["updated_at", "2018-04-01 10:08:31.615682"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) 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.52ms) Completed 200 OK in 25ms (Views: 8.9ms | ActiveRecord: 7.8ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.5ms) 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", "lenard.hackett@weissnat.us"], ["LIMIT", 1]] SQL (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", "Luann Lakin"], ["last_name", "Laurene Volkman"], ["email", "lenard.hackett@weissnat.us"], ["password_digest", "$2a$04$bvECNDm6NxPevk4.ZXHZ/uWgEWAghTP4vMPC74a9teJ7H1Y5eYnOy"], ["created_at", "2018-04-01 10:08:31.638092"], ["updated_at", "2018-04-01 10:08:31.638092"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Katelin Weber"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Katelin Weber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.642547"], ["updated_at", "2018-04-01 10:08:31.642547"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Anette Marks"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Anette Marks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.648923"], ["updated_at", "2018-04-01 10:08:31.648923"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Loreta Crooks"], ["LIMIT", 1]] SQL (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", "Loreta Crooks"], ["name", "Claire Schmitt"], ["address", "Loida Klein"], ["created_at", "2018-04-01 10:08:31.653657"], ["updated_at", "2018-04-01 10:08:31.653657"]]  (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", "Tameika Ryan"], ["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", "Lauran Rau"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tameika Ryan"], ["name", "Lauran Rau"], ["created_at", "2018-04-01 10:08:31.660766"], ["updated_at", "2018-04-01 10:08:31.660766"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Victoria Oga", "name"=>"Alissa Rempel", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.9ms) 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", "Victoria Oga"], ["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 (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", 9], ["LIMIT", 1]] 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", 5], ["LIMIT", 1]] SQL (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", "Victoria Oga"], ["name", "Alissa Rempel"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 10:08:31.681759"], ["updated_at", "2018-04-01 10:08:31.681759"]]  (0.7ms) 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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.69ms) Completed 200 OK in 24ms (Views: 2.3ms | ActiveRecord: 10.9ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) 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", "cara.anderson@kling.ca"], ["LIMIT", 1]] SQL (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", "Hermelinda Kohler"], ["last_name", "Donna Lemke"], ["email", "cara.anderson@kling.ca"], ["password_digest", "$2a$04$.2RAHwPwbpqgFWt5K.MrIeEHuEo6cv4A06vGF37Qm0goutXsMYekS"], ["created_at", "2018-04-01 10:08:31.702094"], ["updated_at", "2018-04-01 10:08:31.702094"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Maris Huel"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maris Huel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.707617"], ["updated_at", "2018-04-01 10:08:31.707617"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ronald Hermiston"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ronald Hermiston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.711880"], ["updated_at", "2018-04-01 10:08:31.711880"]]  (0.8ms) 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", "Alaina Wolf"], ["LIMIT", 1]] SQL (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", "Alaina Wolf"], ["name", "Denae Bins"], ["address", "Delcie Weber"], ["created_at", "2018-04-01 10:08:31.718171"], ["updated_at", "2018-04-01 10:08:31.718171"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Zelma Torp"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cecille Will"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Zelma Torp"], ["name", "Cecille Will"], ["created_at", "2018-04-01 10:08:31.722908"], ["updated_at", "2018-04-01 10:08:31.722908"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Rosendo Doyle", "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.9ms) 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", ""], ["service_delivery_unit_id", 6], ["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", 6], ["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", 11], ["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", 6], ["LIMIT", 1]]  (0.4ms) 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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 24ms (Views: 6.5ms | ActiveRecord: 5.8ms)  (0.9ms) 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", "eusebia@aufderharvolkman.ca"], ["LIMIT", 1]] SQL (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", "Jeanett Powlowski"], ["last_name", "Glendora Marks"], ["email", "eusebia@aufderharvolkman.ca"], ["password_digest", "$2a$04$7OqRvEozfM8HJbEyS.vZ1elN/jWGNkbirhjBGtr7/TX/qxehvC2CK"], ["created_at", "2018-04-01 10:08:31.765270"], ["updated_at", "2018-04-01 10:08:31.765270"]]  (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", "Corrinne 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", "Artie Gaylord"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Corrinne Koss"], ["name", "Artie Gaylord"], ["created_at", "2018-04-01 10:08:31.773606"], ["updated_at", "2018-04-01 10:08:31.773606"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Georgia Mraz"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Georgia Mraz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.780642"], ["updated_at", "2018-04-01 10:08:31.780642"]]  (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", "Rory Leuschke"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rory Leuschke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.788332"], ["updated_at", "2018-04-01 10:08:31.788332"]]  (0.8ms) 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", "Lorrie Ritchie"], ["LIMIT", 1]] SQL (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", "Lorrie Ritchie"], ["name", "Hung Kassulke"], ["address", "Georgianne Abbott"], ["created_at", "2018-04-01 10:08:31.796236"], ["updated_at", "2018-04-01 10:08:31.796236"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Chara Gutkowski"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Chara Gutkowski"], ["name", "Jim Littel"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-04-01 10:08:31.804762"], ["updated_at", "2018-04-01 10:08:31.804762"]]  (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.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] 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", 6], ["LIMIT", 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Chara Gutkowski"], ["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.7ms) 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.6ms) 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]] SQL (0.9ms) 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-04-01 10:08:31.822818"], ["id", 6]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) 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.31ms) Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 7.6ms) 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.8ms) BEGIN  (0.6ms) 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", "edna_bruen@greenfelder.name"], ["LIMIT", 1]] SQL (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", "Sue Jacobs"], ["last_name", "Chuck Schroeder"], ["email", "edna_bruen@greenfelder.name"], ["password_digest", "$2a$04$Eq7fGh/taSnvKnemwIZMA.bBbclkcmadMTVsPKromgKNKj1D4fp9W"], ["created_at", "2018-04-01 10:08:31.837151"], ["updated_at", "2018-04-01 10:08:31.837151"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Isaac Kertzmann"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Val Jacobs"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Isaac Kertzmann"], ["name", "Val Jacobs"], ["created_at", "2018-04-01 10:08:31.842632"], ["updated_at", "2018-04-01 10:08:31.842632"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Janey Hintz"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janey Hintz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.849539"], ["updated_at", "2018-04-01 10:08:31.849539"]]  (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", "Shirley Corwin"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shirley Corwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.854076"], ["updated_at", "2018-04-01 10:08:31.854076"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Virgie Dietrich"], ["LIMIT", 1]] SQL (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", "Virgie Dietrich"], ["name", "Bunny Balistreri"], ["address", "Collene Koepp"], ["created_at", "2018-04-01 10:08:31.858525"], ["updated_at", "2018-04-01 10:08:31.858525"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Vanessa Klocko"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Vanessa Klocko"], ["name", "Waneta Pouros"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-04-01 10:08:31.865847"], ["updated_at", "2018-04-01 10:08:31.865847"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"7"} Mks::Auth::User Load (1.1ms) 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.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.2ms) 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", "Vanessa Klocko"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.3ms) 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 (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", 15], ["LIMIT", 1]] 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", 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.22ms) Completed 422 Unprocessable Entity in 22ms (Views: 1.6ms | ActiveRecord: 10.0ms)  (1.0ms) ROLLBACK  (0.9ms) 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", "alice.smitham@padberg.info"], ["LIMIT", 1]] SQL (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", "Marilu Beer"], ["last_name", "Sabra Ledner"], ["email", "alice.smitham@padberg.info"], ["password_digest", "$2a$04$KSCU2H4ggQmRMUs1xFQpremit4Km7OauK8hScZx1pkLUENELj36CC"], ["created_at", "2018-04-01 10:08:31.905405"], ["updated_at", "2018-04-01 10:08:31.905405"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Kami Marquardt"], ["LIMIT", 1]] SQL (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", "Kami Marquardt"], ["name", "Ezra Lindgren"], ["address", "Colene Kulas"], ["created_at", "2018-04-01 10:08:31.913240"], ["updated_at", "2018-04-01 10:08:31.913240"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Gladis McClure"], ["LIMIT", 1]] SQL (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", "Gladis McClure"], ["name", "Noble Thiel"], ["address", "Thomasina Thiel"], ["created_at", "2018-04-01 10:08:31.919262"], ["updated_at", "2018-04-01 10:08:31.919262"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joie Predovic"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Vivienne Wiegand"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joie Predovic"], ["name", "Vivienne Wiegand"], ["created_at", "2018-04-01 10:08:31.924120"], ["updated_at", "2018-04-01 10:08:31.924120"]]  (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", "Britteny Kling"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Britteny Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.928428"], ["updated_at", "2018-04-01 10:08:31.928428"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Bari Murphy"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bari Murphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.935989"], ["updated_at", "2018-04-01 10:08:31.935989"]]  (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", "Cynthia Koepp"], ["service_delivery_unit_id", 9], ["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", 9], ["LIMIT", 1]] SQL (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", "Cynthia Koepp"], ["name", "Robbyn Dooley"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 10:08:31.942024"], ["updated_at", "2018-04-01 10:08:31.942024"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Candyce Okuneva"], ["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", "Verdie Schulist"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Candyce Okuneva"], ["name", "Verdie Schulist"], ["created_at", "2018-04-01 10:08:31.950889"], ["updated_at", "2018-04-01 10:08:31.950889"]]  (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", "Lyndsay Glover"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lyndsay Glover"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.955931"], ["updated_at", "2018-04-01 10:08:31.955931"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Selma Schiller"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Selma Schiller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.960070"], ["updated_at", "2018-04-01 10:08:31.960070"]]  (0.6ms) 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", "Larue Carter"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["LIMIT", 1]] SQL (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", "Larue Carter"], ["name", "Selma Goyette"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 10:08:31.968192"], ["updated_at", "2018-04-01 10:08:31.968192"]]  (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", "Son Hahn"], ["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", "Shawn Kshlerin"], ["LIMIT", 1]] SQL (2.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Son Hahn"], ["name", "Shawn Kshlerin"], ["created_at", "2018-04-01 10:08:31.976535"], ["updated_at", "2018-04-01 10:08:31.976535"]]  (1.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", "Roselle Haley"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roselle Haley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.986648"], ["updated_at", "2018-04-01 10:08:31.986648"]]  (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", "Xiao Auer"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Xiao Auer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:31.992702"], ["updated_at", "2018-04-01 10:08:31.992702"]]  (1.1ms) 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", "Annamarie Kub"], ["service_delivery_unit_id", 10], ["LIMIT", 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", 10], ["LIMIT", 1]] SQL (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", "Annamarie Kub"], ["name", "Maryellen Corkery"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 10:08:32.002910"], ["updated_at", "2018-04-01 10:08:32.002910"]]  (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", "Garland Pouros"], ["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", "Misti Wilkinson"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Garland Pouros"], ["name", "Misti Wilkinson"], ["created_at", "2018-04-01 10:08:32.011840"], ["updated_at", "2018-04-01 10:08:32.011840"]]  (0.9ms) 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", "Trisha Corwin"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Trisha Corwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:32.019744"], ["updated_at", "2018-04-01 10:08:32.019744"]]  (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", "Otto Hyatt"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Otto Hyatt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:32.025689"], ["updated_at", "2018-04-01 10:08:32.025689"]]  (0.8ms) 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", "Mitsuko Pagac"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Mitsuko Pagac"], ["name", "Vito Marks"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 10:08:32.033668"], ["updated_at", "2018-04-01 10:08:32.033668"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (0.6ms) 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.7ms) 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 (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", 17], ["LIMIT", 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", 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.5ms) 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.5ms) 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 (12.78ms) Completed 200 OK in 18ms (Views: 9.5ms | ActiveRecord: 7.8ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "diane_bailey@nader.info"], ["LIMIT", 1]] SQL (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", "Fernando Huels"], ["last_name", "Beaulah Simonis"], ["email", "diane_bailey@nader.info"], ["password_digest", "$2a$04$PegjWZ5lC8Js1YEpD9zZhOYFYxJC6jDsf.Nt4iRp.2/0A0At3QE.W"], ["created_at", "2018-04-01 10:08:32.063713"], ["updated_at", "2018-04-01 10:08:32.063713"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "trista@fadel.biz"], ["LIMIT", 1]] SQL (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", "Tiara Stark"], ["last_name", "Tyrell Cummings"], ["email", "trista@fadel.biz"], ["password_digest", "$2a$04$/VpvnwnbRLGZZxArI2iFd.Vkf7c3.Ozu8QqM7aPE9cLaPGKUsZmsK"], ["created_at", "2018-04-01 10:08:32.075513"], ["updated_at", "2018-04-01 10:08:32.075513"]]  (2.3ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "shasta.quitzon@bednar.name"], ["LIMIT", 1]] SQL (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", "Jesica Herman"], ["last_name", "Sima Walter"], ["email", "shasta.quitzon@bednar.name"], ["password_digest", "$2a$04$ajtLZBgBEUaLPMnTTheIOeOXBqS9rB0WWNS8WjxjNh/w7XoyOt38q"], ["created_at", "2018-04-01 10:08:32.091687"], ["updated_at", "2018-04-01 10:08:32.091687"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (3.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tashina.lang@effertzstoltenberg.ca"], ["LIMIT", 1]] SQL (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", "Elton Schumm"], ["last_name", "Ariel Terry"], ["email", "tashina.lang@effertzstoltenberg.ca"], ["password_digest", "$2a$04$ryRTwuNe8YjsZdILH8Zmo.hJzg2Mw1GSX33249Zr3FeTy2U5mlIuK"], ["created_at", "2018-04-01 10:08:32.116190"], ["updated_at", "2018-04-01 10:08:32.116190"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "robbin.glover@vonbartell.biz"], ["LIMIT", 1]] SQL (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", "Hildegarde Torp"], ["last_name", "Bianca Considine"], ["email", "robbin.glover@vonbartell.biz"], ["password_digest", "$2a$04$AGh75Mg3Fcl5hd2WV0w..OIouGSOlQmhAwXEHx5KJed.3gDO3e1.G"], ["created_at", "2018-04-01 10:08:32.130002"], ["updated_at", "2018-04-01 10:08:32.130002"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "bambi@ruecker.name"], ["LIMIT", 1]] SQL (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", "Florinda Keebler"], ["last_name", "Gerda Haley"], ["email", "bambi@ruecker.name"], ["password_digest", "$2a$04$Ho6wJQ/URHlX/H9.U8oZFu3kAdA57k25gbzwT2/DrA2/jlKsi2fRm"], ["created_at", "2018-04-01 10:08:32.140375"], ["updated_at", "2018-04-01 10:08:32.140375"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "albert@wunsch.name"], ["LIMIT", 1]] SQL (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", "Angelita Bailey"], ["last_name", "Rodrick Johns"], ["email", "albert@wunsch.name"], ["password_digest", "$2a$04$cjJ4e7K3nxpdjukT4IbmjOEy.whs.IvIRJLJZ9uIZXYjkXw.jv1dy"], ["created_at", "2018-04-01 10:08:32.151890"], ["updated_at", "2018-04-01 10:08:32.151890"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "maggie_ryan@littel.com"], ["LIMIT", 1]] SQL (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", "Charleen Padberg"], ["last_name", "Jonna Gislason"], ["email", "maggie_ryan@littel.com"], ["password_digest", "$2a$04$Acbh1S5JdIgoXnDR1U1cr.az3O1nxOnB1ICTWObW/Y2/0sdzd8gLK"], ["created_at", "2018-04-01 10:08:32.161134"], ["updated_at", "2018-04-01 10:08:32.161134"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) 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", "emmitt@oreillyleuschke.ca"], ["LIMIT", 1]] SQL (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", "Latarsha Reilly"], ["last_name", "Steven Harber"], ["email", "emmitt@oreillyleuschke.ca"], ["password_digest", "$2a$04$5Oh5I4soCfCJlK3P.jrVNuEWCBiQ/67t/PUvio/2rwEjtukekJ9y6"], ["created_at", "2018-04-01 10:08:32.173925"], ["updated_at", "2018-04-01 10:08:32.173925"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.7ms) 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", "lela.murray@osinski.co.uk"], ["LIMIT", 1]] SQL (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", "Marge Hilll"], ["last_name", "Clarissa Lakin"], ["email", "lela.murray@osinski.co.uk"], ["password_digest", "$2a$04$MGnQCb7yojQETLuIuMs17OQaGUQUY56VVN8S2zmiy5AZjYXqOTWPm"], ["created_at", "2018-04-01 10:08:32.191070"], ["updated_at", "2018-04-01 10:08:32.191070"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Mammie Russel"], ["LIMIT", 1]] SQL (3.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mammie Russel"], ["name", "Kimberely Purdy"], ["address", "Angeline Reichel"], ["created_at", "2018-04-01 10:08:32.226235"], ["updated_at", "2018-04-01 10:08:32.226235"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Alisha Weimann"], ["LIMIT", 1]] SQL (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", "Alisha Weimann"], ["name", "Lance Gutkowski"], ["description", "Ernestina Gleason"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-04-01 10:08:32.239545"], ["updated_at", "2018-04-01 10:08:32.239545"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML Mks::Auth::User Load (1.5ms) 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.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["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.9ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.43ms) Completed 200 OK in 11ms (Views: 4.9ms | ActiveRecord: 4.0ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "christian.balistreri@crona.co.uk"], ["LIMIT", 1]] SQL (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", "Justin Kuphal"], ["last_name", "Hue Koch"], ["email", "christian.balistreri@crona.co.uk"], ["password_digest", "$2a$04$AyL41Dct4HrPh.PAkltqZeX7PcqwFU9VRgRWrus029zyvm6qkYRLe"], ["created_at", "2018-04-01 10:08:32.263543"], ["updated_at", "2018-04-01 10:08:32.263543"]]  (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", "Mandi Lind"], ["LIMIT", 1]] SQL (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", "Mandi Lind"], ["name", "Mikki Streich"], ["address", "Rhea Anderson"], ["created_at", "2018-04-01 10:08:32.268575"], ["updated_at", "2018-04-01 10:08:32.268575"]]  (0.4ms) 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", "Omer Pfannerstill"], ["LIMIT", 1]] SQL (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", "Omer Pfannerstill"], ["name", "Suk Breitenberg"], ["description", "Shenita Hyatt"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-01 10:08:32.273825"], ["updated_at", "2018-04-01 10:08:32.273825"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_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", "Karima Emard"], ["LIMIT", 1]] SQL (3.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", "Karima Emard"], ["name", "Mariana Medhurst"], ["description", "Dominique Kuhic"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-01 10:08:32.287017"], ["updated_at", "2018-04-01 10:08:32.287017"]]  (6.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jenee Stehr"], ["LIMIT", 1]] SQL (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", "Jenee Stehr"], ["name", "Jason Jakubowski"], ["description", "Dolores Bashirian"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-01 10:08:32.302004"], ["updated_at", "2018-04-01 10:08:32.302004"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"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", 18], ["LIMIT", 1]] Mks::Auth::User Load (2.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (7.27ms) Completed 200 OK in 17ms (Views: 8.1ms | ActiveRecord: 7.7ms)  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (1.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", "elna@jakubowski.com"], ["LIMIT", 1]] SQL (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", "Temeka Hirthe"], ["last_name", "Audria Rutherford"], ["email", "elna@jakubowski.com"], ["password_digest", "$2a$04$e1Egx8YYXAtgtuzqWgIFB.ad.9G0YQmFPJvSFSKg2e/DIM6mwjbSC"], ["created_at", "2018-04-01 10:08:32.333231"], ["updated_at", "2018-04-01 10:08:32.333231"]]  (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", "Genesis Ward"], ["LIMIT", 1]] SQL (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", "Genesis Ward"], ["name", "Penni Zemlak"], ["address", "Carole Corwin"], ["created_at", "2018-04-01 10:08:32.338006"], ["updated_at", "2018-04-01 10:08:32.338006"]]  (0.4ms) 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", "Shannon Turner"], ["LIMIT", 1]] SQL (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", "Shannon Turner"], ["name", "Monica Schneider"], ["description", "Denisha Metz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-01 10:08:32.342476"], ["updated_at", "2018-04-01 10:08:32.342476"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Derek Braun"], ["LIMIT", 1]] SQL (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", "Derek Braun"], ["name", "Santana Morar"], ["description", "Kristopher Graham"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-01 10:08:32.349269"], ["updated_at", "2018-04-01 10:08:32.349269"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marcelle Osinski"], ["LIMIT", 1]] SQL (0.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", "Marcelle Osinski"], ["name", "Aide Bradtke"], ["description", "Demetrius Berge"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-01 10:08:32.353818"], ["updated_at", "2018-04-01 10:08:32.353818"]]  (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", "Kayce Cassin"], ["LIMIT", 1]] SQL (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", "Kayce Cassin"], ["name", "Belinda Bauch"], ["address", "Mellissa Wisozk"], ["created_at", "2018-04-01 10:08:32.358292"], ["updated_at", "2018-04-01 10:08:32.358292"]]  (2.4ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Echo Cruickshank"], ["LIMIT", 1]] SQL (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", "Echo Cruickshank"], ["name", "Colton Schneider"], ["description", "Vernita Herzog"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-04-01 10:08:32.367302"], ["updated_at", "2018-04-01 10:08:32.367302"]]  (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", "Philip Rutherford"], ["LIMIT", 1]] SQL (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", "Philip Rutherford"], ["name", "Vanesa Greenholt"], ["address", "Shakita Bogisich"], ["created_at", "2018-04-01 10:08:32.372122"], ["updated_at", "2018-04-01 10:08:32.372122"]]  (0.4ms) 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", "Yolande Botsford"], ["LIMIT", 1]] SQL (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", "Yolande Botsford"], ["name", "Nu Franecki"], ["description", "Eric Bartoletti"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-04-01 10:08:32.376885"], ["updated_at", "2018-04-01 10:08:32.376885"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (5.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Willis Stiedemann"], ["LIMIT", 1]] SQL (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", "Willis Stiedemann"], ["name", "Creola Frami"], ["address", "Georgiann McLaughlin"], ["created_at", "2018-04-01 10:08:32.398642"], ["updated_at", "2018-04-01 10:08:32.398642"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Tressa Hudson"], ["LIMIT", 1]] SQL (4.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", "Tressa Hudson"], ["name", "Nu Lindgren"], ["description", "Lara Predovic"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-04-01 10:08:32.408186"], ["updated_at", "2018-04-01 10:08:32.408186"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.89ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 3.6ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "zetta_parker@ratke.info"], ["LIMIT", 1]] SQL (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", "Charissa Bashirian"], ["last_name", "Barabara Klocko"], ["email", "zetta_parker@ratke.info"], ["password_digest", "$2a$04$LeI8Dc8UOz6n44XE.bckY.VaaBlKE0lehbjtmw8V4csLqTkgnZ4/G"], ["created_at", "2018-04-01 10:08:32.434763"], ["updated_at", "2018-04-01 10:08:32.434763"]]  (0.5ms) 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", "Kerry Powlowski"], ["LIMIT", 1]] SQL (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", "Kerry Powlowski"], ["name", "Hue Hilll"], ["address", "Lory Huels"], ["created_at", "2018-04-01 10:08:32.439956"], ["updated_at", "2018-04-01 10:08:32.439956"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Joesph Murphy"], ["LIMIT", 1]] SQL (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", "Joesph Murphy"], ["name", "Karleen Dibbert"], ["description", "Sanford Miller"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-04-01 10:08:32.444808"], ["updated_at", "2018-04-01 10:08:32.444808"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"11"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 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", 11], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.48ms) Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 2.3ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (2.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", "minda@sawayn.biz"], ["LIMIT", 1]] SQL (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", "Hettie Marks"], ["last_name", "Zada Botsford"], ["email", "minda@sawayn.biz"], ["password_digest", "$2a$04$0eZNK1DhIby/DdDETFzaluowFLp5CYEIMDbhpKoV9GI7tWlpgppNy"], ["created_at", "2018-04-01 10:08:32.466618"], ["updated_at", "2018-04-01 10:08:32.466618"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Blondell O'Keefe"], ["LIMIT", 1]] SQL (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", "Blondell O'Keefe"], ["name", "Bettyann Lowe"], ["address", "Rebbecca Gleason"], ["created_at", "2018-04-01 10:08:32.472489"], ["updated_at", "2018-04-01 10:08:32.472489"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Antonette Muller", "description"=>"Mel Ritchie", "name"=>"Akilah Koepp", "service_delivery_unit_id"=>"18"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (1.0ms) SAVEPOINT active_record_1 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", 18], ["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", "Antonette Muller"], ["LIMIT", 1]] SQL (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", "Antonette Muller"], ["name", "Akilah Koepp"], ["description", "Mel Ritchie"], ["service_delivery_unit_id", 18], ["created_at", "2018-04-01 10:08:32.484248"], ["updated_at", "2018-04-01 10:08:32.484248"]]  (0.6ms) 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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.53ms) Completed 201 Created in 16ms (Views: 3.4ms | ActiveRecord: 7.2ms)  (1.6ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (2.0ms) ROLLBACK  (0.6ms) BEGIN  (1.3ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jame_feest@johnsemmerich.info"], ["LIMIT", 1]] SQL (1.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", "Anastacia Beatty"], ["last_name", "Luciana Mante"], ["email", "jame_feest@johnsemmerich.info"], ["password_digest", "$2a$04$QhhZpJRILPT753Ldu5J8NewjbIiyt4vsFR.CsUL7NeX7XGjKy7p5C"], ["created_at", "2018-04-01 10:08:32.512254"], ["updated_at", "2018-04-01 10:08:32.512254"]]  (1.1ms) 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", "Sherika Keeling"], ["LIMIT", 1]] SQL (2.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sherika Keeling"], ["name", "Domonique Stokes"], ["address", "Cortney Homenick"], ["created_at", "2018-04-01 10:08:32.527009"], ["updated_at", "2018-04-01 10:08:32.527009"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Debra Hansen", "description"=>"Wilfred Luettgen", "name"=>"Thresa Boyle", "service_delivery_unit_id"=>"19"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 19], ["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", "Debra Hansen"], ["LIMIT", 1]] SQL (1.7ms) 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", "Debra Hansen"], ["name", "Thresa Boyle"], ["description", "Wilfred Luettgen"], ["service_delivery_unit_id", 19], ["created_at", "2018-04-01 10:08:32.542864"], ["updated_at", "2018-04-01 10:08:32.542864"]]  (1.0ms) 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", 22], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.2ms) Completed 201 Created in 13ms (Views: 1.9ms | ActiveRecord: 6.2ms) 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.7ms) ROLLBACK  (0.4ms) 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", "broderick@schulist.info"], ["LIMIT", 1]] SQL (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", "Camellia Walker"], ["last_name", "Santos Waelchi"], ["email", "broderick@schulist.info"], ["password_digest", "$2a$04$wGU6rXz//Onj.NXJqUhrHulouyEPNl6XPRu4vWZxx1vUdESAXKnGa"], ["created_at", "2018-04-01 10:08:32.561651"], ["updated_at", "2018-04-01 10:08:32.561651"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Almeda Ankunding"], ["LIMIT", 1]] SQL (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", "Almeda Ankunding"], ["name", "Lanette Rau"], ["address", "Laine Thiel"], ["created_at", "2018-04-01 10:08:32.567988"], ["updated_at", "2018-04-01 10:08:32.567988"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Analisa Eichmann", "name"=>"Jonelle Hamill", "service_delivery_unit_id"=>"20"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 20], ["LIMIT", 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", ""], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 14ms (Views: 5.4ms | ActiveRecord: 4.8ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "burl.lockman@dubuque.ca"], ["LIMIT", 1]] SQL (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", "Kara Klein"], ["last_name", "Mamie Hodkiewicz"], ["email", "burl.lockman@dubuque.ca"], ["password_digest", "$2a$04$kayFHSIkZsIG3E73SojkDeNOrC9XPPId5lOs15IkdDKGVqHY6Up82"], ["created_at", "2018-04-01 10:08:32.597562"], ["updated_at", "2018-04-01 10:08:32.597562"]]  (0.7ms) RELEASE SAVEPOINT active_record_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", "Yang Beatty"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yang Beatty"], ["name", "Coreen Rippin"], ["address", "Magali Wiegand"], ["created_at", "2018-04-01 10:08:32.606986"], ["updated_at", "2018-04-01 10:08:32.606986"]]  (2.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Haley McGlynn"], ["LIMIT", 1]] SQL (3.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", "Haley McGlynn"], ["name", "Thomasina McLaughlin"], ["description", "Steve Pacocha"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-04-01 10:08:32.622479"], ["updated_at", "2018-04-01 10:08:32.622479"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Erin Johns"}, "id"=>"14"} 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::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 14], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.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", "Haley McGlynn"], ["id", 14], ["LIMIT", 1]] SQL (0.8ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Erin Johns"], ["updated_at", "2018-04-01 10:08:32.638236"], ["id", 14]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.21ms) Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 4.7ms) Mks::Rate::ServiceBundle Load (1.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "janey.west@larkin.ca"], ["LIMIT", 1]] SQL (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", "Marjorie Ledner"], ["last_name", "Kena Dare"], ["email", "janey.west@larkin.ca"], ["password_digest", "$2a$04$JFnro0Bv1qu7mrsQE1tpeeA7hVyUnX33gUBAXKTzg.CkWXaDkpOXq"], ["created_at", "2018-04-01 10:08:32.652282"], ["updated_at", "2018-04-01 10:08:32.652282"]]  (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", "Iona Miller"], ["LIMIT", 1]] SQL (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", "Iona Miller"], ["name", "Alexander Jakubowski"], ["address", "Kim Rempel"], ["created_at", "2018-04-01 10:08:32.657072"], ["updated_at", "2018-04-01 10:08:32.657072"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jessi Ferry"], ["LIMIT", 1]] SQL (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", "Jessi Ferry"], ["name", "Maryetta Schaefer"], ["description", "Leland Tillman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-04-01 10:08:32.663530"], ["updated_at", "2018-04-01 10:08:32.663530"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Chelsey Harris"], ["LIMIT", 1]] SQL (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", "Chelsey Harris"], ["name", "Taryn Lehner"], ["address", "Adell Ferry"], ["created_at", "2018-04-01 10:08:32.667907"], ["updated_at", "2018-04-01 10:08:32.667907"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Oliver Olson", "description"=>"Marjorie Torphy", "name"=>"Tynisha Walker", "service_delivery_unit_id"=>"23"}, "id"=>"15"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 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", 15], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 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]] Mks::Rate::ServiceBundle Exists (1.5ms) 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", "Oliver Olson"], ["id", 15], ["LIMIT", 1]] SQL (1.0ms) 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", "Oliver Olson"], ["name", "Tynisha Walker"], ["description", "Marjorie Torphy"], ["service_delivery_unit_id", 23], ["updated_at", "2018-04-01 10:08:32.677694"], ["id", 15]]  (0.7ms) 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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 5.9ms)  (1.7ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "luvenia_dach@crooksbrown.us"], ["LIMIT", 1]] SQL (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", "Catherin Bednar"], ["last_name", "Jenifer Schroeder"], ["email", "luvenia_dach@crooksbrown.us"], ["password_digest", "$2a$04$DqmGgtE3O0lk3x6kJmQSau1ZHjwsZENbqpQW.B79m6ES/bsoMGQxC"], ["created_at", "2018-04-01 10:08:32.696326"], ["updated_at", "2018-04-01 10:08:32.696326"]]  (1.1ms) 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", "Yajaira Nolan"], ["LIMIT", 1]] SQL (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", "Yajaira Nolan"], ["name", "Shonna Berge"], ["address", "Alessandra Waelchi"], ["created_at", "2018-04-01 10:08:32.706921"], ["updated_at", "2018-04-01 10:08:32.706921"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Tatyana Monahan"], ["LIMIT", 1]] SQL (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", "Tatyana Monahan"], ["name", "Rosalyn Casper"], ["description", "Hanh Stanton"], ["percent_discount", 100.0], ["service_delivery_unit_id", 24], ["created_at", "2018-04-01 10:08:32.716807"], ["updated_at", "2018-04-01 10:08:32.716807"]]  (0.9ms) 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", "Randy Feil"], ["LIMIT", 1]] SQL (3.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Randy Feil"], ["name", "Otis Murphy"], ["address", "Kate Kohler"], ["created_at", "2018-04-01 10:08:32.725629"], ["updated_at", "2018-04-01 10:08:32.725629"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Tabatha Heller", "name"=>"Loriann Nikolaus", "service_delivery_unit_id"=>"25"}, "id"=>"16"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 16], ["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", 25], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) 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", 16], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO 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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.09ms) Completed 422 Unprocessable Entity in 16ms (Views: 1.7ms | ActiveRecord: 6.5ms)  (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", "cruz.reichel@fisher.us"], ["LIMIT", 1]] SQL (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", "Stevie Jast"], ["last_name", "Claudia Abshire"], ["email", "cruz.reichel@fisher.us"], ["password_digest", "$2a$04$6.qO6/GnhOkp7vHac3EyqOzLgQz2kZinopAjAxdMfEFn2XljjIwEG"], ["created_at", "2018-04-01 10:08:32.757902"], ["updated_at", "2018-04-01 10:08:32.757902"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Natalie Parker"], ["LIMIT", 1]] SQL (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", "Natalie Parker"], ["name", "Nolan Hodkiewicz"], ["address", "Kimbra Towne"], ["created_at", "2018-04-01 10:08:32.765448"], ["updated_at", "2018-04-01 10:08:32.765448"]]  (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", "Madison Hilll"], ["LIMIT", 1]] SQL (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", "Madison Hilll"], ["name", "Merrilee Pfannerstill"], ["address", "Dominque Jacobi"], ["created_at", "2018-04-01 10:08:32.769452"], ["updated_at", "2018-04-01 10:08:32.769452"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ressie Brown"], ["LIMIT", 1]] SQL (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", "Ressie Brown"], ["name", "Maegan Wolf"], ["address", "Gillian Beer"], ["created_at", "2018-04-01 10:08:32.773153"], ["updated_at", "2018-04-01 10:08:32.773153"]]  (0.4ms) 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", 27], ["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", 27], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) 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 (1.86ms) Completed 200 OK in 33ms (Views: 28.7ms | ActiveRecord: 2.3ms)  (1.3ms) ROLLBACK  (0.6ms) 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", "yulanda@block.co.uk"], ["LIMIT", 1]] SQL (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", "Alisia Kessler"], ["last_name", "Norene Reichel"], ["email", "yulanda@block.co.uk"], ["password_digest", "$2a$04$w4aq3RTG4nXtmwJ5l28A1eI9enx5dV3CWQHBSmhJ.Zva.o/UEEY1u"], ["created_at", "2018-04-01 10:08:32.824980"], ["updated_at", "2018-04-01 10:08:32.824980"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Jorge Lowe", "code"=>"Marya Howell", "name"=>"Elroy Nicolas"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 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", "Marya Howell"], ["LIMIT", 1]] SQL (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", "Marya Howell"], ["name", "Elroy Nicolas"], ["address", "Jorge Lowe"], ["created_at", "2018-04-01 10:08:32.839967"], ["updated_at", "2018-04-01 10:08:32.839967"]]  (2.3ms) 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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.39ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 6.5ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) 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", "brooke.wiza@hermannzulauf.ca"], ["LIMIT", 1]] SQL (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", "Dominique Spencer"], ["last_name", "Anglea Mueller"], ["email", "brooke.wiza@hermannzulauf.ca"], ["password_digest", "$2a$04$IqCQF6mvqes7AG/4xFuu0e9zWBOftiFlnmn9ObeGcSg00Bt82eceW"], ["created_at", "2018-04-01 10:08:32.856302"], ["updated_at", "2018-04-01 10:08:32.856302"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Caitlin Deckow", "code"=>"Josette Jewess", "name"=>"Rich Jerde"}} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 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", "Josette Jewess"], ["LIMIT", 1]] SQL (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", "Josette Jewess"], ["name", "Rich Jerde"], ["address", "Caitlin Deckow"], ["created_at", "2018-04-01 10:08:32.866599"], ["updated_at", "2018-04-01 10:08:32.866599"]]  (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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.34ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.1ms)  (0.6ms) ROLLBACK  (0.3ms) 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", "osvaldo@bruen.com"], ["LIMIT", 1]] SQL (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", "Sandee Langworth"], ["last_name", "Ilona Harris"], ["email", "osvaldo@bruen.com"], ["password_digest", "$2a$04$fRhmN0W3gpJsqtOeJ.zaSu5NEkH6cfOb.n5N0o59dSsVl6JI81qTG"], ["created_at", "2018-04-01 10:08:32.879331"], ["updated_at", "2018-04-01 10:08:32.879331"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Debroah Ledner", "code"=>"", "name"=>"Bobbi Schoen"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["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", ""], ["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", 30], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.4ms | ActiveRecord: 3.4ms)  (1.1ms) ROLLBACK  (0.9ms) 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", "caitlin.harvey@paucekschuster.com"], ["LIMIT", 1]] SQL (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", "Risa Towne"], ["last_name", "Shawna Kessler"], ["email", "caitlin.harvey@paucekschuster.com"], ["password_digest", "$2a$04$3BnjB1vwGtcfDijYAyaYP.LRZMA3yMOawHSLZO7RGZbbnyBrcu8EC"], ["created_at", "2018-04-01 10:08:32.907200"], ["updated_at", "2018-04-01 10:08:32.907200"]]  (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", "Dale Wisozk"], ["LIMIT", 1]] SQL (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", "Dale Wisozk"], ["name", "Monique Mosciski"], ["address", "Gia Reynolds"], ["created_at", "2018-04-01 10:08:32.920208"], ["updated_at", "2018-04-01 10:08:32.920208"]]  (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"=>"31"} 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::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", 31], ["LIMIT", 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Dale Wisozk"], ["id", 31], ["LIMIT", 1]] SQL (0.8ms) 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-04-01 10:08:32.940707"], ["id", 31]]  (0.8ms) 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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.7ms) Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 4.5ms) 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]]  (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", "candance.aufderhar@hyatt.biz"], ["LIMIT", 1]] SQL (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", "Cleo Wiza"], ["last_name", "Lauryn Kohler"], ["email", "candance.aufderhar@hyatt.biz"], ["password_digest", "$2a$04$aDk.2IOHdl4Klh.VweMtOOR7PESSmGw5sFC.RAxWl0FN0y7p8cvZa"], ["created_at", "2018-04-01 10:08:32.956090"], ["updated_at", "2018-04-01 10:08:32.956090"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Vonnie Gleason"], ["LIMIT", 1]] SQL (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", "Vonnie Gleason"], ["name", "Whitney Purdy"], ["address", "Val Aufderhar"], ["created_at", "2018-04-01 10:08:32.963043"], ["updated_at", "2018-04-01 10:08:32.963043"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"32"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] 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", 32], ["LIMIT", 1]]  (0.4ms) 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", "Vonnie Gleason"], ["id", 32], ["LIMIT", 1]]  (0.4ms) ROLLBACK TO 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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 422 Unprocessable Entity in 7ms (Views: 1.1ms | ActiveRecord: 3.2ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "nona_miller@dach.us"], ["LIMIT", 1]] SQL (0.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", "Matha Reilly"], ["last_name", "Marco Maggio"], ["email", "nona_miller@dach.us"], ["password_digest", "$2a$04$99S7FJynmR7cBT4R1njRL.Wbgf30L4qItSj67IB2jGxEwETtD6oaq"], ["created_at", "2018-04-01 10:08:32.981398"], ["updated_at", "2018-04-01 10:08:32.981398"]]  (0.5ms) 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", "Sherril Walsh"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Louis Dooley"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sherril Walsh"], ["name", "Louis Dooley"], ["description", "Omnis consequatur suscipit et quia eligendi. Non blanditiis sit consequatur voluptate quidem debitis qui. Blanditiis dolorem quia ut fuga qui sit omnis tempore."], ["created_at", "2018-04-01 10:08:33.151663"], ["updated_at", "2018-04-01 10:08:33.151663"]]  (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", "Lori Lynch"], ["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", "Denisse Collins"], ["LIMIT", 1]] SQL (1.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", "Lori Lynch"], ["name", "Denisse Collins"], ["description", "Itaque mollitia voluptatem explicabo non et voluptatem dolorum. Et quia qui voluptate excepturi enim magni. Molestiae molestiae recusandae minus corporis."], ["equipment_type_id", 1], ["created_at", "2018-04-01 10:08:33.159416"], ["updated_at", "2018-04-01 10:08:33.159416"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lorene Leffler"], ["LIMIT", 1]] SQL (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", "Lorene Leffler"], ["name", "Jennine O'Kon"], ["description", "Jacinda Huels"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-04-01 10:08:33.166930"], ["updated_at", "2018-04-01 10:08:33.166930"]]  (0.5ms) 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", "Cyrstal Maggio"], ["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", "Patty Larkin"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cyrstal Maggio"], ["name", "Patty Larkin"], ["description", "Nikki Kris"], ["created_at", "2018-04-01 10:08:33.208396"], ["updated_at", "2018-04-01 10:08:33.208396"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Angelo Gulgowski"], ["LIMIT", 1]] SQL (1.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", "Angelo Gulgowski"], ["name", "Keri Zboncak"], ["location_type_id", 1], ["description", "Lorraine Bogan"], ["address", "Kirstie Grant"], ["created_at", "2018-04-01 10:08:33.219089"], ["updated_at", "2018-04-01 10:08:33.219089"]]  (0.6ms) 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", "Jason Mante"], ["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", "Abram Harris"], ["LIMIT", 1]] SQL (1.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", "Jason Mante"], ["name", "Brett Brown"], ["description", "Loyd Medhurst"], ["serial_number", "Abram Harris"], ["brand", "Wesley Boyle"], ["item_model", "Mignon Monahan"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-04-01 10:08:33.235717"], ["updated_at", "2018-04-01 10:08:33.235717"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (7.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Yoshiko Shields"], ["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", "Deandre Wuckert"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yoshiko Shields"], ["name", "Deandre Wuckert"], ["created_at", "2018-04-01 10:08:33.264067"], ["updated_at", "2018-04-01 10:08:33.264067"]]  (0.4ms) 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", "Marta Mayert"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marta Mayert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.268273"], ["updated_at", "2018-04-01 10:08:33.268273"]]  (0.4ms) 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", "Virgina Boehm"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Virgina Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.272295"], ["updated_at", "2018-04-01 10:08:33.272295"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Pia Halvorson"], ["LIMIT", 1]] SQL (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", "Pia Halvorson"], ["name", "Burma Yost"], ["address", "Dolly Douglas"], ["created_at", "2018-04-01 10:08:33.278160"], ["updated_at", "2018-04-01 10:08:33.278160"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Paul Runolfsson"], ["service_delivery_unit_id", 33], ["LIMIT", 1]] SQL (0.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", "Paul Runolfsson"], ["name", "Vikki Dare"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 33], ["created_at", "2018-04-01 10:08:33.282667"], ["updated_at", "2018-04-01 10:08:33.282667"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", 12], ["equipment_item_id", 1], ["created_at", "2018-04-01 10:08:33.287113"], ["updated_at", "2018-04-01 10:08:33.287113"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Susana Wilderman"], ["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", "Tamra Wiegand"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Susana Wilderman"], ["name", "Tamra Wiegand"], ["description", "Recusandae placeat aut porro nihil. Distinctio qui beatae libero voluptatem. Ut omnis alias consequatur distinctio at minus."], ["created_at", "2018-04-01 10:08:33.297137"], ["updated_at", "2018-04-01 10:08:33.297137"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Stacie Johnson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Burl Gleichner"], ["LIMIT", 1]] SQL (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", "Stacie Johnson"], ["name", "Burl Gleichner"], ["description", "Architecto ipsa dolores inventore voluptatem accusamus. Aliquam qui numquam repudiandae quia vero. Esse dolor consequatur quisquam laudantium fugiat. Consequatur vel dolorem nostrum ut beatae non quam nihil. Porro qui quia magni repellendus aut ex commodi."], ["equipment_type_id", 2], ["created_at", "2018-04-01 10:08:33.301699"], ["updated_at", "2018-04-01 10:08:33.301699"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Lane Herzog"], ["LIMIT", 1]] SQL (0.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", "Lane Herzog"], ["name", "Arthur Wilkinson"], ["description", "Sanjuana Boyer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-04-01 10:08:33.305564"], ["updated_at", "2018-04-01 10:08:33.305564"]]  (4.2ms) 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", "Ciara Parisian"], ["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", "Hillary Ryan"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ciara Parisian"], ["name", "Hillary Ryan"], ["description", "Willian Runolfsdottir"], ["created_at", "2018-04-01 10:08:33.317069"], ["updated_at", "2018-04-01 10:08:33.317069"]]  (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", "Kristan Haley"], ["LIMIT", 1]] SQL (2.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", "Kristan Haley"], ["name", "Wonda Schoen"], ["location_type_id", 2], ["description", "Melva Prosacco"], ["address", "Sharee Purdy"], ["created_at", "2018-04-01 10:08:33.324034"], ["updated_at", "2018-04-01 10:08:33.324034"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Melina Keeling"], ["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", "Karl Bartell"], ["LIMIT", 1]] SQL (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", "Melina Keeling"], ["name", "Keven Weimann"], ["description", "Eric O'Connell"], ["serial_number", "Karl Bartell"], ["brand", "Flora Corkery"], ["item_model", "Morris Hirthe"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-04-01 10:08:33.334838"], ["updated_at", "2018-04-01 10:08:33.334838"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Walter Medhurst"], ["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", "Christen Hane"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Walter Medhurst"], ["name", "Christen Hane"], ["created_at", "2018-04-01 10:08:33.346474"], ["updated_at", "2018-04-01 10:08:33.346474"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Etha Strosin"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Etha Strosin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.353901"], ["updated_at", "2018-04-01 10:08:33.353901"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (3.2ms) 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", "Shirleen Beier"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shirleen Beier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.364520"], ["updated_at", "2018-04-01 10:08:33.364520"]]  (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", "Darcie Batz"], ["LIMIT", 1]] SQL (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", "Darcie Batz"], ["name", "Ramon Bode"], ["address", "Roni Considine"], ["created_at", "2018-04-01 10:08:33.371399"], ["updated_at", "2018-04-01 10:08:33.371399"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Melvina Powlowski"], ["service_delivery_unit_id", 34], ["LIMIT", 1]] SQL (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", "Melvina Powlowski"], ["name", "Raina Pacocha"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 34], ["created_at", "2018-04-01 10:08:33.376948"], ["updated_at", "2018-04-01 10:08:33.376948"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 2], ["created_at", "2018-04-01 10:08:33.380692"], ["updated_at", "2018-04-01 10:08:33.380692"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Mario Rolfson"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Marcos Carroll"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mario Rolfson"], ["name", "Marcos Carroll"], ["description", "Sunt dolores optio architecto necessitatibus pariatur reiciendis facere. Ut laborum tempora ullam nisi est error dolores. Id suscipit natus sint ad repellendus quos."], ["created_at", "2018-04-01 10:08:33.387230"], ["updated_at", "2018-04-01 10:08:33.387230"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Alycia Durgan"], ["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", "Elisha Lang"], ["LIMIT", 1]] SQL (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", "Alycia Durgan"], ["name", "Elisha Lang"], ["description", "Provident commodi eveniet natus sed. Repudiandae id et porro eum consequuntur natus. Debitis laborum rerum sed iusto rerum voluptatum."], ["equipment_type_id", 3], ["created_at", "2018-04-01 10:08:33.393769"], ["updated_at", "2018-04-01 10:08:33.393769"]]  (0.4ms) 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", "Deadra Hand"], ["LIMIT", 1]] SQL (0.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", "Deadra Hand"], ["name", "Julene West"], ["description", "Misti Luettgen"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-04-01 10:08:33.398989"], ["updated_at", "2018-04-01 10:08:33.398989"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Almeta Monahan"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Melvin Hyatt"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Almeta Monahan"], ["name", "Melvin Hyatt"], ["description", "Ken Cormier"], ["created_at", "2018-04-01 10:08:33.404175"], ["updated_at", "2018-04-01 10:08:33.404175"]]  (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", "Chantel Schulist"], ["LIMIT", 1]] SQL (1.4ms) 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", "Chantel Schulist"], ["name", "Myong Zieme"], ["location_type_id", 3], ["description", "Afton Osinski"], ["address", "Lawana Bahringer"], ["created_at", "2018-04-01 10:08:33.408828"], ["updated_at", "2018-04-01 10:08:33.408828"]]  (0.6ms) 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", "Nia Beer"], ["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", "Henrietta Lang"], ["LIMIT", 1]] SQL (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", "Nia Beer"], ["name", "Orpha Boyer"], ["description", "Milagros Stiedemann"], ["serial_number", "Henrietta Lang"], ["brand", "Arnold Powlowski"], ["item_model", "Natashia Cummerata"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-04-01 10:08:33.418385"], ["updated_at", "2018-04-01 10:08:33.418385"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Donny Konopelski"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (3.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Debby Batz"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Donny Konopelski"], ["name", "Debby Batz"], ["created_at", "2018-04-01 10:08:33.436693"], ["updated_at", "2018-04-01 10:08:33.436693"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Pei Marvin"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pei Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.446201"], ["updated_at", "2018-04-01 10:08:33.446201"]]  (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", "Cathey Boehm"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cathey Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.452754"], ["updated_at", "2018-04-01 10:08:33.452754"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Daron Bins"], ["LIMIT", 1]] SQL (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", "Daron Bins"], ["name", "Brynn Corwin"], ["address", "Luetta Spencer"], ["created_at", "2018-04-01 10:08:33.462895"], ["updated_at", "2018-04-01 10:08:33.462895"]]  (0.4ms) 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", "Quyen Durgan"], ["service_delivery_unit_id", 35], ["LIMIT", 1]] SQL (0.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", "Quyen Durgan"], ["name", "Julio Wyman"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 35], ["created_at", "2018-04-01 10:08:33.467889"], ["updated_at", "2018-04-01 10:08:33.467889"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 14], ["equipment_item_id", 3], ["created_at", "2018-04-01 10:08:33.470911"], ["updated_at", "2018-04-01 10:08:33.470911"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#index as HTML Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 12], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.5ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 1], ["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", 13], ["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", 2], ["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", 14], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (10.74ms) Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.42ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 7.6ms)  (1.1ms) 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", "verline_brekke@wisozkhayes.info"], ["LIMIT", 1]] SQL (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", "Michel Runolfsson"], ["last_name", "Jaclyn Heller"], ["email", "verline_brekke@wisozkhayes.info"], ["password_digest", "$2a$04$wM7vAHkM9D0R7auhuWGxr.JgYKCrY6XQqb7wdisdtk.aotGWjXm2S"], ["created_at", "2018-04-01 10:08:33.503236"], ["updated_at", "2018-04-01 10:08:33.503236"]]  (0.5ms) 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", "Debbi Jerde"], ["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", "Donny Gorczany"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Debbi Jerde"], ["name", "Donny Gorczany"], ["description", "Totam consequatur et dignissimos debitis earum mollitia. Soluta modi eum consequatur commodi natus magni ipsum facilis. Exercitationem animi sapiente aut unde dolores repudiandae voluptas. Animi aut dolorem consectetur occaecati eum ipsum."], ["created_at", "2018-04-01 10:08:33.512098"], ["updated_at", "2018-04-01 10:08:33.512098"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lionel Schneider"], ["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", "Basil O'Connell"], ["LIMIT", 1]] SQL (1.4ms) 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", "Lionel Schneider"], ["name", "Basil O'Connell"], ["description", "Omnis accusamus odit sapiente molestiae sed qui iusto. Consequuntur aut dolores adipisci possimus. Consectetur id dolores fuga et. Similique ipsa dignissimos nam iusto quae. Et dolorum maiores quia explicabo eligendi corrupti ducimus."], ["equipment_type_id", 4], ["created_at", "2018-04-01 10:08:33.517630"], ["updated_at", "2018-04-01 10:08:33.517630"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (2.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Eloisa Dach"], ["LIMIT", 1]] SQL (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", "Eloisa Dach"], ["name", "Thalia Corwin"], ["description", "Eloy Baumbach"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-04-01 10:08:33.527783"], ["updated_at", "2018-04-01 10:08:33.527783"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Sonia Hauck"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Dalia Cormier"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sonia Hauck"], ["name", "Dalia Cormier"], ["description", "Manuel Armstrong"], ["created_at", "2018-04-01 10:08:33.538596"], ["updated_at", "2018-04-01 10:08:33.538596"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Allen Dach"], ["LIMIT", 1]] SQL (1.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", "Allen Dach"], ["name", "Elijah Bailey"], ["location_type_id", 4], ["description", "Aaron Stokes"], ["address", "Alfred Wilkinson"], ["created_at", "2018-04-01 10:08:33.548598"], ["updated_at", "2018-04-01 10:08:33.548598"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (5.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Chance Douglas"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Shakita Harvey"], ["LIMIT", 1]] SQL (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", "Chance Douglas"], ["name", "Tiny Corkery"], ["description", "Gaylene Tremblay"], ["serial_number", "Shakita Harvey"], ["brand", "Lauren Leannon"], ["item_model", "Aleshia Stoltenberg"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-04-01 10:08:33.565453"], ["updated_at", "2018-04-01 10:08:33.565453"]]  (0.7ms) 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", "Cathrine Littel"], ["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", "Lise Quigley"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cathrine Littel"], ["name", "Lise Quigley"], ["created_at", "2018-04-01 10:08:33.573444"], ["updated_at", "2018-04-01 10:08:33.573444"]]  (0.6ms) 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", "Junita Durgan"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Junita Durgan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.579922"], ["updated_at", "2018-04-01 10:08:33.579922"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Mickey Bednar"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mickey Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.583971"], ["updated_at", "2018-04-01 10:08:33.583971"]]  (0.4ms) 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", "Candance Nienow"], ["LIMIT", 1]] SQL (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", "Candance Nienow"], ["name", "Star Larson"], ["address", "Lyda Mayer"], ["created_at", "2018-04-01 10:08:33.588432"], ["updated_at", "2018-04-01 10:08:33.588432"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Lanell Watsica"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] SQL (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", "Lanell Watsica"], ["name", "Leida Miller"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 36], ["created_at", "2018-04-01 10:08:33.595339"], ["updated_at", "2018-04-01 10:08:33.595339"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 15], ["equipment_item_id", 4], ["created_at", "2018-04-01 10:08:33.598900"], ["updated_at", "2018-04-01 10:08:33.598900"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Reynalda Ankunding"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Kathe Gorczany"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Reynalda Ankunding"], ["name", "Kathe Gorczany"], ["description", "Ipsum et repellendus pariatur quos voluptate accusantium. Officiis et qui tenetur odio. Perspiciatis ut doloremque in est aut."], ["created_at", "2018-04-01 10:08:33.605409"], ["updated_at", "2018-04-01 10:08:33.605409"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Myrtice Feil"], ["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", "Diana Williamson"], ["LIMIT", 1]] SQL (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", "Myrtice Feil"], ["name", "Diana Williamson"], ["description", "Quia facilis consequatur laborum nulla corrupti. Nisi voluptate eum modi incidunt. Magni sed quia non provident aperiam nostrum velit sit."], ["equipment_type_id", 5], ["created_at", "2018-04-01 10:08:33.612748"], ["updated_at", "2018-04-01 10:08:33.612748"]]  (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", "Svetlana Morissette"], ["LIMIT", 1]] SQL (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", "Svetlana Morissette"], ["name", "Kourtney McKenzie"], ["description", "Cyrstal Friesen"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-04-01 10:08:33.617473"], ["updated_at", "2018-04-01 10:08:33.617473"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Hollis Reinger"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Bernita Funk"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Hollis Reinger"], ["name", "Bernita Funk"], ["description", "Vicky Moore"], ["created_at", "2018-04-01 10:08:33.631181"], ["updated_at", "2018-04-01 10:08:33.631181"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (2.3ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Brett Bins"], ["LIMIT", 1]] SQL (2.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", "Brett Bins"], ["name", "Emilee Hettinger"], ["location_type_id", 5], ["description", "Naida Crooks"], ["address", "Weldon Heidenreich"], ["created_at", "2018-04-01 10:08:33.642793"], ["updated_at", "2018-04-01 10:08:33.642793"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Deloise McClure"], ["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", "Talia Cremin"], ["LIMIT", 1]] SQL (3.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", "Deloise McClure"], ["name", "Silva Kessler"], ["description", "Sean Hills"], ["serial_number", "Talia Cremin"], ["brand", "Jenniffer Romaguera"], ["item_model", "Clinton Witting"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-04-01 10:08:33.655898"], ["updated_at", "2018-04-01 10:08:33.655898"]]  (0.7ms) 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", "Glady Towne"], ["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", "Carline Kassulke"], ["LIMIT", 1]] SQL (2.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Glady Towne"], ["name", "Carline Kassulke"], ["created_at", "2018-04-01 10:08:33.672329"], ["updated_at", "2018-04-01 10:08:33.672329"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Stephane Goldner"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stephane Goldner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.687077"], ["updated_at", "2018-04-01 10:08:33.687077"]]  (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", "Hyman Auer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hyman Auer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.697721"], ["updated_at", "2018-04-01 10:08:33.697721"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Pauletta Blanda"], ["LIMIT", 1]] SQL (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", "Pauletta Blanda"], ["name", "Jesica Becker"], ["address", "Estela Daugherty"], ["created_at", "2018-04-01 10:08:33.702052"], ["updated_at", "2018-04-01 10:08:33.702052"]]  (0.4ms) 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", "Jame Huel"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (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", "Jame Huel"], ["name", "Howard Frami"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 37], ["created_at", "2018-04-01 10:08:33.706815"], ["updated_at", "2018-04-01 10:08:33.706815"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 16], ["equipment_item_id", 5], ["created_at", "2018-04-01 10:08:33.712074"], ["updated_at", "2018-04-01 10:08:33.712074"]]  (0.5ms) 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", "Livia Champlin"], ["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", "Dollie Bradtke"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Livia Champlin"], ["name", "Dollie Bradtke"], ["description", "Numquam excepturi aut sunt aut consequatur nam. Dolore nulla asperiores ut illo vel fuga. Quis qui nostrum et vitae. Id blanditiis nobis est placeat modi fuga."], ["created_at", "2018-04-01 10:08:33.719285"], ["updated_at", "2018-04-01 10:08:33.719285"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ozie Gutkowski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Ada Pagac"], ["LIMIT", 1]] SQL (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", "Ozie Gutkowski"], ["name", "Ada Pagac"], ["description", "Rerum dicta aut quae exercitationem ea possimus explicabo. Quidem voluptatem odio quis possimus ea. Necessitatibus accusantium sit aut excepturi qui."], ["equipment_type_id", 6], ["created_at", "2018-04-01 10:08:33.726906"], ["updated_at", "2018-04-01 10:08:33.726906"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lottie Wolf"], ["LIMIT", 1]] SQL (1.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", "Lottie Wolf"], ["name", "Rayna Schuster"], ["description", "Libby Aufderhar"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-04-01 10:08:33.734131"], ["updated_at", "2018-04-01 10:08:33.734131"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", "Jami Hirthe"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Wai Harris"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jami Hirthe"], ["name", "Wai Harris"], ["description", "Flossie Satterfield"], ["created_at", "2018-04-01 10:08:33.751705"], ["updated_at", "2018-04-01 10:08:33.751705"]]  (3.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Valentina Ritchie"], ["LIMIT", 1]] SQL (1.4ms) 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", "Valentina Ritchie"], ["name", "Luz Hyatt"], ["location_type_id", 6], ["description", "Emmie Gleichner"], ["address", "Donnetta Bartoletti"], ["created_at", "2018-04-01 10:08:33.767789"], ["updated_at", "2018-04-01 10:08:33.767789"]]  (2.3ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Vilma Rogahn"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Russell Littel"], ["LIMIT", 1]] SQL (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", "Vilma Rogahn"], ["name", "Kiley Wintheiser"], ["description", "Silva Connelly"], ["serial_number", "Russell Littel"], ["brand", "Marvella Connelly"], ["item_model", "Mao Shanahan"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-04-01 10:08:33.788912"], ["updated_at", "2018-04-01 10:08:33.788912"]]  (0.6ms) 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", "Ira Jacobi"], ["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", "Austin Monahan"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ira Jacobi"], ["name", "Austin Monahan"], ["created_at", "2018-04-01 10:08:33.802166"], ["updated_at", "2018-04-01 10:08:33.802166"]]  (0.4ms) 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", "Violeta Hoppe"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Violeta Hoppe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.806838"], ["updated_at", "2018-04-01 10:08:33.806838"]]  (1.0ms) 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", "Lindsy Kling"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lindsy Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:33.813227"], ["updated_at", "2018-04-01 10:08:33.813227"]]  (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", "Reid Lockman"], ["LIMIT", 1]] SQL (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", "Reid Lockman"], ["name", "Grady Kuhlman"], ["address", "Ernesto Stark"], ["created_at", "2018-04-01 10:08:33.817937"], ["updated_at", "2018-04-01 10:08:33.817937"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Yung Blick"], ["service_delivery_unit_id", 38], ["LIMIT", 1]] SQL (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", "Yung Blick"], ["name", "Chang Predovic"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 38], ["created_at", "2018-04-01 10:08:33.822352"], ["updated_at", "2018-04-01 10:08:33.822352"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (1.4ms) 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", 17], ["equipment_item_id", 6], ["created_at", "2018-04-01 10:08:33.827679"], ["updated_at", "2018-04-01 10:08:33.827679"]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates 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", 34], ["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", 34], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.2ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (2.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (4.2ms) 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]] [active_model_serializers] Mks::Rate::ChargeableService Load (2.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (3.2ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] [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", 37], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 17], ["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", 6], ["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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (52.18ms) Completed 200 OK in 67ms (Views: 39.4ms | ActiveRecord: 20.4ms)  (0.6ms) ROLLBACK  (0.8ms) BEGIN  (0.7ms) 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", "jenifer@treutel.co.uk"], ["LIMIT", 1]] SQL (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", "Lavonda McCullough"], ["last_name", "Lakeshia Bauch"], ["email", "jenifer@treutel.co.uk"], ["password_digest", "$2a$04$2J3RZWN.1dsvZmUWEn6eMuQa.xxempfH.MMgYl7lFJF4MEJOaa5bO"], ["created_at", "2018-04-01 10:08:33.913246"], ["updated_at", "2018-04-01 10:08:33.913246"]]  (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", "Maximo Greenholt"], ["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", "Shanta Runolfsson"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maximo Greenholt"], ["name", "Shanta Runolfsson"], ["created_at", "2018-04-01 10:08:33.919812"], ["updated_at", "2018-04-01 10:08:33.919812"]]  (0.4ms) 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", 35], ["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", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.6ms) 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 (1.02ms) Completed 200 OK in 16ms (Views: 11.8ms | ActiveRecord: 2.6ms)  (2.6ms) 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", "matilde.kiehn@marvingreen.biz"], ["LIMIT", 1]] SQL (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", "Clorinda Kling"], ["last_name", "Boyce Stamm"], ["email", "matilde.kiehn@marvingreen.biz"], ["password_digest", "$2a$04$lCfAEAVghVMT6HFnu44Q.uHPTRpAjwVrQWUVn/1eij0WWA/RMw1ta"], ["created_at", "2018-04-01 10:08:33.955652"], ["updated_at", "2018-04-01 10:08:33.955652"]]  (0.9ms) 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", "Henriette Greenfelder"], ["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", "Van Schamberger"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Henriette Greenfelder"], ["name", "Van Schamberger"], ["created_at", "2018-04-01 10:08:33.966169"], ["updated_at", "2018-04-01 10:08:33.966169"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} 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::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", 20], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (1.05ms) Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 2.5ms)  (0.9ms) ROLLBACK  (0.8ms) 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", "tatiana_donnelly@satterfield.com"], ["LIMIT", 1]] SQL (3.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", "Chelsea Rempel"], ["last_name", "China Legros"], ["email", "tatiana_donnelly@satterfield.com"], ["password_digest", "$2a$04$B6PNBUfY9.9qmyOnCemmeORT6msdZkZ4LgFwUHilSp2J5gCYKsL26"], ["created_at", "2018-04-01 10:08:33.989789"], ["updated_at", "2018-04-01 10:08:33.989789"]]  (0.7ms) 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"=>"Millard Harber", "name"=>"Tamica McDermott"}} 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]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Millard Harber"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tamica McDermott"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Millard Harber"], ["name", "Tamica McDermott"], ["created_at", "2018-04-01 10:08:34.004336"], ["updated_at", "2018-04-01 10:08:34.004336"]]  (1.1ms) 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", 37], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.32ms) Completed 201 Created in 12ms (Views: 3.0ms | ActiveRecord: 5.3ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (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", "bert@tillman.us"], ["LIMIT", 1]] SQL (0.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", "Bobbie Hoppe"], ["last_name", "Yee Walter"], ["email", "bert@tillman.us"], ["password_digest", "$2a$04$Wyt8P5K38WOcrKhwhjXKkOVvDt0SDcqB6whlGzKFdbl32fo31.X.S"], ["created_at", "2018-04-01 10:08:34.020077"], ["updated_at", "2018-04-01 10:08:34.020077"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Viviana Fisher", "name"=>"Nicholas Fisher"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Viviana Fisher"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nicholas Fisher"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Viviana Fisher"], ["name", "Nicholas Fisher"], ["created_at", "2018-04-01 10:08:34.029371"], ["updated_at", "2018-04-01 10:08:34.029371"]]  (0.4ms) 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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.28ms) Completed 201 Created in 10ms (Views: 1.7ms | ActiveRecord: 4.5ms) Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (1.3ms) BEGIN  (0.9ms) 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", "lou.williamson@hessel.us"], ["LIMIT", 1]] SQL (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", "Gilda Witting"], ["last_name", "Candis Kiehn"], ["email", "lou.williamson@hessel.us"], ["password_digest", "$2a$04$BKcy6ieX7XNgorGpEwez9uf7UKu.icIZjF5ilLrPOyvWKtNMSHBca"], ["created_at", "2018-04-01 10:08:34.051534"], ["updated_at", "2018-04-01 10:08:34.051534"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Mable Little"}} Mks::Auth::User Load (6.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]]  (0.8ms) 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", ""], ["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", "Mable Little"], ["LIMIT", 1]]  (1.9ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (2.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.27ms) Completed 422 Unprocessable Entity in 24ms (Views: 3.3ms | ActiveRecord: 13.9ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (1.3ms) 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", "marivel.mccullough@towne.ca"], ["LIMIT", 1]] SQL (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", "Tiara Mayer"], ["last_name", "Eugenie Stroman"], ["email", "marivel.mccullough@towne.ca"], ["password_digest", "$2a$04$3p8ISFRWc9VmEgLZPd1/juD5xeXhFVvi7n8jrDLJ6fS/5iKaY0.Yu"], ["created_at", "2018-04-01 10:08:34.094797"], ["updated_at", "2018-04-01 10:08:34.094797"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lizette Bauch"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Mariano Kuhn"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lizette Bauch"], ["name", "Mariano Kuhn"], ["created_at", "2018-04-01 10:08:34.100164"], ["updated_at", "2018-04-01 10:08:34.100164"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Arnita Torp"}, "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", 40], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.4ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]  (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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Lizette Bauch"], ["id", 23], ["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", "Arnita Torp"], ["id", 23], ["LIMIT", 1]] SQL (0.7ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Arnita Torp"], ["updated_at", "2018-04-01 10:08:34.110693"], ["id", 23]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 5.7ms) 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", 23], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) 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", "debi.carter@denesikaltenwerth.ca"], ["LIMIT", 1]] SQL (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", "Lavinia Brekke"], ["last_name", "Linda Sanford"], ["email", "debi.carter@denesikaltenwerth.ca"], ["password_digest", "$2a$04$FActeI42kMEKzWi1aKxecOn9/CqKRnh9zioqw4zbf62S1YmaLL1IO"], ["created_at", "2018-04-01 10:08:34.126852"], ["updated_at", "2018-04-01 10:08:34.126852"]]  (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", "Kerry O'Conner"], ["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", "Ted Wiza"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kerry O'Conner"], ["name", "Ted Wiza"], ["created_at", "2018-04-01 10:08:34.133737"], ["updated_at", "2018-04-01 10:08:34.133737"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Lavonna Stanton", "name"=>"Sun Schiller"}, "id"=>"24"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (3.2ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Lavonna Stanton"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.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", "Sun Schiller"], ["id", 24], ["LIMIT", 1]] SQL (1.5ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Lavonna Stanton"], ["name", "Sun Schiller"], ["updated_at", "2018-04-01 10:08:34.155163"], ["id", 24]]  (0.7ms) 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.65ms) Completed 200 OK in 39ms (Views: 6.4ms | ActiveRecord: 12.1ms)  (1.4ms) 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", "syreeta@erdman.biz"], ["LIMIT", 1]] SQL (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", "Tobias Kovacek"], ["last_name", "Daine Wehner"], ["email", "syreeta@erdman.biz"], ["password_digest", "$2a$04$soLTyy8TtANKf3/1euA31uRKjCkQkOL9kYBZYtMMADpzMRgKts2cW"], ["created_at", "2018-04-01 10:08:34.189766"], ["updated_at", "2018-04-01 10:08:34.189766"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lucretia Hane"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Leonia Schuster"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lucretia Hane"], ["name", "Leonia Schuster"], ["created_at", "2018-04-01 10:08:34.196867"], ["updated_at", "2018-04-01 10:08:34.196867"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Niki Schmidt"}, "id"=>"25"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["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", 25], ["LIMIT", 1]]  (0.4ms) 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", 25], ["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", "Niki Schmidt"], ["id", 25], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.2ms | ActiveRecord: 5.3ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "jared_leuschke@vandervort.com"], ["LIMIT", 1]] SQL (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", "Luanna Howe"], ["last_name", "Julene Klein"], ["email", "jared_leuschke@vandervort.com"], ["password_digest", "$2a$04$209pIg8HV7aNqH6xzeq/cOaqdif6QtUO.MtPYWfOhmP0agZ674yhe"], ["created_at", "2018-04-01 10:08:34.218254"], ["updated_at", "2018-04-01 10:08:34.218254"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Vera Klein"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vera Klein"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.225703"], ["updated_at", "2018-04-01 10:08:34.225703"]]  (0.6ms) 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", "Helga Breitenberg"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Helga Breitenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.231325"], ["updated_at", "2018-04-01 10:08:34.231325"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jenine Mann"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jenine Mann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.240013"], ["updated_at", "2018-04-01 10:08:34.240013"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#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", 43], ["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", 43], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.4ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (9.94ms) Completed 200 OK in 19ms (Views: 12.4ms | ActiveRecord: 3.5ms)  (1.0ms) ROLLBACK  (1.2ms) BEGIN  (1.2ms) ROLLBACK  (0.9ms) BEGIN  (1.2ms) ROLLBACK  (0.9ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) 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", "Many Rohan"], ["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", "Stefani Cummings"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Many Rohan"], ["name", "Stefani Cummings"], ["created_at", "2018-04-01 10:08:34.329042"], ["updated_at", "2018-04-01 10:08:34.329042"]]  (0.5ms) 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", "Delphine Keeling"], ["LIMIT", 1]] SQL (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 Keeling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.333924"], ["updated_at", "2018-04-01 10:08:34.333924"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Florencio Koss"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Florencio Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.338581"], ["updated_at", "2018-04-01 10:08:34.338581"]]  (0.8ms) 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", "Bette Weissnat"], ["LIMIT", 1]] SQL (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", "Bette Weissnat"], ["name", "Karlyn Satterfield"], ["address", "Dee Casper"], ["created_at", "2018-04-01 10:08:34.344951"], ["updated_at", "2018-04-01 10:08:34.344951"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Carli Beer"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Carli Beer"], ["name", "Wendell Yundt"], ["service_type_id", 26], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 39], ["created_at", "2018-04-01 10:08:34.360867"], ["updated_at", "2018-04-01 10:08:34.360867"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (3.5ms) 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", "Carli Beer"], ["id", 18], ["service_delivery_unit_id", 39], ["LIMIT", 1]]  (1.6ms) ROLLBACK  (0.9ms) BEGIN  (1.0ms) 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", "Tobi Schmidt"], ["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", "Roberto Williamson"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tobi Schmidt"], ["name", "Roberto Williamson"], ["created_at", "2018-04-01 10:08:34.404416"], ["updated_at", "2018-04-01 10:08:34.404416"]]  (0.6ms) 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", "Francie Wuckert"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Francie Wuckert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.413459"], ["updated_at", "2018-04-01 10:08:34.413459"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Hollis Pfeffer"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hollis Pfeffer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.417864"], ["updated_at", "2018-04-01 10:08:34.417864"]]  (0.7ms) 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", "Betsy Goyette"], ["LIMIT", 1]] SQL (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", "Betsy Goyette"], ["name", "Maximina Douglas"], ["address", "Lani Jones"], ["created_at", "2018-04-01 10:08:34.423409"], ["updated_at", "2018-04-01 10:08:34.423409"]]  (0.6ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 40], ["LIMIT", 1]]  (0.4ms) 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", "Sherryl Turner"], ["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", "Marlon Schowalter"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sherryl Turner"], ["name", "Marlon Schowalter"], ["created_at", "2018-04-01 10:08:34.435848"], ["updated_at", "2018-04-01 10:08:34.435848"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Delois Davis"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delois Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.441360"], ["updated_at", "2018-04-01 10:08:34.441360"]]  (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", "Lamont Beatty"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lamont Beatty"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.447468"], ["updated_at", "2018-04-01 10:08:34.447468"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Raphael Rodriguez"], ["LIMIT", 1]] SQL (3.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Raphael Rodriguez"], ["name", "Harris Heidenreich"], ["address", "Larry Auer"], ["created_at", "2018-04-01 10:08:34.466342"], ["updated_at", "2018-04-01 10:08:34.466342"]]  (2.7ms) RELEASE 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", "Cleopatra Green"], ["service_delivery_unit_id", 41], ["LIMIT", 1]]  (2.0ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jodee Crooks"], ["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", "Lucilla Crona"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jodee Crooks"], ["name", "Lucilla Crona"], ["created_at", "2018-04-01 10:08:34.510181"], ["updated_at", "2018-04-01 10:08:34.510181"]]  (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", "Christinia Hammes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Christinia Hammes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.514834"], ["updated_at", "2018-04-01 10:08:34.514834"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Marshall Luettgen"], ["LIMIT", 1]] SQL (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", "Marshall Luettgen"], ["name", "Toi Macejkovic"], ["address", "Aracelis Rolfson"], ["created_at", "2018-04-01 10:08:34.519174"], ["updated_at", "2018-04-01 10:08:34.519174"]]  (0.4ms) 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", "Roberta Carroll"], ["service_delivery_unit_id", 42], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.4ms) 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", "Leslie Conroy"], ["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", "Derick Cormier"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leslie Conroy"], ["name", "Derick Cormier"], ["created_at", "2018-04-01 10:08:34.531511"], ["updated_at", "2018-04-01 10:08:34.531511"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Monet Friesen"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Monet Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.536931"], ["updated_at", "2018-04-01 10:08:34.536931"]]  (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", "Belia Kunde"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Belia Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.543326"], ["updated_at", "2018-04-01 10:08:34.543326"]]  (0.6ms) 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" IS NULL LIMIT $2 [["code", "Tammy Marvin"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Petrina Rodriguez"], ["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", "Lashawna Hintz"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Petrina Rodriguez"], ["name", "Lashawna Hintz"], ["created_at", "2018-04-01 10:08:34.563638"], ["updated_at", "2018-04-01 10:08:34.563638"]]  (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", "Son Breitenberg"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Son Breitenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.571144"], ["updated_at", "2018-04-01 10:08:34.571144"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Magda Nader"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Magda Nader"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.579618"], ["updated_at", "2018-04-01 10:08:34.579618"]]  (0.5ms) 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", "Victorina Batz"], ["LIMIT", 1]] SQL (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", "Victorina Batz"], ["name", "Zetta Homenick"], ["address", "Esmeralda Weimann"], ["created_at", "2018-04-01 10:08:34.586637"], ["updated_at", "2018-04-01 10:08:34.586637"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Drucilla Grant"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Drucilla Grant"], ["name", "Zelma Waelchi"], ["service_type_id", 31], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 43], ["created_at", "2018-04-01 10:08:34.596559"], ["updated_at", "2018-04-01 10:08:34.596559"]]  (0.7ms) 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", "Arnold McGlynn"], ["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", "Janise Johnston"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Arnold McGlynn"], ["name", "Janise Johnston"], ["created_at", "2018-04-01 10:08:34.605203"], ["updated_at", "2018-04-01 10:08:34.605203"]]  (1.1ms) 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", "Dionna Simonis"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dionna Simonis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.612659"], ["updated_at", "2018-04-01 10:08:34.612659"]]  (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", "Shelli Doyle"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shelli Doyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:34.618149"], ["updated_at", "2018-04-01 10:08:34.618149"]]  (0.4ms) 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", "Drucilla Grant"], ["service_delivery_unit_id", 43], ["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", 43], ["LIMIT", 1]]  (0.7ms) 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", "so.kling@hessel.com"], ["LIMIT", 1]] SQL (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", "Yuri Parker"], ["last_name", "Cherise Berge"], ["email", "so.kling@hessel.com"], ["password_digest", "$2a$04$ryILgyaY.UT.7/.TSU87nOLj34FJntrWRhdJOjXL9nbg09CeKWemm"], ["created_at", "2018-04-01 10:08:34.645730"], ["updated_at", "2018-04-01 10:08:34.645730"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "raina_vonrueden@mannoberbrunner.com"], ["LIMIT", 1]] SQL (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", "Adan Torp"], ["last_name", "Leontine Reichel"], ["email", "raina_vonrueden@mannoberbrunner.com"], ["password_digest", "$2a$04$yRz4V3SommkwX3ZsbQTFTePlGGOPfXsYEWRgv4xFZ5aY./Gu.DAQi"], ["created_at", "2018-04-01 10:08:34.653639"], ["updated_at", "2018-04-01 10:08:34.653639"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Kai Bradtke"], ["LIMIT", 1]] SQL (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", "Kai Bradtke"], ["authorized_by", "Aja Jaskolski"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 44], ["approved_by_id", 45], ["created_at", "2018-04-01 10:08:34.661185"], ["updated_at", "2018-04-01 10:08:34.661185"]]  (0.9ms) 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" = $1 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Kai Bradtke"], ["id", 1], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) 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", "luci@keeblerokon.info"], ["LIMIT", 1]] SQL (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", "Dana Willms"], ["last_name", "Jerica Lind"], ["email", "luci@keeblerokon.info"], ["password_digest", "$2a$04$PatLZ5vtzsYN9JejGVJPi.mnmCj3YksCDZo7GS4kyd2ZHEuYtl6KG"], ["created_at", "2018-04-01 10:08:34.681589"], ["updated_at", "2018-04-01 10:08:34.681589"]]  (0.6ms) 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", "margert.botsford@mraz.info"], ["LIMIT", 1]] SQL (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", "Gwenda Weimann"], ["last_name", "Adolfo Gutkowski"], ["email", "margert.botsford@mraz.info"], ["password_digest", "$2a$04$ZrEo9BVNao1hA2GeYLDijuvkvNvmDK7Xt9faMsA0KC2NQaVsvovm."], ["created_at", "2018-04-01 10:08:34.691013"], ["updated_at", "2018-04-01 10:08:34.691013"]]  (0.6ms) 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", "Dick Ankunding"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) 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", "camille@hane.com"], ["LIMIT", 1]] SQL (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", "Wendy Davis"], ["last_name", "Alexia Hintz"], ["email", "camille@hane.com"], ["password_digest", "$2a$04$tpBELvk8U4wKFZIs0Koa8uHtHvOBeKdpGrgMIsQ72qh1FY.75Xyv."], ["created_at", "2018-04-01 10:08:34.708830"], ["updated_at", "2018-04-01 10:08:34.708830"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "carmelo.runolfsson@jones.info"], ["LIMIT", 1]] SQL (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", "Tamica McClure"], ["last_name", "Vivien Hyatt"], ["email", "carmelo.runolfsson@jones.info"], ["password_digest", "$2a$04$6lAxVuMOlau/7ZMT/ZkXV.L/zELM.9PnvxoWxdQAbGPVp2Rve.36q"], ["created_at", "2018-04-01 10:08:34.717191"], ["updated_at", "2018-04-01 10:08:34.717191"]]  (0.5ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.7ms) BEGIN  (0.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", "rosaria.haag@bogan.us"], ["LIMIT", 1]] SQL (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", "Brittani Nienow"], ["last_name", "Suzie Rempel"], ["email", "rosaria.haag@bogan.us"], ["password_digest", "$2a$04$2plYrM77jPCsJOb23IunzOQ54gdI4b3hceJ8dSiouUTrpaCivZDlu"], ["created_at", "2018-04-01 10:08:34.737385"], ["updated_at", "2018-04-01 10:08:34.737385"]]  (0.9ms) 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", "alta@mcglynn.co.uk"], ["LIMIT", 1]] SQL (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", "Petra Harber"], ["last_name", "Kelsey Hermann"], ["email", "alta@mcglynn.co.uk"], ["password_digest", "$2a$04$rc08Yzj5HVgwb.AZTzwpb.1jC00CNasJhfXH033/I3Lfecg7liZom"], ["created_at", "2018-04-01 10:08:34.746424"], ["updated_at", "2018-04-01 10:08:34.746424"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Elden Rohan"], ["LIMIT", 1]] SQL (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", "Elden Rohan"], ["authorized_by", "Antione Dach"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 50], ["approved_by_id", 51], ["created_at", "2018-04-01 10:08:34.751188"], ["updated_at", "2018-04-01 10:08:34.751188"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.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", "emely.schoen@cummerata.info"], ["LIMIT", 1]] SQL (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", "Dayle Schaefer"], ["last_name", "Crysta White"], ["email", "emely.schoen@cummerata.info"], ["password_digest", "$2a$04$C.hJPsmbewYZUpy26UJqBOEGs.NzAcePIAexJBzgZ2X8UdoS/bxD."], ["created_at", "2018-04-01 10:08:34.764198"], ["updated_at", "2018-04-01 10:08:34.764198"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "wendy.hermann@crooks.co.uk"], ["LIMIT", 1]] SQL (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", "Senaida Torp"], ["last_name", "Van Kub"], ["email", "wendy.hermann@crooks.co.uk"], ["password_digest", "$2a$04$9dKpG0KrKQUEeoWQFLr3POeBAXxxUH46vkf0RkhPPXMKyRfzPRkjy"], ["created_at", "2018-04-01 10:08:34.774612"], ["updated_at", "2018-04-01 10:08:34.774612"]]  (0.7ms) RELEASE 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", "Elden Rohan"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (1.2ms) 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", "aurora@kundejohns.com"], ["LIMIT", 1]] SQL (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", "Danilo Jones"], ["last_name", "Clotilde Batz"], ["email", "aurora@kundejohns.com"], ["password_digest", "$2a$04$c.X421lKbmssxBpNmCfz.e/sGPxNalT8Yo2qVgno/uz9zkBYztg2."], ["created_at", "2018-04-01 10:08:34.797092"], ["updated_at", "2018-04-01 10:08:34.797092"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "milagros@beahan.us"], ["LIMIT", 1]] SQL (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", "Genevieve Kilback"], ["last_name", "Bernice Welch"], ["email", "milagros@beahan.us"], ["password_digest", "$2a$04$z7tPqvMDp3Us/kJLhLPjOO9JqxpamAF/CFH4TMB6Oel2t1WpOLIgW"], ["created_at", "2018-04-01 10:08:34.805804"], ["updated_at", "2018-04-01 10:08:34.805804"]]  (1.1ms) 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" = $1 LIMIT $2 [["reference_number", "Eun Bruen"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "mona@sauerdubuque.biz"], ["LIMIT", 1]] SQL (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", "Kirby Wintheiser"], ["last_name", "Tony Kunde"], ["email", "mona@sauerdubuque.biz"], ["password_digest", "$2a$04$1iE5PzsA1Cj0Sv4zTLFFveY2QvcnNapWuBqam2rQCl1OHwJtA7CNS"], ["created_at", "2018-04-01 10:08:34.825170"], ["updated_at", "2018-04-01 10:08:34.825170"]]  (0.7ms) 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", "maegan.emard@ortiz.com"], ["LIMIT", 1]] SQL (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", "Sondra Green"], ["last_name", "Lannie Daniel"], ["email", "maegan.emard@ortiz.com"], ["password_digest", "$2a$04$MVp9t5RUzmD9yoIKw/dUbek6Tu.DnRxZ9IYevRAfX/az3QGGyRfKG"], ["created_at", "2018-04-01 10:08:34.833866"], ["updated_at", "2018-04-01 10:08:34.833866"]]  (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", "Ngan Bahringer"], ["LIMIT", 1]]  (0.8ms) 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", "luise_brekke@heidenreich.ca"], ["LIMIT", 1]] SQL (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", "Eugenio Schmitt"], ["last_name", "Vanessa Ebert"], ["email", "luise_brekke@heidenreich.ca"], ["password_digest", "$2a$04$2IXRvnNM1YTKkrOvRC40Kul4djXnOvEWsn2evy/52hCg1Ujzav.Sa"], ["created_at", "2018-04-01 10:08:34.847944"], ["updated_at", "2018-04-01 10:08:34.847944"]]  (0.7ms) 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", "roselle_swaniawski@deckow.biz"], ["LIMIT", 1]] SQL (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", "Earnest Medhurst"], ["last_name", "Joan Oberbrunner"], ["email", "roselle_swaniawski@deckow.biz"], ["password_digest", "$2a$04$fJFBR2HHKby3IarWtjJW4OY/jTjZnzuS/LjftBqSAzOGehK0zbP7C"], ["created_at", "2018-04-01 10:08:34.859535"], ["updated_at", "2018-04-01 10:08:34.859535"]]  (0.9ms) 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" = $1 LIMIT $2 [["reference_number", "Loren Larkin"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.2ms) 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", "brittani@dooley.ca"], ["LIMIT", 1]] SQL (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", "Ramiro Walsh"], ["last_name", "Jaleesa Pollich"], ["email", "brittani@dooley.ca"], ["password_digest", "$2a$04$Lp7epD5lF2lzE3U5iDGyjeDA1NgMOtV7BY.iDc7ycaGbBQE0bdkfu"], ["created_at", "2018-04-01 10:08:34.877769"], ["updated_at", "2018-04-01 10:08:34.877769"]]  (0.8ms) 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", "minnie@bauch.ca"], ["LIMIT", 1]] SQL (3.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", "Peg Eichmann"], ["last_name", "Nyla Swaniawski"], ["email", "minnie@bauch.ca"], ["password_digest", "$2a$04$Aj1adUuLEMWhYFsbiKCWu.w2zUEkVW6TBzaLQO3tOEvqtEm9Trmbi"], ["created_at", "2018-04-01 10:08:34.887291"], ["updated_at", "2018-04-01 10:08:34.887291"]]  (1.3ms) 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", "Majorie Hermiston"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (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", "andres.harvey@gutkowskifay.ca"], ["LIMIT", 1]] SQL (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", "Shayna Nader"], ["last_name", "Jessi Bashirian"], ["email", "andres.harvey@gutkowskifay.ca"], ["password_digest", "$2a$04$J41aiJj/7Zfbde0ahuOIsenBNbP7enBLVRrovVwwPZzVXNZhD0ig2"], ["created_at", "2018-04-01 10:08:34.909412"], ["updated_at", "2018-04-01 10:08:34.909412"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Shirlene Murray"], ["LIMIT", 1]] SQL (0.9ms) 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", "Shirlene Murray"], ["authorized_by", "Juanita Wisozk"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 62], ["created_at", "2018-04-01 10:08:34.913900"], ["updated_at", "2018-04-01 10:08:34.913900"]]  (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", "Shirlene Murray"], ["id", 3], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.7ms) BEGIN  (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", "Earlie Cummerata"], ["LIMIT", 1]] SQL (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", "Earlie Cummerata"], ["name", "Samuel Balistreri"], ["address", "Dyan Heaney"], ["created_at", "2018-04-01 10:08:34.925903"], ["updated_at", "2018-04-01 10:08:34.925903"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Terrell Ruecker"], ["LIMIT", 1]] SQL (0.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", "Terrell Ruecker"], ["name", "Carie Fahey"], ["description", "Rex Olson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 44], ["created_at", "2018-04-01 10:08:34.929898"], ["updated_at", "2018-04-01 10:08:34.929898"]]  (0.6ms) 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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Terrell Ruecker"], ["id", 17], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Sherlyn Daugherty"], ["LIMIT", 1]] SQL (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", "Sherlyn Daugherty"], ["name", "Mammie Dickens"], ["address", "Deneen Barton"], ["created_at", "2018-04-01 10:08:34.940622"], ["updated_at", "2018-04-01 10:08:34.940622"]]  (0.4ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Karima Bayer"], ["LIMIT", 1]] SQL (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", "Karima Bayer"], ["name", "Luann Harvey"], ["address", "Lenora Larkin"], ["created_at", "2018-04-01 10:08:34.949573"], ["updated_at", "2018-04-01 10:08:34.949573"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Gertrude Hintz"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) BEGIN  (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", "Laura Lubowitz"], ["LIMIT", 1]] SQL (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", "Laura Lubowitz"], ["name", "Loriann Romaguera"], ["address", "Jarrett Pollich"], ["created_at", "2018-04-01 10:08:34.961171"], ["updated_at", "2018-04-01 10:08:34.961171"]]  (0.7ms) 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", "Laila Hamill"], ["LIMIT", 1]] SQL (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", "Laila Hamill"], ["name", "Eugene Feest"], ["description", "Kristine Marvin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 47], ["created_at", "2018-04-01 10:08:34.968214"], ["updated_at", "2018-04-01 10:08:34.968214"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Meghann Dicki"], ["LIMIT", 1]] SQL (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", "Meghann Dicki"], ["name", "Darcel Mosciski"], ["address", "Devorah Mayer"], ["created_at", "2018-04-01 10:08:34.976632"], ["updated_at", "2018-04-01 10:08:34.976632"]]  (0.7ms) 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", "Laila Hamill"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Carmelina Turner"], ["LIMIT", 1]] SQL (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", "Carmelina Turner"], ["name", "Hosea Hoeger"], ["address", "Malvina Crona"], ["created_at", "2018-04-01 10:08:34.993583"], ["updated_at", "2018-04-01 10:08:34.993583"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Jacinta Goldner"], ["LIMIT", 1]] SQL (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", "Jacinta Goldner"], ["name", "Melba Kihn"], ["description", "Andrea Kuhic"], ["percent_discount", 100.0], ["service_delivery_unit_id", 49], ["created_at", "2018-04-01 10:08:35.000863"], ["updated_at", "2018-04-01 10:08:35.000863"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Oleta 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", "Monique Haag"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Oleta Tillman"], ["name", "Monique Haag"], ["created_at", "2018-04-01 10:08:35.010682"], ["updated_at", "2018-04-01 10:08:35.010682"]]  (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", "Omega Kunde"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Omega Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.017427"], ["updated_at", "2018-04-01 10:08:35.017427"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.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", "Marylou Heathcote"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marylou Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.026633"], ["updated_at", "2018-04-01 10:08:35.026633"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Caroline Collins"], ["LIMIT", 1]] SQL (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", "Caroline Collins"], ["name", "Elvie Jewess"], ["address", "Darci Klein"], ["created_at", "2018-04-01 10:08:35.031002"], ["updated_at", "2018-04-01 10:08:35.031002"]]  (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", "Muriel Keeling"], ["service_delivery_unit_id", 50], ["LIMIT", 1]] SQL (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", "Muriel Keeling"], ["name", "Vanesa Kunze"], ["service_type_id", 33], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 50], ["created_at", "2018-04-01 10:08:35.035147"], ["updated_at", "2018-04-01 10:08:35.035147"]]  (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", "Laurence Schuster"], ["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", "Janelle Schroeder"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Laurence Schuster"], ["name", "Janelle Schroeder"], ["created_at", "2018-04-01 10:08:35.042704"], ["updated_at", "2018-04-01 10:08:35.042704"]]  (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", "Genny Gleason"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Genny Gleason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.047875"], ["updated_at", "2018-04-01 10:08:35.047875"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Maureen Leannon"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maureen Leannon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.052118"], ["updated_at", "2018-04-01 10:08:35.052118"]]  (0.9ms) 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", "Sondra Hansen"], ["LIMIT", 1]] SQL (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", "Sondra Hansen"], ["name", "Janet Leffler"], ["address", "Robyn Bernier"], ["created_at", "2018-04-01 10:08:35.058754"], ["updated_at", "2018-04-01 10:08:35.058754"]]  (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", "Annetta Denesik"], ["service_delivery_unit_id", 51], ["LIMIT", 1]] SQL (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", "Annetta Denesik"], ["name", "June Deckow"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 51], ["created_at", "2018-04-01 10:08:35.063460"], ["updated_at", "2018-04-01 10:08:35.063460"]]  (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", "Temple Shields"], ["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", "Susie Green"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Temple Shields"], ["name", "Susie Green"], ["created_at", "2018-04-01 10:08:35.070919"], ["updated_at", "2018-04-01 10:08:35.070919"]]  (0.8ms) 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", "Rasheeda Zemlak"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rasheeda Zemlak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.078063"], ["updated_at", "2018-04-01 10:08:35.078063"]]  (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", "Neal Terry"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Neal Terry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.083134"], ["updated_at", "2018-04-01 10:08:35.083134"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.3ms) 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", "Clorinda Abbott"], ["LIMIT", 1]] SQL (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", "Clorinda Abbott"], ["name", "Loyd Morissette"], ["address", "Neil Rippin"], ["created_at", "2018-04-01 10:08:35.093441"], ["updated_at", "2018-04-01 10:08:35.093441"]]  (0.6ms) 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", "Mirta Hoeger"], ["service_delivery_unit_id", 52], ["LIMIT", 1]] SQL (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", "Mirta Hoeger"], ["name", "Kelle Jones"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 52], ["created_at", "2018-04-01 10:08:35.101293"], ["updated_at", "2018-04-01 10:08:35.101293"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Isidra Heidenreich"], ["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", "Yaeko Oberbrunner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Isidra Heidenreich"], ["name", "Yaeko Oberbrunner"], ["created_at", "2018-04-01 10:08:35.112683"], ["updated_at", "2018-04-01 10:08:35.112683"]]  (0.8ms) 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", "Shenna Bins"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shenna Bins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.119708"], ["updated_at", "2018-04-01 10:08:35.119708"]]  (1.3ms) 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", "Sang VonRueden"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sang VonRueden"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.127004"], ["updated_at", "2018-04-01 10:08:35.127004"]]  (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", "Astrid Carter"], ["LIMIT", 1]] SQL (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", "Astrid Carter"], ["name", "Alvina Spinka"], ["address", "Elouise Corkery"], ["created_at", "2018-04-01 10:08:35.131993"], ["updated_at", "2018-04-01 10:08:35.131993"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Candida Considine"], ["service_delivery_unit_id", 53], ["LIMIT", 1]] SQL (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", "Candida Considine"], ["name", "Mathew Reilly"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 53], ["created_at", "2018-04-01 10:08:35.136358"], ["updated_at", "2018-04-01 10:08:35.136358"]]  (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", "Dawna Mann"], ["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", "Grady Hyatt"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dawna Mann"], ["name", "Grady Hyatt"], ["created_at", "2018-04-01 10:08:35.143504"], ["updated_at", "2018-04-01 10:08:35.143504"]]  (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", "Bertram Turcotte"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bertram Turcotte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.147938"], ["updated_at", "2018-04-01 10:08:35.147938"]]  (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", "Brittany Runte"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brittany Runte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.152447"], ["updated_at", "2018-04-01 10:08:35.152447"]]  (1.1ms) 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", "Florencio Predovic"], ["LIMIT", 1]] SQL (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", "Florencio Predovic"], ["name", "Lewis Rolfson"], ["address", "Annamaria Gerlach"], ["created_at", "2018-04-01 10:08:35.159450"], ["updated_at", "2018-04-01 10:08:35.159450"]]  (0.4ms) 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", "Jone Ritchie"], ["service_delivery_unit_id", 54], ["LIMIT", 1]] SQL (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", "Jone Ritchie"], ["name", "Marylou Runolfsson"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 54], ["created_at", "2018-04-01 10:08:35.163919"], ["updated_at", "2018-04-01 10:08:35.163919"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Candida Schowalter"], ["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", "Tabatha Paucek"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Candida Schowalter"], ["name", "Tabatha Paucek"], ["created_at", "2018-04-01 10:08:35.171189"], ["updated_at", "2018-04-01 10:08:35.171189"]]  (0.9ms) 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", "Amparo Rippin"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Amparo Rippin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.180014"], ["updated_at", "2018-04-01 10:08:35.180014"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (4.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Naida Kihn"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Naida Kihn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.191054"], ["updated_at", "2018-04-01 10:08:35.191054"]]  (0.7ms) 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", "Melaine White"], ["LIMIT", 1]] SQL (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", "Melaine White"], ["name", "Randa Ernser"], ["address", "Brant Simonis"], ["created_at", "2018-04-01 10:08:35.196630"], ["updated_at", "2018-04-01 10:08:35.196630"]]  (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", "Twanda Daniel"], ["service_delivery_unit_id", 55], ["LIMIT", 1]] SQL (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", "Twanda Daniel"], ["name", "Marnie Zulauf"], ["service_type_id", 38], ["base_unit_id", 63], ["utilization_unit_id", 64], ["service_delivery_unit_id", 55], ["created_at", "2018-04-01 10:08:35.202094"], ["updated_at", "2018-04-01 10:08:35.202094"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.6ms) ROLLBACK  (0.9ms) BEGIN  (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", "Gabrielle Denesik"], ["LIMIT", 1]] SQL (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", "Gabrielle Denesik"], ["name", "Janae Towne"], ["address", "Muoi Yost"], ["created_at", "2018-04-01 10:08:35.219150"], ["updated_at", "2018-04-01 10:08:35.219150"]]  (0.8ms) 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", "Gabrielle Denesik"], ["id", 56], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) 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.4ms) BEGIN 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", "Arcelia Johnson"], ["LIMIT", 1]]  (0.5ms) 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", "Luvenia Kerluke"], ["LIMIT", 1]] SQL (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", "Luvenia Kerluke"], ["name", "Sena Rutherford"], ["address", "Roxana Jones"], ["created_at", "2018-04-01 10:08:35.239279"], ["updated_at", "2018-04-01 10:08:35.239279"]]  (0.5ms) RELEASE 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", "Luvenia Kerluke"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Angelyn Kozey"], ["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", "Antone Kovacek"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Angelyn Kozey"], ["name", "Antone Kovacek"], ["description", "Rerum voluptatem nobis qui neque qui ut id. Vero dolores voluptas ea quo dolorem magnam. Minus adipisci veritatis suscipit accusamus voluptatem illo."], ["created_at", "2018-04-01 10:08:35.258716"], ["updated_at", "2018-04-01 10:08:35.258716"]]  (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", "Theo Zulauf"], ["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", "Marilee Raynor"], ["LIMIT", 1]] SQL (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", "Theo Zulauf"], ["name", "Marilee Raynor"], ["description", "Blanditiis voluptates aut adipisci commodi. Est omnis velit architecto id laudantium. Dolores nesciunt ut est delectus alias. Labore aut commodi id eveniet."], ["equipment_type_id", 7], ["created_at", "2018-04-01 10:08:35.265252"], ["updated_at", "2018-04-01 10:08:35.265252"]]  (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", "Karl Dickens"], ["LIMIT", 1]] SQL (1.6ms) 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", "Karl Dickens"], ["name", "Shante Grady"], ["description", "Meda Lind"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-04-01 10:08:35.270261"], ["updated_at", "2018-04-01 10:08:35.270261"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Suzanne Zboncak"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Dagny Gorczany"], ["LIMIT", 1]] SQL (4.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Suzanne Zboncak"], ["name", "Dagny Gorczany"], ["description", "Tashia Haley"], ["created_at", "2018-04-01 10:08:35.283969"], ["updated_at", "2018-04-01 10:08:35.283969"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Herbert Kunde"], ["LIMIT", 1]] SQL (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", "Herbert Kunde"], ["name", "Mia Boehm"], ["location_type_id", 7], ["description", "Ailene Nitzsche"], ["address", "Nidia Hermann"], ["created_at", "2018-04-01 10:08:35.299023"], ["updated_at", "2018-04-01 10:08:35.299023"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Temeka Harber"], ["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", "Ruthann Langosh"], ["LIMIT", 1]] SQL (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", "Temeka Harber"], ["name", "Daisy Von"], ["description", "Mose Luettgen"], ["serial_number", "Ruthann Langosh"], ["brand", "Michael Miller"], ["item_model", "Jared Swift"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-04-01 10:08:35.313123"], ["updated_at", "2018-04-01 10:08:35.313123"]]  (0.7ms) 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", "Dorthey Schmitt"], ["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", "Janet Dooley"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dorthey Schmitt"], ["name", "Janet Dooley"], ["created_at", "2018-04-01 10:08:35.322194"], ["updated_at", "2018-04-01 10:08:35.322194"]]  (0.4ms) 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", "Veta Bruen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Veta Bruen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.327538"], ["updated_at", "2018-04-01 10:08:35.327538"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Estella Labadie"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Estella Labadie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.331892"], ["updated_at", "2018-04-01 10:08:35.331892"]]  (0.4ms) 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", "Jeanette Heller"], ["LIMIT", 1]] SQL (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", "Jeanette Heller"], ["name", "Jesse Reilly"], ["address", "Elmer Dooley"], ["created_at", "2018-04-01 10:08:35.336188"], ["updated_at", "2018-04-01 10:08:35.336188"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jenifer Champlin"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] SQL (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", "Jenifer Champlin"], ["name", "Vella Thiel"], ["service_type_id", 39], ["base_unit_id", 65], ["utilization_unit_id", 66], ["service_delivery_unit_id", 58], ["created_at", "2018-04-01 10:08:35.342415"], ["updated_at", "2018-04-01 10:08:35.342415"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 7], ["created_at", "2018-04-01 10:08:35.345609"], ["updated_at", "2018-04-01 10:08:35.345609"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "Karan Donnelly"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Tomiko Turcotte"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Karan Donnelly"], ["name", "Tomiko Turcotte"], ["description", "Excepturi officia illo impedit ullam. Iure dolorem aut libero quo. Repellat natus expedita aliquam vitae illum. Repudiandae et quod optio soluta exercitationem."], ["created_at", "2018-04-01 10:08:35.357630"], ["updated_at", "2018-04-01 10:08:35.357630"]]  (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", "Quentin Hermiston"], ["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", "Julianna Dare"], ["LIMIT", 1]] SQL (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", "Quentin Hermiston"], ["name", "Julianna Dare"], ["description", "Quibusdam sit quaerat dolores minima sed quia sequi sapiente. Pariatur quo blanditiis magni et ea incidunt asperiores aut. Ducimus officiis itaque consequatur id et qui ut. Facere voluptatem rerum velit nulla."], ["equipment_type_id", 8], ["created_at", "2018-04-01 10:08:35.363780"], ["updated_at", "2018-04-01 10:08:35.363780"]]  (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", "Mindi Jaskolski"], ["LIMIT", 1]] SQL (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", "Mindi Jaskolski"], ["name", "Catharine Strosin"], ["description", "Micki Gusikowski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-04-01 10:08:35.367944"], ["updated_at", "2018-04-01 10:08:35.367944"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Vella Tremblay"], ["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", "Carmel Sporer"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vella Tremblay"], ["name", "Carmel Sporer"], ["description", "Tiny Osinski"], ["created_at", "2018-04-01 10:08:35.375414"], ["updated_at", "2018-04-01 10:08:35.375414"]]  (0.6ms) 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", "Henrietta Pfannerstill"], ["LIMIT", 1]] SQL (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", "Henrietta Pfannerstill"], ["name", "Elsie Labadie"], ["location_type_id", 8], ["description", "Ike Greenholt"], ["address", "Dagmar Bailey"], ["created_at", "2018-04-01 10:08:35.381022"], ["updated_at", "2018-04-01 10:08:35.381022"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (3.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Qiana VonRueden"], ["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", "Stephine Simonis"], ["LIMIT", 1]] SQL (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", "Qiana VonRueden"], ["name", "Merrilee Kihn"], ["description", "Roberto Bayer"], ["serial_number", "Stephine Simonis"], ["brand", "Jacalyn Stoltenberg"], ["item_model", "Gussie Hills"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-04-01 10:08:35.392650"], ["updated_at", "2018-04-01 10:08:35.392650"]]  (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", "Clarita Kshlerin"], ["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", "Kanisha Mertz"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Clarita Kshlerin"], ["name", "Kanisha Mertz"], ["created_at", "2018-04-01 10:08:35.400273"], ["updated_at", "2018-04-01 10:08:35.400273"]]  (0.7ms) 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", "Cammie Kunze"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cammie Kunze"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.406689"], ["updated_at", "2018-04-01 10:08:35.406689"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Rina Simonis"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rina Simonis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.416995"], ["updated_at", "2018-04-01 10:08:35.416995"]]  (3.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Gertrud Walter"], ["LIMIT", 1]] SQL (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", "Gertrud Walter"], ["name", "Suzie Leannon"], ["address", "Stacey Schuster"], ["created_at", "2018-04-01 10:08:35.428736"], ["updated_at", "2018-04-01 10:08:35.428736"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Davida Littel"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] SQL (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", "Davida Littel"], ["name", "Anthony Turner"], ["service_type_id", 40], ["base_unit_id", 67], ["utilization_unit_id", 68], ["service_delivery_unit_id", 59], ["created_at", "2018-04-01 10:08:35.437125"], ["updated_at", "2018-04-01 10:08:35.437125"]]  (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", "Geri Mueller"], ["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", "Renetta Kilback"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Geri Mueller"], ["name", "Renetta Kilback"], ["description", "Et quia fuga officiis blanditiis. Maxime veritatis quae vero impedit id adipisci dolores. Illum culpa voluptate sunt iure explicabo qui."], ["created_at", "2018-04-01 10:08:35.449323"], ["updated_at", "2018-04-01 10:08:35.449323"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Darby Gaylord"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Carmina Lakin"], ["LIMIT", 1]] SQL (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", "Darby Gaylord"], ["name", "Carmina Lakin"], ["description", "Rerum tempora libero vel odio. Odit omnis praesentium nihil earum consequatur ipsam aut. Vero aut beatae qui consequatur fugiat magni tenetur enim. At in ratione distinctio ad. Dolores autem ut illo perspiciatis nostrum et."], ["equipment_type_id", 9], ["created_at", "2018-04-01 10:08:35.457480"], ["updated_at", "2018-04-01 10:08:35.457480"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Maryanna Hettinger"], ["LIMIT", 1]] SQL (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", "Maryanna Hettinger"], ["name", "Odis Nader"], ["description", "Jeannine Gutkowski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-04-01 10:08:35.462473"], ["updated_at", "2018-04-01 10:08:35.462473"]]  (0.4ms) 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", "Bruna Okuneva"], ["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", "Clark Davis"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bruna Okuneva"], ["name", "Clark Davis"], ["description", "Prudence Bruen"], ["created_at", "2018-04-01 10:08:35.468382"], ["updated_at", "2018-04-01 10:08:35.468382"]]  (0.7ms) 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", "Shaniqua Farrell"], ["LIMIT", 1]] SQL (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", "Shaniqua Farrell"], ["name", "Lessie Frami"], ["location_type_id", 9], ["description", "Janise Goldner"], ["address", "Bette West"], ["created_at", "2018-04-01 10:08:35.474118"], ["updated_at", "2018-04-01 10:08:35.474118"]]  (0.6ms) 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", "Merle Connelly"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (4.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Remona Feest"], ["LIMIT", 1]] SQL (5.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", "Merle Connelly"], ["name", "Corina Fahey"], ["description", "Glynda McDermott"], ["serial_number", "Remona Feest"], ["brand", "Verna Kerluke"], ["item_model", "Anthony Braun"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-04-01 10:08:35.491287"], ["updated_at", "2018-04-01 10:08:35.491287"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (3.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (4.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Giovanna Batz"], ["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", "Russ Upton"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Giovanna Batz"], ["name", "Russ Upton"], ["created_at", "2018-04-01 10:08:35.542696"], ["updated_at", "2018-04-01 10:08:35.542696"]]  (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", "Sherrie Kirlin"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sherrie Kirlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.547554"], ["updated_at", "2018-04-01 10:08:35.547554"]]  (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", "Ming Hickle"], ["LIMIT", 1]] SQL (2.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ming Hickle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.552768"], ["updated_at", "2018-04-01 10:08:35.552768"]]  (0.6ms) 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", "Ok Schmitt"], ["LIMIT", 1]] SQL (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", "Ok Schmitt"], ["name", "Timmy Nicolas"], ["address", "Brandie Fadel"], ["created_at", "2018-04-01 10:08:35.561186"], ["updated_at", "2018-04-01 10:08:35.561186"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Margret Collins"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] SQL (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", "Margret Collins"], ["name", "Diana Gusikowski"], ["service_type_id", 41], ["base_unit_id", 69], ["utilization_unit_id", 70], ["service_delivery_unit_id", 60], ["created_at", "2018-04-01 10:08:35.567164"], ["updated_at", "2018-04-01 10:08:35.567164"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.4ms) 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", "Robyn Auer"], ["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", "Allison Abbott"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Robyn Auer"], ["name", "Allison Abbott"], ["description", "Perspiciatis esse eum qui aut. Nam in dolore maiores assumenda. Reprehenderit sapiente fuga consectetur voluptatem perferendis ullam iste."], ["created_at", "2018-04-01 10:08:35.581322"], ["updated_at", "2018-04-01 10:08:35.581322"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (3.1ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Sena O'Kon"], ["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", "Chassidy Walter"], ["LIMIT", 1]] SQL (2.4ms) 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", "Sena O'Kon"], ["name", "Chassidy Walter"], ["description", "Et aut dolores veniam velit consequuntur ut. Qui sed rem ullam id aut provident cupiditate molestiae. Impedit vitae recusandae doloribus consequatur hic possimus."], ["equipment_type_id", 10], ["created_at", "2018-04-01 10:08:35.598106"], ["updated_at", "2018-04-01 10:08:35.598106"]]  (2.4ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Christel DuBuque"], ["LIMIT", 1]] SQL (2.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", "Christel DuBuque"], ["name", "Berenice Lueilwitz"], ["description", "Carroll Little"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-04-01 10:08:35.629253"], ["updated_at", "2018-04-01 10:08:35.629253"]]  (2.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Terrance Conn"], ["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", "Lawrence Larson"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Terrance Conn"], ["name", "Lawrence Larson"], ["description", "Lajuana Stokes"], ["created_at", "2018-04-01 10:08:35.649012"], ["updated_at", "2018-04-01 10:08:35.649012"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Lauryn Buckridge"], ["LIMIT", 1]] SQL (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", "Lauryn Buckridge"], ["name", "Delcie Kertzmann"], ["location_type_id", 10], ["description", "Kylie Wiegand"], ["address", "Cathrine Lowe"], ["created_at", "2018-04-01 10:08:35.655567"], ["updated_at", "2018-04-01 10:08:35.655567"]]  (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", "Von Zulauf"], ["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", "Bettina Brakus"], ["LIMIT", 1]] SQL (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", "Von Zulauf"], ["name", "Trinidad Wuckert"], ["description", "Cherry Volkman"], ["serial_number", "Bettina Brakus"], ["brand", "Clemmie Davis"], ["item_model", "Janice Nikolaus"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-04-01 10:08:35.662992"], ["updated_at", "2018-04-01 10:08:35.662992"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Taina Ratke"], ["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", "Justin Bartoletti"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Taina Ratke"], ["name", "Justin Bartoletti"], ["created_at", "2018-04-01 10:08:35.676632"], ["updated_at", "2018-04-01 10:08:35.676632"]]  (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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Taina Ratke"], ["id", 42], ["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", "Justin Bartoletti"], ["id", 42], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceType Exists (1.3ms) 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.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Micaela Fay"], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (1.2ms) BEGIN 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", "Eartha Mitchell"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (2.0ms) ROLLBACK  (0.8ms) 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", "Amee Abshire"], ["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", "Hang Ziemann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Amee Abshire"], ["name", "Hang Ziemann"], ["created_at", "2018-04-01 10:08:35.744223"], ["updated_at", "2018-04-01 10:08:35.744223"]]  (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", "Amee Abshire"], ["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", "Leota Balistreri"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (1.4ms) 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", "Janina Schoen"], ["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", "Michal Mitchell"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Janina Schoen"], ["name", "Michal Mitchell"], ["created_at", "2018-04-01 10:08:35.759776"], ["updated_at", "2018-04-01 10:08:35.759776"]]  (0.4ms) 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", "Ruby Kulas"], ["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", "Michal Mitchell"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) 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", "Emmaline Gusikowski"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.1ms) 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 (1.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Denae McCullough"], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (1.1ms) 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", "Theo Carroll"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Theo Carroll"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.800326"], ["updated_at", "2018-04-01 10:08:35.800326"]]  (2.3ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (4.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Theo Carroll"], ["LIMIT", 1]]  (2.2ms) ROLLBACK  (0.7ms) BEGIN  (3.0ms) 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", "Lanette Glover"], ["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", "Clemencia Lakin"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lanette Glover"], ["name", "Clemencia Lakin"], ["created_at", "2018-04-01 10:08:35.844898"], ["updated_at", "2018-04-01 10:08:35.844898"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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", "Grisel Daniel"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Grisel Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.855369"], ["updated_at", "2018-04-01 10:08:35.855369"]]  (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", "Courtney Breitenberg"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Courtney Breitenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.861217"], ["updated_at", "2018-04-01 10:08:35.861217"]]  (0.7ms) 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", "Henry Murazik"], ["LIMIT", 1]] SQL (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", "Henry Murazik"], ["name", "Yuriko Roob"], ["address", "Geraldine Ruecker"], ["created_at", "2018-04-01 10:08:35.868557"], ["updated_at", "2018-04-01 10:08:35.868557"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Nisha Kuphal"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] SQL (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", "Nisha Kuphal"], ["name", "Hung Deckow"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 61], ["created_at", "2018-04-01 10:08:35.875760"], ["updated_at", "2018-04-01 10:08:35.875760"]]  (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", "Yajaira Terry"], ["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", "Elisabeth Cummerata"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yajaira Terry"], ["name", "Elisabeth Cummerata"], ["created_at", "2018-04-01 10:08:35.883451"], ["updated_at", "2018-04-01 10:08:35.883451"]]  (0.9ms) 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", "Branda Smitham"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Branda Smitham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.891178"], ["updated_at", "2018-04-01 10:08:35.891178"]]  (0.5ms) 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", "Milagros Russel"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Milagros Russel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.897139"], ["updated_at", "2018-04-01 10:08:35.897139"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Belia Kuhn"], ["LIMIT", 1]] SQL (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", "Belia Kuhn"], ["name", "Darrell Gulgowski"], ["address", "Elfreda Lockman"], ["created_at", "2018-04-01 10:08:35.910508"], ["updated_at", "2018-04-01 10:08:35.910508"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Rosina Bosco"], ["service_delivery_unit_id", 62], ["LIMIT", 1]] SQL (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", "Rosina Bosco"], ["name", "Laquanda Rosenbaum"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 62], ["created_at", "2018-04-01 10:08:35.941472"], ["updated_at", "2018-04-01 10:08:35.941472"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Maryellen Robel"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Otto Prosacco"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maryellen Robel"], ["name", "Otto Prosacco"], ["created_at", "2018-04-01 10:08:35.948481"], ["updated_at", "2018-04-01 10:08:35.948481"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Earnest Konopelski"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Earnest Konopelski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.954496"], ["updated_at", "2018-04-01 10:08:35.954496"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Hilde Waters"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hilde Waters"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.959235"], ["updated_at", "2018-04-01 10:08:35.959235"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lanelle Herman"], ["LIMIT", 1]] SQL (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", "Lanelle Herman"], ["name", "Dominica Emard"], ["address", "Sharita Macejkovic"], ["created_at", "2018-04-01 10:08:35.963803"], ["updated_at", "2018-04-01 10:08:35.963803"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Tomasa Jewess"], ["service_delivery_unit_id", 63], ["LIMIT", 1]] SQL (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", "Tomasa Jewess"], ["name", "Shannon Hackett"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 63], ["created_at", "2018-04-01 10:08:35.967903"], ["updated_at", "2018-04-01 10:08:35.967903"]]  (0.6ms) 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", 29], ["LIMIT", 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", 30], ["LIMIT", 1]]  (0.4ms) 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", 29], ["LIMIT", 1]] SQL (0.8ms) 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", 29], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-04-01 10:08:35.977379"], ["updated_at", "2018-04-01 10:08:35.977379"]] 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", 30], ["LIMIT", 1]] SQL (0.7ms) 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", 30], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-04-01 10:08:35.980540"], ["updated_at", "2018-04-01 10:08:35.980540"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.4ms) ROLLBACK  (1.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Nenita Volkman"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nereida Walsh"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nenita Volkman"], ["name", "Nereida Walsh"], ["created_at", "2018-04-01 10:08:35.993735"], ["updated_at", "2018-04-01 10:08:35.993735"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jody Ledner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jody Ledner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:35.997907"], ["updated_at", "2018-04-01 10:08:35.997907"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Catrina Schamberger"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Catrina Schamberger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:08:36.002799"], ["updated_at", "2018-04-01 10:08:36.002799"]]  (0.9ms) 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", "Gussie Tremblay"], ["LIMIT", 1]] SQL (5.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gussie Tremblay"], ["name", "Reda Kertzmann"], ["address", "Donte Langosh"], ["created_at", "2018-04-01 10:08:36.014853"], ["updated_at", "2018-04-01 10:08:36.014853"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Lin Mills"], ["service_delivery_unit_id", 64], ["LIMIT", 1]] SQL (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", "Lin Mills"], ["name", "Eden Champlin"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 64], ["created_at", "2018-04-01 10:08:36.036428"], ["updated_at", "2018-04-01 10:08:36.036428"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (2.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", 32], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-04-01 10:08:36.049648"], ["updated_at", "2018-04-01 10:08:36.049648"]]  (0.8ms) 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"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 32], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] SQL (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-04-01 10:08:36.061112"], ["id", 10]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.5ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (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", "kanesha_goyette@heaney.co.uk"], ["LIMIT", 1]] SQL (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", "Rich Huel"], ["last_name", "Bethel Hintz"], ["email", "kanesha_goyette@heaney.co.uk"], ["password_digest", "$2a$04$n86enWV9gG08wYpiY1XlHul.yVBl7PgtRUS9v0T55C/c6Or/bydpS"], ["created_at", "2018-04-01 10:08:36.073252"], ["updated_at", "2018-04-01 10:08:36.073252"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "stan@bashirian.name"], ["LIMIT", 1]] SQL (0.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", "Laverne Herzog"], ["last_name", "Gilbert Koelpin"], ["email", "stan@bashirian.name"], ["password_digest", "$2a$04$BvuCegjBQO3xlIIhg.Av6.R/Y0SuF1JvU9alWcR9kIa0sHOvuBR6O"], ["created_at", "2018-04-01 10:08:36.079928"], ["updated_at", "2018-04-01 10:08:36.079928"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "alyssa_goodwin@lindgren.ca"], ["LIMIT", 1]] SQL (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", "Annita DuBuque"], ["last_name", "Kira Wyman"], ["email", "alyssa_goodwin@lindgren.ca"], ["password_digest", "$2a$04$C/Bc2ktKRVoLzTBdHVLBguBX.f4iFjP94Ac1ve2q.COa7i0unwwK6"], ["created_at", "2018-04-01 10:08:36.089035"], ["updated_at", "2018-04-01 10:08:36.089035"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Perry Schultz"], ["LIMIT", 1]] SQL (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", "Perry Schultz"], ["authorized_by", "Mariela Nader"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 64], ["approved_by_id", 65], ["created_at", "2018-04-01 10:08:36.093932"], ["updated_at", "2018-04-01 10:08:36.093932"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Perry Schultz"], ["id", 4], ["LIMIT", 1]] SQL (2.8ms) 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", 63], ["updated_at", "2018-04-01 10:08:36.118903"], ["id", 4]]  (2.0ms) RELEASE SAVEPOINT active_record_1 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", 4], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 63], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (3.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) BEGIN  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (0.8ms) 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", "Dedra Pfannerstill"], ["LIMIT", 1]] SQL (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", "Dedra Pfannerstill"], ["name", "Lise Hackett"], ["address", "Leslie Wyman"], ["created_at", "2018-04-01 10:29:21.143374"], ["updated_at", "2018-04-01 10:29:21.143374"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Merle Fay"], ["LIMIT", 1]] SQL (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", "Merle Fay"], ["name", "Nancy Renner"], ["description", "Reena Zemlak"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 10:29:21.153990"], ["updated_at", "2018-04-01 10:29:21.153990"]]  (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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Merle Fay"], ["id", 1], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Ailene Blick"], ["LIMIT", 1]] SQL (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", "Ailene Blick"], ["name", "Johanna Wuckert"], ["address", "Margene O'Connell"], ["created_at", "2018-04-01 10:29:21.163904"], ["updated_at", "2018-04-01 10:29:21.163904"]]  (0.4ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) 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", "Kathline Sauer"], ["LIMIT", 1]] SQL (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", "Kathline Sauer"], ["name", "Jacquelyn Padberg"], ["address", "Bailey Stark"], ["created_at", "2018-04-01 10:29:21.177629"], ["updated_at", "2018-04-01 10:29:21.177629"]]  (0.4ms) 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", "Cris Jerde"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) 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", "Serafina Thompson"], ["LIMIT", 1]] SQL (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", "Serafina Thompson"], ["name", "Lashon Greenholt"], ["address", "Angla Bernier"], ["created_at", "2018-04-01 10:29:21.186180"], ["updated_at", "2018-04-01 10:29:21.186180"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Sandi Willms"], ["LIMIT", 1]] SQL (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", "Sandi Willms"], ["name", "Avril Corkery"], ["description", "Malorie Gusikowski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 4], ["created_at", "2018-04-01 10:29:21.191550"], ["updated_at", "2018-04-01 10:29:21.191550"]]  (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", "Jeanne Barton"], ["LIMIT", 1]] SQL (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", "Jeanne Barton"], ["name", "Dusty Schamberger"], ["address", "Suzanna O'Conner"], ["created_at", "2018-04-01 10:29:21.199383"], ["updated_at", "2018-04-01 10:29:21.199383"]]  (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", "Sandi Willms"], ["LIMIT", 1]]  (0.9ms) 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", "Carmela Huel"], ["LIMIT", 1]] SQL (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", "Carmela Huel"], ["name", "Ina Simonis"], ["address", "Nita Gerhold"], ["created_at", "2018-04-01 10:29:21.214351"], ["updated_at", "2018-04-01 10:29:21.214351"]]  (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", "Carylon Murphy"], ["LIMIT", 1]] SQL (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", "Carylon Murphy"], ["name", "Khadijah Volkman"], ["description", "Tabetha Schaefer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 10:29:21.220130"], ["updated_at", "2018-04-01 10:29:21.220130"]]  (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", "Le Thompson"], ["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", "Kimi Cummings"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Le Thompson"], ["name", "Kimi Cummings"], ["created_at", "2018-04-01 10:29:21.266392"], ["updated_at", "2018-04-01 10:29:21.266392"]]  (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", "Joesph Bogisich"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joesph Bogisich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.282685"], ["updated_at", "2018-04-01 10:29:21.282685"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Tawnya Effertz"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tawnya Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.288815"], ["updated_at", "2018-04-01 10:29:21.288815"]]  (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", "Tangela McKenzie"], ["LIMIT", 1]] SQL (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", "Tangela McKenzie"], ["name", "Marlo Heller"], ["address", "Joella Kunze"], ["created_at", "2018-04-01 10:29:21.294083"], ["updated_at", "2018-04-01 10:29:21.294083"]]  (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", "Quintin Hartmann"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Quintin Hartmann"], ["name", "Rae Rolfson"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 7], ["created_at", "2018-04-01 10:29:21.302331"], ["updated_at", "2018-04-01 10:29:21.302331"]]  (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", "Newton Treutel"], ["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", "Lucy Hoeger"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Newton Treutel"], ["name", "Lucy Hoeger"], ["created_at", "2018-04-01 10:29:21.311207"], ["updated_at", "2018-04-01 10:29:21.311207"]]  (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", "Lane Bartoletti"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lane Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.316619"], ["updated_at", "2018-04-01 10:29:21.316619"]]  (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", "Bonnie Morissette"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bonnie Morissette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.322235"], ["updated_at", "2018-04-01 10:29:21.322235"]]  (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", "Tressa Gorczany"], ["LIMIT", 1]] SQL (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", "Tressa Gorczany"], ["name", "Valeria Nikolaus"], ["address", "Carmelina Christiansen"], ["created_at", "2018-04-01 10:29:21.327665"], ["updated_at", "2018-04-01 10:29:21.327665"]]  (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", "Verlene Kshlerin"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Verlene Kshlerin"], ["name", "Carlita Rohan"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 8], ["created_at", "2018-04-01 10:29:21.333294"], ["updated_at", "2018-04-01 10:29:21.333294"]]  (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", "Noel Oberbrunner"], ["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", "Willene Wolff"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Noel Oberbrunner"], ["name", "Willene Wolff"], ["created_at", "2018-04-01 10:29:21.341106"], ["updated_at", "2018-04-01 10:29:21.341106"]]  (0.4ms) 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", "Chandra Hyatt"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chandra Hyatt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.345209"], ["updated_at", "2018-04-01 10:29:21.345209"]]  (0.4ms) 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", "Rickie VonRueden"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rickie VonRueden"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.349163"], ["updated_at", "2018-04-01 10:29:21.349163"]]  (0.8ms) 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", "Olympia Gorczany"], ["LIMIT", 1]] SQL (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", "Olympia Gorczany"], ["name", "Amelia Sawayn"], ["address", "Jimmie Blick"], ["created_at", "2018-04-01 10:29:21.354067"], ["updated_at", "2018-04-01 10:29:21.354067"]]  (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", "Wendell Dicki"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] SQL (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", "Wendell Dicki"], ["name", "Freeman Borer"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 10:29:21.358165"], ["updated_at", "2018-04-01 10:29:21.358165"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Manda Haag"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Maud Harvey"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Manda Haag"], ["name", "Maud Harvey"], ["created_at", "2018-04-01 10:29:21.363627"], ["updated_at", "2018-04-01 10:29:21.363627"]]  (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", "Lorenzo Skiles"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lorenzo Skiles"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.368033"], ["updated_at", "2018-04-01 10:29:21.368033"]]  (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", "Antonette Kris"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Antonette Kris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.372519"], ["updated_at", "2018-04-01 10:29:21.372519"]]  (0.4ms) 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", "Larisa Klein"], ["LIMIT", 1]] SQL (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", "Larisa Klein"], ["name", "Jessenia Greenfelder"], ["address", "Emilia King"], ["created_at", "2018-04-01 10:29:21.376504"], ["updated_at", "2018-04-01 10:29:21.376504"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Izetta Blick"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] SQL (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", "Izetta Blick"], ["name", "Leonardo Bednar"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 10:29:21.380530"], ["updated_at", "2018-04-01 10:29:21.380530"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (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", "Sherlene Kohler"], ["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", "Lauralee Auer"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sherlene Kohler"], ["name", "Lauralee Auer"], ["created_at", "2018-04-01 10:29:21.386748"], ["updated_at", "2018-04-01 10:29:21.386748"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tabetha Funk"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tabetha Funk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.390648"], ["updated_at", "2018-04-01 10:29:21.390648"]]  (0.4ms) 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", "Carola Mosciski"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carola Mosciski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.395329"], ["updated_at", "2018-04-01 10:29:21.395329"]]  (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", "Ardith Stroman"], ["LIMIT", 1]] SQL (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", "Ardith Stroman"], ["name", "Fran Hackett"], ["address", "Kristian Bernier"], ["created_at", "2018-04-01 10:29:21.401405"], ["updated_at", "2018-04-01 10:29:21.401405"]]  (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", "Benton Batz"], ["service_delivery_unit_id", 11], ["LIMIT", 1]] SQL (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", "Benton Batz"], ["name", "Camille Nader"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 11], ["created_at", "2018-04-01 10:29:21.407356"], ["updated_at", "2018-04-01 10:29:21.407356"]]  (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", "Dannie Marquardt"], ["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", "Corene Williamson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dannie Marquardt"], ["name", "Corene Williamson"], ["created_at", "2018-04-01 10:29:21.415104"], ["updated_at", "2018-04-01 10:29:21.415104"]]  (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", "Jae Schaefer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jae Schaefer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.421098"], ["updated_at", "2018-04-01 10:29:21.421098"]]  (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", "Gwyneth Spencer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gwyneth Spencer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 10:29:21.427081"], ["updated_at", "2018-04-01 10:29:21.427081"]]  (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", "Jenelle Halvorson"], ["LIMIT", 1]] SQL (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", "Jenelle Halvorson"], ["name", "Domingo Kiehn"], ["address", "Modesta Auer"], ["created_at", "2018-04-01 10:29:21.433473"], ["updated_at", "2018-04-01 10:29:21.433473"]]  (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", "Meaghan Luettgen"], ["service_delivery_unit_id", 12], ["LIMIT", 1]] SQL (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", "Meaghan Luettgen"], ["name", "Hannah Leannon"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 12], ["created_at", "2018-04-01 10:29:21.439165"], ["updated_at", "2018-04-01 10:29:21.439165"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (1.1ms) 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", "Kenneth Heidenreich"], ["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", "Anette Emard"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kenneth Heidenreich"], ["name", "Anette Emard"], ["created_at", "2018-04-01 11:11:42.021917"], ["updated_at", "2018-04-01 11:11:42.021917"]]  (0.4ms) 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", "Jeanene Tremblay"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jeanene Tremblay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.044468"], ["updated_at", "2018-04-01 11:11:42.044468"]]  (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", "Shakia Romaguera"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shakia Romaguera"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.056099"], ["updated_at", "2018-04-01 11:11:42.056099"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Colby McDermott"], ["LIMIT", 1]] SQL (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", "Colby McDermott"], ["name", "Keesha Langosh"], ["address", "Salley Bechtelar"], ["created_at", "2018-04-01 11:11:42.086222"], ["updated_at", "2018-04-01 11:11:42.086222"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Harriette Schuster"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (2.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", "Harriette Schuster"], ["name", "Rae Hettinger"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:11:42.107601"], ["updated_at", "2018-04-01 11:11:42.107601"]] 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", 1], ["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", "Harriette Schuster"], ["LIMIT", 1]] SQL (1.7ms) 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", "Harriette Schuster"], ["name", "Rae Hettinger"], ["description", "Default bundle for service 'Rae Hettinger'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:11:42.162757"], ["updated_at", "2018-04-01 11:11:42.162757"]]  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (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", "Melonie Funk"], ["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", "Madelyn Feil"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Melonie Funk"], ["name", "Madelyn Feil"], ["created_at", "2018-04-01 11:11:42.190179"], ["updated_at", "2018-04-01 11:11:42.190179"]]  (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", "Oneida Schinner"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oneida Schinner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.202696"], ["updated_at", "2018-04-01 11:11:42.202696"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Dominique Rosenbaum"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dominique Rosenbaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.224338"], ["updated_at", "2018-04-01 11:11:42.224338"]]  (1.2ms) 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", "Vince Schuppe"], ["LIMIT", 1]] SQL (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", "Vince Schuppe"], ["name", "Makeda Cremin"], ["address", "Nicole Larkin"], ["created_at", "2018-04-01 11:11:42.238210"], ["updated_at", "2018-04-01 11:11:42.238210"]]  (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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 2], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kimberely Lebsack"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Whitley Hermiston"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kimberely Lebsack"], ["name", "Whitley Hermiston"], ["created_at", "2018-04-01 11:11:42.253912"], ["updated_at", "2018-04-01 11:11:42.253912"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Taren Sawayn"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Taren Sawayn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.257809"], ["updated_at", "2018-04-01 11:11:42.257809"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lanita Ortiz"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lanita Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.261795"], ["updated_at", "2018-04-01 11:11:42.261795"]]  (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", "Lucie Gottlieb"], ["LIMIT", 1]] SQL (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", "Lucie Gottlieb"], ["name", "Lester Zemlak"], ["address", "Meagan Mosciski"], ["created_at", "2018-04-01 11:11:42.266034"], ["updated_at", "2018-04-01 11:11:42.266034"]]  (0.4ms) RELEASE 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", "Angelique Lowe"], ["service_delivery_unit_id", 3], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Emmaline Breitenberg"], ["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", "Lillie Mayert"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Emmaline Breitenberg"], ["name", "Lillie Mayert"], ["created_at", "2018-04-01 11:11:42.276123"], ["updated_at", "2018-04-01 11:11:42.276123"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (3.0ms) 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", "Joelle Turner"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joelle Turner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.294362"], ["updated_at", "2018-04-01 11:11:42.294362"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Dorene Russel"], ["LIMIT", 1]] SQL (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", "Dorene Russel"], ["name", "Reid Senger"], ["address", "Callie Medhurst"], ["created_at", "2018-04-01 11:11:42.310558"], ["updated_at", "2018-04-01 11:11:42.310558"]]  (0.9ms) RELEASE 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", "Meggan Smitham"], ["service_delivery_unit_id", 4], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.5ms) 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", "Tona Barton"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Aundrea Abernathy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tona Barton"], ["name", "Aundrea Abernathy"], ["created_at", "2018-04-01 11:11:42.338886"], ["updated_at", "2018-04-01 11:11:42.338886"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Raymond Hilpert"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Raymond Hilpert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.342765"], ["updated_at", "2018-04-01 11:11:42.342765"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lecia Dicki"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lecia Dicki"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.346891"], ["updated_at", "2018-04-01 11:11:42.346891"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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" IS NULL LIMIT $2 [["code", "Maximo Klein"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jewel Lind"], ["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", "Catrice Murphy"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jewel Lind"], ["name", "Catrice Murphy"], ["created_at", "2018-04-01 11:11:42.359553"], ["updated_at", "2018-04-01 11:11:42.359553"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Erline Hagenes"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Erline Hagenes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.364846"], ["updated_at", "2018-04-01 11:11:42.364846"]]  (0.8ms) 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", "Yolonda Boyle"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yolonda Boyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.371890"], ["updated_at", "2018-04-01 11:11:42.371890"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sylvester O'Connell"], ["LIMIT", 1]] SQL (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", "Sylvester O'Connell"], ["name", "Kim Reilly"], ["address", "Carl Trantow"], ["created_at", "2018-04-01 11:11:42.375875"], ["updated_at", "2018-04-01 11:11:42.375875"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Malena Bednar"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Malena Bednar"], ["name", "Janice Romaguera"], ["service_type_id", 6], ["base_unit_id", 10], ["utilization_unit_id", 11], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:11:42.387467"], ["updated_at", "2018-04-01 11:11:42.387467"]] 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", 5], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Malena Bednar"], ["LIMIT", 1]] SQL (1.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", "Malena Bednar"], ["name", "Janice Romaguera"], ["description", "Default bundle for service 'Janice Romaguera'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:11:42.406617"], ["updated_at", "2018-04-01 11:11:42.406617"]]  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) ROLLBACK  (0.9ms) BEGIN  (0.8ms) 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", "Eleanor Thompson"], ["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", "Stefanie Conn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Eleanor Thompson"], ["name", "Stefanie Conn"], ["created_at", "2018-04-01 11:11:42.434224"], ["updated_at", "2018-04-01 11:11:42.434224"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Fred Abbott"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Fred Abbott"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.438291"], ["updated_at", "2018-04-01 11:11:42.438291"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Temika Graham"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Temika Graham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:11:42.442147"], ["updated_at", "2018-04-01 11:11:42.442147"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Becki Huel"], ["LIMIT", 1]] SQL (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", "Becki Huel"], ["name", "Consuelo Beer"], ["address", "Oliver VonRueden"], ["created_at", "2018-04-01 11:11:42.446088"], ["updated_at", "2018-04-01 11:11:42.446088"]]  (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", "Harry Wolf"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Harry Wolf"], ["name", "Margret Predovic"], ["service_type_id", 7], ["base_unit_id", 12], ["utilization_unit_id", 13], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:11:42.450474"], ["updated_at", "2018-04-01 11:11:42.450474"]] 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", 6], ["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", "Harry Wolf"], ["LIMIT", 1]] SQL (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", "Harry Wolf"], ["name", "Margret Predovic"], ["description", "Default bundle for service 'Margret Predovic'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:11:42.455642"], ["updated_at", "2018-04-01 11:11:42.455642"]]  (1.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.8ms) BEGIN 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", "Johnie Rohan"], ["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", "Merle Waelchi"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Johnie Rohan"], ["name", "Merle Waelchi"], ["created_at", "2018-04-01 11:15:56.209033"], ["updated_at", "2018-04-01 11:15:56.209033"]]  (9.2ms) COMMIT  (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", "Julieann Bogan"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julieann Bogan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:15:56.245186"], ["updated_at", "2018-04-01 11:15:56.245186"]]  (1.5ms) COMMIT  (0.5ms) BEGIN 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", "Julio Adams"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julio Adams"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:15:56.252532"], ["updated_at", "2018-04-01 11:15:56.252532"]]  (1.2ms) COMMIT  (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", "Emelina Rolfson"], ["LIMIT", 1]] SQL (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", "Emelina Rolfson"], ["name", "Tish Hirthe"], ["address", "Corrinne Spencer"], ["created_at", "2018-04-01 11:15:56.269660"], ["updated_at", "2018-04-01 11:15:56.269660"]]  (1.3ms) COMMIT  (0.6ms) BEGIN 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", "Eileen Schiller"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Eileen Schiller"], ["name", "Bee Rath"], ["service_type_id", 8], ["base_unit_id", 14], ["utilization_unit_id", 15], ["service_delivery_unit_id", 7], ["created_at", "2018-04-01 11:15:56.277655"], ["updated_at", "2018-04-01 11:15:56.277655"]] 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", 7], ["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", "Eileen Schiller"], ["LIMIT", 1]] SQL (1.7ms) 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", "Eileen Schiller"], ["name", "Bee Rath"], ["description", "Default bundle for service 'Bee Rath'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-01 11:15:56.327625"], ["updated_at", "2018-04-01 11:15:56.327625"]]  (0.9ms) ROLLBACK  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) BEGIN  (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", "Darcey Thiel"], ["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", "Zoe Von"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Darcey Thiel"], ["name", "Zoe Von"], ["created_at", "2018-04-01 11:18:09.846090"], ["updated_at", "2018-04-01 11:18:09.846090"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Ivey Rippin"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ivey Rippin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:18:09.886675"], ["updated_at", "2018-04-01 11:18:09.886675"]]  (0.5ms) 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", "Corrina Feest"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Corrina Feest"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:18:09.893798"], ["updated_at", "2018-04-01 11:18:09.893798"]]  (0.5ms) 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", "Frederica Ebert"], ["LIMIT", 1]] SQL (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", "Frederica Ebert"], ["name", "Jeffery Hoeger"], ["address", "Daria Toy"], ["created_at", "2018-04-01 11:18:09.913019"], ["updated_at", "2018-04-01 11:18:09.913019"]]  (0.6ms) 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", "Audra Bashirian"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Audra Bashirian"], ["name", "Olimpia Crona"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:18:09.920055"], ["updated_at", "2018-04-01 11:18:09.920055"]] 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", 1], ["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", "Audra Bashirian"], ["LIMIT", 1]] SQL (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", "Audra Bashirian"], ["name", "Olimpia Crona"], ["description", "Default bundle for service 'Olimpia Crona'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:18:09.951112"], ["updated_at", "2018-04-01 11:18:09.951112"]]  (1.5ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) ROLLBACK  (0.9ms) BEGIN  (1.4ms) 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", "Marty Baumbach"], ["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", "Coletta Goyette"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marty Baumbach"], ["name", "Coletta Goyette"], ["created_at", "2018-04-01 11:19:22.374502"], ["updated_at", "2018-04-01 11:19:22.374502"]]  (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", "Velva Boehm"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Velva Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.380681"], ["updated_at", "2018-04-01 11:19:22.380681"]]  (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", "Linnie Murphy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Linnie Murphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.386949"], ["updated_at", "2018-04-01 11:19:22.386949"]]  (0.6ms) 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", "Elaina Thiel"], ["LIMIT", 1]] SQL (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", "Elaina Thiel"], ["name", "Hue Crona"], ["address", "Tatyana Goyette"], ["created_at", "2018-04-01 11:19:22.393819"], ["updated_at", "2018-04-01 11:19:22.393819"]]  (0.9ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 2], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) 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", "Beata Rogahn"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Kassie Hartmann"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Beata Rogahn"], ["name", "Kassie Hartmann"], ["created_at", "2018-04-01 11:19:22.411063"], ["updated_at", "2018-04-01 11:19:22.411063"]]  (0.4ms) 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", "Ying Kuhic"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ying Kuhic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.415118"], ["updated_at", "2018-04-01 11:19:22.415118"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Renato O'Kon"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Renato O'Kon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.419064"], ["updated_at", "2018-04-01 11:19:22.419064"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Telma Johnston"], ["LIMIT", 1]] SQL (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", "Telma Johnston"], ["name", "Delcie Mertz"], ["address", "Valery Connelly"], ["created_at", "2018-04-01 11:19:22.422791"], ["updated_at", "2018-04-01 11:19:22.422791"]]  (0.5ms) RELEASE 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", "Stacey Denesik"], ["service_delivery_unit_id", 3], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ezekiel Metz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Bess Hegmann"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ezekiel Metz"], ["name", "Bess Hegmann"], ["created_at", "2018-04-01 11:19:22.432120"], ["updated_at", "2018-04-01 11:19:22.432120"]]  (0.4ms) 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", "Moira Kulas"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Moira Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.436281"], ["updated_at", "2018-04-01 11:19:22.436281"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Winford Boyer"], ["LIMIT", 1]] SQL (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", "Winford Boyer"], ["name", "Candice Reynolds"], ["address", "Adelia Rogahn"], ["created_at", "2018-04-01 11:19:22.443433"], ["updated_at", "2018-04-01 11:19:22.443433"]]  (0.9ms) 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", "Melvin Boehm"], ["service_delivery_unit_id", 4], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.6ms) BEGIN  (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", "Vanna Dach"], ["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", "Fransisca Hermann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vanna Dach"], ["name", "Fransisca Hermann"], ["created_at", "2018-04-01 11:19:22.460308"], ["updated_at", "2018-04-01 11:19:22.460308"]]  (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", "Lois Smitham"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lois Smitham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.466320"], ["updated_at", "2018-04-01 11:19:22.466320"]]  (0.7ms) 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", "Andra Volkman"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Andra Volkman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.472389"], ["updated_at", "2018-04-01 11:19:22.472389"]]  (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" IS NULL LIMIT $2 [["code", "Amada Howe"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) 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", "Milissa Crooks"], ["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", "Zonia Crooks"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Milissa Crooks"], ["name", "Zonia Crooks"], ["created_at", "2018-04-01 11:19:22.485597"], ["updated_at", "2018-04-01 11:19:22.485597"]]  (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", "Ramiro Skiles"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ramiro Skiles"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.492768"], ["updated_at", "2018-04-01 11:19:22.492768"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kyla Schamberger"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kyla Schamberger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:22.497141"], ["updated_at", "2018-04-01 11:19:22.497141"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Greta Blanda"], ["LIMIT", 1]] SQL (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", "Greta Blanda"], ["name", "Carroll Raynor"], ["address", "Coletta O'Connell"], ["created_at", "2018-04-01 11:19:22.501977"], ["updated_at", "2018-04-01 11:19:22.501977"]]  (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", "Tran Raynor"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Tran Raynor"], ["name", "Susana Pollich"], ["service_type_id", 6], ["base_unit_id", 10], ["utilization_unit_id", 11], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:19:22.507477"], ["updated_at", "2018-04-01 11:19:22.507477"]] 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", 5], ["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", "Tran Raynor"], ["LIMIT", 1]] SQL (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", "Tran Raynor"], ["name", "Susana Pollich"], ["description", "Default bundle for service 'Susana Pollich'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:19:22.512465"], ["updated_at", "2018-04-01 11:19:22.512465"]]  (1.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (1.1ms) BEGIN  (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", "Emelda Nienow"], ["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", "Chauncey Carroll"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Emelda Nienow"], ["name", "Chauncey Carroll"], ["created_at", "2018-04-01 11:19:26.289777"], ["updated_at", "2018-04-01 11:19:26.289777"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.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", "Cruz Hudson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cruz Hudson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:26.298706"], ["updated_at", "2018-04-01 11:19:26.298706"]]  (0.4ms) 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", "Billy Windler"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Billy Windler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:26.304816"], ["updated_at", "2018-04-01 11:19:26.304816"]]  (0.5ms) 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", "Kristel Bailey"], ["LIMIT", 1]] SQL (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", "Kristel Bailey"], ["name", "Ivy Parker"], ["address", "Phil West"], ["created_at", "2018-04-01 11:19:26.311349"], ["updated_at", "2018-04-01 11:19:26.311349"]]  (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", "Charolette Hegmann"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Charolette Hegmann"], ["name", "Stacia Ortiz"], ["service_type_id", 7], ["base_unit_id", 12], ["utilization_unit_id", 13], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:19:26.316692"], ["updated_at", "2018-04-01 11:19:26.316692"]] 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", 6], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Charolette Hegmann"], ["LIMIT", 1]] SQL (0.7ms) 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", "Charolette Hegmann"], ["name", "Stacia Ortiz"], ["description", "Default bundle for service 'Stacia Ortiz'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:19:26.321596"], ["updated_at", "2018-04-01 11:19:26.321596"]]  (1.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) BEGIN  (0.5ms) 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", "Madie Leuschke"], ["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", "Mack Harvey"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Madie Leuschke"], ["name", "Mack Harvey"], ["created_at", "2018-04-01 11:19:39.413797"], ["updated_at", "2018-04-01 11:19:39.413797"]]  (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", "Mireille Bosco"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mireille Bosco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:39.442445"], ["updated_at", "2018-04-01 11:19:39.442445"]]  (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", "Aurelio Macejkovic"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Aurelio Macejkovic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:19:39.450837"], ["updated_at", "2018-04-01 11:19:39.450837"]]  (0.8ms) 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", "Selena Weimann"], ["LIMIT", 1]] SQL (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", "Selena Weimann"], ["name", "Treva Ruecker"], ["address", "Greta Zemlak"], ["created_at", "2018-04-01 11:19:39.476988"], ["updated_at", "2018-04-01 11:19:39.476988"]]  (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", "Rosario Emmerich"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Rosario Emmerich"], ["name", "Tonette Mante"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:19:39.483631"], ["updated_at", "2018-04-01 11:19:39.483631"]] 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", 1], ["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", "Rosario Emmerich"], ["LIMIT", 1]] SQL (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", "Rosario Emmerich"], ["name", "Tonette Mante"], ["description", "Default bundle for service 'Tonette Mante'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:19:39.517984"], ["updated_at", "2018-04-01 11:19:39.517984"]]  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) ROLLBACK  (0.7ms) BEGIN  (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", "Shemeka Bergnaum"], ["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", "Raleigh Kovacek"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shemeka Bergnaum"], ["name", "Raleigh Kovacek"], ["created_at", "2018-04-01 11:21:45.715639"], ["updated_at", "2018-04-01 11:21:45.715639"]]  (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", "Vicente Schoen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vicente Schoen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.721547"], ["updated_at", "2018-04-01 11:21:45.721547"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Althea Koelpin"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Althea Koelpin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.725484"], ["updated_at", "2018-04-01 11:21:45.725484"]]  (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", "Blanche Schimmel"], ["LIMIT", 1]] SQL (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", "Blanche Schimmel"], ["name", "Simonne Schneider"], ["address", "Zana Kautzer"], ["created_at", "2018-04-01 11:21:45.730413"], ["updated_at", "2018-04-01 11:21:45.730413"]]  (0.6ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 2], ["LIMIT", 1]]  (0.6ms) 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", "Daphne Adams"], ["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", "Gale Collins"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Daphne Adams"], ["name", "Gale Collins"], ["created_at", "2018-04-01 11:21:45.747572"], ["updated_at", "2018-04-01 11:21:45.747572"]]  (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", "Evangeline Trantow"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Evangeline Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.752186"], ["updated_at", "2018-04-01 11:21:45.752186"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ha Heaney"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ha Heaney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.756120"], ["updated_at", "2018-04-01 11:21:45.756120"]]  (0.4ms) 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", "Ivan Carter"], ["LIMIT", 1]] SQL (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", "Ivan Carter"], ["name", "Fallon Stracke"], ["address", "Karry Goldner"], ["created_at", "2018-04-01 11:21:45.761455"], ["updated_at", "2018-04-01 11:21:45.761455"]]  (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", "Cecile West"], ["service_delivery_unit_id", 3], ["LIMIT", 1]]  (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", "Bethann Volkman"], ["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", "Lona Hamill"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bethann Volkman"], ["name", "Lona Hamill"], ["created_at", "2018-04-01 11:21:45.774979"], ["updated_at", "2018-04-01 11:21:45.774979"]]  (0.7ms) 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", "Elwood Connelly"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elwood Connelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.782912"], ["updated_at", "2018-04-01 11:21:45.782912"]]  (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", "Todd Kulas"], ["LIMIT", 1]] SQL (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", "Todd Kulas"], ["name", "Vernia Reichel"], ["address", "Tisha Ullrich"], ["created_at", "2018-04-01 11:21:45.789063"], ["updated_at", "2018-04-01 11:21:45.789063"]]  (0.5ms) RELEASE 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", "Vena Langworth"], ["service_delivery_unit_id", 4], ["LIMIT", 1]]  (0.8ms) 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", "Nilda Wisozk"], ["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", "Berniece Mosciski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nilda Wisozk"], ["name", "Berniece Mosciski"], ["created_at", "2018-04-01 11:21:45.804485"], ["updated_at", "2018-04-01 11:21:45.804485"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Milan Batz"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Milan Batz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.811875"], ["updated_at", "2018-04-01 11:21:45.811875"]]  (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", "Israel Rogahn"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Israel Rogahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.816779"], ["updated_at", "2018-04-01 11:21:45.816779"]]  (0.5ms) RELEASE 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" IS NULL LIMIT $2 [["code", "Judi Legros"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Winfred Davis"], ["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", "Salley Kozey"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Winfred Davis"], ["name", "Salley Kozey"], ["created_at", "2018-04-01 11:21:45.827196"], ["updated_at", "2018-04-01 11:21:45.827196"]]  (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", "Raymon Mitchell"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Raymon Mitchell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.831564"], ["updated_at", "2018-04-01 11:21:45.831564"]]  (0.5ms) 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", "Marcia Blanda"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marcia Blanda"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:45.837308"], ["updated_at", "2018-04-01 11:21:45.837308"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jill Padberg"], ["LIMIT", 1]] SQL (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", "Jill Padberg"], ["name", "Tayna Hodkiewicz"], ["address", "Agustina Bernier"], ["created_at", "2018-04-01 11:21:45.841374"], ["updated_at", "2018-04-01 11:21:45.841374"]]  (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", "Tomiko Barton"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Tomiko Barton"], ["name", "Ria Dickinson"], ["service_type_id", 6], ["base_unit_id", 10], ["utilization_unit_id", 11], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:21:45.846762"], ["updated_at", "2018-04-01 11:21:45.846762"]] 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", 5], ["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", "Tomiko Barton"], ["LIMIT", 1]] SQL (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", "Tomiko Barton"], ["name", "Ria Dickinson"], ["description", "Default bundle for service 'Ria Dickinson'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:21:45.852376"], ["updated_at", "2018-04-01 11:21:45.852376"]]  (1.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (1.0ms) BEGIN  (0.9ms) 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", "Luciano Wolf"], ["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", "Lyndon Towne"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Luciano Wolf"], ["name", "Lyndon Towne"], ["created_at", "2018-04-01 11:21:47.146760"], ["updated_at", "2018-04-01 11:21:47.146760"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Les Hagenes"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Hagenes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:47.153511"], ["updated_at", "2018-04-01 11:21:47.153511"]]  (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", "Selina McCullough"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Selina McCullough"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:47.159833"], ["updated_at", "2018-04-01 11:21:47.159833"]]  (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", "Leta Robel"], ["LIMIT", 1]] SQL (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", "Leta Robel"], ["name", "Sharleen Green"], ["address", "Kimber Fadel"], ["created_at", "2018-04-01 11:21:47.165347"], ["updated_at", "2018-04-01 11:21:47.165347"]]  (0.8ms) 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", "Cyndy Sipes"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Cyndy Sipes"], ["name", "Pricilla Ryan"], ["service_type_id", 7], ["base_unit_id", 12], ["utilization_unit_id", 13], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:21:47.170676"], ["updated_at", "2018-04-01 11:21:47.170676"]] 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", 6], ["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", "Cyndy Sipes"], ["LIMIT", 1]] SQL (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", "Cyndy Sipes"], ["name", "Pricilla Ryan"], ["description", "Default bundle for service 'Pricilla Ryan'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:21:47.177286"], ["updated_at", "2018-04-01 11:21:47.177286"]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (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", "Jeremiah Emard"], ["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", "Dwain Turcotte"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jeremiah Emard"], ["name", "Dwain Turcotte"], ["created_at", "2018-04-01 11:21:58.976039"], ["updated_at", "2018-04-01 11:21:58.976039"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lynell Barrows"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lynell Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:59.000291"], ["updated_at", "2018-04-01 11:21:59.000291"]]  (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", "Sherika Kub"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sherika Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:21:59.006412"], ["updated_at", "2018-04-01 11:21:59.006412"]]  (0.4ms) 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", "Leia Schmeler"], ["LIMIT", 1]] SQL (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", "Leia Schmeler"], ["name", "Keiko Trantow"], ["address", "Willodean Kris"], ["created_at", "2018-04-01 11:21:59.024452"], ["updated_at", "2018-04-01 11:21:59.024452"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Christy Brekke"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (2.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", "Christy Brekke"], ["name", "Paul Walsh"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:21:59.033429"], ["updated_at", "2018-04-01 11:21:59.033429"]] 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", 1], ["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", "Christy Brekke"], ["LIMIT", 1]] SQL (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", "Christy Brekke"], ["name", "Paul Walsh"], ["description", "Default bundle for service 'Paul Walsh'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:21:59.082514"], ["updated_at", "2018-04-01 11:21:59.082514"]] SQL (1.6ms) 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]] 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", 1]] SQL (1.4ms) 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.8ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Christy Brekke"], ["id", 1], ["service_delivery_unit_id", 1], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.8ms) 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", "Kip Klein"], ["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", "Crystle Rath"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kip Klein"], ["name", "Crystle Rath"], ["created_at", "2018-04-01 11:22:12.537716"], ["updated_at", "2018-04-01 11:22:12.537716"]]  (0.6ms) 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", "Yessenia Leannon"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yessenia Leannon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.543443"], ["updated_at", "2018-04-01 11:22:12.543443"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Rigoberto Tremblay"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rigoberto Tremblay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.547591"], ["updated_at", "2018-04-01 11:22:12.547591"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ester King"], ["LIMIT", 1]] SQL (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", "Ester King"], ["name", "Nadia King"], ["address", "Rolando Bailey"], ["created_at", "2018-04-01 11:22:12.551417"], ["updated_at", "2018-04-01 11:22:12.551417"]]  (0.7ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 2], ["LIMIT", 1]]  (1.0ms) 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", "Shellie Langworth"], ["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", "Rogelio Cummerata"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shellie Langworth"], ["name", "Rogelio Cummerata"], ["created_at", "2018-04-01 11:22:12.568994"], ["updated_at", "2018-04-01 11:22:12.568994"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Takisha Wintheiser"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Takisha Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.572943"], ["updated_at", "2018-04-01 11:22:12.572943"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tamar Nikolaus"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tamar Nikolaus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.576929"], ["updated_at", "2018-04-01 11:22:12.576929"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Corinne Nitzsche"], ["LIMIT", 1]] SQL (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", "Corinne Nitzsche"], ["name", "Melida Morar"], ["address", "Mechelle Thiel"], ["created_at", "2018-04-01 11:22:12.580818"], ["updated_at", "2018-04-01 11:22:12.580818"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Leona Hoppe"], ["service_delivery_unit_id", 3], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) 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", "Ha Ernser"], ["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", "Argentina Funk"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ha Ernser"], ["name", "Argentina Funk"], ["created_at", "2018-04-01 11:22:12.591184"], ["updated_at", "2018-04-01 11:22:12.591184"]]  (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", "Shayne McClure"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shayne McClure"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.596786"], ["updated_at", "2018-04-01 11:22:12.596786"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Jenae Walsh"], ["LIMIT", 1]] SQL (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", "Jenae Walsh"], ["name", "Myrtle Mante"], ["address", "Bethanie Bayer"], ["created_at", "2018-04-01 11:22:12.604143"], ["updated_at", "2018-04-01 11:22:12.604143"]]  (0.5ms) 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", "Tommy Blick"], ["service_delivery_unit_id", 4], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "Clare Champlin"], ["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", "Sheba Hegmann"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Clare Champlin"], ["name", "Sheba Hegmann"], ["created_at", "2018-04-01 11:22:12.618542"], ["updated_at", "2018-04-01 11:22:12.618542"]]  (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", "Harriette Borer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Harriette Borer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.624418"], ["updated_at", "2018-04-01 11:22:12.624418"]]  (0.6ms) 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", "Cathi Paucek"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cathi Paucek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.630343"], ["updated_at", "2018-04-01 11:22:12.630343"]]  (1.3ms) 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" IS NULL LIMIT $2 [["code", "Gail Ward"], ["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", "Milda Will"], ["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", "Rachal Brakus"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Milda Will"], ["name", "Rachal Brakus"], ["created_at", "2018-04-01 11:22:12.643968"], ["updated_at", "2018-04-01 11:22:12.643968"]]  (0.7ms) 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", "Hannelore Auer"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hannelore Auer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.651157"], ["updated_at", "2018-04-01 11:22:12.651157"]]  (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", "Hyo Baumbach"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hyo Baumbach"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:12.656819"], ["updated_at", "2018-04-01 11:22:12.656819"]]  (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", "Armida Kulas"], ["LIMIT", 1]] SQL (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", "Armida Kulas"], ["name", "Travis Towne"], ["address", "Mireille Streich"], ["created_at", "2018-04-01 11:22:12.662144"], ["updated_at", "2018-04-01 11:22:12.662144"]]  (0.9ms) 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", "Dina Johns"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Dina Johns"], ["name", "Russel Wisozk"], ["service_type_id", 6], ["base_unit_id", 10], ["utilization_unit_id", 11], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:22:12.668970"], ["updated_at", "2018-04-01 11:22:12.668970"]] 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", 5], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Dina Johns"], ["LIMIT", 1]] SQL (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", "Dina Johns"], ["name", "Russel Wisozk"], ["description", "Default bundle for service 'Russel Wisozk'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:22:12.674006"], ["updated_at", "2018-04-01 11:22:12.674006"]] SQL (1.4ms) 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]]  (1.0ms) 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", "Tianna Hand"], ["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", "Alejandra Hansen"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tianna Hand"], ["name", "Alejandra Hansen"], ["created_at", "2018-04-01 11:22:14.130151"], ["updated_at", "2018-04-01 11:22:14.130151"]]  (0.7ms) 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", "Conchita Gaylord"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Conchita Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:14.135877"], ["updated_at", "2018-04-01 11:22:14.135877"]]  (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", "Refugio Nienow"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Refugio Nienow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:14.141461"], ["updated_at", "2018-04-01 11:22:14.141461"]]  (0.6ms) 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", "Dina Johns"], ["service_delivery_unit_id", 5], ["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]]  (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", "Humberto Crona"], ["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", "Enola Bergstrom"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Humberto Crona"], ["name", "Enola Bergstrom"], ["created_at", "2018-04-01 11:22:14.158923"], ["updated_at", "2018-04-01 11:22:14.158923"]]  (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", "Dirk Blanda"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dirk Blanda"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:14.164526"], ["updated_at", "2018-04-01 11:22:14.164526"]]  (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", "Pamula Weimann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pamula Weimann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:14.170241"], ["updated_at", "2018-04-01 11:22:14.170241"]]  (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", "Maragret Murray"], ["LIMIT", 1]] SQL (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", "Maragret Murray"], ["name", "Lorretta Rau"], ["address", "Gladis Skiles"], ["created_at", "2018-04-01 11:22:14.177288"], ["updated_at", "2018-04-01 11:22:14.177288"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Sam Marks"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Sam Marks"], ["name", "Nakesha Wiegand"], ["service_type_id", 8], ["base_unit_id", 14], ["utilization_unit_id", 15], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:22:14.185129"], ["updated_at", "2018-04-01 11:22:14.185129"]] 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", 6], ["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", "Sam Marks"], ["LIMIT", 1]] SQL (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", "Sam Marks"], ["name", "Nakesha Wiegand"], ["description", "Default bundle for service 'Nakesha Wiegand'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:22:14.193022"], ["updated_at", "2018-04-01 11:22:14.193022"]] SQL (1.3ms) 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]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 1]]  (1.0ms) ROLLBACK  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (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", "Mahalia Okuneva"], ["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", "Brandy Spinka"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mahalia Okuneva"], ["name", "Brandy Spinka"], ["created_at", "2018-04-01 11:22:39.562576"], ["updated_at", "2018-04-01 11:22:39.562576"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Tia Osinski"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tia Osinski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.586291"], ["updated_at", "2018-04-01 11:22:39.586291"]]  (0.8ms) 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", "Novella Jacobson"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Novella Jacobson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.603801"], ["updated_at", "2018-04-01 11:22:39.603801"]]  (0.9ms) 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", "Laree Skiles"], ["LIMIT", 1]] SQL (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", "Laree Skiles"], ["name", "Rikki Hamill"], ["address", "Sherril Jacobson"], ["created_at", "2018-04-01 11:22:39.631813"], ["updated_at", "2018-04-01 11:22:39.631813"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Arlette Glover"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Arlette Glover"], ["name", "Eboni Wiegand"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:22:39.639563"], ["updated_at", "2018-04-01 11:22:39.639563"]] 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", 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", "Arlette Glover"], ["LIMIT", 1]] SQL (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", "Arlette Glover"], ["name", "Eboni Wiegand"], ["description", "Default bundle for service 'Eboni Wiegand'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:22:39.672587"], ["updated_at", "2018-04-01 11:22:39.672587"]] SQL (2.0ms) 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.8ms) 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", "Arlette Glover"], ["id", 1], ["service_delivery_unit_id", 1], ["LIMIT", 1]]  (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", "Shaquita Schmidt"], ["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", "Jenise Aufderhar"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shaquita Schmidt"], ["name", "Jenise Aufderhar"], ["created_at", "2018-04-01 11:22:39.709662"], ["updated_at", "2018-04-01 11:22:39.709662"]]  (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", "Leoma Heathcote"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Leoma Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.715574"], ["updated_at", "2018-04-01 11:22:39.715574"]]  (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", "Jon Kris"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jon Kris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.721431"], ["updated_at", "2018-04-01 11:22:39.721431"]]  (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", "Georgette Jast"], ["LIMIT", 1]] SQL (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", "Georgette Jast"], ["name", "Danelle Bahringer"], ["address", "Burl Howe"], ["created_at", "2018-04-01 11:22:39.727108"], ["updated_at", "2018-04-01 11:22:39.727108"]]  (0.5ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 2], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jed Wilkinson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Freeman Larkin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jed Wilkinson"], ["name", "Freeman Larkin"], ["created_at", "2018-04-01 11:22:39.746445"], ["updated_at", "2018-04-01 11:22:39.746445"]]  (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", "Jose Torp"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jose Torp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.752208"], ["updated_at", "2018-04-01 11:22:39.752208"]]  (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", "Jeannetta Cassin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jeannetta Cassin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.757081"], ["updated_at", "2018-04-01 11:22:39.757081"]]  (0.4ms) 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", "Shalonda Turcotte"], ["LIMIT", 1]] SQL (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", "Shalonda Turcotte"], ["name", "Edgardo O'Reilly"], ["address", "Monica Tillman"], ["created_at", "2018-04-01 11:22:39.761116"], ["updated_at", "2018-04-01 11:22:39.761116"]]  (0.4ms) RELEASE 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", "Frieda Graham"], ["service_delivery_unit_id", 3], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ilene Goyette"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Isabell Bauch"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ilene Goyette"], ["name", "Isabell Bauch"], ["created_at", "2018-04-01 11:22:39.770690"], ["updated_at", "2018-04-01 11:22:39.770690"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Isis Collins"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Isis Collins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.774592"], ["updated_at", "2018-04-01 11:22:39.774592"]]  (0.4ms) 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", "Florida Buckridge"], ["LIMIT", 1]] SQL (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", "Florida Buckridge"], ["name", "Charity Osinski"], ["address", "Kristine Klocko"], ["created_at", "2018-04-01 11:22:39.779507"], ["updated_at", "2018-04-01 11:22:39.779507"]]  (0.6ms) 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", "Tommy Hodkiewicz"], ["service_delivery_unit_id", 4], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Johna Schulist"], ["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", "Nanette Treutel"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Johna Schulist"], ["name", "Nanette Treutel"], ["created_at", "2018-04-01 11:22:39.791012"], ["updated_at", "2018-04-01 11:22:39.791012"]]  (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", "Laraine Yundt"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laraine Yundt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.797322"], ["updated_at", "2018-04-01 11:22:39.797322"]]  (1.0ms) 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", "Kathlyn Torp"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kathlyn Torp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.805376"], ["updated_at", "2018-04-01 11:22:39.805376"]]  (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" IS NULL LIMIT $2 [["code", "Dalia Bogisich"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) 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", "Damon Legros"], ["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", "Carmelia Okuneva"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Damon Legros"], ["name", "Carmelia Okuneva"], ["created_at", "2018-04-01 11:22:39.820559"], ["updated_at", "2018-04-01 11:22:39.820559"]]  (0.7ms) 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", "Charlyn Nitzsche"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charlyn Nitzsche"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.828213"], ["updated_at", "2018-04-01 11:22:39.828213"]]  (0.8ms) 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", "Marilyn Quitzon"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marilyn Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.836146"], ["updated_at", "2018-04-01 11:22:39.836146"]]  (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", "Jade Hermiston"], ["LIMIT", 1]] SQL (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", "Jade Hermiston"], ["name", "Sierra Senger"], ["address", "Regine Reichert"], ["created_at", "2018-04-01 11:22:39.841494"], ["updated_at", "2018-04-01 11:22:39.841494"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Chantal Rohan"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Chantal Rohan"], ["name", "Herlinda Schimmel"], ["service_type_id", 6], ["base_unit_id", 10], ["utilization_unit_id", 11], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:22:39.845719"], ["updated_at", "2018-04-01 11:22:39.845719"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Chantal Rohan"], ["LIMIT", 1]] SQL (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", "Chantal Rohan"], ["name", "Herlinda Schimmel"], ["description", "Default bundle for service 'Herlinda Schimmel'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:22:39.851301"], ["updated_at", "2018-04-01 11:22:39.851301"]] SQL (1.0ms) 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.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Catheryn Kerluke"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Karena Stokes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Catheryn Kerluke"], ["name", "Karena Stokes"], ["created_at", "2018-04-01 11:22:39.859844"], ["updated_at", "2018-04-01 11:22:39.859844"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Audrie Lind"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Audrie Lind"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.864144"], ["updated_at", "2018-04-01 11:22:39.864144"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cierra Feest"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cierra Feest"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.868204"], ["updated_at", "2018-04-01 11:22:39.868204"]]  (0.5ms) RELEASE 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", "Chantal Rohan"], ["service_delivery_unit_id", 5], ["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", 5], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Francis Rice"], ["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", "Bruna Olson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Francis Rice"], ["name", "Bruna Olson"], ["created_at", "2018-04-01 11:22:39.879768"], ["updated_at", "2018-04-01 11:22:39.879768"]]  (0.4ms) 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", "Latesha Schimmel"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Latesha Schimmel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.884430"], ["updated_at", "2018-04-01 11:22:39.884430"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Arie Shields"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Arie Shields"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:22:39.889151"], ["updated_at", "2018-04-01 11:22:39.889151"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Hershel Kertzmann"], ["LIMIT", 1]] SQL (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", "Hershel Kertzmann"], ["name", "Cecelia Goyette"], ["address", "Tilda Eichmann"], ["created_at", "2018-04-01 11:22:39.893135"], ["updated_at", "2018-04-01 11:22:39.893135"]]  (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", "Yee Kiehn"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Yee Kiehn"], ["name", "Celesta Abernathy"], ["service_type_id", 8], ["base_unit_id", 14], ["utilization_unit_id", 15], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:22:39.898772"], ["updated_at", "2018-04-01 11:22:39.898772"]] 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", 6], ["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", "Yee Kiehn"], ["LIMIT", 1]] SQL (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", "Yee Kiehn"], ["name", "Celesta Abernathy"], ["description", "Default bundle for service 'Celesta Abernathy'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:22:39.906405"], ["updated_at", "2018-04-01 11:22:39.906405"]] SQL (1.6ms) 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]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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]]  (0.8ms) ROLLBACK  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.8ms) BEGIN  (0.7ms) 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", "Kenneth Schowalter"], ["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", "Hyman Flatley"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kenneth Schowalter"], ["name", "Hyman Flatley"], ["created_at", "2018-04-01 11:23:31.020114"], ["updated_at", "2018-04-01 11:23:31.020114"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Merlin Zieme"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Merlin Zieme"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.046623"], ["updated_at", "2018-04-01 11:23:31.046623"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Oscar Stiedemann"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oscar Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.069389"], ["updated_at", "2018-04-01 11:23:31.069389"]]  (1.8ms) 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", "Fermina Greenfelder"], ["LIMIT", 1]] SQL (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", "Fermina Greenfelder"], ["name", "Roberto Heaney"], ["address", "Denise Bartell"], ["created_at", "2018-04-01 11:23:31.101251"], ["updated_at", "2018-04-01 11:23:31.101251"]]  (0.4ms) 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", "Tresa Kovacek"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Tresa Kovacek"], ["name", "Arlinda Leuschke"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:23:31.107503"], ["updated_at", "2018-04-01 11:23:31.107503"]] 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", 1], ["LIMIT", 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", "Tresa Kovacek"], ["LIMIT", 1]] SQL (1.7ms) 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", "Tresa Kovacek"], ["name", "Arlinda Leuschke"], ["description", "Default bundle for service 'Arlinda Leuschke'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:23:31.144403"], ["updated_at", "2018-04-01 11:23:31.144403"]] SQL (1.9ms) 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.9ms) 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", "Tresa Kovacek"], ["id", 1], ["service_delivery_unit_id", 1], ["LIMIT", 1]]  (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", "Emilee Metz"], ["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", "Delma Anderson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Emilee Metz"], ["name", "Delma Anderson"], ["created_at", "2018-04-01 11:23:31.189670"], ["updated_at", "2018-04-01 11:23:31.189670"]]  (0.6ms) 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", "Hal Rodriguez"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hal Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.195560"], ["updated_at", "2018-04-01 11:23:31.195560"]]  (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", "Chau Gusikowski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chau Gusikowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.200271"], ["updated_at", "2018-04-01 11:23:31.200271"]]  (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", "Kris Heathcote"], ["LIMIT", 1]] SQL (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", "Kris Heathcote"], ["name", "Gayla Heaney"], ["address", "Dusty Block"], ["created_at", "2018-04-01 11:23:31.204512"], ["updated_at", "2018-04-01 11:23:31.204512"]]  (0.4ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 2], ["LIMIT", 1]]  (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", "Maybell Weber"], ["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", "Lauralee Ortiz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maybell Weber"], ["name", "Lauralee Ortiz"], ["created_at", "2018-04-01 11:23:31.221180"], ["updated_at", "2018-04-01 11:23:31.221180"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Madalene Altenwerth"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Madalene Altenwerth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.226519"], ["updated_at", "2018-04-01 11:23:31.226519"]]  (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", "Savanna Bartell"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Savanna Bartell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.232027"], ["updated_at", "2018-04-01 11:23:31.232027"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Minta Nikolaus"], ["LIMIT", 1]] SQL (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", "Minta Nikolaus"], ["name", "Ashleigh Bruen"], ["address", "Katharyn Hudson"], ["created_at", "2018-04-01 11:23:31.236404"], ["updated_at", "2018-04-01 11:23:31.236404"]]  (0.4ms) RELEASE 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", "Melvina Buckridge"], ["service_delivery_unit_id", 3], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (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", "Fran Gleason"], ["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", "Aracely Goldner"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Fran Gleason"], ["name", "Aracely Goldner"], ["created_at", "2018-04-01 11:23:31.247725"], ["updated_at", "2018-04-01 11:23:31.247725"]]  (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", "Jenae Lind"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jenae Lind"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.254431"], ["updated_at", "2018-04-01 11:23:31.254431"]]  (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", "Sheila Bruen"], ["LIMIT", 1]] SQL (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", "Sheila Bruen"], ["name", "Marceline Murazik"], ["address", "Alena Rau"], ["created_at", "2018-04-01 11:23:31.260411"], ["updated_at", "2018-04-01 11:23:31.260411"]]  (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", "Mendy Doyle"], ["service_delivery_unit_id", 4], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) 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", "Annika Rutherford"], ["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", "Cecila Prosacco"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Annika Rutherford"], ["name", "Cecila Prosacco"], ["created_at", "2018-04-01 11:23:31.273171"], ["updated_at", "2018-04-01 11:23:31.273171"]]  (1.2ms) 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", "Shon Olson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shon Olson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.280795"], ["updated_at", "2018-04-01 11:23:31.280795"]]  (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", "Lon Runte"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lon Runte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.285949"], ["updated_at", "2018-04-01 11:23:31.285949"]]  (0.6ms) 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" IS NULL LIMIT $2 [["code", "Antonietta Zieme"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.9ms) BEGIN  (0.9ms) 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", "Omer Dickinson"], ["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", "Kiesha Stamm"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Omer Dickinson"], ["name", "Kiesha Stamm"], ["created_at", "2018-04-01 11:23:31.300930"], ["updated_at", "2018-04-01 11:23:31.300930"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jeanice Romaguera"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jeanice Romaguera"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.304930"], ["updated_at", "2018-04-01 11:23:31.304930"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Clarisa Wolff"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Clarisa Wolff"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.309018"], ["updated_at", "2018-04-01 11:23:31.309018"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Irish Green"], ["LIMIT", 1]] SQL (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", "Irish Green"], ["name", "Refugia Marquardt"], ["address", "Nigel Von"], ["created_at", "2018-04-01 11:23:31.313207"], ["updated_at", "2018-04-01 11:23:31.313207"]]  (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", "Illa Swaniawski"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Illa Swaniawski"], ["name", "Alysha Hamill"], ["service_type_id", 6], ["base_unit_id", 10], ["utilization_unit_id", 11], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:23:31.317499"], ["updated_at", "2018-04-01 11:23:31.317499"]] 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", 5], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Illa Swaniawski"], ["LIMIT", 1]] SQL (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", "Illa Swaniawski"], ["name", "Alysha Hamill"], ["description", "Default bundle for service 'Alysha Hamill'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:23:31.322504"], ["updated_at", "2018-04-01 11:23:31.322504"]] SQL (1.2ms) 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.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Evita Moen"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Magen Howell"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Evita Moen"], ["name", "Magen Howell"], ["created_at", "2018-04-01 11:23:31.337112"], ["updated_at", "2018-04-01 11:23:31.337112"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Darla O'Keefe"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Darla O'Keefe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.341162"], ["updated_at", "2018-04-01 11:23:31.341162"]]  (0.8ms) 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", "Nichole Fahey"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nichole Fahey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.349300"], ["updated_at", "2018-04-01 11:23:31.349300"]]  (0.6ms) 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", "Illa Swaniawski"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] 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", 5], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.8ms) BEGIN  (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", "Jospeh Pfeffer"], ["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", "Arcelia Jacobi"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jospeh Pfeffer"], ["name", "Arcelia Jacobi"], ["created_at", "2018-04-01 11:23:31.382220"], ["updated_at", "2018-04-01 11:23:31.382220"]]  (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", "Josephine Cruickshank"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Josephine Cruickshank"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.390173"], ["updated_at", "2018-04-01 11:23:31.390173"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Shaun Johnson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shaun Johnson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:23:31.395342"], ["updated_at", "2018-04-01 11:23:31.395342"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Bok Zemlak"], ["LIMIT", 1]] SQL (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", "Bok Zemlak"], ["name", "Dana Stanton"], ["address", "Katharyn Bode"], ["created_at", "2018-04-01 11:23:31.399461"], ["updated_at", "2018-04-01 11:23:31.399461"]]  (0.4ms) 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", "Jolyn Nicolas"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Jolyn Nicolas"], ["name", "Eboni Littel"], ["service_type_id", 8], ["base_unit_id", 14], ["utilization_unit_id", 15], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:23:31.404103"], ["updated_at", "2018-04-01 11:23:31.404103"]] 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", 6], ["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", "Jolyn Nicolas"], ["LIMIT", 1]] SQL (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", "Jolyn Nicolas"], ["name", "Eboni Littel"], ["description", "Default bundle for service 'Eboni Littel'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-01 11:23:31.411090"], ["updated_at", "2018-04-01 11:23:31.411090"]] SQL (1.2ms) 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.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["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", 3]]  (0.8ms) ROLLBACK  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) 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", "josefine.weimann@wuckerterdman.name"], ["LIMIT", 1]] SQL (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", "Vernell Monahan"], ["last_name", "Ardella Towne"], ["email", "josefine.weimann@wuckerterdman.name"], ["password_digest", "$2a$04$cF2Yf.zFbl3VJE8GLF0rGuHdRto11IjMhCIbaOsZInC4lRMB1o5e."], ["created_at", "2018-04-01 11:25:49.150497"], ["updated_at", "2018-04-01 11:25:49.150497"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Dannie Schowalter"], ["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", "Geoffrey Abernathy"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dannie Schowalter"], ["name", "Geoffrey Abernathy"], ["created_at", "2018-04-01 11:25:49.190736"], ["updated_at", "2018-04-01 11:25:49.190736"]]  (0.4ms) 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", "Leena Cremin"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Leena Cremin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.210033"], ["updated_at", "2018-04-01 11:25:49.210033"]]  (0.6ms) 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", "Trevor Schmitt"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Trevor Schmitt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.216488"], ["updated_at", "2018-04-01 11:25:49.216488"]]  (0.4ms) 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", "Fay Bernhard"], ["LIMIT", 1]] SQL (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", "Fay Bernhard"], ["name", "Somer Daniel"], ["address", "Mauro Feeney"], ["created_at", "2018-04-01 11:25:49.233519"], ["updated_at", "2018-04-01 11:25:49.233519"]]  (0.5ms) 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", "Sherlene Green"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Sherlene Green"], ["name", "Annice Konopelski"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:25:49.240506"], ["updated_at", "2018-04-01 11:25:49.240506"]] 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", 1], ["LIMIT", 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", "Sherlene Green"], ["LIMIT", 1]] SQL (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", "Sherlene Green"], ["name", "Annice Konopelski"], ["description", "Default bundle for service 'Annice Konopelski'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-01 11:25:49.273246"], ["updated_at", "2018-04-01 11:25:49.273246"]] SQL (1.8ms) 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.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ping Schneider"], ["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", "Vernon Hudson"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ping Schneider"], ["name", "Vernon Hudson"], ["created_at", "2018-04-01 11:25:49.301715"], ["updated_at", "2018-04-01 11:25:49.301715"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Julian Cronin"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julian Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.305708"], ["updated_at", "2018-04-01 11:25:49.305708"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Britney Donnelly"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Britney Donnelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.309723"], ["updated_at", "2018-04-01 11:25:49.309723"]]  (0.4ms) 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", "Giselle Homenick"], ["LIMIT", 1]] SQL (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", "Giselle Homenick"], ["name", "Roxy Nicolas"], ["address", "Sheree Hackett"], ["created_at", "2018-04-01 11:25:49.313870"], ["updated_at", "2018-04-01 11:25:49.313870"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Reta Cremin"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Reta Cremin"], ["name", "Len Reinger"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-04-01 11:25:49.317938"], ["updated_at", "2018-04-01 11:25:49.317938"]] 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", 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", "Reta Cremin"], ["LIMIT", 1]] SQL (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", "Reta Cremin"], ["name", "Len Reinger"], ["description", "Default bundle for service 'Len Reinger'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-01 11:25:49.323418"], ["updated_at", "2018-04-01 11:25:49.323418"]] SQL (1.3ms) 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  (1.0ms) 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", "Claris Crooks"], ["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", "Iona Bergnaum"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Claris Crooks"], ["name", "Iona Bergnaum"], ["created_at", "2018-04-01 11:25:49.358013"], ["updated_at", "2018-04-01 11:25:49.358013"]]  (1.0ms) 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", "Augustine Wilderman"], ["LIMIT", 1]] SQL (2.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Augustine Wilderman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.378402"], ["updated_at", "2018-04-01 11:25:49.378402"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Belinda Mertz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Belinda Mertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.390234"], ["updated_at", "2018-04-01 11:25:49.390234"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Malika Berge"], ["LIMIT", 1]] SQL (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", "Malika Berge"], ["name", "Keeley Zieme"], ["address", "Rosaline Fadel"], ["created_at", "2018-04-01 11:25:49.394264"], ["updated_at", "2018-04-01 11:25:49.394264"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Dayna Hintz"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Dayna Hintz"], ["name", "Dorian Feil"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-04-01 11:25:49.398971"], ["updated_at", "2018-04-01 11:25:49.398971"]] 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", 3], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Dayna Hintz"], ["LIMIT", 1]] SQL (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", "Dayna Hintz"], ["name", "Dorian Feil"], ["description", "Default bundle for service 'Dorian Feil'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-01 11:25:49.403878"], ["updated_at", "2018-04-01 11:25:49.403878"]] SQL (0.9ms) 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.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML Mks::Auth::User Load (0.6ms) 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.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN (1, 3, 2) [active_model_serializers] 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", 1], ["LIMIT", 1]] [active_model_serializers] 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", 2], ["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", 1], ["LIMIT", 1]] [active_model_serializers] 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", 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.8ms) 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 (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", 3], ["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", 4], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.5ms) 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (42.91ms) Completed 200 OK in 80ms (Views: 67.5ms | ActiveRecord: 10.7ms)  (0.7ms) 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", "lissa@spinka.ca"], ["LIMIT", 1]] SQL (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", "Philomena Cruickshank"], ["last_name", "Magaly Mills"], ["email", "lissa@spinka.ca"], ["password_digest", "$2a$04$7XyepGguddEtmYsnAA0bbeYxwoBNBSqxABQvuQXn7aHQdwtP5kngW"], ["created_at", "2018-04-01 11:25:49.500074"], ["updated_at", "2018-04-01 11:25:49.500074"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Lilia Bauch"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lilia Bauch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.508389"], ["updated_at", "2018-04-01 11:25:49.508389"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lee Harvey"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lee Harvey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.512497"], ["updated_at", "2018-04-01 11:25:49.512497"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Magan Collins"], ["LIMIT", 1]] SQL (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", "Magan Collins"], ["name", "Lavelle Kovacek"], ["address", "Mora Beer"], ["created_at", "2018-04-01 11:25:49.517169"], ["updated_at", "2018-04-01 11:25:49.517169"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Inocencia Lesch"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Almeta Tremblay"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Inocencia Lesch"], ["name", "Almeta Tremblay"], ["created_at", "2018-04-01 11:25:49.521776"], ["updated_at", "2018-04-01 11:25:49.521776"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Ezequiel Gottlieb", "name"=>"Hilary Boehm", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]  (2.2ms) 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", "Ezequiel Gottlieb"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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 (1.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 (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", 4], ["LIMIT", 1]] SQL (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", "Ezequiel Gottlieb"], ["name", "Hilary Boehm"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-04-01 11:25:49.552290"], ["updated_at", "2018-04-01 11:25:49.552290"]] 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", "Ezequiel Gottlieb"], ["LIMIT", 1]] SQL (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", "Ezequiel Gottlieb"], ["name", "Hilary Boehm"], ["description", "Default bundle for service 'Hilary Boehm'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-01 11:25:49.559921"], ["updated_at", "2018-04-01 11:25:49.559921"]] SQL (1.2ms) 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.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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.48ms) Completed 200 OK in 53ms (Views: 13.1ms | ActiveRecord: 15.3ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.5ms) 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", "reta.crooks@kesslerkihn.biz"], ["LIMIT", 1]] SQL (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", "Ludie Bartell"], ["last_name", "Kate Haley"], ["email", "reta.crooks@kesslerkihn.biz"], ["password_digest", "$2a$04$fu4u.wm4tSd/WkmZqvyTxeZ8.Cw29ntsmFZOxXXjoYEtBeLBMW1J2"], ["created_at", "2018-04-01 11:25:49.590296"], ["updated_at", "2018-04-01 11:25:49.590296"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Frankie Kemmer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Frankie Kemmer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.594970"], ["updated_at", "2018-04-01 11:25:49.594970"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Willis Bode"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Willis Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.599793"], ["updated_at", "2018-04-01 11:25:49.599793"]]  (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", "Honey Rippin"], ["LIMIT", 1]] SQL (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", "Honey Rippin"], ["name", "Zada Bartoletti"], ["address", "Lynsey Hamill"], ["created_at", "2018-04-01 11:25:49.603745"], ["updated_at", "2018-04-01 11:25:49.603745"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Glynis Stamm"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Bev Bailey"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Glynis Stamm"], ["name", "Bev Bailey"], ["created_at", "2018-04-01 11:25:49.608225"], ["updated_at", "2018-04-01 11:25:49.608225"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Georgina Monahan", "name"=>"Viola Stiedemann", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 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", "Georgina Monahan"], ["service_delivery_unit_id", 5], ["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", 5], ["LIMIT", 1]] 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", 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]] SQL (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", "Georgina Monahan"], ["name", "Viola Stiedemann"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:25:49.619352"], ["updated_at", "2018-04-01 11:25:49.619352"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Georgina Monahan"], ["LIMIT", 1]] SQL (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", "Georgina Monahan"], ["name", "Viola Stiedemann"], ["description", "Default bundle for service 'Viola Stiedemann'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-01 11:25:49.625801"], ["updated_at", "2018-04-01 11:25:49.625801"]] SQL (1.3ms) 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 Mks::Auth::User Load (1.0ms) 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.39ms) Completed 200 OK in 24ms (Views: 1.6ms | ActiveRecord: 10.6ms)  (1.1ms) 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", "damion.johns@kriswillms.biz"], ["LIMIT", 1]] SQL (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", "Malvina Mosciski"], ["last_name", "Maxima Davis"], ["email", "damion.johns@kriswillms.biz"], ["password_digest", "$2a$04$OfjUm7KFItmJB6N3AgF0B.O6imRSy6kelZNX2nshD1S2f0Nha.H56"], ["created_at", "2018-04-01 11:25:49.644880"], ["updated_at", "2018-04-01 11:25:49.644880"]]  (0.6ms) 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", "Jonna Macejkovic"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jonna Macejkovic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.651949"], ["updated_at", "2018-04-01 11:25:49.651949"]]  (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", "Jacquelynn Kertzmann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacquelynn Kertzmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.658125"], ["updated_at", "2018-04-01 11:25:49.658125"]]  (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", "Loyd Corwin"], ["LIMIT", 1]] SQL (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", "Loyd Corwin"], ["name", "Renea Kunde"], ["address", "Sarai Jacobson"], ["created_at", "2018-04-01 11:25:49.664666"], ["updated_at", "2018-04-01 11:25:49.664666"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Maximo Roberts"], ["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", "Treena Hettinger"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maximo Roberts"], ["name", "Treena Hettinger"], ["created_at", "2018-04-01 11:25:49.673076"], ["updated_at", "2018-04-01 11:25:49.673076"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Vincenza Kunde", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.9ms) 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.7ms) 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.6ms) 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.6ms) 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.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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 22ms (Views: 4.1ms | ActiveRecord: 6.7ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "darlene_sipes@bayer.name"], ["LIMIT", 1]] SQL (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", "Harrison Rodriguez"], ["last_name", "Sherie Pagac"], ["email", "darlene_sipes@bayer.name"], ["password_digest", "$2a$04$8P7G/f2gluvcEeVY49YUlOE25cAtWnGjZDddPdYE3soFRMuxwKah."], ["created_at", "2018-04-01 11:25:49.712020"], ["updated_at", "2018-04-01 11:25:49.712020"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lovetta Shields"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shawn Torp"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lovetta Shields"], ["name", "Shawn Torp"], ["created_at", "2018-04-01 11:25:49.717774"], ["updated_at", "2018-04-01 11:25:49.717774"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Vivian Hauck"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vivian Hauck"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.721843"], ["updated_at", "2018-04-01 11:25:49.721843"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Emilee Swaniawski"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Emilee Swaniawski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.725761"], ["updated_at", "2018-04-01 11:25:49.725761"]]  (0.4ms) 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", "Linette Hegmann"], ["LIMIT", 1]] SQL (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", "Linette Hegmann"], ["name", "Na Leannon"], ["address", "Willa Considine"], ["created_at", "2018-04-01 11:25:49.730720"], ["updated_at", "2018-04-01 11:25:49.730720"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Neil Reichert"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Neil Reichert"], ["name", "Leola Lueilwitz"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-04-01 11:25:49.734899"], ["updated_at", "2018-04-01 11:25:49.734899"]] 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 (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Neil Reichert"], ["LIMIT", 1]] SQL (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", "Neil Reichert"], ["name", "Leola Lueilwitz"], ["description", "Default bundle for service 'Leola Lueilwitz'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-01 11:25:49.741836"], ["updated_at", "2018-04-01 11:25:49.741836"]] SQL (1.8ms) 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.7ms) 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.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.7ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Neil Reichert"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 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.9ms) 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]] SQL (1.5ms) 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-04-01 11:25:49.771462"], ["id", 6]] 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", 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", "Neil Reichert"], ["LIMIT", 1]]  (0.8ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.72ms) Completed 200 OK in 35ms (Views: 2.4ms | ActiveRecord: 11.4ms) 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", 6], ["LIMIT", 1]]  (0.9ms) 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", "lashunda_stracke@ogaschowalter.ca"], ["LIMIT", 1]] SQL (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", "Jorge Veum"], ["last_name", "Leena Frami"], ["email", "lashunda_stracke@ogaschowalter.ca"], ["password_digest", "$2a$04$V82UeEoX5UtKJgRvSyNGNOoq3jZF.5N.imi6WooMG.IwBMFLnE.M2"], ["created_at", "2018-04-01 11:25:49.800903"], ["updated_at", "2018-04-01 11:25:49.800903"]]  (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", "Deeann Berge"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eli Wunsch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deeann Berge"], ["name", "Eli Wunsch"], ["created_at", "2018-04-01 11:25:49.807187"], ["updated_at", "2018-04-01 11:25:49.807187"]]  (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", "Edythe Wolf"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Edythe Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.811582"], ["updated_at", "2018-04-01 11:25:49.811582"]]  (0.4ms) 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", "Heike Crooks"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Heike Crooks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.816672"], ["updated_at", "2018-04-01 11:25:49.816672"]]  (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", "Tinisha Mohr"], ["LIMIT", 1]] SQL (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", "Tinisha Mohr"], ["name", "Hildegard Marks"], ["address", "Benedict Lubowitz"], ["created_at", "2018-04-01 11:25:49.820816"], ["updated_at", "2018-04-01 11:25:49.820816"]]  (0.4ms) 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", "Theola Mosciski"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Theola Mosciski"], ["name", "Hoyt Beier"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-04-01 11:25:49.825301"], ["updated_at", "2018-04-01 11:25:49.825301"]] 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", 8], ["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", "Theola Mosciski"], ["LIMIT", 1]] SQL (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", "Theola Mosciski"], ["name", "Hoyt Beier"], ["description", "Default bundle for service 'Hoyt Beier'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-01 11:25:49.831116"], ["updated_at", "2018-04-01 11:25:49.831116"]] SQL (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.6ms) 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.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Theola Mosciski"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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 (1.4ms) 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 (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", 8], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO 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", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 16ms (Views: 1.2ms | ActiveRecord: 8.4ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "niesha@kleinbarton.co.uk"], ["LIMIT", 1]] SQL (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", "Leida Roob"], ["last_name", "Olene Schulist"], ["email", "niesha@kleinbarton.co.uk"], ["password_digest", "$2a$04$0sLnqzqwGl/oTosuWqCitOiGeB0sL/9.dOsZL5MCNt5YusOD8YbM."], ["created_at", "2018-04-01 11:25:49.863370"], ["updated_at", "2018-04-01 11:25:49.863370"]]  (0.6ms) 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", "Silvia Olson"], ["LIMIT", 1]] SQL (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", "Silvia Olson"], ["name", "Mickey Renner"], ["address", "Shakita Watsica"], ["created_at", "2018-04-01 11:25:49.869947"], ["updated_at", "2018-04-01 11:25:49.869947"]]  (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", "Marleen White"], ["LIMIT", 1]] SQL (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", "Marleen White"], ["name", "Natisha Quigley"], ["address", "Rosalina Turcotte"], ["created_at", "2018-04-01 11:25:49.875116"], ["updated_at", "2018-04-01 11:25:49.875116"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Dewayne Keebler"], ["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", "Dean Larson"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dewayne Keebler"], ["name", "Dean Larson"], ["created_at", "2018-04-01 11:25:49.885231"], ["updated_at", "2018-04-01 11:25:49.885231"]]  (0.8ms) 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", "Terra Kulas"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Terra Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.894185"], ["updated_at", "2018-04-01 11:25:49.894185"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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 Kihn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Darryl Kihn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.902278"], ["updated_at", "2018-04-01 11:25:49.902278"]]  (0.4ms) 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", "Vinita Schuppe"], ["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]] SQL (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", "Vinita Schuppe"], ["name", "Sunshine Muller"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 11:25:49.908253"], ["updated_at", "2018-04-01 11:25:49.908253"]] 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 (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Vinita Schuppe"], ["LIMIT", 1]] SQL (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", "Vinita Schuppe"], ["name", "Sunshine Muller"], ["description", "Default bundle for service 'Sunshine Muller'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 11:25:49.914152"], ["updated_at", "2018-04-01 11:25:49.914152"]] SQL (1.2ms) 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", "Lanette Gislason"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Maisha Parker"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lanette Gislason"], ["name", "Maisha Parker"], ["created_at", "2018-04-01 11:25:49.924193"], ["updated_at", "2018-04-01 11:25:49.924193"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Joycelyn Blick"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joycelyn Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.929201"], ["updated_at", "2018-04-01 11:25:49.929201"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Eliseo Blanda"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eliseo Blanda"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.933792"], ["updated_at", "2018-04-01 11:25:49.933792"]]  (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", "Rosie Wisozk"], ["service_delivery_unit_id", 9], ["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", 9], ["LIMIT", 1]] SQL (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", "Rosie Wisozk"], ["name", "Mireya Hyatt"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 11:25:49.939382"], ["updated_at", "2018-04-01 11:25:49.939382"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rosie Wisozk"], ["LIMIT", 1]] SQL (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", "Rosie Wisozk"], ["name", "Mireya Hyatt"], ["description", "Default bundle for service 'Mireya Hyatt'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-01 11:25:49.944237"], ["updated_at", "2018-04-01 11:25:49.944237"]] SQL (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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Launa Moore"], ["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", "Malena Pacocha"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Launa Moore"], ["name", "Malena Pacocha"], ["created_at", "2018-04-01 11:25:49.954435"], ["updated_at", "2018-04-01 11:25:49.954435"]]  (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", "Derrick Stoltenberg"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Derrick Stoltenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.959329"], ["updated_at", "2018-04-01 11:25:49.959329"]]  (1.1ms) 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", "Ji Graham"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ji Graham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.965676"], ["updated_at", "2018-04-01 11:25:49.965676"]]  (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", "Katelyn Ullrich"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] 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", 10], ["LIMIT", 1]] SQL (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", "Katelyn Ullrich"], ["name", "Domingo Anderson"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 11:25:49.972800"], ["updated_at", "2018-04-01 11:25:49.972800"]] 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", 10], ["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", "Katelyn Ullrich"], ["LIMIT", 1]] SQL (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", "Katelyn Ullrich"], ["name", "Domingo Anderson"], ["description", "Default bundle for service 'Domingo Anderson'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 11:25:49.979073"], ["updated_at", "2018-04-01 11:25:49.979073"]] SQL (1.2ms) 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.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", "Horacio Rice"], ["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", "Olinda Schaden"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Horacio Rice"], ["name", "Olinda Schaden"], ["created_at", "2018-04-01 11:25:49.990031"], ["updated_at", "2018-04-01 11:25:49.990031"]]  (0.6ms) 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", "Jarod Haag"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jarod Haag"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:49.995922"], ["updated_at", "2018-04-01 11:25:49.995922"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Brande Barrows"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brande Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:50.000312"], ["updated_at", "2018-04-01 11:25:50.000312"]]  (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", "Benjamin Lehner"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Benjamin Lehner"], ["name", "Tinisha Cole"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 11:25:50.006360"], ["updated_at", "2018-04-01 11:25:50.006360"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Benjamin Lehner"], ["LIMIT", 1]] SQL (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", "Benjamin Lehner"], ["name", "Tinisha Cole"], ["description", "Default bundle for service 'Tinisha Cole'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-01 11:25:50.011394"], ["updated_at", "2018-04-01 11:25:50.011394"]] SQL (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.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.6ms) 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.5ms) 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.5ms) 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.5ms) 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.5ms) 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.5ms) 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.5ms) 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.5ms) 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 (9.98ms) Completed 200 OK in 15ms (Views: 7.3ms | ActiveRecord: 6.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", "christy.emmerich@gerhold.co.uk"], ["LIMIT", 1]] SQL (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", "Claudia Medhurst"], ["last_name", "Marna Greenfelder"], ["email", "christy.emmerich@gerhold.co.uk"], ["password_digest", "$2a$04$uBZXMxEk03YbcDHVwT1ImeW.yG3t8lX.b8fyAXZ.RdMIcyKoqmif."], ["created_at", "2018-04-01 11:25:50.039375"], ["updated_at", "2018-04-01 11:25:50.039375"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "yung_schowalter@gottlieb.biz"], ["LIMIT", 1]] SQL (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", "Wally Wilderman"], ["last_name", "Yuko Daniel"], ["email", "yung_schowalter@gottlieb.biz"], ["password_digest", "$2a$04$FWMdVF4tihOvQRhm25/hPO722a2yY4.gbYYpsdnfhqNgVHy591b02"], ["created_at", "2018-04-01 11:25:50.053415"], ["updated_at", "2018-04-01 11:25:50.053415"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "vilma_collins@hudsonlind.biz"], ["LIMIT", 1]] SQL (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", "Malia Hane"], ["last_name", "Ammie Donnelly"], ["email", "vilma_collins@hudsonlind.biz"], ["password_digest", "$2a$04$HtlNVtumIBqYzxockun87uraN8Ao0vrnFrT0dM0ptTWwyrVf6q5rG"], ["created_at", "2018-04-01 11:25:50.063878"], ["updated_at", "2018-04-01 11:25:50.063878"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.0ms) ROLLBACK  (0.7ms) BEGIN  (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", "felicidad.wyman@runolfssonglover.info"], ["LIMIT", 1]] SQL (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", "Julie Greenholt"], ["last_name", "Hank Herman"], ["email", "felicidad.wyman@runolfssonglover.info"], ["password_digest", "$2a$04$Ph42ZWjH2x4f2X3i7yNlMOA72BX7ohoJQSbJ41Pfw1DSifrlFNKJW"], ["created_at", "2018-04-01 11:25:50.085796"], ["updated_at", "2018-04-01 11:25:50.085796"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.7ms) 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", "alysa_becker@walter.name"], ["LIMIT", 1]] SQL (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", "Jeanie Lind"], ["last_name", "Lisabeth Prosacco"], ["email", "alysa_becker@walter.name"], ["password_digest", "$2a$04$TRZcSofEgvGt5GCUEt9bPutgQVa3myP4B74IP7oyrGV/p9t.9m6ze"], ["created_at", "2018-04-01 11:25:50.101412"], ["updated_at", "2018-04-01 11:25:50.101412"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "odelia.kling@leschboehm.com"], ["LIMIT", 1]] SQL (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", "Merri Doyle"], ["last_name", "Lane Morissette"], ["email", "odelia.kling@leschboehm.com"], ["password_digest", "$2a$04$.R0p.t4/7VBr/Hm0vCifQ.KXFIYOGcdTMGlWySNhhUIFdWSg2I8OK"], ["created_at", "2018-04-01 11:25:50.113462"], ["updated_at", "2018-04-01 11:25:50.113462"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "shaquana@tillman.ca"], ["LIMIT", 1]] SQL (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", "Catarina Grimes"], ["last_name", "Teofila Hagenes"], ["email", "shaquana@tillman.ca"], ["password_digest", "$2a$04$RuDHxdGr.S1tSTJkQO2yx.Pq75ljIAmXQe4uzYpPinWmKTu8fvN.y"], ["created_at", "2018-04-01 11:25:50.123652"], ["updated_at", "2018-04-01 11:25:50.123652"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.8ms) 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", "somer.bergstrom@bogisich.biz"], ["LIMIT", 1]] SQL (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", "Malisa Sipes"], ["last_name", "Shaneka Runolfsson"], ["email", "somer.bergstrom@bogisich.biz"], ["password_digest", "$2a$04$Ek2Yx0ZRah1gMVDuX.i3x.k0TbVSJTnQZTyWnLq.3o8YO8BGQub9K"], ["created_at", "2018-04-01 11:25:50.135472"], ["updated_at", "2018-04-01 11:25:50.135472"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "minda.franecki@homenick.name"], ["LIMIT", 1]] SQL (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", "Shenika Osinski"], ["last_name", "James Rohan"], ["email", "minda.franecki@homenick.name"], ["password_digest", "$2a$04$7HfiTUWLgejXkBlO3U0jFudvxZkIS3UFB5H/P75VyYYaHM3jzFOF2"], ["created_at", "2018-04-01 11:25:50.146277"], ["updated_at", "2018-04-01 11:25:50.146277"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.8ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "fredda.hauck@johnsrutherford.ca"], ["LIMIT", 1]] SQL (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", "Trevor Treutel"], ["last_name", "Taina Stroman"], ["email", "fredda.hauck@johnsrutherford.ca"], ["password_digest", "$2a$04$1/VEG3x20Fkj1bc6rz91MOu4yqqiTwES38y1arreb6cl/QDpUlwAy"], ["created_at", "2018-04-01 11:25:50.163541"], ["updated_at", "2018-04-01 11:25:50.163541"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Tasia Jacobs"], ["LIMIT", 1]] SQL (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", "Tasia Jacobs"], ["name", "Caren Schiller"], ["address", "Norberto Klein"], ["created_at", "2018-04-01 11:25:50.179888"], ["updated_at", "2018-04-01 11:25:50.179888"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kendra Lind"], ["LIMIT", 1]] SQL (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", "Kendra Lind"], ["name", "Isabell Kiehn"], ["description", "Vasiliki Champlin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-04-01 11:25:50.196313"], ["updated_at", "2018-04-01 11:25:50.196313"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 17], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) 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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.08ms) Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 3.4ms)  (0.8ms) 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", "cathy@turcotte.name"], ["LIMIT", 1]] SQL (0.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", "Nguyet Turcotte"], ["last_name", "Laurene Mohr"], ["email", "cathy@turcotte.name"], ["password_digest", "$2a$04$rgcQiwHroYQop4/aQ145iuUO2txxND1d3WevrmH5lFiiVWsuJKz3y"], ["created_at", "2018-04-01 11:25:50.228262"], ["updated_at", "2018-04-01 11:25:50.228262"]]  (0.4ms) 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", "Danna Rowe"], ["LIMIT", 1]] SQL (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", "Danna Rowe"], ["name", "Marlo Labadie"], ["address", "Titus Hartmann"], ["created_at", "2018-04-01 11:25:50.232656"], ["updated_at", "2018-04-01 11:25:50.232656"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Renita Zboncak"], ["LIMIT", 1]] SQL (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", "Renita Zboncak"], ["name", "Leta Prosacco"], ["description", "Sherryl Becker"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-01 11:25:50.236942"], ["updated_at", "2018-04-01 11:25:50.236942"]]  (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", "Josue Nicolas"], ["LIMIT", 1]] SQL (0.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", "Josue Nicolas"], ["name", "Mable O'Hara"], ["description", "Bruna Keeling"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-01 11:25:50.241628"], ["updated_at", "2018-04-01 11:25:50.241628"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lazaro Wiza"], ["LIMIT", 1]] SQL (0.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", "Lazaro Wiza"], ["name", "Ayesha Waters"], ["description", "Blake Johnson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-01 11:25:50.246044"], ["updated_at", "2018-04-01 11:25:50.246044"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["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", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (4.2ms) 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]] [active_model_serializers] 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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (17.55ms) Completed 200 OK in 28ms (Views: 17.6ms | ActiveRecord: 8.9ms)  (1.7ms) ROLLBACK  (0.8ms) BEGIN  (1.2ms) 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", "jessica@hudson.us"], ["LIMIT", 1]] SQL (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", "Evon Huels"], ["last_name", "Araceli Wuckert"], ["email", "jessica@hudson.us"], ["password_digest", "$2a$04$30qG5iuj.pYkOwFu1oQn/uGo2e2VT.TAlsHjJxcCdysXoRUHtpSbO"], ["created_at", "2018-04-01 11:25:50.304571"], ["updated_at", "2018-04-01 11:25:50.304571"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Ethelene Conn"], ["LIMIT", 1]] SQL (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", "Ethelene Conn"], ["name", "Lester Zulauf"], ["address", "Davida Rau"], ["created_at", "2018-04-01 11:25:50.314236"], ["updated_at", "2018-04-01 11:25:50.314236"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Bell Runte"], ["LIMIT", 1]] SQL (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", "Bell Runte"], ["name", "Cherry Wunsch"], ["description", "Kellee Hagenes"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-01 11:25:50.319264"], ["updated_at", "2018-04-01 11:25:50.319264"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ivory Kuhn"], ["LIMIT", 1]] SQL (0.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", "Ivory Kuhn"], ["name", "Ozella Wolff"], ["description", "Carita Kling"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-01 11:25:50.324710"], ["updated_at", "2018-04-01 11:25:50.324710"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Eleonor Schroeder"], ["LIMIT", 1]] SQL (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", "Eleonor Schroeder"], ["name", "Collene Huel"], ["description", "Virgilio Gorczany"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-01 11:25:50.330808"], ["updated_at", "2018-04-01 11:25:50.330808"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Kerry White"], ["LIMIT", 1]] SQL (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", "Kerry White"], ["name", "Ardath Shields"], ["address", "Raelene Nader"], ["created_at", "2018-04-01 11:25:50.336309"], ["updated_at", "2018-04-01 11:25:50.336309"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Charisse Kovacek"], ["LIMIT", 1]] SQL (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", "Charisse Kovacek"], ["name", "Dorotha Goodwin"], ["description", "Tyler O'Conner"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-04-01 11:25:50.340210"], ["updated_at", "2018-04-01 11:25:50.340210"]]  (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", "Johnna O'Reilly"], ["LIMIT", 1]] SQL (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", "Johnna O'Reilly"], ["name", "Janetta Larkin"], ["address", "Roslyn Jast"], ["created_at", "2018-04-01 11:25:50.345625"], ["updated_at", "2018-04-01 11:25:50.345625"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Birgit Boehm"], ["LIMIT", 1]] SQL (0.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", "Birgit Boehm"], ["name", "Tess Abernathy"], ["description", "Rosendo Klein"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-04-01 11:25:50.349902"], ["updated_at", "2018-04-01 11:25:50.349902"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.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", "Nola Turcotte"], ["LIMIT", 1]] SQL (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", "Nola Turcotte"], ["name", "Daryl West"], ["address", "Inocencia Kutch"], ["created_at", "2018-04-01 11:25:50.355078"], ["updated_at", "2018-04-01 11:25:50.355078"]]  (1.0ms) 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", "Nicolasa Hauck"], ["LIMIT", 1]] SQL (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", "Nicolasa Hauck"], ["name", "Janetta Reynolds"], ["description", "Dennis Bayer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-04-01 11:25:50.368405"], ["updated_at", "2018-04-01 11:25:50.368405"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (15.67ms) Completed 200 OK in 33ms (Views: 20.7ms | ActiveRecord: 7.1ms)  (1.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "karyn.prohaska@farrell.com"], ["LIMIT", 1]] SQL (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", "Ofelia McGlynn"], ["last_name", "Tula Willms"], ["email", "karyn.prohaska@farrell.com"], ["password_digest", "$2a$04$LqeeunP8dOMqPB91ctOQDuKnNg6gAPBmV3b.wzE0nTM6ktM/vIXiS"], ["created_at", "2018-04-01 11:25:50.421989"], ["updated_at", "2018-04-01 11:25:50.421989"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Danilo Hirthe"], ["LIMIT", 1]] SQL (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", "Danilo Hirthe"], ["name", "Abbey Little"], ["address", "Krista Treutel"], ["created_at", "2018-04-01 11:25:50.426790"], ["updated_at", "2018-04-01 11:25:50.426790"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Pauline Harvey"], ["LIMIT", 1]] SQL (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", "Pauline Harvey"], ["name", "Seth Nienow"], ["description", "Toby Rogahn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-04-01 11:25:50.430684"], ["updated_at", "2018-04-01 11:25:50.430684"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 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", 22], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.49ms) Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 2.3ms)  (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", "roxann@bergstrom.info"], ["LIMIT", 1]] SQL (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", "Sang Lebsack"], ["last_name", "Christeen Strosin"], ["email", "roxann@bergstrom.info"], ["password_digest", "$2a$04$bFsx9ukQHWXXdEN2E8nVIOmIVH/aY2hN7VKNYcBGcxqrMVUlefE6W"], ["created_at", "2018-04-01 11:25:50.447222"], ["updated_at", "2018-04-01 11:25:50.447222"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Nga Conn"], ["LIMIT", 1]] SQL (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", "Nga Conn"], ["name", "Wynell Gislason"], ["address", "Kendal Robel"], ["created_at", "2018-04-01 11:25:50.454043"], ["updated_at", "2018-04-01 11:25:50.454043"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Jackie Pfeffer", "description"=>"Manie Rodriguez", "name"=>"Julienne Johns", "service_delivery_unit_id"=>"18"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (2.0ms) SAVEPOINT active_record_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", 18], ["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", "Jackie Pfeffer"], ["LIMIT", 1]] SQL (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", "Jackie Pfeffer"], ["name", "Julienne Johns"], ["description", "Manie Rodriguez"], ["service_delivery_unit_id", 18], ["created_at", "2018-04-01 11:25:50.468033"], ["updated_at", "2018-04-01 11:25:50.468033"]]  (0.7ms) 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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.37ms) Completed 201 Created in 17ms (Views: 2.8ms | ActiveRecord: 7.9ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (1.1ms) 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", "neely@hickle.us"], ["LIMIT", 1]] SQL (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", "Candra Swift"], ["last_name", "Bryan Huels"], ["email", "neely@hickle.us"], ["password_digest", "$2a$04$6kaVyW6dKgYuucbgqjcolONu0QNQ8C7O0YNx0Vn8.lcKVNVlaCDtu"], ["created_at", "2018-04-01 11:25:50.487588"], ["updated_at", "2018-04-01 11:25:50.487588"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Stephane Gaylord"], ["LIMIT", 1]] SQL (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", "Stephane Gaylord"], ["name", "Katina Hyatt"], ["address", "Estefana Kuhn"], ["created_at", "2018-04-01 11:25:50.495291"], ["updated_at", "2018-04-01 11:25:50.495291"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Celesta Wisozk", "description"=>"Louann Carroll", "name"=>"Alba O'Reilly", "service_delivery_unit_id"=>"19"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["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", 19], ["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", "Celesta Wisozk"], ["LIMIT", 1]] SQL (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", "Celesta Wisozk"], ["name", "Alba O'Reilly"], ["description", "Louann Carroll"], ["service_delivery_unit_id", 19], ["created_at", "2018-04-01 11:25:50.507414"], ["updated_at", "2018-04-01 11:25:50.507414"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.21ms) Completed 201 Created in 12ms (Views: 1.6ms | ActiveRecord: 5.1ms) Mks::Rate::ServiceBundle Load (0.9ms) 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  (1.1ms) BEGIN  (0.7ms) 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", "vance.okeefe@spinka.us"], ["LIMIT", 1]] SQL (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", "Jeanene Abernathy"], ["last_name", "Maurice Zieme"], ["email", "vance.okeefe@spinka.us"], ["password_digest", "$2a$04$cKOBlV6bceQGPQBqHlddn...HkUpbwam4RGw7ydHfews.k0qUVCki"], ["created_at", "2018-04-01 11:25:50.524536"], ["updated_at", "2018-04-01 11:25:50.524536"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Sueann Frami"], ["LIMIT", 1]] SQL (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", "Sueann Frami"], ["name", "Madie Schiller"], ["address", "Edra Quitzon"], ["created_at", "2018-04-01 11:25:50.532900"], ["updated_at", "2018-04-01 11:25:50.532900"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Alise Klein", "name"=>"Dagny Deckow", "service_delivery_unit_id"=>"20"}} 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]]  (0.5ms) SAVEPOINT active_record_1 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", 20], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]]  (0.4ms) ROLLBACK TO 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.1ms) Completed 422 Unprocessable Entity in 11ms (Views: 4.5ms | ActiveRecord: 3.2ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "kacey@leschjacobson.us"], ["LIMIT", 1]] SQL (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", "Shane Kuvalis"], ["last_name", "Hugo Ullrich"], ["email", "kacey@leschjacobson.us"], ["password_digest", "$2a$04$monf307EIxa/SU.ML7umzunPO0rqaXbDdgBi7M12EYewDdtNKgDUG"], ["created_at", "2018-04-01 11:25:50.555320"], ["updated_at", "2018-04-01 11:25:50.555320"]]  (0.9ms) 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", "Carola Towne"], ["LIMIT", 1]] SQL (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", "Carola Towne"], ["name", "Cody Smith"], ["address", "Georgette Kirlin"], ["created_at", "2018-04-01 11:25:50.562291"], ["updated_at", "2018-04-01 11:25:50.562291"]]  (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", "Jacklyn Jakubowski"], ["LIMIT", 1]] SQL (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", "Jacklyn Jakubowski"], ["name", "Junita Lynch"], ["description", "Anastacia Bashirian"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-04-01 11:25:50.569502"], ["updated_at", "2018-04-01 11:25:50.569502"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Nicky Murazik"}, "id"=>"25"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["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", 25], ["LIMIT", 1]]  (0.5ms) 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", 21], ["LIMIT", 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", "Jacklyn Jakubowski"], ["id", 25], ["LIMIT", 1]] SQL (1.0ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Nicky Murazik"], ["updated_at", "2018-04-01 11:25:50.583538"], ["id", 25]]  (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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.3ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 6.0ms) 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", 25], ["LIMIT", 1]]  (0.7ms) 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", "daren_baumbach@rippin.com"], ["LIMIT", 1]] SQL (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", "Maxwell Bergstrom"], ["last_name", "Tifany Turner"], ["email", "daren_baumbach@rippin.com"], ["password_digest", "$2a$04$tGkTDA8lypQS8gC4Sk/5xuQdab92G09buyGY8z6xbj/3PK0R.O9Tq"], ["created_at", "2018-04-01 11:25:50.601073"], ["updated_at", "2018-04-01 11:25:50.601073"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rogelio Maggio"], ["LIMIT", 1]] SQL (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", "Rogelio Maggio"], ["name", "Abraham Howe"], ["address", "Candie O'Connell"], ["created_at", "2018-04-01 11:25:50.608116"], ["updated_at", "2018-04-01 11:25:50.608116"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Christian Fisher"], ["LIMIT", 1]] SQL (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", "Christian Fisher"], ["name", "Corinne Fadel"], ["description", "Riley Langosh"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-04-01 11:25:50.612072"], ["updated_at", "2018-04-01 11:25:50.612072"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Elisha Schamberger"], ["LIMIT", 1]] SQL (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", "Elisha Schamberger"], ["name", "Elijah McKenzie"], ["address", "Eryn Gleason"], ["created_at", "2018-04-01 11:25:50.616268"], ["updated_at", "2018-04-01 11:25:50.616268"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Shayne Fisher", "description"=>"Hang Heathcote", "name"=>"Major Doyle", "service_delivery_unit_id"=>"23"}, "id"=>"26"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 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", 26], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 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]] Mks::Rate::ServiceBundle Exists (0.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", "Shayne Fisher"], ["id", 26], ["LIMIT", 1]] SQL (1.0ms) 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", "Shayne Fisher"], ["name", "Major Doyle"], ["description", "Hang Heathcote"], ["service_delivery_unit_id", 23], ["updated_at", "2018-04-01 11:25:50.624764"], ["id", 26]]  (0.5ms) 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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 4.8ms)  (0.8ms) 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", "chae@naderpagac.biz"], ["LIMIT", 1]] SQL (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", "Thuy Kulas"], ["last_name", "Lissa Rogahn"], ["email", "chae@naderpagac.biz"], ["password_digest", "$2a$04$kDV8MdDk0EGydey2sUKDMuUnAyLFYKjw/XbC3nU5UqE3rZCOtRlrW"], ["created_at", "2018-04-01 11:25:50.638121"], ["updated_at", "2018-04-01 11:25:50.638121"]]  (0.5ms) 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", "Patty Harris"], ["LIMIT", 1]] SQL (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", "Patty Harris"], ["name", "Jamar Kohler"], ["address", "Ena Rice"], ["created_at", "2018-04-01 11:25:50.644055"], ["updated_at", "2018-04-01 11:25:50.644055"]]  (0.5ms) 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", "Lorene Vandervort"], ["LIMIT", 1]] SQL (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", "Lorene Vandervort"], ["name", "Renae Heathcote"], ["description", "Dena Braun"], ["percent_discount", 100.0], ["service_delivery_unit_id", 24], ["created_at", "2018-04-01 11:25:50.649548"], ["updated_at", "2018-04-01 11:25:50.649548"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Isabell Dietrich"], ["LIMIT", 1]] SQL (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", "Isabell Dietrich"], ["name", "Domenica Ernser"], ["address", "Amal Connelly"], ["created_at", "2018-04-01 11:25:50.654095"], ["updated_at", "2018-04-01 11:25:50.654095"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Latina Stokes", "name"=>"Oren Grady", "service_delivery_unit_id"=>"25"}, "id"=>"27"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 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", 27], ["LIMIT", 1]]  (0.6ms) 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", 25], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) 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", 27], ["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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.12ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.7ms | ActiveRecord: 4.6ms)  (1.1ms) ROLLBACK  (1.9ms) BEGIN  (1.3ms) 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", "classie.boehm@kertzmann.us"], ["LIMIT", 1]] SQL (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", "Tiffanie Thiel"], ["last_name", "Lindy Connelly"], ["email", "classie.boehm@kertzmann.us"], ["password_digest", "$2a$04$oXdLTiYSghQvz0VvxbXCve9TswEe/NgdZs28qYjn4.Mmsju92TE/2"], ["created_at", "2018-04-01 11:25:50.680764"], ["updated_at", "2018-04-01 11:25:50.680764"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Lisabeth Stiedemann"], ["LIMIT", 1]] SQL (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", "Lisabeth Stiedemann"], ["name", "Alica Halvorson"], ["address", "Elsy Beahan"], ["created_at", "2018-04-01 11:25:50.687764"], ["updated_at", "2018-04-01 11:25:50.687764"]]  (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", "Randell Schoen"], ["LIMIT", 1]] SQL (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", "Randell Schoen"], ["name", "Shira Crooks"], ["address", "Bethel Ernser"], ["created_at", "2018-04-01 11:25:50.692899"], ["updated_at", "2018-04-01 11:25:50.692899"]]  (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", "Antionette Boehm"], ["LIMIT", 1]] SQL (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", "Antionette Boehm"], ["name", "Leatrice Hudson"], ["address", "Tonette Brown"], ["created_at", "2018-04-01 11:25:50.698007"], ["updated_at", "2018-04-01 11:25:50.698007"]]  (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", 27], ["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", 27], ["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.63ms) Completed 200 OK in 19ms (Views: 15.6ms | ActiveRecord: 2.5ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) 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", "rhea_ratke@sauer.co.uk"], ["LIMIT", 1]] SQL (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", "Wilbert Boyle"], ["last_name", "Karolyn Shields"], ["email", "rhea_ratke@sauer.co.uk"], ["password_digest", "$2a$04$/xmFZDbHknPqaLYBG1mWaOT2nsOUt6hPw2ILCofWasY7bTJmL3sz2"], ["created_at", "2018-04-01 11:25:50.729854"], ["updated_at", "2018-04-01 11:25:50.729854"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Cornelius Schimmel", "code"=>"Marisol Lowe", "name"=>"Coralee Bergnaum"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 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", "Marisol Lowe"], ["LIMIT", 1]] SQL (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", "Marisol Lowe"], ["name", "Coralee Bergnaum"], ["address", "Cornelius Schimmel"], ["created_at", "2018-04-01 11:25:50.739200"], ["updated_at", "2018-04-01 11:25:50.739200"]]  (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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.55ms) Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 3.7ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.5ms) ROLLBACK  (0.4ms) 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", "alton.okon@wilkinson.com"], ["LIMIT", 1]] SQL (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", "Mariette Oberbrunner"], ["last_name", "Ivey Cartwright"], ["email", "alton.okon@wilkinson.com"], ["password_digest", "$2a$04$KvEnAuK0DNmImgnnmb6zVOOfV8UKPODkEABjzhu/u9pP23J5YeY/."], ["created_at", "2018-04-01 11:25:50.752363"], ["updated_at", "2018-04-01 11:25:50.752363"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Isis Macejkovic", "code"=>"Renae Reichert", "name"=>"Jenell Abshire"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]]  (1.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", "Renae Reichert"], ["LIMIT", 1]] SQL (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", "Renae Reichert"], ["name", "Jenell Abshire"], ["address", "Isis Macejkovic"], ["created_at", "2018-04-01 11:25:50.763797"], ["updated_at", "2018-04-01 11:25:50.763797"]]  (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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.99ms) Completed 200 OK in 11ms (Views: 2.6ms | ActiveRecord: 5.0ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jenell@parker.ca"], ["LIMIT", 1]] SQL (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", "Shad Swift"], ["last_name", "Carina Rice"], ["email", "jenell@parker.ca"], ["password_digest", "$2a$04$83dEF2bw51eyyDXsew78Te3Nc7y8yVp.xEptl019MDhvjB9RuKnEC"], ["created_at", "2018-04-01 11:25:50.783512"], ["updated_at", "2018-04-01 11:25:50.783512"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Noella Walsh", "code"=>"", "name"=>"Qiana Towne"}} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["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.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", 30], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.1ms | ActiveRecord: 4.7ms)  (0.6ms) ROLLBACK  (0.8ms) 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", "trisha@halvorson.biz"], ["LIMIT", 1]] SQL (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", "Laronda Gutmann"], ["last_name", "Mandie Reichert"], ["email", "trisha@halvorson.biz"], ["password_digest", "$2a$04$hdlv65woRphlIXAr89USD.Cdi7vXHgtMgY6zBio4xou9d7Jt56IFO"], ["created_at", "2018-04-01 11:25:50.814389"], ["updated_at", "2018-04-01 11:25:50.814389"]]  (0.9ms) 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", "Marcos Weissnat"], ["LIMIT", 1]] SQL (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", "Marcos Weissnat"], ["name", "Rufus Oga"], ["address", "Terri Boyle"], ["created_at", "2018-04-01 11:25:50.820349"], ["updated_at", "2018-04-01 11:25:50.820349"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"31"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["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", 31], ["LIMIT", 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Marcos Weissnat"], ["id", 31], ["LIMIT", 1]] SQL (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-04-01 11:25:50.830813"], ["id", 31]]  (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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.37ms) Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 5.7ms) 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", 31], ["LIMIT", 1]]  (0.5ms) 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", "latoria_bins@okuneva.co.uk"], ["LIMIT", 1]] SQL (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", "Basilia Upton"], ["last_name", "Janis Padberg"], ["email", "latoria_bins@okuneva.co.uk"], ["password_digest", "$2a$04$3KoRs5SqWe0eawa8N5DdfO/ftr4HM5Db71rgK1kSuDx1XvBIg6sxG"], ["created_at", "2018-04-01 11:25:50.844311"], ["updated_at", "2018-04-01 11:25:50.844311"]]  (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", "Breann Johns"], ["LIMIT", 1]] SQL (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", "Breann Johns"], ["name", "Yolonda Bins"], ["address", "Harley Tromp"], ["created_at", "2018-04-01 11:25:50.848985"], ["updated_at", "2018-04-01 11:25:50.848985"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "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", 32], ["LIMIT", 1]] 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", 32], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Breann Johns"], ["id", 32], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO 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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.5ms | ActiveRecord: 4.9ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "terra@herzogmuller.biz"], ["LIMIT", 1]] SQL (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", "Lenora Ratke"], ["last_name", "Karry Kerluke"], ["email", "terra@herzogmuller.biz"], ["password_digest", "$2a$04$EHEvV6M9ys32ZyzNbCAJzea9KyqMUZfpPssvfw/TadHrdifSpt4sO"], ["created_at", "2018-04-01 11:25:50.873441"], ["updated_at", "2018-04-01 11:25:50.873441"]]  (0.7ms) 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", "Nadine Padberg"], ["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", "Loise Muller"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nadine Padberg"], ["name", "Loise Muller"], ["description", "Quo esse non voluptatum repellat. Minima iusto architecto veritatis sit molestias porro temporibus rerum. Numquam quae doloribus ullam repudiandae. Nulla quis natus qui est aut pariatur cum voluptas. Voluptas officiis labore ut ut qui porro nemo."], ["created_at", "2018-04-01 11:25:50.990923"], ["updated_at", "2018-04-01 11:25:50.990923"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Marylee Wintheiser"], ["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", "Freeman Jones"], ["LIMIT", 1]] SQL (1.6ms) 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", "Marylee Wintheiser"], ["name", "Freeman Jones"], ["description", "Dolores nihil quia soluta sit aliquid dignissimos. Harum doloribus fuga accusamus sit sunt ipsa enim omnis. Cupiditate reiciendis vel commodi harum maiores reprehenderit sit. Est qui et incidunt error similique magni molestiae doloremque."], ["equipment_type_id", 1], ["created_at", "2018-04-01 11:25:50.998770"], ["updated_at", "2018-04-01 11:25:50.998770"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Abby Baumbach"], ["LIMIT", 1]] SQL (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", "Abby Baumbach"], ["name", "Coralie Waters"], ["description", "Kraig Kertzmann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-04-01 11:25:51.006592"], ["updated_at", "2018-04-01 11:25:51.006592"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Stephane Hirthe"], ["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", "Jonna Kassulke"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Stephane Hirthe"], ["name", "Jonna Kassulke"], ["description", "Devin Zieme"], ["created_at", "2018-04-01 11:25:51.048178"], ["updated_at", "2018-04-01 11:25:51.048178"]]  (0.4ms) 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", "Bruno Bruen"], ["LIMIT", 1]] SQL (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", "Bruno Bruen"], ["name", "Jacque D'Amore"], ["location_type_id", 1], ["description", "Tyron Rempel"], ["address", "Lanora Kassulke"], ["created_at", "2018-04-01 11:25:51.054612"], ["updated_at", "2018-04-01 11:25:51.054612"]]  (0.7ms) 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", "Harley Gottlieb"], ["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", "Stasia Schamberger"], ["LIMIT", 1]] SQL (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", "Harley Gottlieb"], ["name", "Hester Hartmann"], ["description", "Jasper Welch"], ["serial_number", "Stasia Schamberger"], ["brand", "Latesha Mayert"], ["item_model", "Freeman Auer"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-04-01 11:25:51.064312"], ["updated_at", "2018-04-01 11:25:51.064312"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Ty Gaylord"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Bulah Brakus"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ty Gaylord"], ["name", "Bulah Brakus"], ["created_at", "2018-04-01 11:25:51.073407"], ["updated_at", "2018-04-01 11:25:51.073407"]]  (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", "Vincent Hagenes"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vincent Hagenes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.077793"], ["updated_at", "2018-04-01 11:25:51.077793"]]  (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", "Refugio Murazik"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Refugio Murazik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.082819"], ["updated_at", "2018-04-01 11:25:51.082819"]]  (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", "Berta Kessler"], ["LIMIT", 1]] SQL (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", "Berta Kessler"], ["name", "Camie Kutch"], ["address", "Jc McLaughlin"], ["created_at", "2018-04-01 11:25:51.088071"], ["updated_at", "2018-04-01 11:25:51.088071"]]  (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", "Candida Ondricka"], ["service_delivery_unit_id", 33], ["LIMIT", 1]] SQL (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", "Candida Ondricka"], ["name", "Barbar Jones"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 33], ["created_at", "2018-04-01 11:25:51.093421"], ["updated_at", "2018-04-01 11:25:51.093421"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Candida Ondricka"], ["LIMIT", 1]] SQL (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", "Candida Ondricka"], ["name", "Barbar Jones"], ["description", "Default bundle for service 'Barbar Jones'"], ["service_delivery_unit_id", 33], ["created_at", "2018-04-01 11:25:51.099179"], ["updated_at", "2018-04-01 11:25:51.099179"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 28], ["chargeable_service_id", 12]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (3.4ms) 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", 12], ["equipment_item_id", 1], ["created_at", "2018-04-01 11:25:51.106956"], ["updated_at", "2018-04-01 11:25:51.106956"]]  (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", "Terrell Lubowitz"], ["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", "Eugene Romaguera"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Terrell Lubowitz"], ["name", "Eugene Romaguera"], ["description", "Ut ullam officia reiciendis consequuntur eum saepe aliquid distinctio. Esse quasi error et fugit illo est quia. Tenetur quam dolores distinctio facilis. Ducimus perferendis est libero quisquam ipsum rem. Natus sit praesentium eius rerum."], ["created_at", "2018-04-01 11:25:51.117420"], ["updated_at", "2018-04-01 11:25:51.117420"]]  (0.6ms) 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", "Tambra Leuschke"], ["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", "Mandy Kertzmann"], ["LIMIT", 1]] SQL (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", "Tambra Leuschke"], ["name", "Mandy Kertzmann"], ["description", "Repudiandae aut consequatur doloribus eum. Quia laborum et enim eligendi molestiae labore a iusto. Eligendi animi dignissimos iure dolorem voluptatibus officia necessitatibus. Quos facere repellat at velit eum aspernatur."], ["equipment_type_id", 2], ["created_at", "2018-04-01 11:25:51.124695"], ["updated_at", "2018-04-01 11:25:51.124695"]]  (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", "Marissa Pouros"], ["LIMIT", 1]] SQL (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", "Marissa Pouros"], ["name", "Scotty Jaskolski"], ["description", "Cathie Reinger"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-04-01 11:25:51.131700"], ["updated_at", "2018-04-01 11:25:51.131700"]]  (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", "Miriam Bednar"], ["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", "Janene Kerluke"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Miriam Bednar"], ["name", "Janene Kerluke"], ["description", "Elaina Jaskolski"], ["created_at", "2018-04-01 11:25:51.138479"], ["updated_at", "2018-04-01 11:25:51.138479"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Jimmie Mayer"], ["LIMIT", 1]] SQL (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", "Jimmie Mayer"], ["name", "Helen Roob"], ["location_type_id", 2], ["description", "Wan Cummings"], ["address", "Tammera Daugherty"], ["created_at", "2018-04-01 11:25:51.143715"], ["updated_at", "2018-04-01 11:25:51.143715"]]  (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", "James Raynor"], ["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", "Alyssa Greenholt"], ["LIMIT", 1]] SQL (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", "James Raynor"], ["name", "Leann VonRueden"], ["description", "Reyes VonRueden"], ["serial_number", "Alyssa Greenholt"], ["brand", "Corine Wilderman"], ["item_model", "Oda Dooley"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-04-01 11:25:51.148854"], ["updated_at", "2018-04-01 11:25:51.148854"]]  (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", "Michelina Senger"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Geneva Auer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Michelina Senger"], ["name", "Geneva Auer"], ["created_at", "2018-04-01 11:25:51.155400"], ["updated_at", "2018-04-01 11:25:51.155400"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jamal Dach"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jamal Dach"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.160604"], ["updated_at", "2018-04-01 11:25:51.160604"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cleta Champlin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cleta Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.165156"], ["updated_at", "2018-04-01 11:25:51.165156"]]  (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", "Kathlyn Schneider"], ["LIMIT", 1]] SQL (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", "Kathlyn Schneider"], ["name", "Mauro Dickens"], ["address", "Wilhemina Nitzsche"], ["created_at", "2018-04-01 11:25:51.169777"], ["updated_at", "2018-04-01 11:25:51.169777"]]  (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", "Sean Krajcik"], ["service_delivery_unit_id", 34], ["LIMIT", 1]] SQL (0.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", "Sean Krajcik"], ["name", "Janae Koepp"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 34], ["created_at", "2018-04-01 11:25:51.174127"], ["updated_at", "2018-04-01 11:25:51.174127"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sean Krajcik"], ["LIMIT", 1]] SQL (0.7ms) 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", "Sean Krajcik"], ["name", "Janae Koepp"], ["description", "Default bundle for service 'Janae Koepp'"], ["service_delivery_unit_id", 34], ["created_at", "2018-04-01 11:25:51.178951"], ["updated_at", "2018-04-01 11:25:51.178951"]] SQL (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 29], ["chargeable_service_id", 13]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (2.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", 13], ["equipment_item_id", 2], ["created_at", "2018-04-01 11:25:51.204805"], ["updated_at", "2018-04-01 11:25:51.204805"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Lorrine Metz"], ["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", "Lawanda Ruecker"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lorrine Metz"], ["name", "Lawanda Ruecker"], ["description", "Omnis qui officia ducimus architecto neque eos. Nostrum provident et aut similique voluptatem iste cum voluptas. Quas autem recusandae fugiat aut architecto perferendis. Porro quisquam nihil necessitatibus ut. Odio ea sit velit mollitia et quidem."], ["created_at", "2018-04-01 11:25:51.238759"], ["updated_at", "2018-04-01 11:25:51.238759"]]  (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", "Eduardo Labadie"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Carla Auer"], ["LIMIT", 1]] SQL (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", "Eduardo Labadie"], ["name", "Carla Auer"], ["description", "Itaque non ut repudiandae rerum ratione a eos. Officiis odio in quia aperiam voluptate quasi. Laboriosam animi sint voluptatem reprehenderit at impedit quos molestiae."], ["equipment_type_id", 3], ["created_at", "2018-04-01 11:25:51.245338"], ["updated_at", "2018-04-01 11:25:51.245338"]]  (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", "September Koepp"], ["LIMIT", 1]] SQL (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", "September Koepp"], ["name", "Tangela Jast"], ["description", "Deloris Weimann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-04-01 11:25:51.250720"], ["updated_at", "2018-04-01 11:25:51.250720"]]  (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", "Maritza Schmidt"], ["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", "Edwina Dibbert"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maritza Schmidt"], ["name", "Edwina Dibbert"], ["description", "Apryl Hayes"], ["created_at", "2018-04-01 11:25:51.257873"], ["updated_at", "2018-04-01 11:25:51.257873"]]  (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", "Florrie Wisoky"], ["LIMIT", 1]] SQL (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", "Florrie Wisoky"], ["name", "Fredericka Nitzsche"], ["location_type_id", 3], ["description", "Merry Kling"], ["address", "Janna Wilderman"], ["created_at", "2018-04-01 11:25:51.263941"], ["updated_at", "2018-04-01 11:25:51.263941"]]  (0.6ms) 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", "Chrystal Mosciski"], ["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", "Kenny Brekke"], ["LIMIT", 1]] SQL (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", "Chrystal Mosciski"], ["name", "Lashay Sanford"], ["description", "Harold Koch"], ["serial_number", "Kenny Brekke"], ["brand", "Charlette Stamm"], ["item_model", "Luz Mante"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-04-01 11:25:51.270291"], ["updated_at", "2018-04-01 11:25:51.270291"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ruthe Bins"], ["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", "Evette Cronin"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ruthe Bins"], ["name", "Evette Cronin"], ["created_at", "2018-04-01 11:25:51.277697"], ["updated_at", "2018-04-01 11:25:51.277697"]]  (0.4ms) 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", "Carolina Witting"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carolina Witting"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.283152"], ["updated_at", "2018-04-01 11:25:51.283152"]]  (2.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", "Lang Hahn"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lang Hahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.298215"], ["updated_at", "2018-04-01 11:25:51.298215"]]  (2.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Imogene Schneider"], ["LIMIT", 1]] SQL (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", "Imogene Schneider"], ["name", "Madelene Dach"], ["address", "Tawnya Boyle"], ["created_at", "2018-04-01 11:25:51.319031"], ["updated_at", "2018-04-01 11:25:51.319031"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Shila Oberbrunner"], ["service_delivery_unit_id", 35], ["LIMIT", 1]] SQL (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", "Shila Oberbrunner"], ["name", "Kathlene Hoeger"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 35], ["created_at", "2018-04-01 11:25:51.336375"], ["updated_at", "2018-04-01 11:25:51.336375"]] 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", 35], ["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", "Shila Oberbrunner"], ["LIMIT", 1]] SQL (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", "Shila Oberbrunner"], ["name", "Kathlene Hoeger"], ["description", "Default bundle for service 'Kathlene Hoeger'"], ["service_delivery_unit_id", 35], ["created_at", "2018-04-01 11:25:51.346316"], ["updated_at", "2018-04-01 11:25:51.346316"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 30], ["chargeable_service_id", 14]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 14], ["equipment_item_id", 3], ["created_at", "2018-04-01 11:25:51.354267"], ["updated_at", "2018-04-01 11:25:51.354267"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#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", 33], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 12], ["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", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.4ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 13], ["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", 2], ["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", 14], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (15.34ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.83ms) Completed 200 OK in 25ms (Views: 2.2ms | ActiveRecord: 7.6ms)  (1.1ms) ROLLBACK  (0.7ms) 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", "heidy@wuckert.biz"], ["LIMIT", 1]] SQL (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", "Magaret Gorczany"], ["last_name", "Cleveland Waters"], ["email", "heidy@wuckert.biz"], ["password_digest", "$2a$04$yefD32Nc4HNRFFzu3XCtnuzAx2KoXx9VjV5Xux6c1wVe/joYFaFx6"], ["created_at", "2018-04-01 11:25:51.410016"], ["updated_at", "2018-04-01 11:25:51.410016"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Ha Kuvalis"], ["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", "Randy Runte"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ha Kuvalis"], ["name", "Randy Runte"], ["description", "Quod aut reprehenderit eligendi repellendus architecto sint. Consequuntur ea doloribus ipsa dolores accusantium. Nulla impedit magnam et accusamus eius saepe. Consectetur neque veniam perspiciatis aut nobis sit. Voluptatem est cumque tempora nisi sit voluptatem quis."], ["created_at", "2018-04-01 11:25:51.431806"], ["updated_at", "2018-04-01 11:25:51.431806"]]  (0.6ms) 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", "Albertine Schulist"], ["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", "Essie Brown"], ["LIMIT", 1]] SQL (1.6ms) 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", "Albertine Schulist"], ["name", "Essie Brown"], ["description", "Vero voluptatem aliquid est iure dolorem enim. Repellendus aut esse ipsum est perspiciatis non inventore. Veniam repellendus a sed voluptates et sint deserunt. Delectus consequuntur quia veniam dolores fugiat quaerat. Ipsa veniam enim possimus aliquam est."], ["equipment_type_id", 4], ["created_at", "2018-04-01 11:25:51.440991"], ["updated_at", "2018-04-01 11:25:51.440991"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Slyvia Schmitt"], ["LIMIT", 1]] SQL (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", "Slyvia Schmitt"], ["name", "Nakisha Veum"], ["description", "Shan Shanahan"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-04-01 11:25:51.449892"], ["updated_at", "2018-04-01 11:25:51.449892"]]  (0.8ms) 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", "Keitha Nitzsche"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Codi Huels"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Keitha Nitzsche"], ["name", "Codi Huels"], ["description", "Eleonore Altenwerth"], ["created_at", "2018-04-01 11:25:51.462723"], ["updated_at", "2018-04-01 11:25:51.462723"]]  (0.4ms) 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", "Julissa Batz"], ["LIMIT", 1]] SQL (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", "Julissa Batz"], ["name", "Giovanna Kulas"], ["location_type_id", 4], ["description", "America Hahn"], ["address", "Maegan McLaughlin"], ["created_at", "2018-04-01 11:25:51.466669"], ["updated_at", "2018-04-01 11:25:51.466669"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sima Muller"], ["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", "Elyse Emard"], ["LIMIT", 1]] SQL (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", "Sima Muller"], ["name", "Peggy Lueilwitz"], ["description", "Sharilyn Corkery"], ["serial_number", "Elyse Emard"], ["brand", "Lovella Mosciski"], ["item_model", "Terry Schmitt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-04-01 11:25:51.472634"], ["updated_at", "2018-04-01 11:25:51.472634"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Charisse Klocko"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Young Smith"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Charisse Klocko"], ["name", "Young Smith"], ["created_at", "2018-04-01 11:25:51.478446"], ["updated_at", "2018-04-01 11:25:51.478446"]]  (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", "Celsa Wyman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Celsa Wyman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.482835"], ["updated_at", "2018-04-01 11:25:51.482835"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Illa Collins"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Illa Collins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.486914"], ["updated_at", "2018-04-01 11:25:51.486914"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Glenn Franecki"], ["LIMIT", 1]] SQL (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", "Glenn Franecki"], ["name", "Onie Dicki"], ["address", "Hank Schmitt"], ["created_at", "2018-04-01 11:25:51.491433"], ["updated_at", "2018-04-01 11:25:51.491433"]]  (0.6ms) 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", "Lovie Hettinger"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] SQL (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", "Lovie Hettinger"], ["name", "Lakeesha Huel"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 36], ["created_at", "2018-04-01 11:25:51.498203"], ["updated_at", "2018-04-01 11:25:51.498203"]] 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", "Lovie Hettinger"], ["LIMIT", 1]] SQL (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", "Lovie Hettinger"], ["name", "Lakeesha Huel"], ["description", "Default bundle for service 'Lakeesha Huel'"], ["service_delivery_unit_id", 36], ["created_at", "2018-04-01 11:25:51.505070"], ["updated_at", "2018-04-01 11:25:51.505070"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 31], ["chargeable_service_id", 15]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 15], ["equipment_item_id", 4], ["created_at", "2018-04-01 11:25:51.513496"], ["updated_at", "2018-04-01 11:25:51.513496"]]  (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", "Anne Schroeder"], ["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", "Doloris Champlin"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Anne Schroeder"], ["name", "Doloris Champlin"], ["description", "Quasi illum molestias sapiente dolore nobis. Qui numquam quia qui quia molestiae provident in sapiente. Dolor et pariatur qui voluptatem quia numquam inventore."], ["created_at", "2018-04-01 11:25:51.522516"], ["updated_at", "2018-04-01 11:25:51.522516"]]  (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", "Jennette Heidenreich"], ["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", "Twanda Gusikowski"], ["LIMIT", 1]] SQL (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", "Jennette Heidenreich"], ["name", "Twanda Gusikowski"], ["description", "Distinctio molestiae qui ea sint quo. Earum praesentium consequatur recusandae autem. Architecto totam qui dolor voluptatum est. Beatae blanditiis placeat vero laboriosam dolorem omnis dolor. Voluptatibus at consectetur porro aspernatur voluptas quae et."], ["equipment_type_id", 5], ["created_at", "2018-04-01 11:25:51.529103"], ["updated_at", "2018-04-01 11:25:51.529103"]]  (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", "Harold Hermann"], ["LIMIT", 1]] SQL (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", "Harold Hermann"], ["name", "Shayne Hegmann"], ["description", "Gladis Kutch"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-04-01 11:25:51.534815"], ["updated_at", "2018-04-01 11:25:51.534815"]]  (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", "Gwyneth Hudson"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Sanjuanita Ebert"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gwyneth Hudson"], ["name", "Sanjuanita Ebert"], ["description", "Andre Greenholt"], ["created_at", "2018-04-01 11:25:51.540664"], ["updated_at", "2018-04-01 11:25:51.540664"]]  (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", "Jenna Schulist"], ["LIMIT", 1]] SQL (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", "Jenna Schulist"], ["name", "Paris Baumbach"], ["location_type_id", 5], ["description", "Joane Gleason"], ["address", "Genevie Ortiz"], ["created_at", "2018-04-01 11:25:51.544708"], ["updated_at", "2018-04-01 11:25:51.544708"]]  (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", "Cory Senger"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Velva D'Amore"], ["LIMIT", 1]] SQL (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", "Cory Senger"], ["name", "Sterling Witting"], ["description", "Fe Reichert"], ["serial_number", "Velva D'Amore"], ["brand", "Walker Mitchell"], ["item_model", "Allyson Homenick"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-04-01 11:25:51.549364"], ["updated_at", "2018-04-01 11:25:51.549364"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Antonette Pagac"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Pura O'Connell"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Antonette Pagac"], ["name", "Pura O'Connell"], ["created_at", "2018-04-01 11:25:51.554765"], ["updated_at", "2018-04-01 11:25:51.554765"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Miles Jenkins"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Miles Jenkins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.559583"], ["updated_at", "2018-04-01 11:25:51.559583"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lala Lynch"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lala Lynch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.563605"], ["updated_at", "2018-04-01 11:25:51.563605"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sana Koelpin"], ["LIMIT", 1]] SQL (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", "Sana Koelpin"], ["name", "Miles Gottlieb"], ["address", "Benedict Waelchi"], ["created_at", "2018-04-01 11:25:51.567528"], ["updated_at", "2018-04-01 11:25:51.567528"]]  (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", "Clyde Bartoletti"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (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", "Clyde Bartoletti"], ["name", "Nu Quigley"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 37], ["created_at", "2018-04-01 11:25:51.571829"], ["updated_at", "2018-04-01 11:25:51.571829"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Clyde Bartoletti"], ["LIMIT", 1]] SQL (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", "Clyde Bartoletti"], ["name", "Nu Quigley"], ["description", "Default bundle for service 'Nu Quigley'"], ["service_delivery_unit_id", 37], ["created_at", "2018-04-01 11:25:51.577306"], ["updated_at", "2018-04-01 11:25:51.577306"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 32], ["chargeable_service_id", 16]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 16], ["equipment_item_id", 5], ["created_at", "2018-04-01 11:25:51.582875"], ["updated_at", "2018-04-01 11:25:51.582875"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Odis Kiehn"], ["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", "Ja Abshire"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Odis Kiehn"], ["name", "Ja Abshire"], ["description", "Cupiditate error vel unde culpa beatae quae voluptas est. Cum atque consequatur laudantium doloremque vitae commodi rerum vel. Aut at quia autem omnis non doloremque. Aut enim minima numquam voluptatem quam."], ["created_at", "2018-04-01 11:25:51.589386"], ["updated_at", "2018-04-01 11:25:51.589386"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sheba King"], ["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", "Cedric Roberts"], ["LIMIT", 1]] SQL (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", "Sheba King"], ["name", "Cedric Roberts"], ["description", "Aut sit explicabo esse voluptas neque. Unde ratione fuga aut est facere. Distinctio occaecati dolor nihil voluptatem voluptas. Non nihil vero sapiente nobis recusandae voluptates amet. Est ut sed incidunt labore."], ["equipment_type_id", 6], ["created_at", "2018-04-01 11:25:51.594401"], ["updated_at", "2018-04-01 11:25:51.594401"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Shaquita Klocko"], ["LIMIT", 1]] SQL (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", "Shaquita Klocko"], ["name", "Caitlyn Conroy"], ["description", "Synthia Schumm"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-04-01 11:25:51.600514"], ["updated_at", "2018-04-01 11:25:51.600514"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Efren Hilll"], ["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", "Celine Greenholt"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Efren Hilll"], ["name", "Celine Greenholt"], ["description", "Mel Leffler"], ["created_at", "2018-04-01 11:25:51.609669"], ["updated_at", "2018-04-01 11:25:51.609669"]]  (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", "Delois Bernier"], ["LIMIT", 1]] SQL (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", "Delois Bernier"], ["name", "Elwood Hand"], ["location_type_id", 6], ["description", "Alycia Yundt"], ["address", "Xenia Murphy"], ["created_at", "2018-04-01 11:25:51.615140"], ["updated_at", "2018-04-01 11:25:51.615140"]]  (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", "Sarita Jewess"], ["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", "Araceli Rosenbaum"], ["LIMIT", 1]] SQL (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", "Sarita Jewess"], ["name", "Anisha Rutherford"], ["description", "Kelle Stamm"], ["serial_number", "Araceli Rosenbaum"], ["brand", "Tambra Sipes"], ["item_model", "Laci Kling"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-04-01 11:25:51.621960"], ["updated_at", "2018-04-01 11:25:51.621960"]]  (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", "Pennie Gleason"], ["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", "Willodean Langosh"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Pennie Gleason"], ["name", "Willodean Langosh"], ["created_at", "2018-04-01 11:25:51.630098"], ["updated_at", "2018-04-01 11:25:51.630098"]]  (0.8ms) 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", "Sima Reilly"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sima Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.636582"], ["updated_at", "2018-04-01 11:25:51.636582"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Gail Runolfsson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gail Runolfsson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.641124"], ["updated_at", "2018-04-01 11:25:51.641124"]]  (0.4ms) 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", "Lizzie Braun"], ["LIMIT", 1]] SQL (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", "Lizzie Braun"], ["name", "Jaime Mraz"], ["address", "Elenore Kling"], ["created_at", "2018-04-01 11:25:51.645741"], ["updated_at", "2018-04-01 11:25:51.645741"]]  (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", "Delfina Stark"], ["service_delivery_unit_id", 38], ["LIMIT", 1]] SQL (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", "Delfina Stark"], ["name", "Bradford Paucek"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 38], ["created_at", "2018-04-01 11:25:51.649916"], ["updated_at", "2018-04-01 11:25:51.649916"]] 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", 38], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Delfina Stark"], ["LIMIT", 1]] SQL (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", "Delfina Stark"], ["name", "Bradford Paucek"], ["description", "Default bundle for service 'Bradford Paucek'"], ["service_delivery_unit_id", 38], ["created_at", "2018-04-01 11:25:51.654419"], ["updated_at", "2018-04-01 11:25:51.654419"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 33], ["chargeable_service_id", 17]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 17], ["equipment_item_id", 6], ["created_at", "2018-04-01 11:25:51.659961"], ["updated_at", "2018-04-01 11:25:51.659961"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["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", 34], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 15], ["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", 4], ["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", 36], ["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", 16], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.4ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 5], ["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", 37], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.5ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 6], ["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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (12.81ms) Completed 200 OK in 18ms (Views: 8.2ms | ActiveRecord: 7.7ms)  (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", "cherly@roberts.biz"], ["LIMIT", 1]] SQL (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", "Novella Hand"], ["last_name", "Kattie Gusikowski"], ["email", "cherly@roberts.biz"], ["password_digest", "$2a$04$x/eNb/T6N1nlJotDYwS4U.SXrTC11LoRg36E8pb2/uP30nfnOMxr6"], ["created_at", "2018-04-01 11:25:51.688289"], ["updated_at", "2018-04-01 11:25:51.688289"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Joie Swaniawski"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Adriane Lowe"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joie Swaniawski"], ["name", "Adriane Lowe"], ["created_at", "2018-04-01 11:25:51.693674"], ["updated_at", "2018-04-01 11:25:51.693674"]]  (0.4ms) 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", 35], ["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", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) 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.41ms) Completed 200 OK in 13ms (Views: 9.4ms | ActiveRecord: 2.2ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "tracey_runte@leffler.us"], ["LIMIT", 1]] SQL (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", "Shelly Terry"], ["last_name", "Federico Vandervort"], ["email", "tracey_runte@leffler.us"], ["password_digest", "$2a$04$/OL.dmjn6OxZ54ZVVlNJIO6Kcru8.Gr7vYOeItqfqMVfq2fuvopiC"], ["created_at", "2018-04-01 11:25:51.719490"], ["updated_at", "2018-04-01 11:25:51.719490"]]  (1.2ms) 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", "Murray Weissnat"], ["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", "Brady Hagenes"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Murray Weissnat"], ["name", "Brady Hagenes"], ["created_at", "2018-04-01 11:25:51.728262"], ["updated_at", "2018-04-01 11:25:51.728262"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} 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::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", 20], ["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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.52ms) Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 2.2ms)  (0.7ms) 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", "fernanda_franecki@dickens.ca"], ["LIMIT", 1]] SQL (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", "Georgeanna Casper"], ["last_name", "Indira Mayer"], ["email", "fernanda_franecki@dickens.ca"], ["password_digest", "$2a$04$uLS0znxzN3mmw3Lhn0yhveNjFFHYUD4tsS17XwTM4E11oGq0nRIbe"], ["created_at", "2018-04-01 11:25:51.747871"], ["updated_at", "2018-04-01 11:25:51.747871"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Bell Kshlerin", "name"=>"Emile Schuppe"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 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", "Bell 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", "Emile Schuppe"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bell Kshlerin"], ["name", "Emile Schuppe"], ["created_at", "2018-04-01 11:25:51.758164"], ["updated_at", "2018-04-01 11:25:51.758164"]]  (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", 37], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.24ms) Completed 201 Created in 11ms (Views: 2.0ms | ActiveRecord: 5.3ms)  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "shelley@blickpaucek.com"], ["LIMIT", 1]] SQL (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", "Anjanette O'Reilly"], ["last_name", "Chasity Padberg"], ["email", "shelley@blickpaucek.com"], ["password_digest", "$2a$04$ibVbIsuqPIli2phM5azFge/vhobJ/MJlfvWCmt9ERY8/wH13wuqqe"], ["created_at", "2018-04-01 11:25:51.770915"], ["updated_at", "2018-04-01 11:25:51.770915"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Sammie Kunze", "name"=>"Alexander Kuhlman"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 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", "Sammie Kunze"], ["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", "Alexander Kuhlman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sammie Kunze"], ["name", "Alexander Kuhlman"], ["created_at", "2018-04-01 11:25:51.780313"], ["updated_at", "2018-04-01 11:25:51.780313"]]  (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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.24ms) Completed 201 Created in 11ms (Views: 1.6ms | ActiveRecord: 5.2ms) Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) 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", "delora@erdman.co.uk"], ["LIMIT", 1]] SQL (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", "Ngoc Price"], ["last_name", "America Auer"], ["email", "delora@erdman.co.uk"], ["password_digest", "$2a$04$etG7P/lzqfQdwcoqaE3Z8e8SuUkRMNlUY5H5LTvjmbqmOhk.RJ8vC"], ["created_at", "2018-04-01 11:25:51.795178"], ["updated_at", "2018-04-01 11:25:51.795178"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Darrick Schmitt"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["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 LIMIT $2 [["code", ""], ["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", "Darrick Schmitt"], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.5ms | ActiveRecord: 4.1ms)  (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", "lakia.wolf@bodestehr.co.uk"], ["LIMIT", 1]] SQL (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", "Maida Hane"], ["last_name", "Charley Prohaska"], ["email", "lakia.wolf@bodestehr.co.uk"], ["password_digest", "$2a$04$hoVogb1mhPYMoOVhcyJa.ui3P.o50YMYj30.tzKwC/X./eoncudkG"], ["created_at", "2018-04-01 11:25:51.817981"], ["updated_at", "2018-04-01 11:25:51.817981"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Divina Lesch"], ["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", "Emerita Grant"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Divina Lesch"], ["name", "Emerita Grant"], ["created_at", "2018-04-01 11:25:51.826742"], ["updated_at", "2018-04-01 11:25:51.826742"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Lavern Powlowski"}, "id"=>"23"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["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", 23], ["LIMIT", 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Divina Lesch"], ["id", 23], ["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", "Lavern Powlowski"], ["id", 23], ["LIMIT", 1]] SQL (2.0ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Lavern Powlowski"], ["updated_at", "2018-04-01 11:25:51.839563"], ["id", 23]]  (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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.48ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 7.4ms) 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", 23], ["LIMIT", 1]]  (0.6ms) 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", "rosamond.stanton@blickvon.info"], ["LIMIT", 1]] SQL (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", "Loretta White"], ["last_name", "Elinore Cummings"], ["email", "rosamond.stanton@blickvon.info"], ["password_digest", "$2a$04$ufMUbAUi2W18SlGvXLx7FupB9kNptYSbdiNJyh/ZQ1tXGBNas0FQ6"], ["created_at", "2018-04-01 11:25:51.856418"], ["updated_at", "2018-04-01 11:25:51.856418"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Brandie Corkery"], ["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", "Roma Stark"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Brandie Corkery"], ["name", "Roma Stark"], ["created_at", "2018-04-01 11:25:51.863200"], ["updated_at", "2018-04-01 11:25:51.863200"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Euna Hills", "name"=>"Laurie McClure"}, "id"=>"24"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Euna Hills"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Laurie McClure"], ["id", 24], ["LIMIT", 1]] SQL (0.9ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Euna Hills"], ["name", "Laurie McClure"], ["updated_at", "2018-04-01 11:25:51.871562"], ["id", 24]]  (0.8ms) 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 5.1ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "herbert_fadel@robelwisoky.biz"], ["LIMIT", 1]] SQL (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", "Zoila Blick"], ["last_name", "Dorothy Mosciski"], ["email", "herbert_fadel@robelwisoky.biz"], ["password_digest", "$2a$04$3EgHxrSKVI0LWsIm22Kwj.7SAhCS0s4iwNmUIbXd8kl5xYx/GpPna"], ["created_at", "2018-04-01 11:25:51.883734"], ["updated_at", "2018-04-01 11:25:51.883734"]]  (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", "Nenita White"], ["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", "Irma Terry"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nenita White"], ["name", "Irma Terry"], ["created_at", "2018-04-01 11:25:51.891290"], ["updated_at", "2018-04-01 11:25:51.891290"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Londa Schneider"}, "id"=>"25"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", ""], ["id", 25], ["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", "Londa Schneider"], ["id", 25], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.1ms | ActiveRecord: 4.4ms)  (0.8ms) 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", "kellee@homenick.us"], ["LIMIT", 1]] SQL (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", "Dovie Hand"], ["last_name", "Madalyn Kessler"], ["email", "kellee@homenick.us"], ["password_digest", "$2a$04$eC.zqDTFzqLJKKPHr5rxruZb486v/ozdqiZ1Mmf2rdFJYpBNYK35W"], ["created_at", "2018-04-01 11:25:51.914523"], ["updated_at", "2018-04-01 11:25:51.914523"]]  (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", "Temple Blick"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Temple Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.921274"], ["updated_at", "2018-04-01 11:25:51.921274"]]  (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", "Genny Will"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Genny Will"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.927600"], ["updated_at", "2018-04-01 11:25:51.927600"]]  (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", "Aurora Jakubowski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Aurora Jakubowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.933378"], ["updated_at", "2018-04-01 11:25:51.933378"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#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", 43], ["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", 43], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.0ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (3.32ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 3.0ms)  (0.9ms) 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", "Usha Lubowitz"], ["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", "Charissa Frami"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Usha Lubowitz"], ["name", "Charissa Frami"], ["created_at", "2018-04-01 11:25:51.954873"], ["updated_at", "2018-04-01 11:25:51.954873"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jed Quitzon"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jed Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.960893"], ["updated_at", "2018-04-01 11:25:51.960893"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Israel VonRueden"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Israel VonRueden"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:51.966232"], ["updated_at", "2018-04-01 11:25:51.966232"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kurt VonRueden"], ["LIMIT", 1]] SQL (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", "Kurt VonRueden"], ["name", "Tambra Barton"], ["address", "Susie McGlynn"], ["created_at", "2018-04-01 11:25:51.970417"], ["updated_at", "2018-04-01 11:25:51.970417"]]  (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", "Clarence Keeling"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Clarence Keeling"], ["name", "Loree Pfeffer"], ["service_type_id", 26], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 39], ["created_at", "2018-04-01 11:25:51.975769"], ["updated_at", "2018-04-01 11:25:51.975769"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Clarence Keeling"], ["LIMIT", 1]] SQL (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", "Clarence Keeling"], ["name", "Loree Pfeffer"], ["description", "Default bundle for service 'Loree Pfeffer'"], ["service_delivery_unit_id", 39], ["created_at", "2018-04-01 11:25:51.980524"], ["updated_at", "2018-04-01 11:25:51.980524"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 34], ["chargeable_service_id", 18]]  (0.9ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Clarence Keeling"], ["id", 18], ["service_delivery_unit_id", 39], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) BEGIN  (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", "Miyoko Koepp"], ["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", "Tonette Volkman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Miyoko Koepp"], ["name", "Tonette Volkman"], ["created_at", "2018-04-01 11:25:51.997135"], ["updated_at", "2018-04-01 11:25:51.997135"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Angel Maggio"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Angel Maggio"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.001383"], ["updated_at", "2018-04-01 11:25:52.001383"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lyn Ankunding"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lyn Ankunding"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.005137"], ["updated_at", "2018-04-01 11:25:52.005137"]]  (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", "Heike Collier"], ["LIMIT", 1]] SQL (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", "Heike Collier"], ["name", "Shanel Gaylord"], ["address", "Scottie Kunde"], ["created_at", "2018-04-01 11:25:52.010542"], ["updated_at", "2018-04-01 11:25:52.010542"]]  (0.6ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 40], ["LIMIT", 1]]  (0.6ms) 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", "Marcelo Fadel"], ["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", "Maricruz Mraz"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marcelo Fadel"], ["name", "Maricruz Mraz"], ["created_at", "2018-04-01 11:25:52.024583"], ["updated_at", "2018-04-01 11:25:52.024583"]]  (0.8ms) 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", "Charmaine Kuvalis"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charmaine Kuvalis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.032490"], ["updated_at", "2018-04-01 11:25:52.032490"]]  (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", "Sam Glover"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sam Glover"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.038369"], ["updated_at", "2018-04-01 11:25:52.038369"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Regina Sanford"], ["LIMIT", 1]] SQL (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", "Regina Sanford"], ["name", "Merle Rempel"], ["address", "Muriel Gulgowski"], ["created_at", "2018-04-01 11:25:52.046763"], ["updated_at", "2018-04-01 11:25:52.046763"]]  (0.6ms) 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", "Penney Raynor"], ["service_delivery_unit_id", 41], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (1.2ms) 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", "Pandora Little"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Augustina Mayer"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Pandora Little"], ["name", "Augustina Mayer"], ["created_at", "2018-04-01 11:25:52.061452"], ["updated_at", "2018-04-01 11:25:52.061452"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Aleida Bogisich"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Aleida Bogisich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.065431"], ["updated_at", "2018-04-01 11:25:52.065431"]]  (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", "Sidney Schoen"], ["LIMIT", 1]] SQL (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", "Sidney Schoen"], ["name", "Patrice Rodriguez"], ["address", "Leah Kilback"], ["created_at", "2018-04-01 11:25:52.069437"], ["updated_at", "2018-04-01 11:25:52.069437"]]  (0.4ms) RELEASE 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", "Graham Ziemann"], ["service_delivery_unit_id", 42], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Virginia Ernser"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Many Sipes"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Virginia Ernser"], ["name", "Many Sipes"], ["created_at", "2018-04-01 11:25:52.079068"], ["updated_at", "2018-04-01 11:25:52.079068"]]  (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", "Asuncion Jast"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Asuncion Jast"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.083289"], ["updated_at", "2018-04-01 11:25:52.083289"]]  (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", "Erick Steuber"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Erick Steuber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.087708"], ["updated_at", "2018-04-01 11:25:52.087708"]]  (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" IS NULL LIMIT $2 [["code", "Porsche Konopelski"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leonardo Bailey"], ["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", "Leonarda Corwin"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leonardo Bailey"], ["name", "Leonarda Corwin"], ["created_at", "2018-04-01 11:25:52.099705"], ["updated_at", "2018-04-01 11:25:52.099705"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Magdalena Haag"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Magdalena Haag"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.103554"], ["updated_at", "2018-04-01 11:25:52.103554"]]  (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", "Halley Jewess"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Halley Jewess"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.108882"], ["updated_at", "2018-04-01 11:25:52.108882"]]  (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", "Sunday Casper"], ["LIMIT", 1]] SQL (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", "Sunday Casper"], ["name", "Tambra Stroman"], ["address", "Concepcion Littel"], ["created_at", "2018-04-01 11:25:52.115459"], ["updated_at", "2018-04-01 11:25:52.115459"]]  (0.6ms) 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", "Shon Goyette"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Shon Goyette"], ["name", "Thersa Smitham"], ["service_type_id", 31], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 43], ["created_at", "2018-04-01 11:25:52.121719"], ["updated_at", "2018-04-01 11:25:52.121719"]] 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", 43], ["LIMIT", 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", "Shon Goyette"], ["LIMIT", 1]] SQL (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", "Shon Goyette"], ["name", "Thersa Smitham"], ["description", "Default bundle for service 'Thersa Smitham'"], ["service_delivery_unit_id", 43], ["created_at", "2018-04-01 11:25:52.130230"], ["updated_at", "2018-04-01 11:25:52.130230"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 35], ["chargeable_service_id", 19]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Freddy Gusikowski"], ["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", "Debi Botsford"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Freddy Gusikowski"], ["name", "Debi Botsford"], ["created_at", "2018-04-01 11:25:52.146206"], ["updated_at", "2018-04-01 11:25:52.146206"]]  (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", "Moon Tromp"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Moon Tromp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.152701"], ["updated_at", "2018-04-01 11:25:52.152701"]]  (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", "Kimberlee Satterfield"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kimberlee Satterfield"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.158658"], ["updated_at", "2018-04-01 11:25:52.158658"]]  (0.6ms) 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", "Shon Goyette"], ["service_delivery_unit_id", 43], ["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", 43], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Claire Upton"], ["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", "Beverlee Mayert"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Claire Upton"], ["name", "Beverlee Mayert"], ["created_at", "2018-04-01 11:25:52.170685"], ["updated_at", "2018-04-01 11:25:52.170685"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Drew Connelly"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Drew Connelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.175075"], ["updated_at", "2018-04-01 11:25:52.175075"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Earleen Williamson"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Earleen Williamson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.178939"], ["updated_at", "2018-04-01 11:25:52.178939"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kasi Fisher"], ["LIMIT", 1]] SQL (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", "Kasi Fisher"], ["name", "Leona Leannon"], ["address", "Gerry Carroll"], ["created_at", "2018-04-01 11:25:52.182699"], ["updated_at", "2018-04-01 11:25:52.182699"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Theola Beer"], ["service_delivery_unit_id", 44], ["LIMIT", 1]] SQL (0.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", "Theola Beer"], ["name", "Patria Waelchi"], ["service_type_id", 33], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 44], ["created_at", "2018-04-01 11:25:52.186664"], ["updated_at", "2018-04-01 11:25:52.186664"]] 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", 44], ["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", "Theola Beer"], ["LIMIT", 1]] SQL (0.7ms) 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", "Theola Beer"], ["name", "Patria Waelchi"], ["description", "Default bundle for service 'Patria Waelchi'"], ["service_delivery_unit_id", 44], ["created_at", "2018-04-01 11:25:52.192186"], ["updated_at", "2018-04-01 11:25:52.192186"]] SQL (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 36], ["chargeable_service_id", 20]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 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", 36]]  (1.3ms) ROLLBACK  (0.4ms) 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", "nola.kerluke@mccullough.com"], ["LIMIT", 1]] SQL (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", "Stasia Schulist"], ["last_name", "Shonta Bosco"], ["email", "nola.kerluke@mccullough.com"], ["password_digest", "$2a$04$sX5vkXCPa7ci.8yLoVDyaeThBFUsRJDMc1VDsqBxIcl5KOpkTkgry"], ["created_at", "2018-04-01 11:25:52.239499"], ["updated_at", "2018-04-01 11:25:52.239499"]]  (6.8ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "sol@okon.name"], ["LIMIT", 1]] SQL (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", "Thurman Stehr"], ["last_name", "Delinda Treutel"], ["email", "sol@okon.name"], ["password_digest", "$2a$04$8Lx/9pKpXuKGcPoOe4IAMeeffNd84BgjzJPdXnr9e9f2Jjgh7hpl2"], ["created_at", "2018-04-01 11:25:52.260430"], ["updated_at", "2018-04-01 11:25:52.260430"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Lenita Koss"], ["LIMIT", 1]] SQL (1.4ms) 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", "Lenita Koss"], ["authorized_by", "Arlene Kulas"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 44], ["approved_by_id", 45], ["created_at", "2018-04-01 11:25:52.266116"], ["updated_at", "2018-04-01 11:25:52.266116"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) 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", "Lenita Koss"], ["id", 1], ["LIMIT", 1]]  (0.4ms) 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", "lora@carrollmante.ca"], ["LIMIT", 1]] SQL (0.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", "Leda Collins"], ["last_name", "Rosalie Kohler"], ["email", "lora@carrollmante.ca"], ["password_digest", "$2a$04$C0BAmdRcJAxrJn/iyEk4t.W4Er3hzPqUbqGTGM65q9DNpKdfNIMye"], ["created_at", "2018-04-01 11:25:52.277004"], ["updated_at", "2018-04-01 11:25:52.277004"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "apolonia@marksbernier.co.uk"], ["LIMIT", 1]] SQL (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", "Pierre Conn"], ["last_name", "Yoshie Simonis"], ["email", "apolonia@marksbernier.co.uk"], ["password_digest", "$2a$04$MTuEuXFtW/LrgnYKWWp2yOP0m2hnJn77Dn3HG0wZK0kkBdwkQnSzW"], ["created_at", "2018-04-01 11:25:52.282712"], ["updated_at", "2018-04-01 11:25:52.282712"]]  (0.4ms) 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", "Karma Cronin"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "aliza@schulistoreilly.co.uk"], ["LIMIT", 1]] SQL (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", "Laticia Ratke"], ["last_name", "Dominque Jerde"], ["email", "aliza@schulistoreilly.co.uk"], ["password_digest", "$2a$04$gr2SGoUmmKyg17b0O/zkfehzIN6l91.j2wEBHSh5ny03Ucb.0JWUG"], ["created_at", "2018-04-01 11:25:52.294035"], ["updated_at", "2018-04-01 11:25:52.294035"]]  (0.6ms) 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", "laure@legros.us"], ["LIMIT", 1]] SQL (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", "Paulette Willms"], ["last_name", "Quinton Wyman"], ["email", "laure@legros.us"], ["password_digest", "$2a$04$aFKu0RFZMTchBGgH0DJQXe6MPNfWzuV2N2KhmfxHyD06UZOM3ulvi"], ["created_at", "2018-04-01 11:25:52.300403"], ["updated_at", "2018-04-01 11:25:52.300403"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.6ms) 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.4ms) ROLLBACK  (1.0ms) BEGIN  (1.0ms) 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", "shaina.oreilly@price.name"], ["LIMIT", 1]] SQL (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", "Marin Brown"], ["last_name", "Alexandria Schamberger"], ["email", "shaina.oreilly@price.name"], ["password_digest", "$2a$04$NGiwkKRUvyS4Mz0zARfrYedmUSARDHh4yzS.RriuxfXWFdn2xYvB."], ["created_at", "2018-04-01 11:25:52.312848"], ["updated_at", "2018-04-01 11:25:52.312848"]]  (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", "jaime_wolff@roob.com"], ["LIMIT", 1]] SQL (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", "Ethelyn Oga"], ["last_name", "Martina Brakus"], ["email", "jaime_wolff@roob.com"], ["password_digest", "$2a$04$sTnPlbafdogTXJAgJAxk2OtqwdzKfZjOxF8FsVEeAk96BbeV/I6cS"], ["created_at", "2018-04-01 11:25:52.318698"], ["updated_at", "2018-04-01 11:25:52.318698"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Bryan Mertz"], ["LIMIT", 1]] SQL (1.6ms) 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", "Bryan Mertz"], ["authorized_by", "Jacques Kilback"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 50], ["approved_by_id", 51], ["created_at", "2018-04-01 11:25:52.326065"], ["updated_at", "2018-04-01 11:25:52.326065"]]  (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", "kellye@gottliebnolan.co.uk"], ["LIMIT", 1]] SQL (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", "Dottie Casper"], ["last_name", "Ewa Weissnat"], ["email", "kellye@gottliebnolan.co.uk"], ["password_digest", "$2a$04$p0KDn5Wizp4zK7b7GaoQGu.CHVYTLt56.LtzpTdWn/veXp3DAzxc2"], ["created_at", "2018-04-01 11:25:52.336244"], ["updated_at", "2018-04-01 11:25:52.336244"]]  (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", "argentina.krajcik@koss.com"], ["LIMIT", 1]] SQL (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", "Spring Terry"], ["last_name", "Shaunte Miller"], ["email", "argentina.krajcik@koss.com"], ["password_digest", "$2a$04$R/UfJGdL2Y2oTi5lnlceBeWqgWhhGUP2IY8w9YEfXIzL5N2FFj9Fi"], ["created_at", "2018-04-01 11:25:52.344330"], ["updated_at", "2018-04-01 11:25:52.344330"]]  (0.5ms) 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", "Bryan Mertz"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) 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", "natasha.kessler@quitzon.com"], ["LIMIT", 1]] SQL (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", "Claribel Klocko"], ["last_name", "Terese Gusikowski"], ["email", "natasha.kessler@quitzon.com"], ["password_digest", "$2a$04$c6jlRX9ajRSEx1bVRhRwNOylHoxFw.NZn2mwMj6OFGgiEDkeA5ycG"], ["created_at", "2018-04-01 11:25:52.360511"], ["updated_at", "2018-04-01 11:25:52.360511"]]  (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", "felice_welch@schamberger.biz"], ["LIMIT", 1]] SQL (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", "Renata Weimann"], ["last_name", "Leeann Brown"], ["email", "felice_welch@schamberger.biz"], ["password_digest", "$2a$04$7xAY5ahzrdKPZqyetpQ/qeJDb3/.agF0IF62PWqGAvQ0DgM4qWiVm"], ["created_at", "2018-04-01 11:25:52.369014"], ["updated_at", "2018-04-01 11:25:52.369014"]]  (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", "Gricelda Hudson"], ["LIMIT", 1]]  (0.5ms) 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", "lacy@prosacco.name"], ["LIMIT", 1]] SQL (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 Wilkinson"], ["last_name", "Fredricka Mante"], ["email", "lacy@prosacco.name"], ["password_digest", "$2a$04$UYpD7mhtQF1DFWb60OrOOekaisD1WBZfJvKpK.axlIuC4KrWNMATq"], ["created_at", "2018-04-01 11:25:52.380561"], ["updated_at", "2018-04-01 11:25:52.380561"]]  (0.4ms) 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", "mirian@mayer.ca"], ["LIMIT", 1]] SQL (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", "Kizzy Bauch"], ["last_name", "Maddie Shanahan"], ["email", "mirian@mayer.ca"], ["password_digest", "$2a$04$c0alTineIdPdG4Y3G0uGMuRkBdsK/4k7up/Qe.jjH.tZ1gLESJKou"], ["created_at", "2018-04-01 11:25:52.386890"], ["updated_at", "2018-04-01 11:25:52.386890"]]  (0.8ms) 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" = $1 LIMIT $2 [["reference_number", "Leatha Pfeffer"], ["LIMIT", 1]]  (0.5ms) 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", "jaime@ebert.biz"], ["LIMIT", 1]] SQL (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", "Ranee Schaefer"], ["last_name", "Tamekia Vandervort"], ["email", "jaime@ebert.biz"], ["password_digest", "$2a$04$ukUWdvWGvZcLy6rEipMJSeuVDcJ2VwbvH6s/2ThisjzxpwyPWjG9K"], ["created_at", "2018-04-01 11:25:52.399524"], ["updated_at", "2018-04-01 11:25:52.399524"]]  (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", "emilee_hoeger@yundtkessler.us"], ["LIMIT", 1]] SQL (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", "Jacqualine Blick"], ["last_name", "Jame Legros"], ["email", "emilee_hoeger@yundtkessler.us"], ["password_digest", "$2a$04$RMxEYt7ws9IFKpQ34D7ZXOKNFcuHB0K.wd2xFOPEf1EMcdSvofcc6"], ["created_at", "2018-04-01 11:25:52.405406"], ["updated_at", "2018-04-01 11:25:52.405406"]]  (0.8ms) 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" = $1 LIMIT $2 [["reference_number", "Ginette Kuhic"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "coral@boyle.ca"], ["LIMIT", 1]] SQL (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", "Fran Johnston"], ["last_name", "Aleshia Koch"], ["email", "coral@boyle.ca"], ["password_digest", "$2a$04$P9GEFcrVrwEYF48aDTisx.c631k/XwMTzkldakrW0e8ZQkm3SYO/."], ["created_at", "2018-04-01 11:25:52.418348"], ["updated_at", "2018-04-01 11:25:52.418348"]]  (0.5ms) 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", "shila_botsford@morissetterippin.com"], ["LIMIT", 1]] SQL (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", "Albertina Spinka"], ["last_name", "Judi Fritsch"], ["email", "shila_botsford@morissetterippin.com"], ["password_digest", "$2a$04$Tm.7pVkD43eeEtSp0yYNy.bj7TD1QgC51HgbUEvtMRhH8a299o3uS"], ["created_at", "2018-04-01 11:25:52.425376"], ["updated_at", "2018-04-01 11:25:52.425376"]]  (0.8ms) RELEASE 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", "Edwina Will"], ["LIMIT", 1]]  (1.4ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) 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", "dana.kutch@crooks.com"], ["LIMIT", 1]] SQL (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", "Sherie Green"], ["last_name", "Kurtis Jerde"], ["email", "dana.kutch@crooks.com"], ["password_digest", "$2a$04$Wy4KaVl3FlOPrNsJY8sQZuBTV63XqabuakbbRlKcjvymAC0ZvXLw6"], ["created_at", "2018-04-01 11:25:52.444643"], ["updated_at", "2018-04-01 11:25:52.444643"]]  (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", "Essie Ziemann"], ["LIMIT", 1]] SQL (1.1ms) 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", "Essie Ziemann"], ["authorized_by", "Jannet Daugherty"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 62], ["created_at", "2018-04-01 11:25:52.451076"], ["updated_at", "2018-04-01 11:25:52.451076"]]  (0.6ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Essie Ziemann"], ["id", 3], ["LIMIT", 1]]  (0.8ms) 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", "Myra Orn"], ["LIMIT", 1]] SQL (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", "Myra Orn"], ["name", "Aja Nitzsche"], ["address", "Benita Ward"], ["created_at", "2018-04-01 11:25:52.464545"], ["updated_at", "2018-04-01 11:25:52.464545"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Margarito Heller"], ["LIMIT", 1]] SQL (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", "Margarito Heller"], ["name", "Hiedi Brown"], ["description", "Jermaine Dietrich"], ["percent_discount", 100.0], ["service_delivery_unit_id", 45], ["created_at", "2018-04-01 11:25:52.472287"], ["updated_at", "2018-04-01 11:25:52.472287"]]  (0.6ms) 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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Margarito Heller"], ["id", 37], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Makeda Vandervort"], ["LIMIT", 1]] SQL (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", "Makeda Vandervort"], ["name", "Annemarie McKenzie"], ["address", "Elsy Walsh"], ["created_at", "2018-04-01 11:25:52.482449"], ["updated_at", "2018-04-01 11:25:52.482449"]]  (0.4ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Willia Stehr"], ["LIMIT", 1]] SQL (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", "Willia Stehr"], ["name", "Evan Homenick"], ["address", "Margareta Reilly"], ["created_at", "2018-04-01 11:25:52.492407"], ["updated_at", "2018-04-01 11:25:52.492407"]]  (0.5ms) 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", "Anitra Treutel"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Holly Zulauf"], ["LIMIT", 1]] SQL (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", "Holly Zulauf"], ["name", "Mercedes Jacobson"], ["address", "Cameron Kuhic"], ["created_at", "2018-04-01 11:25:52.501864"], ["updated_at", "2018-04-01 11:25:52.501864"]]  (0.4ms) 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", "Vernon Turner"], ["LIMIT", 1]] SQL (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", "Vernon Turner"], ["name", "Eustolia Beahan"], ["description", "Annis Beatty"], ["percent_discount", 100.0], ["service_delivery_unit_id", 48], ["created_at", "2018-04-01 11:25:52.507130"], ["updated_at", "2018-04-01 11:25:52.507130"]]  (0.4ms) 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", "Paul Hahn"], ["LIMIT", 1]] SQL (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", "Paul Hahn"], ["name", "Mitchell Keeling"], ["address", "Marcos O'Kon"], ["created_at", "2018-04-01 11:25:52.511713"], ["updated_at", "2018-04-01 11:25:52.511713"]]  (0.6ms) 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", "Vernon Turner"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Branda Lubowitz"], ["LIMIT", 1]] SQL (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", "Branda Lubowitz"], ["name", "Melita Bergstrom"], ["address", "Shani Smitham"], ["created_at", "2018-04-01 11:25:52.521686"], ["updated_at", "2018-04-01 11:25:52.521686"]]  (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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Branda Lubowitz"], ["id", 50], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.7ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN 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", "Krysta Wiegand"], ["LIMIT", 1]]  (0.9ms) 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", "Seema Rice"], ["LIMIT", 1]] SQL (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", "Seema Rice"], ["name", "Clarisa Rogahn"], ["address", "Rigoberto Windler"], ["created_at", "2018-04-01 11:25:52.545384"], ["updated_at", "2018-04-01 11:25:52.545384"]]  (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", "Seema Rice"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.9ms) BEGIN  (0.9ms) 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", "Allie Kessler"], ["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", "Wava Morar"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Allie Kessler"], ["name", "Wava Morar"], ["description", "Est in suscipit et sit ullam ipsum amet. Et dolores aspernatur et quaerat facere quibusdam. Commodi in qui eos quia alias placeat. Et accusantium non facere assumenda fugiat. Molestias consectetur vitae id exercitationem facere occaecati voluptate."], ["created_at", "2018-04-01 11:25:52.561858"], ["updated_at", "2018-04-01 11:25:52.561858"]]  (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", "Tashia Moore"], ["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", "Paul Gottlieb"], ["LIMIT", 1]] SQL (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", "Tashia Moore"], ["name", "Paul Gottlieb"], ["description", "Rem quasi sint excepturi iure eum officia. Quos eius praesentium voluptate velit. Voluptatibus sit molestias est quaerat voluptas magni assumenda. Exercitationem optio et at ut quo quidem tempore."], ["equipment_type_id", 7], ["created_at", "2018-04-01 11:25:52.568785"], ["updated_at", "2018-04-01 11:25:52.568785"]]  (0.6ms) 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", "Ambrose Nikolaus"], ["LIMIT", 1]] SQL (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", "Ambrose Nikolaus"], ["name", "Carissa Johnson"], ["description", "Daphine McKenzie"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-04-01 11:25:52.575578"], ["updated_at", "2018-04-01 11:25:52.575578"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Velda Lubowitz"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Katie Haag"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Velda Lubowitz"], ["name", "Katie Haag"], ["description", "Jeri Ortiz"], ["created_at", "2018-04-01 11:25:52.582029"], ["updated_at", "2018-04-01 11:25:52.582029"]]  (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", "Yessenia Fay"], ["LIMIT", 1]] SQL (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", "Yessenia Fay"], ["name", "Lieselotte Schuster"], ["location_type_id", 7], ["description", "Wynona Brakus"], ["address", "Carlotta Weissnat"], ["created_at", "2018-04-01 11:25:52.585599"], ["updated_at", "2018-04-01 11:25:52.585599"]]  (0.4ms) 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", "Alissa Hagenes"], ["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", "Elfriede Hartmann"], ["LIMIT", 1]] SQL (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", "Alissa Hagenes"], ["name", "Marquitta Cummerata"], ["description", "Carlton Schmitt"], ["serial_number", "Elfriede Hartmann"], ["brand", "Meghan Klein"], ["item_model", "Sherika Romaguera"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-04-01 11:25:52.590987"], ["updated_at", "2018-04-01 11:25:52.590987"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Royce Gleichner"], ["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", "Adrianna Trantow"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Royce Gleichner"], ["name", "Adrianna Trantow"], ["created_at", "2018-04-01 11:25:52.598436"], ["updated_at", "2018-04-01 11:25:52.598436"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lizette Casper"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lizette Casper"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.602534"], ["updated_at", "2018-04-01 11:25:52.602534"]]  (0.5ms) 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", "Nidia Auer"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nidia Auer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.608016"], ["updated_at", "2018-04-01 11:25:52.608016"]]  (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", "Particia Kovacek"], ["LIMIT", 1]] SQL (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", "Particia Kovacek"], ["name", "Angelique Daugherty"], ["address", "Isadora Turner"], ["created_at", "2018-04-01 11:25:52.613657"], ["updated_at", "2018-04-01 11:25:52.613657"]]  (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", "Evelina Blanda"], ["service_delivery_unit_id", 52], ["LIMIT", 1]] SQL (0.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", "Evelina Blanda"], ["name", "Bess Strosin"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 52], ["created_at", "2018-04-01 11:25:52.617815"], ["updated_at", "2018-04-01 11:25:52.617815"]] 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", 52], ["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", "Evelina Blanda"], ["LIMIT", 1]] SQL (0.7ms) 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", "Evelina Blanda"], ["name", "Bess Strosin"], ["description", "Default bundle for service 'Bess Strosin'"], ["service_delivery_unit_id", 52], ["created_at", "2018-04-01 11:25:52.622854"], ["updated_at", "2018-04-01 11:25:52.622854"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 39], ["chargeable_service_id", 21]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.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", 21], ["equipment_item_id", 7], ["created_at", "2018-04-01 11:25:52.628449"], ["updated_at", "2018-04-01 11:25:52.628449"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Stan Purdy"], ["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", "Larae Pfannerstill"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Stan Purdy"], ["name", "Larae Pfannerstill"], ["description", "Quam fuga cum error similique. In magnam beatae aut excepturi aut. Est ipsam tempora sit ducimus. Nihil excepturi vitae tempora molestiae. Animi accusamus consequatur neque veritatis vel recusandae iusto."], ["created_at", "2018-04-01 11:25:52.639764"], ["updated_at", "2018-04-01 11:25:52.639764"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Burt Pagac"], ["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", "Cheyenne Watsica"], ["LIMIT", 1]] SQL (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", "Burt Pagac"], ["name", "Cheyenne Watsica"], ["description", "Quia minus et dolor aut esse fugiat. Qui dolorem facilis ea sunt voluptate tempora quia. Reprehenderit labore sed dignissimos numquam earum. Soluta tenetur autem est atque ea ut culpa aut."], ["equipment_type_id", 8], ["created_at", "2018-04-01 11:25:52.647399"], ["updated_at", "2018-04-01 11:25:52.647399"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Gala Predovic"], ["LIMIT", 1]] SQL (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", "Gala Predovic"], ["name", "Isabel Botsford"], ["description", "Angelo Wintheiser"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-04-01 11:25:52.654143"], ["updated_at", "2018-04-01 11:25:52.654143"]]  (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", "Carin Grady"], ["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", "Bobbi Koch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carin Grady"], ["name", "Bobbi Koch"], ["description", "Bobby Howe"], ["created_at", "2018-04-01 11:25:52.662443"], ["updated_at", "2018-04-01 11:25:52.662443"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Christal Reichert"], ["LIMIT", 1]] SQL (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", "Christal Reichert"], ["name", "Carlie Bosco"], ["location_type_id", 8], ["description", "Elsy Wuckert"], ["address", "Ressie Ortiz"], ["created_at", "2018-04-01 11:25:52.668482"], ["updated_at", "2018-04-01 11:25:52.668482"]]  (1.2ms) 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", "Elvira Ankunding"], ["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", "Lisbeth Price"], ["LIMIT", 1]] SQL (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", "Elvira Ankunding"], ["name", "Doretta Kulas"], ["description", "Lavern Breitenberg"], ["serial_number", "Lisbeth Price"], ["brand", "Terrie Oga"], ["item_model", "Ignacia Fisher"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-04-01 11:25:52.676334"], ["updated_at", "2018-04-01 11:25:52.676334"]]  (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", "Cristobal Kemmer"], ["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", "Adeline Runte"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cristobal Kemmer"], ["name", "Adeline Runte"], ["created_at", "2018-04-01 11:25:52.682945"], ["updated_at", "2018-04-01 11:25:52.682945"]]  (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", "Jere Padberg"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jere Padberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.688076"], ["updated_at", "2018-04-01 11:25:52.688076"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Maura Kautzer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maura Kautzer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.694768"], ["updated_at", "2018-04-01 11:25:52.694768"]]  (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", "Lynda Heidenreich"], ["LIMIT", 1]] SQL (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", "Lynda Heidenreich"], ["name", "Meaghan Zieme"], ["address", "Alvina Bergnaum"], ["created_at", "2018-04-01 11:25:52.699187"], ["updated_at", "2018-04-01 11:25:52.699187"]]  (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", "Elmira Kozey"], ["service_delivery_unit_id", 53], ["LIMIT", 1]] SQL (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", "Elmira Kozey"], ["name", "Junior Thiel"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 53], ["created_at", "2018-04-01 11:25:52.703417"], ["updated_at", "2018-04-01 11:25:52.703417"]] 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.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elmira Kozey"], ["LIMIT", 1]] SQL (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", "Elmira Kozey"], ["name", "Junior Thiel"], ["description", "Default bundle for service 'Junior Thiel'"], ["service_delivery_unit_id", 53], ["created_at", "2018-04-01 11:25:52.708142"], ["updated_at", "2018-04-01 11:25:52.708142"]] SQL (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  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "Herma Gibson"], ["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", "Inez Fay"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Herma Gibson"], ["name", "Inez Fay"], ["description", "Nisi minima sed ratione odio. Eius a earum quia ipsa quas veniam distinctio sed. Eius id mollitia facilis cupiditate nulla voluptatem magnam rerum. Inventore perspiciatis minus eveniet eos aperiam et dolorem. Quasi odit sed nostrum consequatur eos molestias distinctio."], ["created_at", "2018-04-01 11:25:52.721542"], ["updated_at", "2018-04-01 11:25:52.721542"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Nerissa Von"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Susannah Jenkins"], ["LIMIT", 1]] SQL (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", "Nerissa Von"], ["name", "Susannah Jenkins"], ["description", "A et et doloribus qui est in et. Amet dicta voluptas enim iure dolorum molestiae hic. Et quia quibusdam est unde. Earum molestias iste illum nostrum ut voluptatum occaecati nulla. Consectetur totam sint ut reiciendis unde."], ["equipment_type_id", 9], ["created_at", "2018-04-01 11:25:52.727158"], ["updated_at", "2018-04-01 11:25:52.727158"]]  (0.4ms) 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", "Danilo Ward"], ["LIMIT", 1]] SQL (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", "Danilo Ward"], ["name", "Agripina Jacobi"], ["description", "Collene McKenzie"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-04-01 11:25:52.730984"], ["updated_at", "2018-04-01 11:25:52.730984"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sharleen Lemke"], ["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", "Gale Towne"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sharleen Lemke"], ["name", "Gale Towne"], ["description", "Rebecca Russel"], ["created_at", "2018-04-01 11:25:52.736527"], ["updated_at", "2018-04-01 11:25:52.736527"]]  (0.6ms) 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", "Sang Mraz"], ["LIMIT", 1]] SQL (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", "Sang Mraz"], ["name", "Kassie Schultz"], ["location_type_id", 9], ["description", "Laree Muller"], ["address", "Logan Wisoky"], ["created_at", "2018-04-01 11:25:52.741327"], ["updated_at", "2018-04-01 11:25:52.741327"]]  (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", "Quincy 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", "Jenelle Flatley"], ["LIMIT", 1]] SQL (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", "Quincy Ruecker"], ["name", "Stevie Reinger"], ["description", "Faviola Hyatt"], ["serial_number", "Jenelle Flatley"], ["brand", "Ethyl Barrows"], ["item_model", "Marth Krajcik"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-04-01 11:25:52.747321"], ["updated_at", "2018-04-01 11:25:52.747321"]]  (0.6ms) 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", "Kalyn Fadel"], ["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", "Michaela Herman"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kalyn Fadel"], ["name", "Michaela Herman"], ["created_at", "2018-04-01 11:25:52.755622"], ["updated_at", "2018-04-01 11:25:52.755622"]]  (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", "Etha Morissette"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Etha Morissette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.764098"], ["updated_at", "2018-04-01 11:25:52.764098"]]  (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", "Lauren Feest"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lauren Feest"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.770324"], ["updated_at", "2018-04-01 11:25:52.770324"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Tequila Graham"], ["LIMIT", 1]] SQL (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", "Tequila Graham"], ["name", "Tristan Schiller"], ["address", "Alfredia Walsh"], ["created_at", "2018-04-01 11:25:52.782834"], ["updated_at", "2018-04-01 11:25:52.782834"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.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", "Maragaret McLaughlin"], ["service_delivery_unit_id", 54], ["LIMIT", 1]] SQL (0.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", "Maragaret McLaughlin"], ["name", "Tameka McClure"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 54], ["created_at", "2018-04-01 11:25:52.791690"], ["updated_at", "2018-04-01 11:25:52.791690"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Maragaret McLaughlin"], ["LIMIT", 1]] SQL (0.7ms) 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", "Maragaret McLaughlin"], ["name", "Tameka McClure"], ["description", "Default bundle for service 'Tameka McClure'"], ["service_delivery_unit_id", 54], ["created_at", "2018-04-01 11:25:52.796186"], ["updated_at", "2018-04-01 11:25:52.796186"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 41], ["chargeable_service_id", 23]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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 Yundt"], ["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", "Neida Kuhic"], ["LIMIT", 1]] SQL (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 Yundt"], ["name", "Neida Kuhic"], ["description", "Dolores autem et facilis nisi doloremque eum omnis iure. Quis sed molestias officiis et aliquid aperiam repellendus. Et soluta laborum officia dolore similique. Sed cumque dignissimos assumenda sapiente consequatur."], ["created_at", "2018-04-01 11:25:52.809787"], ["updated_at", "2018-04-01 11:25:52.809787"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Precious Grant"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Blanch Christiansen"], ["LIMIT", 1]] SQL (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", "Precious Grant"], ["name", "Blanch Christiansen"], ["description", "Omnis ratione adipisci et sunt. Minima ullam omnis ad quod. Eum excepturi amet quisquam molestiae quibusdam reiciendis culpa modi."], ["equipment_type_id", 10], ["created_at", "2018-04-01 11:25:52.814743"], ["updated_at", "2018-04-01 11:25:52.814743"]]  (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", "Joni Jast"], ["LIMIT", 1]] SQL (0.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", "Joni Jast"], ["name", "Romaine Powlowski"], ["description", "Connie Ruecker"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-04-01 11:25:52.818980"], ["updated_at", "2018-04-01 11:25:52.818980"]]  (0.5ms) 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", "Elizebeth Skiles"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Britt Hegmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Elizebeth Skiles"], ["name", "Britt Hegmann"], ["description", "Edgar Kreiger"], ["created_at", "2018-04-01 11:25:52.824460"], ["updated_at", "2018-04-01 11:25:52.824460"]]  (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", "Taylor White"], ["LIMIT", 1]] SQL (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", "Taylor White"], ["name", "Sharee Medhurst"], ["location_type_id", 10], ["description", "Veronica Roberts"], ["address", "Afton Bins"], ["created_at", "2018-04-01 11:25:52.828373"], ["updated_at", "2018-04-01 11:25:52.828373"]]  (0.4ms) 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", "Lynwood Watsica"], ["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", "Micheal Predovic"], ["LIMIT", 1]] SQL (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", "Lynwood Watsica"], ["name", "Ernesto Abbott"], ["description", "Ignacio Rempel"], ["serial_number", "Micheal Predovic"], ["brand", "Kenya Davis"], ["item_model", "Jerome Jewess"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-04-01 11:25:52.833671"], ["updated_at", "2018-04-01 11:25:52.833671"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (2.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", "Zoila Glover"], ["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", "Boris Bernhard"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Zoila Glover"], ["name", "Boris Bernhard"], ["created_at", "2018-04-01 11:25:52.847241"], ["updated_at", "2018-04-01 11:25:52.847241"]]  (0.5ms) 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", "Zoila Glover"], ["id", 37], ["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", "Boris Bernhard"], ["id", 37], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.9ms) BEGIN Mks::Rate::ServiceType Exists (1.2ms) 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.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ruthe Russel"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.7ms) 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", "Bert Sanford"], ["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.7ms) ROLLBACK  (0.7ms) BEGIN  (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 LIMIT $2 [["code", "Sharron Auer"], ["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", "Carlos Adams"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sharron Auer"], ["name", "Carlos Adams"], ["created_at", "2018-04-01 11:25:52.880059"], ["updated_at", "2018-04-01 11:25:52.880059"]]  (0.9ms) 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", "Sharron Auer"], ["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", "Ray Graham"], ["LIMIT", 1]]  (1.4ms) ROLLBACK  (0.8ms) BEGIN  (1.0ms) 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", "Loren Harris"], ["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", "Blair McClure"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Loren Harris"], ["name", "Blair McClure"], ["created_at", "2018-04-01 11:25:52.903433"], ["updated_at", "2018-04-01 11:25:52.903433"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Christopher Effertz"], ["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", "Blair McClure"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN 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", "Julene Bogisich"], ["LIMIT", 1]]  (3.2ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.2ms) 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.7ms) BEGIN 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", "Ervin Senger"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "Rosaline Carter"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rosaline Carter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.936673"], ["updated_at", "2018-04-01 11:25:52.936673"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (3.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rosaline Carter"], ["LIMIT", 1]]  (1.4ms) ROLLBACK  (1.0ms) BEGIN  (3.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", "Svetlana McCullough"], ["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", "Amalia Lubowitz"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Svetlana McCullough"], ["name", "Amalia Lubowitz"], ["created_at", "2018-04-01 11:25:52.961168"], ["updated_at", "2018-04-01 11:25:52.961168"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (5.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Daniella Gottlieb"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Daniella Gottlieb"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.974080"], ["updated_at", "2018-04-01 11:25:52.974080"]]  (0.7ms) 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", "Marina Schneider"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marina Schneider"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:52.981896"], ["updated_at", "2018-04-01 11:25:52.981896"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.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", "Gail Reichel"], ["LIMIT", 1]] SQL (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", "Gail Reichel"], ["name", "Johanna Crooks"], ["address", "Shanda Wolff"], ["created_at", "2018-04-01 11:25:52.992858"], ["updated_at", "2018-04-01 11:25:52.992858"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Tayna Grimes"], ["service_delivery_unit_id", 55], ["LIMIT", 1]] SQL (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", "Tayna Grimes"], ["name", "Cristin Watsica"], ["service_type_id", 40], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 55], ["created_at", "2018-04-01 11:25:53.001583"], ["updated_at", "2018-04-01 11:25:53.001583"]] 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", 55], ["LIMIT", 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", "Tayna Grimes"], ["LIMIT", 1]] SQL (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", "Tayna Grimes"], ["name", "Cristin Watsica"], ["description", "Default bundle for service 'Cristin Watsica'"], ["service_delivery_unit_id", 55], ["created_at", "2018-04-01 11:25:53.012640"], ["updated_at", "2018-04-01 11:25:53.012640"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 42], ["chargeable_service_id", 24]]  (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", "Dee 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", "Siu Jenkins"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dee Douglas"], ["name", "Siu Jenkins"], ["created_at", "2018-04-01 11:25:53.023823"], ["updated_at", "2018-04-01 11:25:53.023823"]]  (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", "Sonya Runolfsson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sonya Runolfsson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:53.031404"], ["updated_at", "2018-04-01 11:25:53.031404"]]  (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", "Elly Bins"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elly Bins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:53.036322"], ["updated_at", "2018-04-01 11:25:53.036322"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Harvey Crist"], ["LIMIT", 1]] SQL (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", "Harvey Crist"], ["name", "Marti Wolf"], ["address", "Leo Kunze"], ["created_at", "2018-04-01 11:25:53.040477"], ["updated_at", "2018-04-01 11:25:53.040477"]]  (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", "Ileen Batz"], ["service_delivery_unit_id", 56], ["LIMIT", 1]] SQL (0.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", "Ileen Batz"], ["name", "Lacy Ortiz"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 56], ["created_at", "2018-04-01 11:25:53.044870"], ["updated_at", "2018-04-01 11:25:53.044870"]] Mks::Rate::ServiceDeliveryUnit Load (2.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 56], ["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", "Ileen Batz"], ["LIMIT", 1]] SQL (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", "Ileen Batz"], ["name", "Lacy Ortiz"], ["description", "Default bundle for service 'Lacy Ortiz'"], ["service_delivery_unit_id", 56], ["created_at", "2018-04-01 11:25:53.057815"], ["updated_at", "2018-04-01 11:25:53.057815"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 43], ["chargeable_service_id", 25]]  (0.8ms) 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", "Lorene Bode"], ["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", "Arvilla Hansen"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lorene Bode"], ["name", "Arvilla Hansen"], ["created_at", "2018-04-01 11:25:53.086350"], ["updated_at", "2018-04-01 11:25:53.086350"]]  (0.7ms) 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", "Mason Casper"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mason Casper"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:53.100451"], ["updated_at", "2018-04-01 11:25:53.100451"]]  (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", "Dayle Herman"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dayle Herman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:53.111393"], ["updated_at", "2018-04-01 11:25:53.111393"]]  (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", "Lavern Padberg"], ["LIMIT", 1]] SQL (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", "Lavern Padberg"], ["name", "Agustina Senger"], ["address", "Candra Fritsch"], ["created_at", "2018-04-01 11:25:53.116173"], ["updated_at", "2018-04-01 11:25:53.116173"]]  (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", "Peter Howe"], ["service_delivery_unit_id", 57], ["LIMIT", 1]] SQL (0.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", "Peter Howe"], ["name", "Mercy Toy"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 57], ["created_at", "2018-04-01 11:25:53.120248"], ["updated_at", "2018-04-01 11:25:53.120248"]] 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", 57], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Peter Howe"], ["LIMIT", 1]] SQL (0.7ms) 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", "Peter Howe"], ["name", "Mercy Toy"], ["description", "Default bundle for service 'Mercy Toy'"], ["service_delivery_unit_id", 57], ["created_at", "2018-04-01 11:25:53.124759"], ["updated_at", "2018-04-01 11:25:53.124759"]] SQL (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", 26]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.5ms) 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", 24], ["LIMIT", 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", 25], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] SQL (0.7ms) 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", 24], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-04-01 11:25:53.134812"], ["updated_at", "2018-04-01 11:25:53.134812"]] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] SQL (0.8ms) 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", 25], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-04-01 11:25:53.138492"], ["updated_at", "2018-04-01 11:25:53.138492"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joette Erdman"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Keva Bahringer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joette Erdman"], ["name", "Keva Bahringer"], ["created_at", "2018-04-01 11:25:53.147321"], ["updated_at", "2018-04-01 11:25:53.147321"]]  (0.4ms) 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", "Marybeth Mante"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marybeth Mante"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:53.155042"], ["updated_at", "2018-04-01 11:25:53.155042"]]  (1.0ms) 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", "Tarsha Bartoletti"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tarsha Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-01 11:25:53.170440"], ["updated_at", "2018-04-01 11:25:53.170440"]]  (0.6ms) 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", "Yasmin Borer"], ["LIMIT", 1]] SQL (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", "Yasmin Borer"], ["name", "Florencia McClure"], ["address", "Sol Boehm"], ["created_at", "2018-04-01 11:25:53.180388"], ["updated_at", "2018-04-01 11:25:53.180388"]]  (0.6ms) 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", "Jonelle Oga"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] SQL (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", "Jonelle Oga"], ["name", "Genevive Windler"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 58], ["created_at", "2018-04-01 11:25:53.188532"], ["updated_at", "2018-04-01 11:25:53.188532"]] 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", 58], ["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", "Jonelle Oga"], ["LIMIT", 1]] SQL (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", "Jonelle Oga"], ["name", "Genevive Windler"], ["description", "Default bundle for service 'Genevive Windler'"], ["service_delivery_unit_id", 58], ["created_at", "2018-04-01 11:25:53.197162"], ["updated_at", "2018-04-01 11:25:53.197162"]] SQL (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", 27]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (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", 27], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-04-01 11:25:53.205438"], ["updated_at", "2018-04-01 11:25:53.205438"]]  (0.4ms) 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", 27], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] SQL (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-04-01 11:25:53.211162"], ["id", 10]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.5ms) 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.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", "hayden.hansen@hand.us"], ["LIMIT", 1]] SQL (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", "Tiffaney Ebert"], ["last_name", "Candice Becker"], ["email", "hayden.hansen@hand.us"], ["password_digest", "$2a$04$hluKM89Lw/ajWlsIFHMCfumdQ0lv7yWmSasY3pN6bzSY9QGMGJPj6"], ["created_at", "2018-04-01 11:25:53.224669"], ["updated_at", "2018-04-01 11:25:53.224669"]]  (0.6ms) 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", "mariel@dach.name"], ["LIMIT", 1]] SQL (0.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", "Jaymie Purdy"], ["last_name", "Bernard Cassin"], ["email", "mariel@dach.name"], ["password_digest", "$2a$04$wAx/30v6dUoQ0hytVYILn.uItRMQ6Bleapbm5U2xJbBm0sgWBpMfq"], ["created_at", "2018-04-01 11:25:53.230790"], ["updated_at", "2018-04-01 11:25:53.230790"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "sherilyn.kuphal@orn.biz"], ["LIMIT", 1]] SQL (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", "Altagracia O'Reilly"], ["last_name", "Signe Christiansen"], ["email", "sherilyn.kuphal@orn.biz"], ["password_digest", "$2a$04$1ZYewpxzcfnx0ECZwiMZmO80UPrnjXJnRae5ncR9rTjg.ENiYw6qO"], ["created_at", "2018-04-01 11:25:53.236294"], ["updated_at", "2018-04-01 11:25:53.236294"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Riva Ruecker"], ["LIMIT", 1]] SQL (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", "Riva Ruecker"], ["authorized_by", "Alica Kuphal"], ["effective_on", "2018-04-01"], ["authorized_on", "2018-04-01"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 64], ["approved_by_id", 65], ["created_at", "2018-04-01 11:25:53.240377"], ["updated_at", "2018-04-01 11:25:53.240377"]]  (0.5ms) RELEASE SAVEPOINT active_record_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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Riva Ruecker"], ["id", 4], ["LIMIT", 1]] SQL (1.9ms) 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", 63], ["updated_at", "2018-04-01 11:25:53.253783"], ["id", 4]]  (0.7ms) 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", 4], ["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", 63], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.2ms) BEGIN  (1.2ms) 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", "cristine@toyweber.biz"], ["LIMIT", 1]] SQL (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", "Andrea Cole"], ["last_name", "Keva Bode"], ["email", "cristine@toyweber.biz"], ["password_digest", "$2a$04$pszvFPvpFnMWqwUcJmQiXO49Vh2rczgJ3y9yngb4Nusj.hvHcd/xa"], ["created_at", "2018-04-06 07:58:07.187875"], ["updated_at", "2018-04-06 07:58:07.187875"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Mitchel Gleason"], ["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", "Brent Reichel"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mitchel Gleason"], ["name", "Brent Reichel"], ["created_at", "2018-04-06 07:58:07.232985"], ["updated_at", "2018-04-06 07:58:07.232985"]]  (0.5ms) 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", "Susy Wuckert"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Susy Wuckert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.253007"], ["updated_at", "2018-04-06 07:58:07.253007"]]  (0.4ms) 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", "Le Bednar"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Le Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.259138"], ["updated_at", "2018-04-06 07:58:07.259138"]]  (0.5ms) 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", "Delaine Cartwright"], ["LIMIT", 1]] SQL (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", "Delaine Cartwright"], ["name", "Alfonso Satterfield"], ["address", "Krystin Mraz"], ["created_at", "2018-04-06 07:58:07.289032"], ["updated_at", "2018-04-06 07:58:07.289032"]]  (0.8ms) 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", "Gertrudis Wyman"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Gertrudis Wyman"], ["name", "Sandy Rolfson"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 07:58:07.298556"], ["updated_at", "2018-04-06 07:58:07.298556"]] 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", 1], ["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", "Gertrudis Wyman"], ["LIMIT", 1]] SQL (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", "Gertrudis Wyman"], ["name", "Sandy Rolfson"], ["description", "Default bundle for service 'Sandy Rolfson'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 07:58:07.330057"], ["updated_at", "2018-04-06 07:58:07.330057"]] SQL (1.3ms) 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.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Tana Hilll"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Reiko Watsica"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tana Hilll"], ["name", "Reiko Watsica"], ["created_at", "2018-04-06 07:58:07.363202"], ["updated_at", "2018-04-06 07:58:07.363202"]]  (0.4ms) 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", "Matilda Tromp"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Matilda Tromp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.367973"], ["updated_at", "2018-04-06 07:58:07.367973"]]  (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", "Gustavo McClure"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gustavo McClure"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.375407"], ["updated_at", "2018-04-06 07:58:07.375407"]]  (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", "Matilde Shields"], ["LIMIT", 1]] SQL (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", "Matilde Shields"], ["name", "Terrie McClure"], ["address", "Millard Barrows"], ["created_at", "2018-04-06 07:58:07.383001"], ["updated_at", "2018-04-06 07:58:07.383001"]]  (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", "Kaitlyn Torphy"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Kaitlyn Torphy"], ["name", "Dani Gutmann"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 07:58:07.389324"], ["updated_at", "2018-04-06 07:58:07.389324"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kaitlyn Torphy"], ["LIMIT", 1]] SQL (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", "Kaitlyn Torphy"], ["name", "Dani Gutmann"], ["description", "Default bundle for service 'Dani Gutmann'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 07:58:07.397360"], ["updated_at", "2018-04-06 07:58:07.397360"]] SQL (1.0ms) 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.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Dino Weissnat"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Wyatt Nolan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dino Weissnat"], ["name", "Wyatt Nolan"], ["created_at", "2018-04-06 07:58:07.407862"], ["updated_at", "2018-04-06 07:58:07.407862"]]  (0.7ms) 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", "Karisa Windler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Karisa Windler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.413126"], ["updated_at", "2018-04-06 07:58:07.413126"]]  (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", "Loise Maggio"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Loise Maggio"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.417589"], ["updated_at", "2018-04-06 07:58:07.417589"]]  (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", "Annamaria Cummerata"], ["LIMIT", 1]] SQL (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", "Annamaria Cummerata"], ["name", "Macie Thompson"], ["address", "Livia Strosin"], ["created_at", "2018-04-06 07:58:07.422221"], ["updated_at", "2018-04-06 07:58:07.422221"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Jammie Price"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Jammie Price"], ["name", "Zonia Mertz"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 07:58:07.426678"], ["updated_at", "2018-04-06 07:58:07.426678"]] 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", 3], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jammie Price"], ["LIMIT", 1]] SQL (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", "Jammie Price"], ["name", "Zonia Mertz"], ["description", "Default bundle for service 'Zonia Mertz'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 07:58:07.431950"], ["updated_at", "2018-04-06 07:58:07.431950"]] SQL (0.9ms) 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.5ms) 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.7ms) 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.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN (2, 1, 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.8ms) 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.6ms) 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 (1.3ms) 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.8ms) 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.6ms) 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.6ms) 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 (21.61ms) Completed 200 OK in 59ms (Views: 45.6ms | ActiveRecord: 11.0ms)  (1.1ms) 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", "apolonia@millsdicki.info"], ["LIMIT", 1]] SQL (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", "Kenny Johnson"], ["last_name", "Roman Klocko"], ["email", "apolonia@millsdicki.info"], ["password_digest", "$2a$04$akNC4cY3B6E5Zs2teMDH8e9IZvK4RqtQGwvhwYYIKY/g5WWXnpfTC"], ["created_at", "2018-04-06 07:58:07.509380"], ["updated_at", "2018-04-06 07:58:07.509380"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Loren Kshlerin"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Loren Kshlerin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.519665"], ["updated_at", "2018-04-06 07:58:07.519665"]]  (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", "Logan Kuhlman"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Logan Kuhlman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.524880"], ["updated_at", "2018-04-06 07:58:07.524880"]]  (0.4ms) 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", "Gerald Halvorson"], ["LIMIT", 1]] SQL (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", "Gerald Halvorson"], ["name", "Carlota Bechtelar"], ["address", "Josphine Ondricka"], ["created_at", "2018-04-06 07:58:07.530041"], ["updated_at", "2018-04-06 07:58:07.530041"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jeanmarie Wisoky"], ["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", "Chantel Nolan"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jeanmarie Wisoky"], ["name", "Chantel Nolan"], ["created_at", "2018-04-06 07:58:07.535275"], ["updated_at", "2018-04-06 07:58:07.535275"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Jarred Borer", "name"=>"Basil Little", "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]]  (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", "Jarred Borer"], ["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.6ms) 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.6ms) 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]] SQL (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", "Jarred Borer"], ["name", "Basil Little"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 07:58:07.557891"], ["updated_at", "2018-04-06 07:58:07.557891"]] 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", 4], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jarred Borer"], ["LIMIT", 1]] SQL (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", "Jarred Borer"], ["name", "Basil Little"], ["description", "Default bundle for service 'Basil Little'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 07:58:07.562952"], ["updated_at", "2018-04-06 07:58:07.562952"]] SQL (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.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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.47ms) Completed 200 OK in 51ms (Views: 26.5ms | ActiveRecord: 10.4ms)  (1.5ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.0ms) ROLLBACK  (1.7ms) BEGIN  (1.1ms) 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", "ben_tromp@kuphalbalistreri.us"], ["LIMIT", 1]] SQL (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", "Elroy Zulauf"], ["last_name", "Cecil Daugherty"], ["email", "ben_tromp@kuphalbalistreri.us"], ["password_digest", "$2a$04$TJuQpOLBPdcs1ImYXg5on.1eaQTZWRGwP.BcO5hApMdHmSybXlnv6"], ["created_at", "2018-04-06 07:58:07.622761"], ["updated_at", "2018-04-06 07:58:07.622761"]]  (0.5ms) 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", "Tomasa Lakin"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tomasa Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.629237"], ["updated_at", "2018-04-06 07:58:07.629237"]]  (0.8ms) 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", "Luigi Parker"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Luigi Parker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.636293"], ["updated_at", "2018-04-06 07:58:07.636293"]]  (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", "Keli Nader"], ["LIMIT", 1]] SQL (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", "Keli Nader"], ["name", "Irish Ruecker"], ["address", "Antonette Bauch"], ["created_at", "2018-04-06 07:58:07.642561"], ["updated_at", "2018-04-06 07:58:07.642561"]]  (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", "Latosha 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", "Sonya Towne"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Latosha Rau"], ["name", "Sonya Towne"], ["created_at", "2018-04-06 07:58:07.649304"], ["updated_at", "2018-04-06 07:58:07.649304"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Gertrude Pagac", "name"=>"Gene Vandervort", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} 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]]  (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", "Gertrude Pagac"], ["service_delivery_unit_id", 5], ["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", 5], ["LIMIT", 1]] 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", 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", 5], ["LIMIT", 1]] SQL (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", "Gertrude Pagac"], ["name", "Gene Vandervort"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 07:58:07.661163"], ["updated_at", "2018-04-06 07:58:07.661163"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Gertrude Pagac"], ["LIMIT", 1]] SQL (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", "Gertrude Pagac"], ["name", "Gene Vandervort"], ["description", "Default bundle for service 'Gene Vandervort'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 07:58:07.666957"], ["updated_at", "2018-04-06 07:58:07.666957"]] SQL (1.3ms) 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.7ms) 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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.01ms) Completed 200 OK in 33ms (Views: 10.8ms | ActiveRecord: 10.0ms)  (0.8ms) 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", "alice@bergstromrenner.us"], ["LIMIT", 1]] SQL (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", "Marie Sawayn"], ["last_name", "Claudine Borer"], ["email", "alice@bergstromrenner.us"], ["password_digest", "$2a$04$nEHeyt.Vj4vzChOd.AZueOeQVZ2Tiofiq2Fvdyq4mKgr8ECcmsNcS"], ["created_at", "2018-04-06 07:58:07.701044"], ["updated_at", "2018-04-06 07:58:07.701044"]]  (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", "Jaunita Schultz"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jaunita Schultz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.711861"], ["updated_at", "2018-04-06 07:58:07.711861"]]  (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", "Lashandra Cartwright"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lashandra Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.719742"], ["updated_at", "2018-04-06 07:58:07.719742"]]  (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", "Pearle Stamm"], ["LIMIT", 1]] SQL (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", "Pearle Stamm"], ["name", "Juliann Funk"], ["address", "Eugene Barton"], ["created_at", "2018-04-06 07:58:07.725038"], ["updated_at", "2018-04-06 07:58:07.725038"]]  (0.6ms) 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", "Ivette Kassulke"], ["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", "Ernestina Kilback"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ivette Kassulke"], ["name", "Ernestina Kilback"], ["created_at", "2018-04-06 07:58:07.731710"], ["updated_at", "2018-04-06 07:58:07.731710"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Jordan Mann", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 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", ""], ["service_delivery_unit_id", 6], ["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", 6], ["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", 11], ["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", 6], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO 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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 30ms (Views: 4.2ms | ActiveRecord: 5.5ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "francie@gibson.us"], ["LIMIT", 1]] SQL (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", "Willow Graham"], ["last_name", "Basilia Bernhard"], ["email", "francie@gibson.us"], ["password_digest", "$2a$04$6CVT9S44GMBNEVv.2LKGXexE6nzYn5iUXdlD5Z7mvysq/L5FYh.Xi"], ["created_at", "2018-04-06 07:58:07.773395"], ["updated_at", "2018-04-06 07:58:07.773395"]]  (0.7ms) 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", "Svetlana 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", "Jessie Kuhic"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Svetlana Jacobi"], ["name", "Jessie Kuhic"], ["created_at", "2018-04-06 07:58:07.783667"], ["updated_at", "2018-04-06 07:58:07.783667"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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", "Odette Tromp"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Odette Tromp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.796154"], ["updated_at", "2018-04-06 07:58:07.796154"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Candra Feest"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Candra Feest"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.809095"], ["updated_at", "2018-04-06 07:58:07.809095"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.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", "Ivy Mosciski"], ["LIMIT", 1]] SQL (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", "Ivy Mosciski"], ["name", "Zina Kling"], ["address", "Adalberto Ledner"], ["created_at", "2018-04-06 07:58:07.822695"], ["updated_at", "2018-04-06 07:58:07.822695"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Corine Breitenberg"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Corine Breitenberg"], ["name", "Beatriz Ernser"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 07:58:07.827131"], ["updated_at", "2018-04-06 07:58:07.827131"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Corine Breitenberg"], ["LIMIT", 1]] SQL (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", "Corine Breitenberg"], ["name", "Beatriz Ernser"], ["description", "Default bundle for service 'Beatriz Ernser'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 07:58:07.833471"], ["updated_at", "2018-04-06 07:58:07.833471"]] SQL (1.0ms) 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.4ms) 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.6ms) 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.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Corine Breitenberg"], ["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 (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", 13], ["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", 7], ["LIMIT", 1]] SQL (1.0ms) 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-04-06 07:58:07.851004"], ["id", 6]] 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", 7], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Corine Breitenberg"], ["LIMIT", 1]]  (0.7ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.39ms) Completed 200 OK in 22ms (Views: 1.5ms | ActiveRecord: 8.0ms) 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) 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", "renita@murray.co.uk"], ["LIMIT", 1]] SQL (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", "Dona Kemmer"], ["last_name", "Earle Conroy"], ["email", "renita@murray.co.uk"], ["password_digest", "$2a$04$c8N.3MoAUp5VwMYFyoqUA.lDJtQ7Ptp7xlYib80lGY/bc2iHmjBom"], ["created_at", "2018-04-06 07:58:07.871052"], ["updated_at", "2018-04-06 07:58:07.871052"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kristen 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", "Kristian DuBuque"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kristen Jacobi"], ["name", "Kristian DuBuque"], ["created_at", "2018-04-06 07:58:07.881534"], ["updated_at", "2018-04-06 07:58:07.881534"]]  (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", "Natalya Reichert"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Natalya Reichert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.890259"], ["updated_at", "2018-04-06 07:58:07.890259"]]  (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", "Cathie Farrell"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cathie Farrell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.898551"], ["updated_at", "2018-04-06 07:58:07.898551"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Lon Nienow"], ["LIMIT", 1]] SQL (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", "Lon Nienow"], ["name", "Angelo Kunze"], ["address", "Sana Tremblay"], ["created_at", "2018-04-06 07:58:07.917971"], ["updated_at", "2018-04-06 07:58:07.917971"]]  (0.8ms) 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", "Mitzie Raynor"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (0.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", "Mitzie Raynor"], ["name", "Michell Bogan"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 07:58:07.924343"], ["updated_at", "2018-04-06 07:58:07.924343"]] 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", 8], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mitzie Raynor"], ["LIMIT", 1]] SQL (0.7ms) 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", "Mitzie Raynor"], ["name", "Michell Bogan"], ["description", "Default bundle for service 'Michell Bogan'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 07:58:07.929261"], ["updated_at", "2018-04-06 07:58:07.929261"]] SQL (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.5ms) 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", "Mitzie Raynor"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.3ms) 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.7ms) 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.4ms) 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.09ms) Completed 422 Unprocessable Entity in 14ms (Views: 1.1ms | ActiveRecord: 6.5ms)  (0.6ms) 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", "angelique_conroy@bahringer.co.uk"], ["LIMIT", 1]] SQL (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", "Augustine Yundt"], ["last_name", "Teena Harber"], ["email", "angelique_conroy@bahringer.co.uk"], ["password_digest", "$2a$04$0AVsNtn07TKkc/Kc3Ha.bO.7YxaknW6g/jUYK0MXycnnGMTh1jARK"], ["created_at", "2018-04-06 07:58:07.957541"], ["updated_at", "2018-04-06 07:58:07.957541"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Gladis Gorczany"], ["LIMIT", 1]] SQL (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", "Gladis Gorczany"], ["name", "Manda Rice"], ["address", "Jettie Torphy"], ["created_at", "2018-04-06 07:58:07.962136"], ["updated_at", "2018-04-06 07:58:07.962136"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Samira Wehner"], ["LIMIT", 1]] SQL (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", "Samira Wehner"], ["name", "Errol Luettgen"], ["address", "Keren Morar"], ["created_at", "2018-04-06 07:58:07.966092"], ["updated_at", "2018-04-06 07:58:07.966092"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Carin D'Amore"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Fannie Haley"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Carin D'Amore"], ["name", "Fannie Haley"], ["created_at", "2018-04-06 07:58:07.971318"], ["updated_at", "2018-04-06 07:58:07.971318"]]  (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", "Rufina Schultz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rufina Schultz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.978084"], ["updated_at", "2018-04-06 07:58:07.978084"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jewell Von"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jewell Von"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:07.990125"], ["updated_at", "2018-04-06 07:58:07.990125"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Sol Mann"], ["service_delivery_unit_id", 9], ["LIMIT", 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", 9], ["LIMIT", 1]] SQL (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", "Sol Mann"], ["name", "Maisie Osinski"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 07:58:08.010458"], ["updated_at", "2018-04-06 07:58:08.010458"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sol Mann"], ["LIMIT", 1]] SQL (0.7ms) 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", "Sol Mann"], ["name", "Maisie Osinski"], ["description", "Default bundle for service 'Maisie Osinski'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 07:58:08.022262"], ["updated_at", "2018-04-06 07:58:08.022262"]] SQL (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.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Birdie Bergnaum"], ["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", "Elissa Kulas"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Birdie Bergnaum"], ["name", "Elissa Kulas"], ["created_at", "2018-04-06 07:58:08.033153"], ["updated_at", "2018-04-06 07:58:08.033153"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tia Rodriguez"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tia Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:08.037593"], ["updated_at", "2018-04-06 07:58:08.037593"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vanetta Rath"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vanetta Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:08.041927"], ["updated_at", "2018-04-06 07:58:08.041927"]]  (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", "Milford Sipes"], ["service_delivery_unit_id", 9], ["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", 9], ["LIMIT", 1]] SQL (0.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", "Milford Sipes"], ["name", "Anton Douglas"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 07:58:08.047727"], ["updated_at", "2018-04-06 07:58:08.047727"]] 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", "Milford Sipes"], ["LIMIT", 1]] SQL (0.7ms) 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", "Milford Sipes"], ["name", "Anton Douglas"], ["description", "Default bundle for service 'Anton Douglas'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 07:58:08.052405"], ["updated_at", "2018-04-06 07:58:08.052405"]] SQL (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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Vi Vandervort"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Simonne Rolfson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vi Vandervort"], ["name", "Simonne Rolfson"], ["created_at", "2018-04-06 07:58:08.061523"], ["updated_at", "2018-04-06 07:58:08.061523"]]  (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", "Janina Rath"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janina Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:08.066771"], ["updated_at", "2018-04-06 07:58:08.066771"]]  (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", "Sophia McLaughlin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sophia McLaughlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:08.071254"], ["updated_at", "2018-04-06 07:58:08.071254"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Cleopatra Jast"], ["service_delivery_unit_id", 10], ["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", 10], ["LIMIT", 1]] SQL (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", "Cleopatra Jast"], ["name", "Catalina Aufderhar"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 07:58:08.077494"], ["updated_at", "2018-04-06 07:58:08.077494"]] 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", "Cleopatra Jast"], ["LIMIT", 1]] SQL (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", "Cleopatra Jast"], ["name", "Catalina Aufderhar"], ["description", "Default bundle for service 'Catalina Aufderhar'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 07:58:08.084573"], ["updated_at", "2018-04-06 07:58:08.084573"]] SQL (1.0ms) 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.8ms) 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", "Merissa Franecki"], ["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", "Marguerita Mayert"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Merissa Franecki"], ["name", "Marguerita Mayert"], ["created_at", "2018-04-06 07:58:08.097630"], ["updated_at", "2018-04-06 07:58:08.097630"]]  (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", "Lloyd Legros"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lloyd Legros"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:08.103715"], ["updated_at", "2018-04-06 07:58:08.103715"]]  (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", "Rebekah Bernhard"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rebekah Bernhard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:08.109755"], ["updated_at", "2018-04-06 07:58:08.109755"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Rosalyn Schaden"], ["service_delivery_unit_id", 10], ["LIMIT", 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", 10], ["LIMIT", 1]] SQL (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", "Rosalyn Schaden"], ["name", "Geneva Rempel"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 07:58:08.118321"], ["updated_at", "2018-04-06 07:58:08.118321"]] 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", 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", "Rosalyn Schaden"], ["LIMIT", 1]] SQL (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", "Rosalyn Schaden"], ["name", "Geneva Rempel"], ["description", "Default bundle for service 'Geneva Rempel'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 07:58:08.128074"], ["updated_at", "2018-04-06 07:58:08.128074"]] SQL (0.7ms) 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.5ms) 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.6ms) 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.5ms) 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.5ms) 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.6ms) 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.6ms) 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.4ms) 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.5ms) 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.5ms) 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.6ms) 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.4ms) Completed 200 OK in 15ms (Views: 8.1ms | ActiveRecord: 6.0ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "treva@medhurst.com"], ["LIMIT", 1]] SQL (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", "Lilla Gaylord"], ["last_name", "Dion Wunsch"], ["email", "treva@medhurst.com"], ["password_digest", "$2a$04$RnX3xJ3Zyda6/DD/MoZjqOnKp9gbDfJ4uNuUdPmq8GnsF5sr1hcf6"], ["created_at", "2018-04-06 07:58:08.158022"], ["updated_at", "2018-04-06 07:58:08.158022"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "delfina.mraz@doylebreitenberg.ca"], ["LIMIT", 1]] SQL (0.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", "Tonja Marquardt"], ["last_name", "Kathi Schuppe"], ["email", "delfina.mraz@doylebreitenberg.ca"], ["password_digest", "$2a$04$aA4vJzh9IeJ0kPNa.TJCWOGx0UJ31froz1zKSlLK2jt1oMhPaJC06"], ["created_at", "2018-04-06 07:58:08.168160"], ["updated_at", "2018-04-06 07:58:08.168160"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "reba@stanton.biz"], ["LIMIT", 1]] SQL (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", "Serafina Hettinger"], ["last_name", "Nakita Powlowski"], ["email", "reba@stanton.biz"], ["password_digest", "$2a$04$ZOsaQtug1/aNOU/iQxSWJOS5rkIH2UZdchsB26GIrq02hEqDjncaW"], ["created_at", "2018-04-06 07:58:08.177133"], ["updated_at", "2018-04-06 07:58:08.177133"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.8ms) ROLLBACK  (0.6ms) 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", "willa@stantonjacobson.co.uk"], ["LIMIT", 1]] SQL (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", "Sonny Powlowski"], ["last_name", "Darlene Carroll"], ["email", "willa@stantonjacobson.co.uk"], ["password_digest", "$2a$04$YWFQy2R9GZRSoHgoPZEpm.naqB5/CNyW15Ku1I7CtQ3yoDtQY4JJK"], ["created_at", "2018-04-06 07:58:08.199360"], ["updated_at", "2018-04-06 07:58:08.199360"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.7ms) 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", "reagan_borer@ritchieweissnat.com"], ["LIMIT", 1]] SQL (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", "Selene Tromp"], ["last_name", "Aurelia O'Keefe"], ["email", "reagan_borer@ritchieweissnat.com"], ["password_digest", "$2a$04$E1428noHbvJ2ChHIzfCBFuYS2V65DgLl2E7t8u4OszR45LjLdlJ46"], ["created_at", "2018-04-06 07:58:08.214895"], ["updated_at", "2018-04-06 07:58:08.214895"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "hoa@ritchie.name"], ["LIMIT", 1]] SQL (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", "Kera Collins"], ["last_name", "Kim Christiansen"], ["email", "hoa@ritchie.name"], ["password_digest", "$2a$04$YAZnqFIqxk.qoAIfIliwXebKPc9/4xboznzeljrczUt8W3Wf1NrZy"], ["created_at", "2018-04-06 07:58:08.226469"], ["updated_at", "2018-04-06 07:58:08.226469"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "suanne_schuppe@mosciski.com"], ["LIMIT", 1]] SQL (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", "Milagros Borer"], ["last_name", "Leticia Schinner"], ["email", "suanne_schuppe@mosciski.com"], ["password_digest", "$2a$04$NnqKrtgAZOfMm813l/qgDe24VIwlX2VP92znf8nwRjhqMCaUaDzaa"], ["created_at", "2018-04-06 07:58:08.237425"], ["updated_at", "2018-04-06 07:58:08.237425"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) 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", "cornelia.oreilly@nicolaswolff.us"], ["LIMIT", 1]] SQL (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", "Jacinto Cartwright"], ["last_name", "Caleb Purdy"], ["email", "cornelia.oreilly@nicolaswolff.us"], ["password_digest", "$2a$04$Ec5KavLBnaplFjjrDqSijOp2RUD36WJEaC1bYFfiFIrViJP9WCr.e"], ["created_at", "2018-04-06 07:58:08.250403"], ["updated_at", "2018-04-06 07:58:08.250403"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "marlin@jerde.biz"], ["LIMIT", 1]] SQL (0.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", "Leticia Pfannerstill"], ["last_name", "Yukiko Rogahn"], ["email", "marlin@jerde.biz"], ["password_digest", "$2a$04$YzPr6JB8HuqEBvLgr1XVWeNjpcdw2HFukIsxbCYjx/4Ui6FoClTwq"], ["created_at", "2018-04-06 07:58:08.259470"], ["updated_at", "2018-04-06 07:58:08.259470"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (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", "vernie@wisoky.biz"], ["LIMIT", 1]] SQL (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", "Yajaira Cummings"], ["last_name", "Virgina Reichel"], ["email", "vernie@wisoky.biz"], ["password_digest", "$2a$04$9qteogJ6cqNySVOdrwTfy.CuNw5GvnBPi16fZ6FmCVgFr7rQlvCD2"], ["created_at", "2018-04-06 07:58:08.269382"], ["updated_at", "2018-04-06 07:58:08.269382"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Dani Gaylord"], ["LIMIT", 1]] SQL (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", "Dani Gaylord"], ["name", "Beulah Hilll"], ["address", "Johnette Reichert"], ["created_at", "2018-04-06 07:58:08.277272"], ["updated_at", "2018-04-06 07:58:08.277272"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Shanti Yundt"], ["LIMIT", 1]] SQL (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", "Shanti Yundt"], ["name", "Austin Littel"], ["description", "Quincy Walsh"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-04-06 07:58:08.285778"], ["updated_at", "2018-04-06 07:58:08.285778"]]  (0.6ms) 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", 17], ["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", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.96ms) Completed 200 OK in 20ms (Views: 14.8ms | ActiveRecord: 3.5ms)  (0.7ms) ROLLBACK  (0.9ms) BEGIN  (1.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", "ernesto@bins.us"], ["LIMIT", 1]] SQL (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", "Dalia Kassulke"], ["last_name", "Georgann Osinski"], ["email", "ernesto@bins.us"], ["password_digest", "$2a$04$OuHOcILzSx1BmZYZSwZ4SeIhxb7a1Qk/nnLhTvhsW9vTPZtfRImxS"], ["created_at", "2018-04-06 07:58:08.323465"], ["updated_at", "2018-04-06 07:58:08.323465"]]  (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", "Deedee Hodkiewicz"], ["LIMIT", 1]] SQL (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", "Deedee Hodkiewicz"], ["name", "Shakia King"], ["address", "Laree Wilkinson"], ["created_at", "2018-04-06 07:58:08.328580"], ["updated_at", "2018-04-06 07:58:08.328580"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Beth Denesik"], ["LIMIT", 1]] SQL (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", "Beth Denesik"], ["name", "Glennis Dibbert"], ["description", "Beaulah Hoppe"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 07:58:08.334477"], ["updated_at", "2018-04-06 07:58:08.334477"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ariel Ernser"], ["LIMIT", 1]] SQL (0.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", "Ariel Ernser"], ["name", "Kendall Feest"], ["description", "Patsy Halvorson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 07:58:08.339316"], ["updated_at", "2018-04-06 07:58:08.339316"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sabine Gaylord"], ["LIMIT", 1]] SQL (0.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", "Sabine Gaylord"], ["name", "Louie Koss"], ["description", "Shonda Keebler"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 07:58:08.343855"], ["updated_at", "2018-04-06 07:58:08.343855"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["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", 18], ["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", 12]] [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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] 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" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.99ms) Completed 200 OK in 13ms (Views: 6.6ms | ActiveRecord: 5.3ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) 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", "johna@rosenbaum.name"], ["LIMIT", 1]] SQL (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", "Doyle Dooley"], ["last_name", "Katy Shields"], ["email", "johna@rosenbaum.name"], ["password_digest", "$2a$04$Bbyv2lMc7LXSl3g4GWkVJebQmt3Wc.7.1nFJy7wJvhOXBUYJdvkQq"], ["created_at", "2018-04-06 07:58:08.369902"], ["updated_at", "2018-04-06 07:58:08.369902"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cinda Hane"], ["LIMIT", 1]] SQL (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", "Cinda Hane"], ["name", "Ellen Wolf"], ["address", "Joelle Spinka"], ["created_at", "2018-04-06 07:58:08.374644"], ["updated_at", "2018-04-06 07:58:08.374644"]]  (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", "Kecia Rosenbaum"], ["LIMIT", 1]] SQL (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", "Kecia Rosenbaum"], ["name", "Robert Stroman"], ["description", "Nydia Rempel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 07:58:08.380120"], ["updated_at", "2018-04-06 07:58:08.380120"]]  (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", "Candi Marvin"], ["LIMIT", 1]] SQL (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", "Candi Marvin"], ["name", "Sulema Kutch"], ["description", "Alesia Marks"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 07:58:08.386619"], ["updated_at", "2018-04-06 07:58:08.386619"]]  (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", "Stewart Hane"], ["LIMIT", 1]] SQL (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", "Stewart Hane"], ["name", "Susann Batz"], ["description", "Melodie Connelly"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 07:58:08.393582"], ["updated_at", "2018-04-06 07:58:08.393582"]]  (0.9ms) 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", "Lanora Schmeler"], ["LIMIT", 1]] SQL (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", "Lanora Schmeler"], ["name", "Lily Schneider"], ["address", "Lizzie Mitchell"], ["created_at", "2018-04-06 07:58:08.402574"], ["updated_at", "2018-04-06 07:58:08.402574"]]  (0.6ms) 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", "Tynisha Medhurst"], ["LIMIT", 1]] SQL (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", "Tynisha Medhurst"], ["name", "Cortez Kemmer"], ["description", "Rhiannon Fadel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-04-06 07:58:08.409703"], ["updated_at", "2018-04-06 07:58:08.409703"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Athena Smitham"], ["LIMIT", 1]] SQL (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", "Athena Smitham"], ["name", "Olivia Larkin"], ["address", "Marry Kris"], ["created_at", "2018-04-06 07:58:08.418412"], ["updated_at", "2018-04-06 07:58:08.418412"]]  (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", "Brinda Klocko"], ["LIMIT", 1]] SQL (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", "Brinda Klocko"], ["name", "Allen Pouros"], ["description", "Magaly Wisozk"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-04-06 07:58:08.424380"], ["updated_at", "2018-04-06 07:58:08.424380"]]  (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", "Antonetta Sauer"], ["LIMIT", 1]] SQL (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", "Antonetta Sauer"], ["name", "Brandy Lowe"], ["address", "Carly Runolfsson"], ["created_at", "2018-04-06 07:58:08.429387"], ["updated_at", "2018-04-06 07:58:08.429387"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Stephane Mante"], ["LIMIT", 1]] SQL (0.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", "Stephane Mante"], ["name", "Elmer Crooks"], ["description", "Rachele Welch"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-04-06 07:58:08.433551"], ["updated_at", "2018-04-06 07:58:08.433551"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.05ms) Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 3.1ms)  (0.5ms) ROLLBACK  (0.5ms) 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", "greg@wiza.co.uk"], ["LIMIT", 1]] SQL (0.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", "Maynard Hoeger"], ["last_name", "Sunday Breitenberg"], ["email", "greg@wiza.co.uk"], ["password_digest", "$2a$04$lbQAnGND3asJECDP5OXv7uuMvhIMf.3w5qMLAWLP70XhfuN8q.XAi"], ["created_at", "2018-04-06 07:58:08.452672"], ["updated_at", "2018-04-06 07:58:08.452672"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Tracy Bogisich"], ["LIMIT", 1]] SQL (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", "Tracy Bogisich"], ["name", "Elmer Hagenes"], ["address", "Brittni Weber"], ["created_at", "2018-04-06 07:58:08.459142"], ["updated_at", "2018-04-06 07:58:08.459142"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Renata Dicki"], ["LIMIT", 1]] SQL (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", "Renata Dicki"], ["name", "Arnoldo Collier"], ["description", "Georgeanna Smith"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-04-06 07:58:08.463455"], ["updated_at", "2018-04-06 07:58:08.463455"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 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", 22], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.58ms) Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 2.2ms)  (0.5ms) ROLLBACK  (0.4ms) 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", "zina_gerlach@harvey.us"], ["LIMIT", 1]] SQL (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", "Benny Wolff"], ["last_name", "Arthur Corkery"], ["email", "zina_gerlach@harvey.us"], ["password_digest", "$2a$04$vb0hkXUzUa.4LXi8h2VDzO3lIOfKlKmMwcsoY25rxVbwTPFdWgvrS"], ["created_at", "2018-04-06 07:58:08.482272"], ["updated_at", "2018-04-06 07:58:08.482272"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Gemma Mann"], ["LIMIT", 1]] SQL (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", "Gemma Mann"], ["name", "Joel Howe"], ["address", "Judie Stanton"], ["created_at", "2018-04-06 07:58:08.492227"], ["updated_at", "2018-04-06 07:58:08.492227"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Shandi Howe", "description"=>"Shanae Bergnaum", "name"=>"Andy Pollich", "service_delivery_unit_id"=>"18"}} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]  (1.2ms) SAVEPOINT active_record_1 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", 18], ["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", "Shandi Howe"], ["LIMIT", 1]] SQL (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", "Shandi Howe"], ["name", "Andy Pollich"], ["description", "Shanae Bergnaum"], ["service_delivery_unit_id", 18], ["created_at", "2018-04-06 07:58:08.508397"], ["updated_at", "2018-04-06 07:58:08.508397"]]  (0.7ms) 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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.37ms) Completed 201 Created in 18ms (Views: 2.9ms | ActiveRecord: 7.2ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "nikki@leschschoen.info"], ["LIMIT", 1]] SQL (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", "Hans McCullough"], ["last_name", "Marlana Botsford"], ["email", "nikki@leschschoen.info"], ["password_digest", "$2a$04$Och.X5xkSxeggjTptREgdeRrbJWyWbXwpQ8ubfuA8uKnSscNMGp4y"], ["created_at", "2018-04-06 07:58:08.525010"], ["updated_at", "2018-04-06 07:58:08.525010"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lynette Mann"], ["LIMIT", 1]] SQL (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", "Lynette Mann"], ["name", "Cammy Okuneva"], ["address", "Marie Zulauf"], ["created_at", "2018-04-06 07:58:08.529690"], ["updated_at", "2018-04-06 07:58:08.529690"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Lou Friesen", "description"=>"Yolanda Stroman", "name"=>"Jessi Funk", "service_delivery_unit_id"=>"19"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.6ms) 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", 19], ["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", "Lou Friesen"], ["LIMIT", 1]] SQL (0.7ms) 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", "Lou Friesen"], ["name", "Jessi Funk"], ["description", "Yolanda Stroman"], ["service_delivery_unit_id", 19], ["created_at", "2018-04-06 07:58:08.541027"], ["updated_at", "2018-04-06 07:58:08.541027"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.25ms) Completed 201 Created in 13ms (Views: 1.8ms | ActiveRecord: 4.2ms) Mks::Rate::ServiceBundle Load (0.5ms) 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.4ms) 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", "noel@rath.info"], ["LIMIT", 1]] SQL (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", "Lilli Keebler"], ["last_name", "Lili Feeney"], ["email", "noel@rath.info"], ["password_digest", "$2a$04$X2vwT1J/t/weIb697V5kx.5.4whMtBwZ41Alqlvwko0ZaTVrJJSte"], ["created_at", "2018-04-06 07:58:08.557078"], ["updated_at", "2018-04-06 07:58:08.557078"]]  (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", "Rufina Christiansen"], ["LIMIT", 1]] SQL (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", "Rufina Christiansen"], ["name", "Ian Kessler"], ["address", "Junko Macejkovic"], ["created_at", "2018-04-06 07:58:08.562940"], ["updated_at", "2018-04-06 07:58:08.562940"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Evan Fisher", "name"=>"Rosalee Jones", "service_delivery_unit_id"=>"20"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]  (0.9ms) 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", 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", ""], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 14ms (Views: 4.9ms | ActiveRecord: 4.6ms)  (1.4ms) 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", "camie@marvindoyle.com"], ["LIMIT", 1]] SQL (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", "Lula Beier"], ["last_name", "Marcella Kihn"], ["email", "camie@marvindoyle.com"], ["password_digest", "$2a$04$F9k90pD1n.SHwPl9jtIrU.g0XMibpK5Zo1MlkKzdQlGDJQ4dQcCkS"], ["created_at", "2018-04-06 07:58:08.593164"], ["updated_at", "2018-04-06 07:58:08.593164"]]  (0.7ms) 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", "Inocencia Schinner"], ["LIMIT", 1]] SQL (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", "Inocencia Schinner"], ["name", "Delena Lockman"], ["address", "Fermina Hoppe"], ["created_at", "2018-04-06 07:58:08.600712"], ["updated_at", "2018-04-06 07:58:08.600712"]]  (0.6ms) 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", "Philomena Hagenes"], ["LIMIT", 1]] SQL (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", "Philomena Hagenes"], ["name", "Laurette Koss"], ["description", "Tommy Hilll"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-04-06 07:58:08.607179"], ["updated_at", "2018-04-06 07:58:08.607179"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Fernanda Murazik"}, "id"=>"25"} 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::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 25], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.3ms) 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", "Philomena Hagenes"], ["id", 25], ["LIMIT", 1]] SQL (1.0ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Fernanda Murazik"], ["updated_at", "2018-04-06 07:58:08.623086"], ["id", 25]]  (0.7ms) 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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.28ms) Completed 200 OK in 16ms (Views: 1.6ms | ActiveRecord: 6.7ms) 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", 25], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.9ms) 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", "zula@zemlak.ca"], ["LIMIT", 1]] SQL (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", "Aja Koch"], ["last_name", "Jarvis Lind"], ["email", "zula@zemlak.ca"], ["password_digest", "$2a$04$igDdGHuSU/3QHhr/4bVXcu4.PQPpQjj1LydQh/qLQgsjKlsU6KsYO"], ["created_at", "2018-04-06 07:58:08.640522"], ["updated_at", "2018-04-06 07:58:08.640522"]]  (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", "Heide Lockman"], ["LIMIT", 1]] SQL (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", "Heide Lockman"], ["name", "Jarvis Stracke"], ["address", "Lacy Olson"], ["created_at", "2018-04-06 07:58:08.645778"], ["updated_at", "2018-04-06 07:58:08.645778"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Deonna Kris"], ["LIMIT", 1]] SQL (0.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", "Deonna Kris"], ["name", "Annabel White"], ["description", "Hyacinth Steuber"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-04-06 07:58:08.649897"], ["updated_at", "2018-04-06 07:58:08.649897"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Elvina Upton"], ["LIMIT", 1]] SQL (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", "Elvina Upton"], ["name", "Angeline Kreiger"], ["address", "Anisha Gislason"], ["created_at", "2018-04-06 07:58:08.654236"], ["updated_at", "2018-04-06 07:58:08.654236"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Tenisha Padberg", "description"=>"Genesis Rippin", "name"=>"Mardell Feil", "service_delivery_unit_id"=>"23"}, "id"=>"26"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 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", 26], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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]] Mks::Rate::ServiceBundle Exists (0.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", "Tenisha Padberg"], ["id", 26], ["LIMIT", 1]] SQL (1.6ms) 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", "Tenisha Padberg"], ["name", "Mardell Feil"], ["description", "Genesis Rippin"], ["service_delivery_unit_id", 23], ["updated_at", "2018-04-06 07:58:08.663950"], ["id", 26]]  (0.7ms) 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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.32ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 5.8ms)  (1.2ms) ROLLBACK  (0.5ms) 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", "ignacio.hodkiewicz@croninmitchell.ca"], ["LIMIT", 1]] SQL (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", "Keitha Gerhold"], ["last_name", "Cristopher Dickinson"], ["email", "ignacio.hodkiewicz@croninmitchell.ca"], ["password_digest", "$2a$04$HfjLeMeJBE2ofRx.3QhDY.lAuzEHO5DACQwvAaJTVuLCD7biICVY2"], ["created_at", "2018-04-06 07:58:08.679021"], ["updated_at", "2018-04-06 07:58:08.679021"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Shanel Jenkins"], ["LIMIT", 1]] SQL (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", "Shanel Jenkins"], ["name", "Mandie Lang"], ["address", "Ebony Veum"], ["created_at", "2018-04-06 07:58:08.686215"], ["updated_at", "2018-04-06 07:58:08.686215"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Tilda Runte"], ["LIMIT", 1]] SQL (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", "Tilda Runte"], ["name", "Victoria Dickinson"], ["description", "Arlyne Bernhard"], ["percent_discount", 100.0], ["service_delivery_unit_id", 24], ["created_at", "2018-04-06 07:58:08.693802"], ["updated_at", "2018-04-06 07:58:08.693802"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Kennith Corkery"], ["LIMIT", 1]] SQL (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", "Kennith Corkery"], ["name", "Caprice Huel"], ["address", "Elijah Beatty"], ["created_at", "2018-04-06 07:58:08.701087"], ["updated_at", "2018-04-06 07:58:08.701087"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Graig Goyette", "name"=>"Breana Beier", "service_delivery_unit_id"=>"25"}, "id"=>"27"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 27], ["LIMIT", 1]]  (0.8ms) 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", 25], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) 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", 27], ["LIMIT", 1]]  (1.1ms) 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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.16ms) Completed 422 Unprocessable Entity in 19ms (Views: 2.1ms | ActiveRecord: 7.6ms)  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "barton.waters@jacobsturcotte.info"], ["LIMIT", 1]] SQL (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", "Dania Brakus"], ["last_name", "Tamera Haag"], ["email", "barton.waters@jacobsturcotte.info"], ["password_digest", "$2a$04$mzHv9uDa2AE8.gCMYt0TZObGExZGIUbSuG6Zs40YJjlFtry3YLLEq"], ["created_at", "2018-04-06 07:58:08.734371"], ["updated_at", "2018-04-06 07:58:08.734371"]]  (0.4ms) 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", "Na Bednar"], ["LIMIT", 1]] SQL (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", "Na Bednar"], ["name", "Shantelle Deckow"], ["address", "Elisha Olson"], ["created_at", "2018-04-06 07:58:08.739069"], ["updated_at", "2018-04-06 07:58:08.739069"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jeanene Bechtelar"], ["LIMIT", 1]] SQL (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", "Jeanene Bechtelar"], ["name", "Danyelle Swift"], ["address", "Marie Turner"], ["created_at", "2018-04-06 07:58:08.743118"], ["updated_at", "2018-04-06 07:58:08.743118"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lucina Haag"], ["LIMIT", 1]] SQL (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", "Lucina Haag"], ["name", "Alaine Muller"], ["address", "Veronica Morissette"], ["created_at", "2018-04-06 07:58:08.747066"], ["updated_at", "2018-04-06 07:58:08.747066"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) 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.69ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 1.7ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "nannette@wilkinson.co.uk"], ["LIMIT", 1]] SQL (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", "Justine Feeney"], ["last_name", "Krissy Oberbrunner"], ["email", "nannette@wilkinson.co.uk"], ["password_digest", "$2a$04$RIjKb1V/JwTKS3DXJIK2I.gmjgE47e6YPiAJfoGoG6wyQWYrCLufu"], ["created_at", "2018-04-06 07:58:08.775454"], ["updated_at", "2018-04-06 07:58:08.775454"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Rosalyn Boyle", "code"=>"Richie Stiedemann", "name"=>"Shayne Sporer"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 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", "Richie Stiedemann"], ["LIMIT", 1]] SQL (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", "Richie Stiedemann"], ["name", "Shayne Sporer"], ["address", "Rosalyn Boyle"], ["created_at", "2018-04-06 07:58:08.786588"], ["updated_at", "2018-04-06 07:58:08.786588"]]  (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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.62ms) Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 4.2ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "arielle@ratke.us"], ["LIMIT", 1]] SQL (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", "Ashlea Kris"], ["last_name", "Justin Mann"], ["email", "arielle@ratke.us"], ["password_digest", "$2a$04$P1Y5.TKaIxLacZWpqBDmuOcLgzxGAVkNNAK8cK0pIQ22QhCN0yGN2"], ["created_at", "2018-04-06 07:58:08.803387"], ["updated_at", "2018-04-06 07:58:08.803387"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Patti Gottlieb", "code"=>"Cristen Kling", "name"=>"Aja O'Conner"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 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", "Cristen Kling"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cristen Kling"], ["name", "Aja O'Conner"], ["address", "Patti Gottlieb"], ["created_at", "2018-04-06 07:58:08.814755"], ["updated_at", "2018-04-06 07:58:08.814755"]]  (1.1ms) 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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.62ms) Completed 200 OK in 15ms (Views: 2.6ms | ActiveRecord: 7.0ms)  (0.9ms) ROLLBACK  (0.7ms) 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", "elyse@bogisichreilly.biz"], ["LIMIT", 1]] SQL (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", "Lyla Rau"], ["last_name", "Dee Haley"], ["email", "elyse@bogisichreilly.biz"], ["password_digest", "$2a$04$ERbobHFTqAkGY9SVNzS8R.zYa2.UGDnJVx4dgkG72sIrlNty4BQEa"], ["created_at", "2018-04-06 07:58:08.834042"], ["updated_at", "2018-04-06 07:58:08.834042"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Cristine Armstrong", "code"=>"", "name"=>"Hilde Cummings"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["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", ""], ["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", 30], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.2ms | ActiveRecord: 3.4ms)  (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", "joyce@hodkiewicz.info"], ["LIMIT", 1]] SQL (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", "Cori Johnson"], ["last_name", "Tod Rempel"], ["email", "joyce@hodkiewicz.info"], ["password_digest", "$2a$04$g481pccIdSy8T7hOV8eA9uIrHeYz8zlbbCkjQTg301.IBrkvzRe0C"], ["created_at", "2018-04-06 07:58:08.853207"], ["updated_at", "2018-04-06 07:58:08.853207"]]  (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", "Elenor Bednar"], ["LIMIT", 1]] SQL (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", "Elenor Bednar"], ["name", "Rosann O'Kon"], ["address", "Tommie Jerde"], ["created_at", "2018-04-06 07:58:08.857768"], ["updated_at", "2018-04-06 07:58:08.857768"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"31"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["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", 31], ["LIMIT", 1]]  (0.8ms) 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", "Elenor Bednar"], ["id", 31], ["LIMIT", 1]] SQL (0.9ms) 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-04-06 07:58:08.868541"], ["id", 31]]  (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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.76ms) Completed 200 OK in 13ms (Views: 2.3ms | ActiveRecord: 6.1ms) 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", 31], ["LIMIT", 1]]  (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", "karie@frami.name"], ["LIMIT", 1]] SQL (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", "Ngoc Lynch"], ["last_name", "Bess Kertzmann"], ["email", "karie@frami.name"], ["password_digest", "$2a$04$CQxkxxqADQMA6/DWhUBlsup2Ghvag92QJzMzRUpVRqbVyhVBs2aWC"], ["created_at", "2018-04-06 07:58:08.885230"], ["updated_at", "2018-04-06 07:58:08.885230"]]  (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", "Ethyl Stark"], ["LIMIT", 1]] SQL (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", "Ethyl Stark"], ["name", "Zelma Halvorson"], ["address", "Marguerita Bayer"], ["created_at", "2018-04-06 07:58:08.891446"], ["updated_at", "2018-04-06 07:58:08.891446"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"32"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["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", 32], ["LIMIT", 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Ethyl Stark"], ["id", 32], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO 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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.16ms) Completed 422 Unprocessable Entity in 17ms (Views: 2.3ms | ActiveRecord: 5.9ms)  (2.4ms) ROLLBACK  (0.9ms) BEGIN  (1.5ms) 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", "hiroko@daughertyschaden.info"], ["LIMIT", 1]] SQL (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", "Angelyn Watsica"], ["last_name", "Domingo Swaniawski"], ["email", "hiroko@daughertyschaden.info"], ["password_digest", "$2a$04$dAgpz8xVucTZrBskgVG0yuEk/UX/FkLpXwUJwNpiVplvwtBq.1LrW"], ["created_at", "2018-04-06 07:58:08.930896"], ["updated_at", "2018-04-06 07:58:08.930896"]]  (0.7ms) 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", "Lakeisha Greenholt"], ["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", "Sana Gibson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lakeisha Greenholt"], ["name", "Sana Gibson"], ["description", "Corporis veritatis quod voluptate sed aut. Laudantium vel corrupti non doloribus occaecati aut quae. Minima quaerat sint similique provident quod sit excepturi quo. Eos et doloribus corporis cupiditate qui ut. Et cupiditate delectus quaerat voluptas reiciendis ipsum voluptatum et."], ["created_at", "2018-04-06 07:58:09.057699"], ["updated_at", "2018-04-06 07:58:09.057699"]]  (0.4ms) 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", "Quiana Jewess"], ["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", "Pasquale Mills"], ["LIMIT", 1]] SQL (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", "Quiana Jewess"], ["name", "Pasquale Mills"], ["description", "In qui aut quis aut id veritatis est. Rerum eos reiciendis asperiores saepe repellat. Voluptatum et quo aut doloribus provident voluptas atque. Ea eum qui ipsum deserunt doloremque quia odit."], ["equipment_type_id", 1], ["created_at", "2018-04-06 07:58:09.064550"], ["updated_at", "2018-04-06 07:58:09.064550"]]  (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", "Omega Kiehn"], ["LIMIT", 1]] SQL (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", "Omega Kiehn"], ["name", "Robert Osinski"], ["description", "Guy Emard"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-04-06 07:58:09.070635"], ["updated_at", "2018-04-06 07:58:09.070635"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Dedra Tromp"], ["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", "Delmar Toy"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dedra Tromp"], ["name", "Delmar Toy"], ["description", "Deeanna Kunde"], ["created_at", "2018-04-06 07:58:09.121166"], ["updated_at", "2018-04-06 07:58:09.121166"]]  (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", "Tyra Roberts"], ["LIMIT", 1]] SQL (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", "Tyra Roberts"], ["name", "Jessica Sporer"], ["location_type_id", 1], ["description", "Cindi Baumbach"], ["address", "Sybil Welch"], ["created_at", "2018-04-06 07:58:09.127581"], ["updated_at", "2018-04-06 07:58:09.127581"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Carlton Volkman"], ["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", "Kurtis Dickens"], ["LIMIT", 1]] SQL (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", "Carlton Volkman"], ["name", "Jenell Leuschke"], ["description", "Annetta Mayer"], ["serial_number", "Kurtis Dickens"], ["brand", "Latisha Swift"], ["item_model", "Shaina Emmerich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-04-06 07:58:09.138261"], ["updated_at", "2018-04-06 07:58:09.138261"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Erich Mayert"], ["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", "Kanisha Robel"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Erich Mayert"], ["name", "Kanisha Robel"], ["created_at", "2018-04-06 07:58:09.151017"], ["updated_at", "2018-04-06 07:58:09.151017"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Galina Goyette"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Galina Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.156077"], ["updated_at", "2018-04-06 07:58:09.156077"]]  (0.4ms) 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", "Samella Witting"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Samella Witting"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.160344"], ["updated_at", "2018-04-06 07:58:09.160344"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Darrick Hyatt"], ["LIMIT", 1]] SQL (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", "Darrick Hyatt"], ["name", "Scarlet Corkery"], ["address", "Marilou Boehm"], ["created_at", "2018-04-06 07:58:09.164509"], ["updated_at", "2018-04-06 07:58:09.164509"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Elia Abshire"], ["service_delivery_unit_id", 33], ["LIMIT", 1]] SQL (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", "Elia Abshire"], ["name", "Katia Heathcote"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 33], ["created_at", "2018-04-06 07:58:09.169351"], ["updated_at", "2018-04-06 07:58:09.169351"]] 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 (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elia Abshire"], ["LIMIT", 1]] SQL (0.7ms) 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 Abshire"], ["name", "Katia Heathcote"], ["description", "Default bundle for service 'Katia Heathcote'"], ["service_delivery_unit_id", 33], ["created_at", "2018-04-06 07:58:09.174189"], ["updated_at", "2018-04-06 07:58:09.174189"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 28], ["chargeable_service_id", 12]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", 12], ["equipment_item_id", 1], ["created_at", "2018-04-06 07:58:09.181160"], ["updated_at", "2018-04-06 07:58:09.181160"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Miguelina Gutkowski"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Chaya Sporer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Miguelina Gutkowski"], ["name", "Chaya Sporer"], ["description", "Magnam inventore expedita ex quo ratione est sunt. Quasi et tenetur laudantium modi consequatur vero alias. Ullam aut cum voluptatem eos. A et ea eos cum. Quia quam ex molestias id cumque."], ["created_at", "2018-04-06 07:58:09.188813"], ["updated_at", "2018-04-06 07:58:09.188813"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Stacia Ruecker"], ["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", "Lynelle Deckow"], ["LIMIT", 1]] SQL (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", "Stacia Ruecker"], ["name", "Lynelle Deckow"], ["description", "Ut unde dolorum sunt qui distinctio. Deleniti odio est excepturi repellat eum. Corporis vero repudiandae voluptatem non ducimus."], ["equipment_type_id", 2], ["created_at", "2018-04-06 07:58:09.195549"], ["updated_at", "2018-04-06 07:58:09.195549"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Deana Metz"], ["LIMIT", 1]] SQL (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", "Deana Metz"], ["name", "Alta Murphy"], ["description", "Marcelina Leffler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-04-06 07:58:09.203526"], ["updated_at", "2018-04-06 07:58:09.203526"]]  (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", "Retta Wiza"], ["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", "Freddie Rolfson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Retta Wiza"], ["name", "Freddie Rolfson"], ["description", "Nakia Jewess"], ["created_at", "2018-04-06 07:58:09.212112"], ["updated_at", "2018-04-06 07:58:09.212112"]]  (0.6ms) 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", "Rossana Lynch"], ["LIMIT", 1]] SQL (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", "Rossana Lynch"], ["name", "Kacy Wiegand"], ["location_type_id", 2], ["description", "Moira Bogan"], ["address", "Allan Bergnaum"], ["created_at", "2018-04-06 07:58:09.218304"], ["updated_at", "2018-04-06 07:58:09.218304"]]  (0.6ms) 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", "Daphine Mante"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Toby Beier"], ["LIMIT", 1]] SQL (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", "Daphine Mante"], ["name", "Karry Lebsack"], ["description", "Raphael Gislason"], ["serial_number", "Toby Beier"], ["brand", "Ilse O'Reilly"], ["item_model", "Marilynn Moen"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-04-06 07:58:09.224587"], ["updated_at", "2018-04-06 07:58:09.224587"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Cortez Becker"], ["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", "Lyndsey Willms"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cortez Becker"], ["name", "Lyndsey Willms"], ["created_at", "2018-04-06 07:58:09.231131"], ["updated_at", "2018-04-06 07:58:09.231131"]]  (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", "Lizzie Pfeffer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lizzie Pfeffer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.236385"], ["updated_at", "2018-04-06 07:58:09.236385"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jermaine Torp"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jermaine Torp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.240899"], ["updated_at", "2018-04-06 07:58:09.240899"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Weston Schinner"], ["LIMIT", 1]] SQL (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", "Weston Schinner"], ["name", "Melody Price"], ["address", "Jamar Sawayn"], ["created_at", "2018-04-06 07:58:09.245171"], ["updated_at", "2018-04-06 07:58:09.245171"]]  (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", "Mandy Wunsch"], ["service_delivery_unit_id", 34], ["LIMIT", 1]] SQL (0.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", "Mandy Wunsch"], ["name", "Pam Lockman"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 34], ["created_at", "2018-04-06 07:58:09.249557"], ["updated_at", "2018-04-06 07:58:09.249557"]] 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.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mandy Wunsch"], ["LIMIT", 1]] SQL (0.7ms) 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", "Mandy Wunsch"], ["name", "Pam Lockman"], ["description", "Default bundle for service 'Pam Lockman'"], ["service_delivery_unit_id", 34], ["created_at", "2018-04-06 07:58:09.254181"], ["updated_at", "2018-04-06 07:58:09.254181"]] SQL (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 29], ["chargeable_service_id", 13]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 13], ["equipment_item_id", 2], ["created_at", "2018-04-06 07:58:09.260151"], ["updated_at", "2018-04-06 07:58:09.260151"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Raisa Nienow"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Jone Keebler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Raisa Nienow"], ["name", "Jone Keebler"], ["description", "Vitae tempore ut nobis veritatis. Enim voluptas rem est quisquam. Quia cum quia accusamus aspernatur. Ut deserunt veniam natus amet dolorum rerum."], ["created_at", "2018-04-06 07:58:09.266792"], ["updated_at", "2018-04-06 07:58:09.266792"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Beckie Conn"], ["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", "Yoshie Weissnat"], ["LIMIT", 1]] SQL (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", "Beckie Conn"], ["name", "Yoshie Weissnat"], ["description", "Hic blanditiis ut ut qui. Dolorem ut non perferendis qui. Alias eveniet dolorem maxime est quia itaque autem. Molestias qui et deleniti voluptatem ratione."], ["equipment_type_id", 3], ["created_at", "2018-04-06 07:58:09.272054"], ["updated_at", "2018-04-06 07:58:09.272054"]]  (0.4ms) 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", "Soledad Borer"], ["LIMIT", 1]] SQL (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", "Soledad Borer"], ["name", "Mohammed Wintheiser"], ["description", "Galina Schultz"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-04-06 07:58:09.276288"], ["updated_at", "2018-04-06 07:58:09.276288"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Bernetta Quigley"], ["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", "Arlie Feest"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bernetta Quigley"], ["name", "Arlie Feest"], ["description", "Necole Schinner"], ["created_at", "2018-04-06 07:58:09.282057"], ["updated_at", "2018-04-06 07:58:09.282057"]]  (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", "Maple Schaden"], ["LIMIT", 1]] SQL (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", "Maple Schaden"], ["name", "Jordan Hermiston"], ["location_type_id", 3], ["description", "Kyla Anderson"], ["address", "Nelia Schoen"], ["created_at", "2018-04-06 07:58:09.285995"], ["updated_at", "2018-04-06 07:58:09.285995"]]  (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", "Shelley Hessel"], ["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", "Hien Hickle"], ["LIMIT", 1]] SQL (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", "Shelley Hessel"], ["name", "Lulu Bernhard"], ["description", "Joesph Schuppe"], ["serial_number", "Hien Hickle"], ["brand", "Roland Adams"], ["item_model", "Soledad Daugherty"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-04-06 07:58:09.292902"], ["updated_at", "2018-04-06 07:58:09.292902"]]  (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", "Chandra Goldner"], ["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", "Sasha Koch"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chandra Goldner"], ["name", "Sasha Koch"], ["created_at", "2018-04-06 07:58:09.302380"], ["updated_at", "2018-04-06 07:58:09.302380"]]  (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", "Billy Walter"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Billy Walter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.308896"], ["updated_at", "2018-04-06 07:58:09.308896"]]  (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", "Hannelore Howe"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hannelore Howe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.314976"], ["updated_at", "2018-04-06 07:58:09.314976"]]  (0.7ms) 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", "Stanley Murphy"], ["LIMIT", 1]] SQL (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", "Stanley Murphy"], ["name", "Norris Roberts"], ["address", "Oscar Kertzmann"], ["created_at", "2018-04-06 07:58:09.322750"], ["updated_at", "2018-04-06 07:58:09.322750"]]  (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", "Rosetta Larson"], ["service_delivery_unit_id", 35], ["LIMIT", 1]] SQL (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", "Rosetta Larson"], ["name", "Neva Barton"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 35], ["created_at", "2018-04-06 07:58:09.329314"], ["updated_at", "2018-04-06 07:58:09.329314"]] 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", 35], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rosetta Larson"], ["LIMIT", 1]] SQL (0.7ms) 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", "Rosetta Larson"], ["name", "Neva Barton"], ["description", "Default bundle for service 'Neva Barton'"], ["service_delivery_unit_id", 35], ["created_at", "2018-04-06 07:58:09.335069"], ["updated_at", "2018-04-06 07:58:09.335069"]] SQL (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 30], ["chargeable_service_id", 14]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 14], ["equipment_item_id", 3], ["created_at", "2018-04-06 07:58:09.341188"], ["updated_at", "2018-04-06 07:58:09.341188"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#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", 33], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.2ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 12], ["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", 1], ["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", 13], ["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", 2], ["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", 14], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (10.99ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.4ms) Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 6.5ms)  (1.1ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "palmer_fadel@king.co.uk"], ["LIMIT", 1]] SQL (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", "Jude Ritchie"], ["last_name", "Yan Hermiston"], ["email", "palmer_fadel@king.co.uk"], ["password_digest", "$2a$04$7XkYZlrI6YNdpbCpyzfGAOivrmo18lf3d7CeTUIU3LdBvrTwkDNFK"], ["created_at", "2018-04-06 07:58:09.379740"], ["updated_at", "2018-04-06 07:58:09.379740"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kirstin Bernhard"], ["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", "Letty Schultz"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kirstin Bernhard"], ["name", "Letty Schultz"], ["description", "Expedita dolorem aut maiores doloremque blanditiis. Esse eveniet et est excepturi repellendus. Ipsum tempora similique voluptatem fuga magnam laborum."], ["created_at", "2018-04-06 07:58:09.386848"], ["updated_at", "2018-04-06 07:58:09.386848"]]  (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", "Brianna Mohr"], ["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", "Idella Littel"], ["LIMIT", 1]] SQL (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", "Brianna Mohr"], ["name", "Idella Littel"], ["description", "Iusto dolores qui sed provident et et neque eum. Mollitia reiciendis fugit minus iusto velit aut at ipsa. Voluptatum nostrum nobis perferendis exercitationem reprehenderit ut dolorum nihil. Aspernatur inventore est eaque explicabo pariatur iure. Dolorum non debitis ratione rem."], ["equipment_type_id", 4], ["created_at", "2018-04-06 07:58:09.393262"], ["updated_at", "2018-04-06 07:58:09.393262"]]  (0.6ms) 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", "Jarred Huel"], ["LIMIT", 1]] SQL (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", "Jarred Huel"], ["name", "Ramon Bailey"], ["description", "Arlinda Borer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-04-06 07:58:09.399242"], ["updated_at", "2018-04-06 07:58:09.399242"]]  (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", "Hermine Tromp"], ["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", "Cornelia Kerluke"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Hermine Tromp"], ["name", "Cornelia Kerluke"], ["description", "Isa Mayert"], ["created_at", "2018-04-06 07:58:09.407768"], ["updated_at", "2018-04-06 07:58:09.407768"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Vita Turner"], ["LIMIT", 1]] SQL (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", "Vita Turner"], ["name", "Elsa Hayes"], ["location_type_id", 4], ["description", "Isidro Steuber"], ["address", "Mireille Crona"], ["created_at", "2018-04-06 07:58:09.416008"], ["updated_at", "2018-04-06 07:58:09.416008"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Hyo Bergstrom"], ["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", "Cortney Krajcik"], ["LIMIT", 1]] SQL (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", "Hyo Bergstrom"], ["name", "Serena Herman"], ["description", "Jestine Marks"], ["serial_number", "Cortney Krajcik"], ["brand", "Maira Hudson"], ["item_model", "Augustine Wyman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-04-06 07:58:09.427828"], ["updated_at", "2018-04-06 07:58:09.427828"]]  (0.6ms) 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", "Ocie Effertz"], ["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", "Cheree Murray"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ocie Effertz"], ["name", "Cheree Murray"], ["created_at", "2018-04-06 07:58:09.435907"], ["updated_at", "2018-04-06 07:58:09.435907"]]  (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", "Melodi Denesik"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Melodi Denesik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.441004"], ["updated_at", "2018-04-06 07:58:09.441004"]]  (0.4ms) 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", "Jerold Terry"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jerold Terry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.448794"], ["updated_at", "2018-04-06 07:58:09.448794"]]  (0.4ms) 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", "Walter Dietrich"], ["LIMIT", 1]] SQL (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", "Walter Dietrich"], ["name", "Lavette Terry"], ["address", "Kasha Nicolas"], ["created_at", "2018-04-06 07:58:09.454209"], ["updated_at", "2018-04-06 07:58:09.454209"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Lorette Williamson"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] SQL (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", "Lorette Williamson"], ["name", "Eartha Kunde"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 36], ["created_at", "2018-04-06 07:58:09.458906"], ["updated_at", "2018-04-06 07:58:09.458906"]] 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", 36], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lorette Williamson"], ["LIMIT", 1]] SQL (0.7ms) 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", "Lorette Williamson"], ["name", "Eartha Kunde"], ["description", "Default bundle for service 'Eartha Kunde'"], ["service_delivery_unit_id", 36], ["created_at", "2018-04-06 07:58:09.463735"], ["updated_at", "2018-04-06 07:58:09.463735"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 31], ["chargeable_service_id", 15]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 15], ["equipment_item_id", 4], ["created_at", "2018-04-06 07:58:09.470096"], ["updated_at", "2018-04-06 07:58:09.470096"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lelia Ortiz"], ["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", "Etsuko Littel"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lelia Ortiz"], ["name", "Etsuko Littel"], ["description", "Odit doloribus voluptatem eum dolorem molestiae placeat ducimus. Eos possimus fuga quia dolore deserunt. Est aut delectus amet omnis eius ab aut laboriosam."], ["created_at", "2018-04-06 07:58:09.476786"], ["updated_at", "2018-04-06 07:58:09.476786"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Minda Kessler"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Dayle Bosco"], ["LIMIT", 1]] SQL (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", "Minda Kessler"], ["name", "Dayle Bosco"], ["description", "Consequatur molestiae occaecati sint velit et est. At sed qui corporis aut. Magnam laborum quidem illum totam et."], ["equipment_type_id", 5], ["created_at", "2018-04-06 07:58:09.481739"], ["updated_at", "2018-04-06 07:58:09.481739"]]  (0.4ms) 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", "Ma Flatley"], ["LIMIT", 1]] SQL (0.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", "Ma Flatley"], ["name", "Celena Berge"], ["description", "Winfred Berge"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-04-06 07:58:09.485738"], ["updated_at", "2018-04-06 07:58:09.485738"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Barrett Homenick"], ["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", "Hannah Swift"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Barrett Homenick"], ["name", "Hannah Swift"], ["description", "Tashina Hammes"], ["created_at", "2018-04-06 07:58:09.492473"], ["updated_at", "2018-04-06 07:58:09.492473"]]  (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", "Carlena Romaguera"], ["LIMIT", 1]] SQL (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", "Carlena Romaguera"], ["name", "Arla Williamson"], ["location_type_id", 5], ["description", "Refugia O'Keefe"], ["address", "Magaret Murray"], ["created_at", "2018-04-06 07:58:09.498394"], ["updated_at", "2018-04-06 07:58:09.498394"]]  (0.9ms) 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", "Fredric Deckow"], ["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", "Eula Barton"], ["LIMIT", 1]] SQL (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", "Fredric Deckow"], ["name", "Ludivina Schumm"], ["description", "Kristina Bergstrom"], ["serial_number", "Eula Barton"], ["brand", "Luvenia Cummerata"], ["item_model", "Tonita Hansen"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-04-06 07:58:09.507410"], ["updated_at", "2018-04-06 07:58:09.507410"]]  (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", "Trista Schmitt"], ["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", "Janean Schulist"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Trista Schmitt"], ["name", "Janean Schulist"], ["created_at", "2018-04-06 07:58:09.516130"], ["updated_at", "2018-04-06 07:58:09.516130"]]  (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", "Johanne Klein"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Johanne Klein"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.522014"], ["updated_at", "2018-04-06 07:58:09.522014"]]  (0.6ms) 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", "Alvin Kessler"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alvin Kessler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.528369"], ["updated_at", "2018-04-06 07:58:09.528369"]]  (0.6ms) 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", "Moriah White"], ["LIMIT", 1]] SQL (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", "Moriah White"], ["name", "Micheal Glover"], ["address", "Su Howell"], ["created_at", "2018-04-06 07:58:09.534024"], ["updated_at", "2018-04-06 07:58:09.534024"]]  (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", "Flor Grady"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (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", "Flor Grady"], ["name", "Marion Erdman"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 37], ["created_at", "2018-04-06 07:58:09.539618"], ["updated_at", "2018-04-06 07:58:09.539618"]] 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", 37], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Flor Grady"], ["LIMIT", 1]] SQL (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", "Flor Grady"], ["name", "Marion Erdman"], ["description", "Default bundle for service 'Marion Erdman'"], ["service_delivery_unit_id", 37], ["created_at", "2018-04-06 07:58:09.544572"], ["updated_at", "2018-04-06 07:58:09.544572"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 32], ["chargeable_service_id", 16]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 16], ["equipment_item_id", 5], ["created_at", "2018-04-06 07:58:09.550766"], ["updated_at", "2018-04-06 07:58:09.550766"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Blair Padberg"], ["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", "Rufina Cummings"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Blair Padberg"], ["name", "Rufina Cummings"], ["description", "Magni adipisci voluptates quam et ut. Animi incidunt aut necessitatibus vel qui alias. Quisquam doloremque voluptate ut quod assumenda labore."], ["created_at", "2018-04-06 07:58:09.557550"], ["updated_at", "2018-04-06 07:58:09.557550"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jerica Konopelski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Kandace Morar"], ["LIMIT", 1]] SQL (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", "Jerica Konopelski"], ["name", "Kandace Morar"], ["description", "Sapiente aut quia quae esse consequatur sequi laudantium. Aut explicabo quo rerum enim reiciendis cumque culpa. Sed ut architecto non qui et. Reiciendis non repellendus aspernatur aliquam laborum culpa ea fuga."], ["equipment_type_id", 6], ["created_at", "2018-04-06 07:58:09.562923"], ["updated_at", "2018-04-06 07:58:09.562923"]]  (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", "Shoshana Keeling"], ["LIMIT", 1]] SQL (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", "Shoshana Keeling"], ["name", "Marine Denesik"], ["description", "Lael Raynor"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-04-06 07:58:09.567093"], ["updated_at", "2018-04-06 07:58:09.567093"]]  (0.7ms) 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", "Carylon Mayert"], ["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", "Junita Wisoky"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carylon Mayert"], ["name", "Junita Wisoky"], ["description", "Catrice Jewess"], ["created_at", "2018-04-06 07:58:09.573895"], ["updated_at", "2018-04-06 07:58:09.573895"]]  (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", "Queenie Feeney"], ["LIMIT", 1]] SQL (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", "Queenie Feeney"], ["name", "Jude Ullrich"], ["location_type_id", 6], ["description", "Latoyia Lehner"], ["address", "Libbie Heathcote"], ["created_at", "2018-04-06 07:58:09.578110"], ["updated_at", "2018-04-06 07:58:09.578110"]]  (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", "Natalya Kerluke"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Edward Wehner"], ["LIMIT", 1]] SQL (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", "Natalya Kerluke"], ["name", "Donya Runolfsson"], ["description", "Vincenza Donnelly"], ["serial_number", "Edward Wehner"], ["brand", "David Hartmann"], ["item_model", "Yasmin Franecki"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-04-06 07:58:09.583511"], ["updated_at", "2018-04-06 07:58:09.583511"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lewis Veum"], ["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", "Cordia Schaden"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lewis Veum"], ["name", "Cordia Schaden"], ["created_at", "2018-04-06 07:58:09.589931"], ["updated_at", "2018-04-06 07:58:09.589931"]]  (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", "Augustus Ebert"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Augustus Ebert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.595711"], ["updated_at", "2018-04-06 07:58:09.595711"]]  (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", "Lauryn Cole"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lauryn Cole"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.602053"], ["updated_at", "2018-04-06 07:58:09.602053"]]  (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", "Elza Carter"], ["LIMIT", 1]] SQL (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", "Elza Carter"], ["name", "Jonathan Sanford"], ["address", "Tyisha Orn"], ["created_at", "2018-04-06 07:58:09.608071"], ["updated_at", "2018-04-06 07:58:09.608071"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kevin Jacobi"], ["service_delivery_unit_id", 38], ["LIMIT", 1]] SQL (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", "Kevin Jacobi"], ["name", "Felisha Bogan"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 38], ["created_at", "2018-04-06 07:58:09.614700"], ["updated_at", "2018-04-06 07:58:09.614700"]] 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", 38], ["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", "Kevin Jacobi"], ["LIMIT", 1]] SQL (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", "Kevin Jacobi"], ["name", "Felisha Bogan"], ["description", "Default bundle for service 'Felisha Bogan'"], ["service_delivery_unit_id", 38], ["created_at", "2018-04-06 07:58:09.623723"], ["updated_at", "2018-04-06 07:58:09.623723"]] SQL (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 33], ["chargeable_service_id", 17]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 17], ["equipment_item_id", 6], ["created_at", "2018-04-06 07:58:09.630045"], ["updated_at", "2018-04-06 07:58:09.630045"]]  (0.5ms) 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", 34], ["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]] Mks::Rate::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 15], ["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", 4], ["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", 36], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 16], ["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", 5], ["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", 37], ["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", 17], ["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", 6], ["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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (14.08ms) Completed 200 OK in 20ms (Views: 10.1ms | ActiveRecord: 7.7ms)  (0.7ms) 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", "rodrigo@pollich.info"], ["LIMIT", 1]] SQL (0.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", "Carey Weimann"], ["last_name", "Odessa Runolfsson"], ["email", "rodrigo@pollich.info"], ["password_digest", "$2a$04$VNT37rNftyGZm/18CwTEjucwu08hFuWAHuvje3GDNJTsvQL47x8yO"], ["created_at", "2018-04-06 07:58:09.661503"], ["updated_at", "2018-04-06 07:58:09.661503"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Melina McGlynn"], ["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", "Seth Balistreri"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Melina McGlynn"], ["name", "Seth Balistreri"], ["created_at", "2018-04-06 07:58:09.667040"], ["updated_at", "2018-04-06 07:58:09.667040"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 35], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.6ms) 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.25ms) Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 1.7ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "analisa@grantjohnston.co.uk"], ["LIMIT", 1]] SQL (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", "Sidney Batz"], ["last_name", "Tamela Rath"], ["email", "analisa@grantjohnston.co.uk"], ["password_digest", "$2a$04$Ea7jR8eiQUTJUi/mrBCLn.qbitcjD0k5mVXdRoHkvMPPhpjvlyxju"], ["created_at", "2018-04-06 07:58:09.687774"], ["updated_at", "2018-04-06 07:58:09.687774"]]  (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", "Madie Rolfson"], ["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", "Michele Swift"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Madie Rolfson"], ["name", "Michele Swift"], ["created_at", "2018-04-06 07:58:09.696869"], ["updated_at", "2018-04-06 07:58:09.696869"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.4ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 20], ["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", 36], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.58ms) Completed 200 OK in 10ms (Views: 2.8ms | ActiveRecord: 3.5ms)  (0.8ms) ROLLBACK  (0.6ms) 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", "mallory@douglaswillms.info"], ["LIMIT", 1]] SQL (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", "Charmaine Goyette"], ["last_name", "Elodia Marks"], ["email", "mallory@douglaswillms.info"], ["password_digest", "$2a$04$rb6xSkXJLSpMKW71zSd8d.QFxuVZnC8KIhBSEyAQB9tPTE3Sf4fT2"], ["created_at", "2018-04-06 07:58:09.721818"], ["updated_at", "2018-04-06 07:58:09.721818"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Lyndon Blick", "name"=>"Marina Koepp"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lyndon Blick"], ["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", "Marina Koepp"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lyndon Blick"], ["name", "Marina Koepp"], ["created_at", "2018-04-06 07:58:09.734103"], ["updated_at", "2018-04-06 07:58:09.734103"]]  (0.4ms) 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", 37], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.31ms) Completed 201 Created in 11ms (Views: 2.5ms | ActiveRecord: 4.2ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "lourdes_glover@gutkowski.info"], ["LIMIT", 1]] SQL (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", "Fransisca Emard"], ["last_name", "Caitlin O'Reilly"], ["email", "lourdes_glover@gutkowski.info"], ["password_digest", "$2a$04$mEzKY78bI1Zp70WNUugyIufFNiE6Mlf8U8jU/2iJYzLgjMSbYok3G"], ["created_at", "2018-04-06 07:58:09.747279"], ["updated_at", "2018-04-06 07:58:09.747279"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Dolores Doyle", "name"=>"Gianna Jacobi"}} 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]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Dolores 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", "Gianna Jacobi"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dolores Doyle"], ["name", "Gianna Jacobi"], ["created_at", "2018-04-06 07:58:09.761201"], ["updated_at", "2018-04-06 07:58:09.761201"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.23ms) Completed 201 Created in 9ms (Views: 1.8ms | ActiveRecord: 3.9ms) Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) 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", "magdalen@gerholdmcclure.us"], ["LIMIT", 1]] SQL (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", "Olympia Schroeder"], ["last_name", "Jude Anderson"], ["email", "magdalen@gerholdmcclure.us"], ["password_digest", "$2a$04$QEin9I.ncV9PyAM5ZdkfXO2JjIvQoUTTQWpsY.tIU83IISsqRtY02"], ["created_at", "2018-04-06 07:58:09.778816"], ["updated_at", "2018-04-06 07:58:09.778816"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Elizbeth Erdman"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) 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", "Elizbeth Erdman"], ["LIMIT", 1]]  (0.4ms) 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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.1ms | ActiveRecord: 3.5ms)  (0.6ms) ROLLBACK  (0.8ms) 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", "tanika_mohr@little.com"], ["LIMIT", 1]] SQL (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", "Logan Rau"], ["last_name", "Johnny Gerhold"], ["email", "tanika_mohr@little.com"], ["password_digest", "$2a$04$Lby.6g06DJgyLUNMK.6nxu6HStbfPvZzgc/vgQLnfDoqqm1Y2JVNC"], ["created_at", "2018-04-06 07:58:09.800485"], ["updated_at", "2018-04-06 07:58:09.800485"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Michelina Wunsch"], ["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", "Rusty Gislason"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Michelina Wunsch"], ["name", "Rusty Gislason"], ["created_at", "2018-04-06 07:58:09.809895"], ["updated_at", "2018-04-06 07:58:09.809895"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Taisha Swaniawski"}, "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", 40], ["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", 23], ["LIMIT", 1]]  (0.7ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Michelina Wunsch"], ["id", 23], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.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", "Taisha Swaniawski"], ["id", 23], ["LIMIT", 1]] SQL (0.9ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Taisha Swaniawski"], ["updated_at", "2018-04-06 07:58:09.827674"], ["id", 23]]  (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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 200 OK in 17ms (Views: 1.5ms | ActiveRecord: 7.5ms) 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", 23], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) 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", "yasmine@grady.us"], ["LIMIT", 1]] SQL (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", "Erich Weissnat"], ["last_name", "Patrick Torphy"], ["email", "yasmine@grady.us"], ["password_digest", "$2a$04$EUI64zQWlYKDVYvQOZ3ALO0rMlSvSqOY3Bbn2pWQmbTLCKvlUExIa"], ["created_at", "2018-04-06 07:58:09.842530"], ["updated_at", "2018-04-06 07:58:09.842530"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Milford Roob"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Silvana Leuschke"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Milford Roob"], ["name", "Silvana Leuschke"], ["created_at", "2018-04-06 07:58:09.848376"], ["updated_at", "2018-04-06 07:58:09.848376"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Aubrey Swaniawski", "name"=>"Shad Ratke"}, "id"=>"24"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) 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", "Aubrey Swaniawski"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Shad Ratke"], ["id", 24], ["LIMIT", 1]] SQL (0.8ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Aubrey Swaniawski"], ["name", "Shad Ratke"], ["updated_at", "2018-04-06 07:58:09.857768"], ["id", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.33ms) Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 4.5ms)  (0.5ms) 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", "colette.stoltenberg@dickensleffler.co.uk"], ["LIMIT", 1]] SQL (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", "Dollie Huel"], ["last_name", "Jodi Stracke"], ["email", "colette.stoltenberg@dickensleffler.co.uk"], ["password_digest", "$2a$04$/6rxUieDaqEevRDHddURVu8N8Tgba8m6a.WwfZKlq.9M2cKl68mZG"], ["created_at", "2018-04-06 07:58:09.869916"], ["updated_at", "2018-04-06 07:58:09.869916"]]  (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", "Art Pfannerstill"], ["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", "Jolie Bashirian"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Art Pfannerstill"], ["name", "Jolie Bashirian"], ["created_at", "2018-04-06 07:58:09.878261"], ["updated_at", "2018-04-06 07:58:09.878261"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Maryann Kovacek"}, "id"=>"25"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 25], ["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", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.4ms) 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", "Maryann Kovacek"], ["id", 25], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.14ms) Completed 422 Unprocessable Entity in 13ms (Views: 2.1ms | ActiveRecord: 5.7ms)  (1.3ms) ROLLBACK  (0.6ms) 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", "tabetha.mcclure@abernathykoch.biz"], ["LIMIT", 1]] SQL (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", "Keiko Zulauf"], ["last_name", "Argentina Powlowski"], ["email", "tabetha.mcclure@abernathykoch.biz"], ["password_digest", "$2a$04$X8hAOpgGHyWpRKnU/BzHO.nO8ND/.Rj6GGwN0OxDmdZG8ILX5xQvG"], ["created_at", "2018-04-06 07:58:09.907202"], ["updated_at", "2018-04-06 07:58:09.907202"]]  (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", "Jacklyn Kshlerin"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacklyn Kshlerin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.914212"], ["updated_at", "2018-04-06 07:58:09.914212"]]  (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", "Broderick Wisoky"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Broderick Wisoky"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.921567"], ["updated_at", "2018-04-06 07:58:09.921567"]]  (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", "Cicely VonRueden"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cicely VonRueden"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.928738"], ["updated_at", "2018-04-06 07:58:09.928738"]]  (0.8ms) 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", 43], ["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", 43], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (2.99ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 2.2ms)  (0.7ms) ROLLBACK  (0.5ms) 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", "Shavon Grant"], ["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", "Latonya Lueilwitz"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shavon Grant"], ["name", "Latonya Lueilwitz"], ["created_at", "2018-04-06 07:58:09.955403"], ["updated_at", "2018-04-06 07:58:09.955403"]]  (0.8ms) 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", "Roxane Kuhic"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roxane Kuhic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.963534"], ["updated_at", "2018-04-06 07:58:09.963534"]]  (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", "Lorna Hintz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lorna Hintz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:09.969298"], ["updated_at", "2018-04-06 07:58:09.969298"]]  (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", "Christia Sauer"], ["LIMIT", 1]] SQL (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", "Christia Sauer"], ["name", "Detra Swift"], ["address", "Orval Considine"], ["created_at", "2018-04-06 07:58:09.974503"], ["updated_at", "2018-04-06 07:58:09.974503"]]  (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", "Debrah Labadie"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Debrah Labadie"], ["name", "Mana Satterfield"], ["service_type_id", 26], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 39], ["created_at", "2018-04-06 07:58:09.980078"], ["updated_at", "2018-04-06 07:58:09.980078"]] 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", 39], ["LIMIT", 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", "Debrah Labadie"], ["LIMIT", 1]] SQL (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", "Debrah Labadie"], ["name", "Mana Satterfield"], ["description", "Default bundle for service 'Mana Satterfield'"], ["service_delivery_unit_id", 39], ["created_at", "2018-04-06 07:58:09.988759"], ["updated_at", "2018-04-06 07:58:09.988759"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 34], ["chargeable_service_id", 18]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.2ms) 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", "Debrah Labadie"], ["id", 18], ["service_delivery_unit_id", 39], ["LIMIT", 1]]  (1.6ms) ROLLBACK  (0.9ms) BEGIN  (1.0ms) 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", "Wenona Bergnaum"], ["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", "Bulah Bogisich"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Wenona Bergnaum"], ["name", "Bulah Bogisich"], ["created_at", "2018-04-06 07:58:10.026449"], ["updated_at", "2018-04-06 07:58:10.026449"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Nichelle Beier"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nichelle Beier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.033809"], ["updated_at", "2018-04-06 07:58:10.033809"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Fern Crist"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Fern Crist"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.039962"], ["updated_at", "2018-04-06 07:58:10.039962"]]  (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", "Delma Altenwerth"], ["LIMIT", 1]] SQL (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", "Delma Altenwerth"], ["name", "Janiece Gleichner"], ["address", "Van Ferry"], ["created_at", "2018-04-06 07:58:10.045834"], ["updated_at", "2018-04-06 07:58:10.045834"]]  (0.6ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 40], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) 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", "Chasity Dooley"], ["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", "Alise Hoppe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chasity Dooley"], ["name", "Alise Hoppe"], ["created_at", "2018-04-06 07:58:10.063833"], ["updated_at", "2018-04-06 07:58:10.063833"]]  (1.2ms) 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", "Merry Rowe"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Merry Rowe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.070127"], ["updated_at", "2018-04-06 07:58:10.070127"]]  (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", "Coretta Ondricka"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Coretta Ondricka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.077113"], ["updated_at", "2018-04-06 07:58:10.077113"]]  (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", "Irina Kirlin"], ["LIMIT", 1]] SQL (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", "Irina Kirlin"], ["name", "Jefferey McClure"], ["address", "Sun Huels"], ["created_at", "2018-04-06 07:58:10.082935"], ["updated_at", "2018-04-06 07:58:10.082935"]]  (0.6ms) 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", "Myong Romaguera"], ["service_delivery_unit_id", 41], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.8ms) BEGIN  (0.9ms) 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", "Wyatt Wiza"], ["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", "Donald Dicki"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Wyatt Wiza"], ["name", "Donald Dicki"], ["created_at", "2018-04-06 07:58:10.098856"], ["updated_at", "2018-04-06 07:58:10.098856"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Emogene Kovacek"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Emogene Kovacek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.109428"], ["updated_at", "2018-04-06 07:58:10.109428"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Christopher Oga"], ["LIMIT", 1]] SQL (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", "Christopher Oga"], ["name", "Laverne Becker"], ["address", "Cayla Zieme"], ["created_at", "2018-04-06 07:58:10.120434"], ["updated_at", "2018-04-06 07:58:10.120434"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Danyell Goldner"], ["service_delivery_unit_id", 42], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) 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", "Leda Dare"], ["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", "Natalya Brown"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leda Dare"], ["name", "Natalya Brown"], ["created_at", "2018-04-06 07:58:10.145087"], ["updated_at", "2018-04-06 07:58:10.145087"]]  (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", "Marnie Lockman"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marnie Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.151631"], ["updated_at", "2018-04-06 07:58:10.151631"]]  (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", "Deena Wilkinson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Deena Wilkinson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.157418"], ["updated_at", "2018-04-06 07:58:10.157418"]]  (0.5ms) 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" IS NULL LIMIT $2 [["code", "Laura Herzog"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Ma Block"], ["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", "Catherin Crist"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ma Block"], ["name", "Catherin Crist"], ["created_at", "2018-04-06 07:58:10.178274"], ["updated_at", "2018-04-06 07:58:10.178274"]]  (0.4ms) 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", "Monroe Harber"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Monroe Harber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.183053"], ["updated_at", "2018-04-06 07:58:10.183053"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Steven Gulgowski"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Steven Gulgowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.188506"], ["updated_at", "2018-04-06 07:58:10.188506"]]  (1.0ms) 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", "Lucrecia VonRueden"], ["LIMIT", 1]] SQL (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", "Lucrecia VonRueden"], ["name", "Vella Price"], ["address", "Belen Baumbach"], ["created_at", "2018-04-06 07:58:10.198543"], ["updated_at", "2018-04-06 07:58:10.198543"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Ollie Marquardt"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Ollie Marquardt"], ["name", "Rhonda Sawayn"], ["service_type_id", 31], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 43], ["created_at", "2018-04-06 07:58:10.209289"], ["updated_at", "2018-04-06 07:58:10.209289"]] 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", 43], ["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", "Ollie Marquardt"], ["LIMIT", 1]] SQL (1.4ms) 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", "Ollie Marquardt"], ["name", "Rhonda Sawayn"], ["description", "Default bundle for service 'Rhonda Sawayn'"], ["service_delivery_unit_id", 43], ["created_at", "2018-04-06 07:58:10.220307"], ["updated_at", "2018-04-06 07:58:10.220307"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 35], ["chargeable_service_id", 19]]  (0.9ms) 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", "Margaret Baumbach"], ["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", "Janell Lubowitz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Margaret Baumbach"], ["name", "Janell Lubowitz"], ["created_at", "2018-04-06 07:58:10.240220"], ["updated_at", "2018-04-06 07:58:10.240220"]]  (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", "Buford Howe"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Buford Howe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.246415"], ["updated_at", "2018-04-06 07:58:10.246415"]]  (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", "Chantelle Kautzer"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chantelle Kautzer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.251273"], ["updated_at", "2018-04-06 07:58:10.251273"]]  (0.5ms) RELEASE 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", "Ollie Marquardt"], ["service_delivery_unit_id", 43], ["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", 43], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) 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", "Len Fahey"], ["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", "Kathryne Funk"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Len Fahey"], ["name", "Kathryne Funk"], ["created_at", "2018-04-06 07:58:10.264605"], ["updated_at", "2018-04-06 07:58:10.264605"]]  (0.4ms) 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", "Perry DuBuque"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Perry DuBuque"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.268975"], ["updated_at", "2018-04-06 07:58:10.268975"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tommye Monahan"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tommye Monahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.273226"], ["updated_at", "2018-04-06 07:58:10.273226"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.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", "Tara Connelly"], ["LIMIT", 1]] SQL (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", "Tara Connelly"], ["name", "Alfred Toy"], ["address", "Clementina Weber"], ["created_at", "2018-04-06 07:58:10.277898"], ["updated_at", "2018-04-06 07:58:10.277898"]]  (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", "Aletha Corwin"], ["service_delivery_unit_id", 44], ["LIMIT", 1]] SQL (0.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", "Aletha Corwin"], ["name", "Lael O'Hara"], ["service_type_id", 33], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 44], ["created_at", "2018-04-06 07:58:10.282691"], ["updated_at", "2018-04-06 07:58:10.282691"]] 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", 44], ["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", "Aletha Corwin"], ["LIMIT", 1]] SQL (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", "Aletha Corwin"], ["name", "Lael O'Hara"], ["description", "Default bundle for service 'Lael O'Hara'"], ["service_delivery_unit_id", 44], ["created_at", "2018-04-06 07:58:10.288365"], ["updated_at", "2018-04-06 07:58:10.288365"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 36], ["chargeable_service_id", 20]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (1.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 1]]  (3.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", 36]]  (1.0ms) 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", "steven@marquardt.ca"], ["LIMIT", 1]] SQL (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", "Chauncey Hermann"], ["last_name", "Helaine Hickle"], ["email", "steven@marquardt.ca"], ["password_digest", "$2a$04$smEpFN3ZVwCMo/DHqL6Mqe5hp2YJ4cmINYlQglmVtw6zyhbJSvL3O"], ["created_at", "2018-04-06 07:58:10.356131"], ["updated_at", "2018-04-06 07:58:10.356131"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "flavia@zemlak.com"], ["LIMIT", 1]] SQL (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", "Leonie Will"], ["last_name", "Karlyn Fahey"], ["email", "flavia@zemlak.com"], ["password_digest", "$2a$04$1IbXW0wM65e4S2ACljFcJ.2O3gaoaOpp4mTcO9jktJw2aB9Dqf.DW"], ["created_at", "2018-04-06 07:58:10.366269"], ["updated_at", "2018-04-06 07:58:10.366269"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Deandrea Mayert"], ["LIMIT", 1]] SQL (2.8ms) 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", "Deandrea Mayert"], ["authorized_by", "Broderick Konopelski"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 44], ["approved_by_id", 45], ["created_at", "2018-04-06 07:58:10.373709"], ["updated_at", "2018-04-06 07:58:10.373709"]]  (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" = $1 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Deandrea Mayert"], ["id", 1], ["LIMIT", 1]]  (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", "edith@wintheiser.biz"], ["LIMIT", 1]] SQL (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", "Vena Gerhold"], ["last_name", "Rey Howe"], ["email", "edith@wintheiser.biz"], ["password_digest", "$2a$04$7Z7drhAg3gA.PhMsUvxbOOTCEVWDnHMktLOawPQrdAgJ9lgMYqjaK"], ["created_at", "2018-04-06 07:58:10.388315"], ["updated_at", "2018-04-06 07:58:10.388315"]]  (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", "suzy@schambergermiller.name"], ["LIMIT", 1]] SQL (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", "Sadie Legros"], ["last_name", "Taren Hamill"], ["email", "suzy@schambergermiller.name"], ["password_digest", "$2a$04$8yiscrj59kfyPeO5RL0A7uOzCSokEScWRROO6lPZk5FDRRo4rTOaW"], ["created_at", "2018-04-06 07:58:10.394310"], ["updated_at", "2018-04-06 07:58:10.394310"]]  (0.5ms) 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", "Germaine Moen"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) 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", "janette@bayer.info"], ["LIMIT", 1]] SQL (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", "Ronni Jerde"], ["last_name", "Clement Huel"], ["email", "janette@bayer.info"], ["password_digest", "$2a$04$7MhmEPKy0oYVQ1.KKbdJ3.PMBPeQdGz.ccY6Jix7kIVM4M4fxPIp."], ["created_at", "2018-04-06 07:58:10.414824"], ["updated_at", "2018-04-06 07:58:10.414824"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "tiffany@carterpouros.us"], ["LIMIT", 1]] SQL (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", "Eboni Reinger"], ["last_name", "Duncan Kozey"], ["email", "tiffany@carterpouros.us"], ["password_digest", "$2a$04$XRD5I7K1XiMmBIxMH7j74eYdnE3V21E2ctlsfIegrb9HNd4E6Wz1e"], ["created_at", "2018-04-06 07:58:10.425366"], ["updated_at", "2018-04-06 07:58:10.425366"]]  (0.6ms) 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.6ms) ROLLBACK  (0.5ms) 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", "emilio.braun@rosenbaummante.co.uk"], ["LIMIT", 1]] SQL (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", "Erinn Koelpin"], ["last_name", "Evon Wuckert"], ["email", "emilio.braun@rosenbaummante.co.uk"], ["password_digest", "$2a$04$RrWgNp4vWRCdc8aM6XITYOg.tlMhyN/TE1zdnEv7.rHit/yh9XVCS"], ["created_at", "2018-04-06 07:58:10.441212"], ["updated_at", "2018-04-06 07:58:10.441212"]]  (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", "jeanette_schroeder@cormier.info"], ["LIMIT", 1]] SQL (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", "Patricia Hermiston"], ["last_name", "Dante Lehner"], ["email", "jeanette_schroeder@cormier.info"], ["password_digest", "$2a$04$QjV7U1wFe2wcJeX5/vXlx.PlFoyFJ47ckON4TddCC34sfiTOZjTYO"], ["created_at", "2018-04-06 07:58:10.449069"], ["updated_at", "2018-04-06 07:58:10.449069"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Janice Bogisich"], ["LIMIT", 1]] SQL (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", "Janice Bogisich"], ["authorized_by", "Julene Wyman"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 50], ["approved_by_id", 51], ["created_at", "2018-04-06 07:58:10.453469"], ["updated_at", "2018-04-06 07:58:10.453469"]]  (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", "mammie@langworth.biz"], ["LIMIT", 1]] SQL (0.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", "Carline Dickens"], ["last_name", "Brunilda Abernathy"], ["email", "mammie@langworth.biz"], ["password_digest", "$2a$04$9IGPoZokwTYuvFMbOJIA1OmUjVfrJdP9FrB9uRhfLw.M.1h5Jry.S"], ["created_at", "2018-04-06 07:58:10.460890"], ["updated_at", "2018-04-06 07:58:10.460890"]]  (0.4ms) 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", "yasmine@mills.com"], ["LIMIT", 1]] SQL (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", "Berta Bednar"], ["last_name", "Anderson Wilkinson"], ["email", "yasmine@mills.com"], ["password_digest", "$2a$04$g0IQM.1ncq5OMYQENWbBhOn4ctQofX62jXH7qOXFVLGPxVFI64YdK"], ["created_at", "2018-04-06 07:58:10.467282"], ["updated_at", "2018-04-06 07:58:10.467282"]]  (1.0ms) 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", "Janice Bogisich"], ["LIMIT", 1]]  (0.7ms) 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", "merrill_feeney@marvin.com"], ["LIMIT", 1]] SQL (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", "Laurence Lesch"], ["last_name", "Shawnda Wiza"], ["email", "merrill_feeney@marvin.com"], ["password_digest", "$2a$04$GwRmSh9uUjbfEjKJk9PvH.rjcMJ0tPZSUBpU3QYBTMBfXHyF4Fgoq"], ["created_at", "2018-04-06 07:58:10.481335"], ["updated_at", "2018-04-06 07:58:10.481335"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "tommy.durgan@breitenberg.ca"], ["LIMIT", 1]] SQL (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", "Maryrose Zboncak"], ["last_name", "Brian Ullrich"], ["email", "tommy.durgan@breitenberg.ca"], ["password_digest", "$2a$04$QLin.PBYx3FLfALMKPuc/.tTdsRdDwgNDUoKpUGlvW9e.L5Y7hW2."], ["created_at", "2018-04-06 07:58:10.489544"], ["updated_at", "2018-04-06 07:58:10.489544"]]  (0.6ms) 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" = $1 LIMIT $2 [["reference_number", "Aleen Braun"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "long_abbott@collier.com"], ["LIMIT", 1]] SQL (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", "Mirtha Hirthe"], ["last_name", "Jann Runolfsdottir"], ["email", "long_abbott@collier.com"], ["password_digest", "$2a$04$6EGVnvs1kF9EtduEXi0teOM9U9emrUYJQ2nd5rES6T0386JBChgFG"], ["created_at", "2018-04-06 07:58:10.502882"], ["updated_at", "2018-04-06 07:58:10.502882"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "kali@gulgowski.com"], ["LIMIT", 1]] SQL (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", "Jeromy Braun"], ["last_name", "Amos Jacobs"], ["email", "kali@gulgowski.com"], ["password_digest", "$2a$04$vb2/cJ7wc8M2eRaVBJ1V..7tqetQcqkQqtLoI8zAVGSNjwwCpIcnO"], ["created_at", "2018-04-06 07:58:10.516159"], ["updated_at", "2018-04-06 07:58:10.516159"]]  (1.4ms) 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", "Everett Lang"], ["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", "marivel.schumm@granttreutel.biz"], ["LIMIT", 1]] SQL (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", "Lewis Fadel"], ["last_name", "Barabara Bogan"], ["email", "marivel.schumm@granttreutel.biz"], ["password_digest", "$2a$04$9rlSpSLANEDFgqItD6LH9u6ymIeiDh1O2AzBLWVHGf5lATFm8VrMu"], ["created_at", "2018-04-06 07:58:10.542423"], ["updated_at", "2018-04-06 07:58:10.542423"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "juliane@douglas.info"], ["LIMIT", 1]] SQL (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", "Evelia Anderson"], ["last_name", "Miguelina Morar"], ["email", "juliane@douglas.info"], ["password_digest", "$2a$04$kaYl40/JedcZkaSQ2JV99.AFJ7H1zw.tAdrI0OKPWwR14SlN.4ESC"], ["created_at", "2018-04-06 07:58:10.549326"], ["updated_at", "2018-04-06 07:58:10.549326"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Barrie Bruen"], ["LIMIT", 1]]  (0.5ms) 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", "louvenia@murazik.biz"], ["LIMIT", 1]] SQL (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", "Deneen Spencer"], ["last_name", "Savanna Cruickshank"], ["email", "louvenia@murazik.biz"], ["password_digest", "$2a$04$4dndLwg3LmZi5Ex5/JkdTeyMdIKSNpaenAdgwaylMjxcgjRasOPMO"], ["created_at", "2018-04-06 07:58:10.560262"], ["updated_at", "2018-04-06 07:58:10.560262"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "charles@hodkiewicz.us"], ["LIMIT", 1]] SQL (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", "Delois Torphy"], ["last_name", "Ronald McCullough"], ["email", "charles@hodkiewicz.us"], ["password_digest", "$2a$04$BuEo.91bt2feBJnC70mg4uFmmmCWu..oXZLAjf80pe87ohE6mt6Lm"], ["created_at", "2018-04-06 07:58:10.567256"], ["updated_at", "2018-04-06 07:58:10.567256"]]  (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 LIMIT $2 [["reference_number", "Toi Gutmann"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.9ms) 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", "alecia@von.name"], ["LIMIT", 1]] SQL (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", "Holly Stokes"], ["last_name", "Mi Gibson"], ["email", "alecia@von.name"], ["password_digest", "$2a$04$.vOLXrSfmyooPQK528uaseaS6kKC1645QGcqW.AGoPrj3EqCe39Qq"], ["created_at", "2018-04-06 07:58:10.584012"], ["updated_at", "2018-04-06 07:58:10.584012"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Trang Sauer"], ["LIMIT", 1]] SQL (1.2ms) 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", "Trang Sauer"], ["authorized_by", "Annalisa Hansen"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 62], ["created_at", "2018-04-06 07:58:10.589092"], ["updated_at", "2018-04-06 07:58:10.589092"]]  (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", "Trang Sauer"], ["id", 3], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "Leontine Kuhic"], ["LIMIT", 1]] SQL (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", "Leontine Kuhic"], ["name", "Phuong Oga"], ["address", "Frieda Rogahn"], ["created_at", "2018-04-06 07:58:10.599991"], ["updated_at", "2018-04-06 07:58:10.599991"]]  (0.4ms) 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", "Queenie Schmitt"], ["LIMIT", 1]] SQL (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", "Queenie Schmitt"], ["name", "Elroy Gaylord"], ["description", "Katharina Marquardt"], ["percent_discount", 100.0], ["service_delivery_unit_id", 45], ["created_at", "2018-04-06 07:58:10.604442"], ["updated_at", "2018-04-06 07:58:10.604442"]]  (0.6ms) 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" = $1 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Queenie Schmitt"], ["id", 37], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "Chuck Predovic"], ["LIMIT", 1]] SQL (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", "Chuck Predovic"], ["name", "Anisha Grant"], ["address", "Lashawnda Gleichner"], ["created_at", "2018-04-06 07:58:10.618932"], ["updated_at", "2018-04-06 07:58:10.618932"]]  (1.0ms) 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]]  (1.0ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) 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", "Jonie Leffler"], ["LIMIT", 1]] SQL (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", "Jonie Leffler"], ["name", "Lowell Greenfelder"], ["address", "Eugene Rempel"], ["created_at", "2018-04-06 07:58:10.639356"], ["updated_at", "2018-04-06 07:58:10.639356"]]  (0.9ms) 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", "Anthony Wolf"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Barbie Morar"], ["LIMIT", 1]] SQL (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", "Barbie Morar"], ["name", "Bart Lynch"], ["address", "Deborah Hessel"], ["created_at", "2018-04-06 07:58:10.651979"], ["updated_at", "2018-04-06 07:58:10.651979"]]  (0.7ms) 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", "Jannette Frami"], ["LIMIT", 1]] SQL (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", "Jannette Frami"], ["name", "Marcel Pfannerstill"], ["description", "Anette Spinka"], ["percent_discount", 100.0], ["service_delivery_unit_id", 48], ["created_at", "2018-04-06 07:58:10.658024"], ["updated_at", "2018-04-06 07:58:10.658024"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lilliana Boehm"], ["LIMIT", 1]] SQL (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", "Lilliana Boehm"], ["name", "Bruna Willms"], ["address", "Elvin Dickinson"], ["created_at", "2018-04-06 07:58:10.663232"], ["updated_at", "2018-04-06 07:58:10.663232"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jannette Frami"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (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", "Nikia Predovic"], ["LIMIT", 1]] SQL (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", "Nikia Predovic"], ["name", "Jonathon Oberbrunner"], ["address", "Drusilla Schaefer"], ["created_at", "2018-04-06 07:58:10.674962"], ["updated_at", "2018-04-06 07:58:10.674962"]]  (0.5ms) RELEASE 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Nikia Predovic"], ["id", 50], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) 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.4ms) BEGIN 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", "Elli Gaylord"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Dessie Cremin"], ["LIMIT", 1]] SQL (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", "Dessie Cremin"], ["name", "Josefa Miller"], ["address", "Alexandria Upton"], ["created_at", "2018-04-06 07:58:10.691883"], ["updated_at", "2018-04-06 07:58:10.691883"]]  (0.5ms) RELEASE 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", "Dessie Cremin"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Paul Murphy"], ["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", "Lanora Rowe"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Paul Murphy"], ["name", "Lanora Rowe"], ["description", "Et explicabo fugit eum modi eaque consequatur. Magni dolores non sed doloremque aut aut et. Quos deleniti magnam itaque ab est pariatur repudiandae. Quia voluptatem id eos quam neque est."], ["created_at", "2018-04-06 07:58:10.705053"], ["updated_at", "2018-04-06 07:58:10.705053"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Janel Doyle"], ["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", "Hilton Nitzsche"], ["LIMIT", 1]] SQL (1.6ms) 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", "Janel Doyle"], ["name", "Hilton Nitzsche"], ["description", "Repudiandae autem qui tempora maiores. Maiores doloribus et amet non magni et tenetur. Minus aliquam enim nisi ut in rerum. Doloribus eum vel dolor rerum excepturi. Qui sint quos quam enim et possimus placeat."], ["equipment_type_id", 7], ["created_at", "2018-04-06 07:58:10.716624"], ["updated_at", "2018-04-06 07:58:10.716624"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Emeline Casper"], ["LIMIT", 1]] SQL (1.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", "Emeline Casper"], ["name", "Beulah Gerhold"], ["description", "Bernardine Kemmer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-04-06 07:58:10.731126"], ["updated_at", "2018-04-06 07:58:10.731126"]]  (0.9ms) 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", "Cordie Gleason"], ["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", "Mora Shields"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cordie Gleason"], ["name", "Mora Shields"], ["description", "Lizeth Mosciski"], ["created_at", "2018-04-06 07:58:10.744629"], ["updated_at", "2018-04-06 07:58:10.744629"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 Nienow"], ["LIMIT", 1]] SQL (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", "Ellis Nienow"], ["name", "Kevin Zulauf"], ["location_type_id", 7], ["description", "Toby Ondricka"], ["address", "Julietta Marquardt"], ["created_at", "2018-04-06 07:58:10.752149"], ["updated_at", "2018-04-06 07:58:10.752149"]]  (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", "Audria McDermott"], ["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", "Bree Zulauf"], ["LIMIT", 1]] SQL (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", "Audria McDermott"], ["name", "Yun Reichel"], ["description", "Maire Emard"], ["serial_number", "Bree Zulauf"], ["brand", "Angelena Reynolds"], ["item_model", "Johnette Hills"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-04-06 07:58:10.757966"], ["updated_at", "2018-04-06 07:58:10.757966"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joanie Ryan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lizzie Gutmann"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joanie Ryan"], ["name", "Lizzie Gutmann"], ["created_at", "2018-04-06 07:58:10.764216"], ["updated_at", "2018-04-06 07:58:10.764216"]]  (0.4ms) 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", "Jani Hickle"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jani Hickle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.768345"], ["updated_at", "2018-04-06 07:58:10.768345"]]  (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", "Leila Homenick"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Leila Homenick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.772646"], ["updated_at", "2018-04-06 07:58:10.772646"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Pasty Jenkins"], ["LIMIT", 1]] SQL (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", "Pasty Jenkins"], ["name", "Yessenia Stracke"], ["address", "Lucio Watsica"], ["created_at", "2018-04-06 07:58:10.776720"], ["updated_at", "2018-04-06 07:58:10.776720"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Corrine Dach"], ["service_delivery_unit_id", 52], ["LIMIT", 1]] SQL (0.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", "Corrine Dach"], ["name", "Marinda Zieme"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 52], ["created_at", "2018-04-06 07:58:10.780940"], ["updated_at", "2018-04-06 07:58:10.780940"]] 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", 52], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Corrine Dach"], ["LIMIT", 1]] SQL (0.7ms) 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", "Corrine Dach"], ["name", "Marinda Zieme"], ["description", "Default bundle for service 'Marinda Zieme'"], ["service_delivery_unit_id", 52], ["created_at", "2018-04-06 07:58:10.785678"], ["updated_at", "2018-04-06 07:58:10.785678"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 39], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.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", 21], ["equipment_item_id", 7], ["created_at", "2018-04-06 07:58:10.792420"], ["updated_at", "2018-04-06 07:58:10.792420"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "Daina Mann"], ["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", "Shad Volkman"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Daina Mann"], ["name", "Shad Volkman"], ["description", "Sed earum dicta ut id. Consequatur cumque est ullam tempora tempore ea eligendi doloribus. Odit consequuntur iste aspernatur voluptatem cupiditate et. Vero quia rem et temporibus rerum. Deleniti magnam vel a et molestiae."], ["created_at", "2018-04-06 07:58:10.802369"], ["updated_at", "2018-04-06 07:58:10.802369"]]  (0.5ms) 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", "Williams Stark"], ["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", "Courtney Muller"], ["LIMIT", 1]] SQL (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", "Williams Stark"], ["name", "Courtney Muller"], ["description", "Cumque fugit voluptas tempora perspiciatis qui reiciendis aut nesciunt. Illo error et est illum id tempore. Omnis iusto id aliquid facere minima qui quaerat cum."], ["equipment_type_id", 8], ["created_at", "2018-04-06 07:58:10.810380"], ["updated_at", "2018-04-06 07:58:10.810380"]]  (0.8ms) 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", "Frederick Mueller"], ["LIMIT", 1]] SQL (2.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", "Frederick Mueller"], ["name", "Beatris Schmidt"], ["description", "Kelle Okuneva"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-04-06 07:58:10.822168"], ["updated_at", "2018-04-06 07:58:10.822168"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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", "Sammy Rath"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jazmine Crist"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sammy Rath"], ["name", "Jazmine Crist"], ["description", "Lorna Waelchi"], ["created_at", "2018-04-06 07:58:10.841171"], ["updated_at", "2018-04-06 07:58:10.841171"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Maia Feest"], ["LIMIT", 1]] SQL (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", "Maia Feest"], ["name", "Delinda Bogan"], ["location_type_id", 8], ["description", "Roy Kub"], ["address", "Karena Turner"], ["created_at", "2018-04-06 07:58:10.853221"], ["updated_at", "2018-04-06 07:58:10.853221"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Ana Auer"], ["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", "Deidre Frami"], ["LIMIT", 1]] SQL (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", "Ana Auer"], ["name", "Felisha Luettgen"], ["description", "Audra Kutch"], ["serial_number", "Deidre Frami"], ["brand", "Ellis Wiza"], ["item_model", "Camilla Kris"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-04-06 07:58:10.861206"], ["updated_at", "2018-04-06 07:58:10.861206"]]  (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", "Brian Streich"], ["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", "Moon Hayes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Brian Streich"], ["name", "Moon Hayes"], ["created_at", "2018-04-06 07:58:10.867854"], ["updated_at", "2018-04-06 07:58:10.867854"]]  (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", "Filiberto Monahan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Filiberto Monahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.872485"], ["updated_at", "2018-04-06 07:58:10.872485"]]  (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", "Eveline Schowalter"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eveline Schowalter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.877285"], ["updated_at", "2018-04-06 07:58:10.877285"]]  (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", "Toi Daugherty"], ["LIMIT", 1]] SQL (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", "Toi Daugherty"], ["name", "Albert Morar"], ["address", "Quyen Kris"], ["created_at", "2018-04-06 07:58:10.881910"], ["updated_at", "2018-04-06 07:58:10.881910"]]  (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", "Antione Hickle"], ["service_delivery_unit_id", 53], ["LIMIT", 1]] SQL (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", "Antione Hickle"], ["name", "Jermaine Lebsack"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 53], ["created_at", "2018-04-06 07:58:10.886388"], ["updated_at", "2018-04-06 07:58:10.886388"]] 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", "Antione Hickle"], ["LIMIT", 1]] SQL (0.7ms) 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", "Antione Hickle"], ["name", "Jermaine Lebsack"], ["description", "Default bundle for service 'Jermaine Lebsack'"], ["service_delivery_unit_id", 53], ["created_at", "2018-04-06 07:58:10.891320"], ["updated_at", "2018-04-06 07:58:10.891320"]] SQL (0.8ms) 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  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) 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", "Cathleen Farrell"], ["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", "Perla Nienow"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cathleen Farrell"], ["name", "Perla Nienow"], ["description", "Laudantium in aut at voluptatum veniam. Deleniti consectetur fugiat sit at tempore voluptatem. Recusandae quia fugit ea ea est eligendi. Praesentium nihil suscipit inventore voluptatem consequatur et beatae repudiandae."], ["created_at", "2018-04-06 07:58:10.905527"], ["updated_at", "2018-04-06 07:58:10.905527"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Bailey Jacobi"], ["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", "Joselyn Dickens"], ["LIMIT", 1]] SQL (1.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", "Bailey Jacobi"], ["name", "Joselyn Dickens"], ["description", "Totam sed sit tempore iusto molestiae nobis. Saepe sed esse quasi asperiores odit omnis cupiditate. Et deleniti deserunt aliquam ea. Ut eos natus debitis tempora."], ["equipment_type_id", 9], ["created_at", "2018-04-06 07:58:10.915102"], ["updated_at", "2018-04-06 07:58:10.915102"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Ricky Deckow"], ["LIMIT", 1]] SQL (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", "Ricky Deckow"], ["name", "Micki Connelly"], ["description", "Norman Stroman"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-04-06 07:58:10.923069"], ["updated_at", "2018-04-06 07:58:10.923069"]]  (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", "Jacquelyne Hansen"], ["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", "Long Hermann"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jacquelyne Hansen"], ["name", "Long Hermann"], ["description", "Bertram Hilll"], ["created_at", "2018-04-06 07:58:10.931679"], ["updated_at", "2018-04-06 07:58:10.931679"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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 Fisher"], ["LIMIT", 1]] SQL (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 Fisher"], ["name", "Leticia Casper"], ["location_type_id", 9], ["description", "Alexandra Sanford"], ["address", "Imogene Schaefer"], ["created_at", "2018-04-06 07:58:10.942806"], ["updated_at", "2018-04-06 07:58:10.942806"]]  (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", "Thomas Hessel"], ["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", "Forest Corwin"], ["LIMIT", 1]] SQL (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", "Thomas Hessel"], ["name", "Florentino Steuber"], ["description", "Edyth Koepp"], ["serial_number", "Forest Corwin"], ["brand", "Elizebeth Senger"], ["item_model", "Eric Wiegand"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-04-06 07:58:10.948751"], ["updated_at", "2018-04-06 07:58:10.948751"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Sirena Lakin"], ["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", "Akilah Roberts"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sirena Lakin"], ["name", "Akilah Roberts"], ["created_at", "2018-04-06 07:58:10.958114"], ["updated_at", "2018-04-06 07:58:10.958114"]]  (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", "Del Stehr"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Del Stehr"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.963286"], ["updated_at", "2018-04-06 07:58:10.963286"]]  (0.4ms) 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", "Ciera Labadie"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ciera Labadie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:10.967617"], ["updated_at", "2018-04-06 07:58:10.967617"]]  (0.4ms) 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", "Waneta Cruickshank"], ["LIMIT", 1]] SQL (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", "Waneta Cruickshank"], ["name", "Gerardo Watsica"], ["address", "Kevin Gibson"], ["created_at", "2018-04-06 07:58:10.971965"], ["updated_at", "2018-04-06 07:58:10.971965"]]  (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", "Kenya Vandervort"], ["service_delivery_unit_id", 54], ["LIMIT", 1]] SQL (0.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", "Kenya Vandervort"], ["name", "Denisha Kautzer"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 54], ["created_at", "2018-04-06 07:58:10.976187"], ["updated_at", "2018-04-06 07:58:10.976187"]] 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", 54], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kenya Vandervort"], ["LIMIT", 1]] SQL (0.7ms) 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", "Kenya Vandervort"], ["name", "Denisha Kautzer"], ["description", "Default bundle for service 'Denisha Kautzer'"], ["service_delivery_unit_id", 54], ["created_at", "2018-04-06 07:58:10.981067"], ["updated_at", "2018-04-06 07:58:10.981067"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 41], ["chargeable_service_id", 23]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "Ginger Cole"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Katherina Armstrong"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ginger Cole"], ["name", "Katherina Armstrong"], ["description", "Ut et recusandae eos illum aperiam autem non et. Et ea rem id perspiciatis rerum. Accusantium ex earum rerum non tenetur. Voluptatem dolorum facilis quos harum ea a consequatur."], ["created_at", "2018-04-06 07:58:10.993693"], ["updated_at", "2018-04-06 07:58:10.993693"]]  (0.4ms) 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", "Yvette Fahey"], ["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", "Sheri Schinner"], ["LIMIT", 1]] SQL (1.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", "Yvette Fahey"], ["name", "Sheri Schinner"], ["description", "Quis officia atque omnis vel doloribus quia consequuntur. Soluta necessitatibus accusamus quis impedit est quos harum. Culpa porro et nobis beatae. Maxime repellendus et et aut voluptatibus."], ["equipment_type_id", 10], ["created_at", "2018-04-06 07:58:10.999068"], ["updated_at", "2018-04-06 07:58:10.999068"]]  (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", "Susann Zboncak"], ["LIMIT", 1]] SQL (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", "Susann Zboncak"], ["name", "Trish Stokes"], ["description", "Noelle Lang"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-04-06 07:58:11.005016"], ["updated_at", "2018-04-06 07:58:11.005016"]]  (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", "Madelaine Jast"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Hilary Cremin"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Madelaine Jast"], ["name", "Hilary Cremin"], ["description", "Kaylee Zulauf"], ["created_at", "2018-04-06 07:58:11.011044"], ["updated_at", "2018-04-06 07:58:11.011044"]]  (0.6ms) 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", "Antonetta Haag"], ["LIMIT", 1]] SQL (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", "Antonetta Haag"], ["name", "Coleman Yost"], ["location_type_id", 10], ["description", "Elaine Zemlak"], ["address", "Conception Schuster"], ["created_at", "2018-04-06 07:58:11.016807"], ["updated_at", "2018-04-06 07:58:11.016807"]]  (0.6ms) 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", "Rae Tillman"], ["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", "Hyon Haley"], ["LIMIT", 1]] SQL (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", "Rae Tillman"], ["name", "Jacalyn Schroeder"], ["description", "China Shields"], ["serial_number", "Hyon Haley"], ["brand", "Darnell Friesen"], ["item_model", "Carlos Labadie"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-04-06 07:58:11.025273"], ["updated_at", "2018-04-06 07:58:11.025273"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (1.4ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Dorian Jewess"], ["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", "Maryellen Metz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dorian Jewess"], ["name", "Maryellen Metz"], ["created_at", "2018-04-06 07:58:11.045075"], ["updated_at", "2018-04-06 07:58:11.045075"]]  (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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Dorian Jewess"], ["id", 37], ["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", "Maryellen Metz"], ["id", 37], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceType Exists (0.8ms) 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.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Renna Nolan"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN 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", "Curtis Boyer"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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.4ms) BEGIN  (0.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", "Dominga Wiza"], ["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", "Barbar Jakubowski"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dominga Wiza"], ["name", "Barbar Jakubowski"], ["created_at", "2018-04-06 07:58:11.070275"], ["updated_at", "2018-04-06 07:58:11.070275"]]  (0.6ms) RELEASE 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", "Dominga Wiza"], ["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", "Azalee Labadie"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) 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", "Rudy Kuvalis"], ["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", "Esther Donnelly"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rudy Kuvalis"], ["name", "Esther Donnelly"], ["created_at", "2018-04-06 07:58:11.086221"], ["updated_at", "2018-04-06 07:58:11.086221"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Hulda Kris"], ["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", "Esther Donnelly"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN 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", "Golden Anderson"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (0.7ms) 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.4ms) BEGIN 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", "Carolyn Williamson"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Seth Rolfson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Seth Rolfson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.109990"], ["updated_at", "2018-04-06 07:58:11.109990"]]  (0.4ms) RELEASE 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", "Seth Rolfson"], ["LIMIT", 1]]  (1.6ms) ROLLBACK  (1.0ms) BEGIN  (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", "Guillermina Robel"], ["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", "Lucrecia Dare"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Guillermina Robel"], ["name", "Lucrecia Dare"], ["created_at", "2018-04-06 07:58:11.129006"], ["updated_at", "2018-04-06 07:58:11.129006"]]  (1.0ms) 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", "Hae Wiegand"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hae Wiegand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.137559"], ["updated_at", "2018-04-06 07:58:11.137559"]]  (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", "Concepcion Powlowski"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Concepcion Powlowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.144418"], ["updated_at", "2018-04-06 07:58:11.144418"]]  (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", "Cathrine Stehr"], ["LIMIT", 1]] SQL (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", "Cathrine Stehr"], ["name", "Lester Hickle"], ["address", "Matthew Conroy"], ["created_at", "2018-04-06 07:58:11.150576"], ["updated_at", "2018-04-06 07:58:11.150576"]]  (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", "Anita Hirthe"], ["service_delivery_unit_id", 55], ["LIMIT", 1]] SQL (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", "Anita Hirthe"], ["name", "Shawnta Dickinson"], ["service_type_id", 40], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 55], ["created_at", "2018-04-06 07:58:11.155304"], ["updated_at", "2018-04-06 07:58:11.155304"]] 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", 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", "Anita Hirthe"], ["LIMIT", 1]] SQL (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", "Anita Hirthe"], ["name", "Shawnta Dickinson"], ["description", "Default bundle for service 'Shawnta Dickinson'"], ["service_delivery_unit_id", 55], ["created_at", "2018-04-06 07:58:11.162922"], ["updated_at", "2018-04-06 07:58:11.162922"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 42], ["chargeable_service_id", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Shera Collins"], ["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", "Alexandria Crona"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shera Collins"], ["name", "Alexandria Crona"], ["created_at", "2018-04-06 07:58:11.172400"], ["updated_at", "2018-04-06 07:58:11.172400"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Rolland Mante"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rolland Mante"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.179389"], ["updated_at", "2018-04-06 07:58:11.179389"]]  (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", "Ruthie Harber"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ruthie Harber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.185350"], ["updated_at", "2018-04-06 07:58:11.185350"]]  (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", "Kenya Gorczany"], ["LIMIT", 1]] SQL (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", "Kenya Gorczany"], ["name", "Laquanda O'Reilly"], ["address", "Lucienne Gutmann"], ["created_at", "2018-04-06 07:58:11.189783"], ["updated_at", "2018-04-06 07:58:11.189783"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Rosalee Herman"], ["service_delivery_unit_id", 56], ["LIMIT", 1]] SQL (0.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", "Rosalee Herman"], ["name", "Robyn Hills"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 56], ["created_at", "2018-04-06 07:58:11.195148"], ["updated_at", "2018-04-06 07:58:11.195148"]] 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", 56], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rosalee Herman"], ["LIMIT", 1]] SQL (0.7ms) 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", "Rosalee Herman"], ["name", "Robyn Hills"], ["description", "Default bundle for service 'Robyn Hills'"], ["service_delivery_unit_id", 56], ["created_at", "2018-04-06 07:58:11.199836"], ["updated_at", "2018-04-06 07:58:11.199836"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 43], ["chargeable_service_id", 25]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Harris O'Keefe"], ["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", "Dee Rogahn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Harris O'Keefe"], ["name", "Dee Rogahn"], ["created_at", "2018-04-06 07:58:11.208802"], ["updated_at", "2018-04-06 07:58:11.208802"]]  (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", "Patty Ebert"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Patty Ebert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.213317"], ["updated_at", "2018-04-06 07:58:11.213317"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Jenine Nolan"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jenine Nolan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.219537"], ["updated_at", "2018-04-06 07:58:11.219537"]]  (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", "Rickie Howe"], ["LIMIT", 1]] SQL (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", "Rickie Howe"], ["name", "Goldie Connelly"], ["address", "Warren Paucek"], ["created_at", "2018-04-06 07:58:11.225920"], ["updated_at", "2018-04-06 07:58:11.225920"]]  (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", "Adaline White"], ["service_delivery_unit_id", 57], ["LIMIT", 1]] SQL (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", "Adaline White"], ["name", "Marsha Koelpin"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 57], ["created_at", "2018-04-06 07:58:11.232105"], ["updated_at", "2018-04-06 07:58:11.232105"]] 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", 57], ["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", "Adaline White"], ["LIMIT", 1]] SQL (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", "Adaline White"], ["name", "Marsha Koelpin"], ["description", "Default bundle for service 'Marsha Koelpin'"], ["service_delivery_unit_id", 57], ["created_at", "2018-04-06 07:58:11.239161"], ["updated_at", "2018-04-06 07:58:11.239161"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 44], ["chargeable_service_id", 26]]  (0.6ms) 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", 24], ["LIMIT", 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", 25], ["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", 24], ["LIMIT", 1]] SQL (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", 24], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-04-06 07:58:11.255725"], ["updated_at", "2018-04-06 07:58:11.255725"]] 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", 25], ["LIMIT", 1]] SQL (0.8ms) 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", 25], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-04-06 07:58:11.259820"], ["updated_at", "2018-04-06 07:58:11.259820"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) 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", "Ashley Runte"], ["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", "Tonita Marvin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ashley Runte"], ["name", "Tonita Marvin"], ["created_at", "2018-04-06 07:58:11.269793"], ["updated_at", "2018-04-06 07:58:11.269793"]]  (0.4ms) 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", "Merrill Leffler"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Merrill Leffler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.274388"], ["updated_at", "2018-04-06 07:58:11.274388"]]  (0.4ms) 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", "Alverta King"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alverta King"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 07:58:11.279766"], ["updated_at", "2018-04-06 07:58:11.279766"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kia Bayer"], ["LIMIT", 1]] SQL (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", "Kia Bayer"], ["name", "Dominique Raynor"], ["address", "Modesto Ferry"], ["created_at", "2018-04-06 07:58:11.284143"], ["updated_at", "2018-04-06 07:58:11.284143"]]  (0.5ms) 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", "Leonida Christiansen"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] SQL (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", "Leonida Christiansen"], ["name", "Madlyn Lesch"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 58], ["created_at", "2018-04-06 07:58:11.291407"], ["updated_at", "2018-04-06 07:58:11.291407"]] 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", 58], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Leonida Christiansen"], ["LIMIT", 1]] SQL (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", "Leonida Christiansen"], ["name", "Madlyn Lesch"], ["description", "Default bundle for service 'Madlyn Lesch'"], ["service_delivery_unit_id", 58], ["created_at", "2018-04-06 07:58:11.296230"], ["updated_at", "2018-04-06 07:58:11.296230"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 45], ["chargeable_service_id", 27]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 27], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-04-06 07:58:11.303986"], ["updated_at", "2018-04-06 07:58:11.303986"]]  (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", 27], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 27], ["LIMIT", 1]] SQL (2.4ms) 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-04-06 07:58:11.311836"], ["id", 10]]  (1.0ms) 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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.8ms) 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", "madlyn@becker.co.uk"], ["LIMIT", 1]] SQL (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", "Casimira Watsica"], ["last_name", "Loan Eichmann"], ["email", "madlyn@becker.co.uk"], ["password_digest", "$2a$04$U2dG21.rPYT0IsC2Bt.XB.9wVDxkZSMOPNeSMysQgcay8krnZCS4a"], ["created_at", "2018-04-06 07:58:11.329673"], ["updated_at", "2018-04-06 07:58:11.329673"]]  (0.8ms) 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", "stasia@rutherford.biz"], ["LIMIT", 1]] SQL (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", "Petra Predovic"], ["last_name", "Porsche Wilderman"], ["email", "stasia@rutherford.biz"], ["password_digest", "$2a$04$BzOe1rsRafXW5jl09dHadeWKMNZNHPl32HwNzmIOldfBcAIW5l5oi"], ["created_at", "2018-04-06 07:58:11.339570"], ["updated_at", "2018-04-06 07:58:11.339570"]]  (0.6ms) 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", "shawanda@stanton.ca"], ["LIMIT", 1]] SQL (0.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", "Nobuko Rolfson"], ["last_name", "Azucena Ebert"], ["email", "shawanda@stanton.ca"], ["password_digest", "$2a$04$l0vRfR67oycqe0rZZKiacuunZEX5yOdJOSOWAWn9wgvOkG/HJsJeu"], ["created_at", "2018-04-06 07:58:11.348016"], ["updated_at", "2018-04-06 07:58:11.348016"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Lawerence Farrell"], ["LIMIT", 1]] SQL (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", "Lawerence Farrell"], ["authorized_by", "Neva Towne"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 64], ["approved_by_id", 65], ["created_at", "2018-04-06 07:58:11.352622"], ["updated_at", "2018-04-06 07:58:11.352622"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Lawerence Farrell"], ["id", 4], ["LIMIT", 1]] SQL (1.2ms) 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", 63], ["updated_at", "2018-04-06 07:58:11.373953"], ["id", 4]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Load (0.5ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 4], ["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", 63], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (1.0ms) 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", "Kylie Monahan"], ["LIMIT", 1]] SQL (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", "Kylie Monahan"], ["name", "Ben Anderson"], ["address", "Toshiko Jast"], ["created_at", "2018-04-06 07:58:56.599677"], ["updated_at", "2018-04-06 07:58:56.599677"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jacqui Mertz"], ["LIMIT", 1]] SQL (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", "Jacqui Mertz"], ["name", "Liana Olson"], ["description", "Machelle Bergstrom"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 07:58:56.616211"], ["updated_at", "2018-04-06 07:58:56.616211"]]  (0.6ms) 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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Jacqui Mertz"], ["id", 1], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Clorinda Quitzon"], ["LIMIT", 1]] SQL (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", "Clorinda Quitzon"], ["name", "Charles Eichmann"], ["address", "Delbert Price"], ["created_at", "2018-04-06 07:58:56.628326"], ["updated_at", "2018-04-06 07:58:56.628326"]]  (0.4ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Derick Hilpert"], ["LIMIT", 1]] SQL (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", "Derick Hilpert"], ["name", "Beckie Breitenberg"], ["address", "Wade Kilback"], ["created_at", "2018-04-06 07:58:56.641498"], ["updated_at", "2018-04-06 07:58:56.641498"]]  (0.4ms) 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", "Jonnie Lockman"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Marleen Bradtke"], ["LIMIT", 1]] SQL (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", "Marleen Bradtke"], ["name", "Marvin Effertz"], ["address", "Christel DuBuque"], ["created_at", "2018-04-06 07:58:56.650710"], ["updated_at", "2018-04-06 07:58:56.650710"]]  (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", "Deb Moore"], ["LIMIT", 1]] SQL (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", "Deb Moore"], ["name", "Mallory Heaney"], ["description", "Billy Ryan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 07:58:56.654974"], ["updated_at", "2018-04-06 07:58:56.654974"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Kisha Legros"], ["LIMIT", 1]] SQL (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", "Kisha Legros"], ["name", "Lorean Friesen"], ["address", "Alfonzo Herzog"], ["created_at", "2018-04-06 07:58:56.661778"], ["updated_at", "2018-04-06 07:58:56.661778"]]  (0.5ms) 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", "Deb Moore"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (127.9ms) DROP DATABASE IF EXISTS "construction_test"  (0.5ms) SELECT pg_try_advisory_lock(497672844276008940)  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateMksRateUnitOfCharges (20171212165507)  (0.7ms) BEGIN  (8.8ms) CREATE TABLE "mks_rate_unit_of_charges" ("id" bigserial primary key, "name" character varying NOT NULL, "unit_variables" json NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171212165507"]]  (2.2ms) COMMIT Migrating to CreateMksRateServiceDeliveryUnits (20171213152154)  (0.7ms) BEGIN  (6.1ms) CREATE TABLE "mks_rate_service_delivery_units" ("id" bigserial primary key, "code" character varying NOT NULL, "name" character varying NOT NULL, "address" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171213152154"]]  (1.3ms) COMMIT Migrating to CreateMksRateServiceTypes (20171213152159)  (0.5ms) BEGIN  (5.9ms) CREATE TABLE "mks_rate_service_types" ("id" bigserial primary key, "code" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171213152159"]]  (1.3ms) COMMIT Migrating to CreateMksRateChargeableServices (20171214152030)  (1.1ms) BEGIN  (6.2ms) CREATE TABLE "mks_rate_chargeable_services" ("id" bigserial primary key, "code" character varying NOT NULL, "name" character varying NOT NULL, "service_type_id" integer, "base_unit_id" integer, "utilization_unit_id" integer, "service_delivery_unit_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.3ms) CREATE INDEX "st_on_cs_indx" ON "mks_rate_chargeable_services" ("service_type_id")  (2.2ms) CREATE INDEX "bu_on_cs_indx" ON "mks_rate_chargeable_services" ("base_unit_id")  (2.2ms) CREATE INDEX "uu_on_cs_indx" ON "mks_rate_chargeable_services" ("utilization_unit_id")  (2.6ms) CREATE INDEX "sdu_on_cs_indx" ON "mks_rate_chargeable_services" ("service_delivery_unit_id")  (1.9ms) ALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_c9195a9eb4" FOREIGN KEY ("service_type_id") REFERENCES "mks_rate_service_types" ("id")   (1.8ms) ALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_323d899c02" FOREIGN KEY ("base_unit_id") REFERENCES "mks_rate_unit_of_charges" ("id")   (2.5ms) ALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_a4bbde1129" FOREIGN KEY ("utilization_unit_id") REFERENCES "mks_rate_unit_of_charges" ("id")   (1.8ms) ALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_4e0ff36276" FOREIGN KEY ("service_delivery_unit_id") REFERENCES "mks_rate_service_delivery_units" ("id")  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171214152030"]]  (1.5ms) COMMIT Migrating to CreateMksRateChargeableServiceDiscounts (20171215092528)  (0.6ms) BEGIN  (7.0ms) CREATE TABLE "mks_rate_chargeable_service_discounts" ("id" bigserial primary key, "unit_variable" character varying NOT NULL, "from" float NOT NULL, "to" float NOT NULL, "value" float NOT NULL, "chargeable_service_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.9ms) ALTER TABLE "mks_rate_chargeable_service_discounts" ADD CONSTRAINT "fk_rails_688682e0b5" FOREIGN KEY ("chargeable_service_id") REFERENCES "mks_rate_chargeable_services" ("id")  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171215092528"]]  (1.4ms) COMMIT Migrating to CreateMksRateServiceRates (20180125113530)  (0.7ms) BEGIN  (4.1ms) CREATE TABLE "mks_rate_service_rates" ("id" bigserial primary key, "chargeable_service_id" bigint, "equipment_item_id" bigint, "base_rate" float DEFAULT 0.0, "utilization_rate" float DEFAULT 0.0, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.4ms) CREATE INDEX "cs_on_sr_indx" ON "mks_rate_service_rates" ("chargeable_service_id")  (4.4ms) CREATE INDEX "cs_on_ei_indx" ON "mks_rate_service_rates" ("equipment_item_id")  (2.8ms) ALTER TABLE "mks_rate_service_rates" ADD CONSTRAINT "fk_rails_a39cc6503a" FOREIGN KEY ("chargeable_service_id") REFERENCES "mks_rate_chargeable_services" ("id")   (2.8ms) ALTER TABLE "mks_rate_service_rates" ADD CONSTRAINT "fk_rails_8f0c330d29" FOREIGN KEY ("equipment_item_id") REFERENCES "mks_edm_equipment_items" ("id")  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180125113530"]]  (1.4ms) COMMIT Migrating to CreateMksRateServiceBundles (20180303134144)  (0.6ms) BEGIN  (5.4ms) CREATE TABLE "mks_rate_service_bundles" ("id" bigserial primary key, "code" character varying, "name" character varying NOT NULL, "description" character varying, "percent_discount" float DEFAULT 0.0 NOT NULL, "service_delivery_unit_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.2ms) CREATE INDEX "sdu_on_sb_indx" ON "mks_rate_service_bundles" ("service_delivery_unit_id")  (1.4ms) ALTER TABLE "mks_rate_service_bundles" ADD CONSTRAINT "fk_rails_d6c823a60f" FOREIGN KEY ("service_delivery_unit_id") REFERENCES "mks_rate_service_delivery_units" ("id")  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180303134144"]]  (1.3ms) COMMIT Migrating to CreateMksRateRateChangeRequests (20180308133826)  (0.5ms) BEGIN  (5.8ms) CREATE TABLE "mks_rate_rate_change_requests" ("id" bigserial primary key, "reference_number" character varying, "authorized_by" character varying NOT NULL, "effective_on" date NOT NULL, "authorized_on" date NOT NULL, "rates" json NOT NULL, "status" character varying DEFAULT 'SUBMITTED' NOT NULL, "created_by_id" bigint, "approved_by_id" bigint, "remark" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.3ms) CREATE INDEX "cb_on_rcr_indx" ON "mks_rate_rate_change_requests" ("created_by_id")  (2.4ms) CREATE INDEX "ab_on_rcr_indx" ON "mks_rate_rate_change_requests" ("approved_by_id")  (2.9ms) CREATE UNIQUE INDEX "index_mks_rate_rate_change_requests_on_reference_number" ON "mks_rate_rate_change_requests" ("reference_number")  (1.9ms) ALTER TABLE "mks_rate_rate_change_requests" ADD CONSTRAINT "fk_rails_c0525c8963" FOREIGN KEY ("created_by_id") REFERENCES "mks_auth_users" ("id")   (1.6ms) ALTER TABLE "mks_rate_rate_change_requests" ADD CONSTRAINT "fk_rails_1ec309ecbf" FOREIGN KEY ("approved_by_id") REFERENCES "mks_auth_users" ("id")  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180308133826"]]  (1.5ms) COMMIT Migrating to CreateMksRateServiceBundlesChargeableServices (20180401110018)  (0.5ms) BEGIN  (0.9ms) CREATE TABLE "mks_rate_service_bundles_chargeable_services" ("service_bundle_id" bigint, "chargeable_service_id" bigint)  (2.6ms) CREATE INDEX "sb_on_cs_indx" ON "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id")  (1.7ms) ALTER TABLE "mks_rate_service_bundles_chargeable_services" ADD CONSTRAINT "fk_rails_cde2572db6" FOREIGN KEY ("service_bundle_id") REFERENCES "mks_rate_service_bundles" ("id")   (1.8ms) ALTER TABLE "mks_rate_service_bundles_chargeable_services" ADD CONSTRAINT "fk_rails_520a0a95a5" FOREIGN KEY ("chargeable_service_id") REFERENCES "mks_rate_chargeable_services" ("id")  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180401110018"]]  (1.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (1.4ms) BEGIN  (1.0ms) COMMIT  (1.0ms) SELECT pg_advisory_unlock(497672844276008940)  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.6ms) SELECT pg_try_advisory_lock(497672844276008940)  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateMksRateUnitOfCharges (20171212165507)  (0.5ms) BEGIN  (16.8ms) CREATE TABLE "mks_rate_unit_of_charges" ("id" bigserial primary key, "name" character varying NOT NULL, "unit_variables" json NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171212165507"]]  (1.4ms) COMMIT Migrating to CreateMksRateServiceDeliveryUnits (20171213152154)  (0.5ms) BEGIN  (5.3ms) CREATE TABLE "mks_rate_service_delivery_units" ("id" bigserial primary key, "code" character varying NOT NULL, "name" character varying NOT NULL, "address" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171213152154"]]  (1.5ms) COMMIT Migrating to CreateMksRateServiceTypes (20171213152159)  (0.7ms) BEGIN  (7.6ms) CREATE TABLE "mks_rate_service_types" ("id" bigserial primary key, "code" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171213152159"]]  (2.3ms) COMMIT Migrating to CreateMksRateChargeableServices (20171214152030)  (0.8ms) BEGIN  (6.0ms) CREATE TABLE "mks_rate_chargeable_services" ("id" bigserial primary key, "code" character varying NOT NULL, "name" character varying NOT NULL, "service_type_id" integer, "base_unit_id" integer, "utilization_unit_id" integer, "service_delivery_unit_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "st_on_cs_indx" ON "mks_rate_chargeable_services" ("service_type_id")  (2.3ms) CREATE INDEX "bu_on_cs_indx" ON "mks_rate_chargeable_services" ("base_unit_id")  (2.4ms) CREATE INDEX "uu_on_cs_indx" ON "mks_rate_chargeable_services" ("utilization_unit_id")  (3.3ms) CREATE INDEX "sdu_on_cs_indx" ON "mks_rate_chargeable_services" ("service_delivery_unit_id")  (3.4ms) ALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_c9195a9eb4" FOREIGN KEY ("service_type_id") REFERENCES "mks_rate_service_types" ("id")   (2.3ms) ALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_323d899c02" FOREIGN KEY ("base_unit_id") REFERENCES "mks_rate_unit_of_charges" ("id")   (2.1ms) ALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_a4bbde1129" FOREIGN KEY ("utilization_unit_id") REFERENCES "mks_rate_unit_of_charges" ("id")   (3.1ms) ALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_4e0ff36276" FOREIGN KEY ("service_delivery_unit_id") REFERENCES "mks_rate_service_delivery_units" ("id")  SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171214152030"]]  (2.0ms) COMMIT Migrating to CreateMksRateChargeableServiceDiscounts (20171215092528)  (1.1ms) BEGIN  (5.6ms) CREATE TABLE "mks_rate_chargeable_service_discounts" ("id" bigserial primary key, "unit_variable" character varying NOT NULL, "from" float NOT NULL, "to" float NOT NULL, "value" float NOT NULL, "chargeable_service_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.7ms) ALTER TABLE "mks_rate_chargeable_service_discounts" ADD CONSTRAINT "fk_rails_688682e0b5" FOREIGN KEY ("chargeable_service_id") REFERENCES "mks_rate_chargeable_services" ("id")  SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20171215092528"]]  (1.3ms) COMMIT Migrating to CreateMksRateServiceRates (20180125113530)  (0.6ms) BEGIN  (4.4ms) CREATE TABLE "mks_rate_service_rates" ("id" bigserial primary key, "chargeable_service_id" bigint, "equipment_item_id" bigint, "base_rate" float DEFAULT 0.0, "utilization_rate" float DEFAULT 0.0, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.7ms) CREATE INDEX "cs_on_sr_indx" ON "mks_rate_service_rates" ("chargeable_service_id")  (2.8ms) CREATE INDEX "cs_on_ei_indx" ON "mks_rate_service_rates" ("equipment_item_id")  (1.7ms) ALTER TABLE "mks_rate_service_rates" ADD CONSTRAINT "fk_rails_a39cc6503a" FOREIGN KEY ("chargeable_service_id") REFERENCES "mks_rate_chargeable_services" ("id")   (1.7ms) ALTER TABLE "mks_rate_service_rates" ADD CONSTRAINT "fk_rails_8f0c330d29" FOREIGN KEY ("equipment_item_id") REFERENCES "mks_edm_equipment_items" ("id")  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180125113530"]]  (1.3ms) COMMIT Migrating to CreateMksRateServiceBundles (20180303134144)  (0.4ms) BEGIN  (5.6ms) CREATE TABLE "mks_rate_service_bundles" ("id" bigserial primary key, "code" character varying, "name" character varying NOT NULL, "description" character varying, "percent_discount" float DEFAULT 0.0 NOT NULL, "service_delivery_unit_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE INDEX "sdu_on_sb_indx" ON "mks_rate_service_bundles" ("service_delivery_unit_id")  (1.6ms) ALTER TABLE "mks_rate_service_bundles" ADD CONSTRAINT "fk_rails_d6c823a60f" FOREIGN KEY ("service_delivery_unit_id") REFERENCES "mks_rate_service_delivery_units" ("id")  SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180303134144"]]  (1.4ms) COMMIT Migrating to CreateMksRateRateChangeRequests (20180308133826)  (0.6ms) BEGIN  (5.5ms) CREATE TABLE "mks_rate_rate_change_requests" ("id" bigserial primary key, "reference_number" character varying, "authorized_by" character varying NOT NULL, "effective_on" date NOT NULL, "authorized_on" date NOT NULL, "rates" json NOT NULL, "status" character varying DEFAULT 'SUBMITTED' NOT NULL, "created_by_id" bigint, "approved_by_id" bigint, "remark" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.9ms) CREATE INDEX "cb_on_rcr_indx" ON "mks_rate_rate_change_requests" ("created_by_id")  (3.7ms) CREATE INDEX "ab_on_rcr_indx" ON "mks_rate_rate_change_requests" ("approved_by_id")  (3.7ms) CREATE UNIQUE INDEX "index_mks_rate_rate_change_requests_on_reference_number" ON "mks_rate_rate_change_requests" ("reference_number")  (2.5ms) ALTER TABLE "mks_rate_rate_change_requests" ADD CONSTRAINT "fk_rails_c0525c8963" FOREIGN KEY ("created_by_id") REFERENCES "mks_auth_users" ("id")   (3.4ms) ALTER TABLE "mks_rate_rate_change_requests" ADD CONSTRAINT "fk_rails_1ec309ecbf" FOREIGN KEY ("approved_by_id") REFERENCES "mks_auth_users" ("id")  SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180308133826"]]  (1.9ms) COMMIT Migrating to CreateMksRateServiceBundlesChargeableServices (20180401110018)  (0.8ms) BEGIN  (1.0ms) CREATE TABLE "mks_rate_service_bundles_chargeable_services" ("service_bundle_id" bigint, "chargeable_service_id" bigint)  (2.6ms) CREATE INDEX "sb_on_cs_indx" ON "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id")  (1.5ms) ALTER TABLE "mks_rate_service_bundles_chargeable_services" ADD CONSTRAINT "fk_rails_cde2572db6" FOREIGN KEY ("service_bundle_id") REFERENCES "mks_rate_service_bundles" ("id")   (1.4ms) ALTER TABLE "mks_rate_service_bundles_chargeable_services" ADD CONSTRAINT "fk_rails_520a0a95a5" FOREIGN KEY ("chargeable_service_id") REFERENCES "mks_rate_chargeable_services" ("id")  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180401110018"]]  (1.6ms) COMMIT ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.9ms) BEGIN  (0.7ms) COMMIT  (0.7ms) SELECT pg_advisory_unlock(497672844276008940)  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.7ms) BEGIN  (1.1ms) 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", "dexter@sengershields.ca"], ["LIMIT", 1]] SQL (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", "Shaneka Ward"], ["last_name", "Fran Swift"], ["email", "dexter@sengershields.ca"], ["password_digest", "$2a$04$PGTzBAd3sWZdF8NX5B9FGOzqmhkYhNijcyvCWebnfmaGnv9Q5ROUW"], ["created_at", "2018-04-06 11:07:55.031688"], ["updated_at", "2018-04-06 11:07:55.031688"]]  (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", "Matilda Nolan"], ["LIMIT", 1]] SQL (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", "Matilda Nolan"], ["name", "Leigha Howe"], ["address", "Trey Hauck"], ["created_at", "2018-04-06 11:07:55.069456"], ["updated_at", "2018-04-06 11:07:55.069456"]]  (0.5ms) 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", "Babette Considine"], ["LIMIT", 1]] SQL (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", "Babette Considine"], ["name", "Connie Luettgen"], ["description", "Ernestine Bogisich"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 11:07:55.080877"], ["updated_at", "2018-04-06 11:07:55.080877"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML Mks::Auth::User Load (0.6ms) 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.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["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.8ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.94ms) Completed 200 OK in 27ms (Views: 18.7ms | ActiveRecord: 3.5ms)  (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", "lia.reichert@murray.name"], ["LIMIT", 1]] SQL (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", "Avis Gleason"], ["last_name", "Bridgette Marquardt"], ["email", "lia.reichert@murray.name"], ["password_digest", "$2a$04$Hx.N55pwD96nkFtqd480QOKBhJ4Ck5nmjdadvMhkxHCrZ5QRlwTIe"], ["created_at", "2018-04-06 11:07:55.123900"], ["updated_at", "2018-04-06 11:07:55.123900"]]  (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", "Yelena Goyette"], ["LIMIT", 1]] SQL (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", "Yelena Goyette"], ["name", "Kia Schuster"], ["address", "Olin Bode"], ["created_at", "2018-04-06 11:07:55.129367"], ["updated_at", "2018-04-06 11:07:55.129367"]]  (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", "Krissy Hauck"], ["LIMIT", 1]] SQL (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", "Krissy Hauck"], ["name", "Darius Bauch"], ["description", "Jessie Ryan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 11:07:55.135087"], ["updated_at", "2018-04-06 11:07:55.135087"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Margo Sauer"], ["LIMIT", 1]] SQL (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", "Margo Sauer"], ["name", "Paulette Franecki"], ["description", "Regina Keebler"], ["percent_discount", 100.0], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 11:07:55.139684"], ["updated_at", "2018-04-06 11:07:55.139684"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Wilma Cartwright"], ["LIMIT", 1]] SQL (0.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", "Wilma Cartwright"], ["name", "Amber Little"], ["description", "Jerrie Torphy"], ["percent_discount", 100.0], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 11:07:55.144677"], ["updated_at", "2018-04-06 11:07:55.144677"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 2]] [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", 2], ["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", 2], ["LIMIT", 1]] [active_model_serializers] 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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (7.36ms) Completed 200 OK in 15ms (Views: 7.1ms | ActiveRecord: 6.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "sharita@kozey.name"], ["LIMIT", 1]] SQL (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", "Arica Kertzmann"], ["last_name", "Cornelia Maggio"], ["email", "sharita@kozey.name"], ["password_digest", "$2a$04$6GsB0CsQGlyzr7UQEg3IJeMB84snnzZs4sW9kKPYFt9L7R8T.1RPG"], ["created_at", "2018-04-06 11:07:55.170639"], ["updated_at", "2018-04-06 11:07:55.170639"]]  (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", "Judie Glover"], ["LIMIT", 1]] SQL (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", "Judie Glover"], ["name", "Francis Wilderman"], ["address", "Cecily Walker"], ["created_at", "2018-04-06 11:07:55.176294"], ["updated_at", "2018-04-06 11:07:55.176294"]]  (0.4ms) 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", "Ada Stark"], ["LIMIT", 1]] SQL (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", "Ada Stark"], ["name", "Evelina Toy"], ["description", "Nena Kilback"], ["percent_discount", 100.0], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 11:07:55.188679"], ["updated_at", "2018-04-06 11:07:55.188679"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luke Wehner"], ["LIMIT", 1]] SQL (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", "Luke Wehner"], ["name", "Dulce Schuppe"], ["description", "Benjamin Runte"], ["percent_discount", 100.0], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 11:07:55.193688"], ["updated_at", "2018-04-06 11:07:55.193688"]]  (0.4ms) 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", "Nona Bartoletti"], ["LIMIT", 1]] SQL (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", "Nona Bartoletti"], ["name", "Janie Rowe"], ["description", "Kemberly Leuschke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 11:07:55.198777"], ["updated_at", "2018-04-06 11:07:55.198777"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Rosy Steuber"], ["LIMIT", 1]] SQL (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", "Rosy Steuber"], ["name", "Catarina Labadie"], ["address", "Janae Watsica"], ["created_at", "2018-04-06 11:07:55.205175"], ["updated_at", "2018-04-06 11:07:55.205175"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Georgene Schroeder"], ["LIMIT", 1]] SQL (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", "Georgene Schroeder"], ["name", "Roseanne Koss"], ["description", "Francina Gibson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 11:07:55.212603"], ["updated_at", "2018-04-06 11:07:55.212603"]]  (0.9ms) 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", "Lulu Dickens"], ["LIMIT", 1]] SQL (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", "Lulu Dickens"], ["name", "Vivienne Labadie"], ["address", "Donnetta O'Conner"], ["created_at", "2018-04-06 11:07:55.222011"], ["updated_at", "2018-04-06 11:07:55.222011"]]  (0.7ms) 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", "Ashlea Goyette"], ["LIMIT", 1]] SQL (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", "Ashlea Goyette"], ["name", "Alysia Durgan"], ["description", "Isabelle Sporer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 11:07:55.229958"], ["updated_at", "2018-04-06 11:07:55.229958"]]  (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", "Rubi Hudson"], ["LIMIT", 1]] SQL (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", "Rubi Hudson"], ["name", "Pok Brekke"], ["address", "Tiffiny Bahringer"], ["created_at", "2018-04-06 11:07:55.235906"], ["updated_at", "2018-04-06 11:07:55.235906"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Gay Toy"], ["LIMIT", 1]] SQL (0.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", "Gay Toy"], ["name", "Kary Cummerata"], ["description", "Sima Bayer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 11:07:55.239964"], ["updated_at", "2018-04-06 11:07:55.239964"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"3"} 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]] 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]] Mks::Rate::ServiceBundle Load (0.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 3]] [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", 3], ["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", 3], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.16ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 3.7ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "paz_fisher@bartell.ca"], ["LIMIT", 1]] SQL (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", "Jadwiga Hettinger"], ["last_name", "Arlene Effertz"], ["email", "paz_fisher@bartell.ca"], ["password_digest", "$2a$04$YfymjtaFr9jSqfMjTxbpLOq15fPyZ8WTZ/2PwXIdJzP4tYBS0Pw4m"], ["created_at", "2018-04-06 11:07:55.259396"], ["updated_at", "2018-04-06 11:07:55.259396"]]  (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", "India Hodkiewicz"], ["LIMIT", 1]] SQL (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", "India Hodkiewicz"], ["name", "Ida Monahan"], ["address", "Devin Konopelski"], ["created_at", "2018-04-06 11:07:55.264686"], ["updated_at", "2018-04-06 11:07:55.264686"]]  (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", "Shirley Schuster"], ["LIMIT", 1]] SQL (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", "Shirley Schuster"], ["name", "Nicki Marquardt"], ["description", "Clifton Boehm"], ["percent_discount", 100.0], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 11:07:55.269797"], ["updated_at", "2018-04-06 11:07:55.269797"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"11"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 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", 11], ["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", 4], ["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", 7], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.58ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 2.3ms)  (0.5ms) 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", "ettie_marquardt@vandervortziemann.name"], ["LIMIT", 1]] SQL (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", "Van Jenkins"], ["last_name", "Kenyatta Mohr"], ["email", "ettie_marquardt@vandervortziemann.name"], ["password_digest", "$2a$04$YBq5JoK3LGL5gDEYzGI8muwQYBs7/FtWwJ8b/xouSoBzqiVZh//2u"], ["created_at", "2018-04-06 11:07:55.285972"], ["updated_at", "2018-04-06 11:07:55.285972"]]  (0.6ms) 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", "Efren Torphy"], ["LIMIT", 1]] SQL (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", "Efren Torphy"], ["name", "Camila Bernhard"], ["address", "Imogene Mills"], ["created_at", "2018-04-06 11:07:55.291900"], ["updated_at", "2018-04-06 11:07:55.291900"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Milagros White"], ["LIMIT", 1]] SQL (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", "Milagros White"], ["name", "First Service Bundle"], ["description", "Leandra Jakubowski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 11:07:55.297175"], ["updated_at", "2018-04-06 11:07:55.297175"]]  (0.9ms) 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", "Raisa Jewess"], ["LIMIT", 1]] SQL (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", "Raisa Jewess"], ["name", "Phung Kulas"], ["address", "Ettie Raynor"], ["created_at", "2018-04-06 11:07:55.304126"], ["updated_at", "2018-04-06 11:07:55.304126"]]  (0.7ms) 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", "Marissa Botsford"], ["LIMIT", 1]] SQL (0.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", "Marissa Botsford"], ["name", "Second Service Bundle"], ["description", "Shad Stark"], ["percent_discount", 100.0], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 11:07:55.309191"], ["updated_at", "2018-04-06 11:07:55.309191"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.8ms) 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", "jamey@lind.co.uk"], ["LIMIT", 1]] SQL (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", "Drema Jerde"], ["last_name", "Kai Feest"], ["email", "jamey@lind.co.uk"], ["password_digest", "$2a$04$xs1AmEihzF2ef1lErxext.Rz3ZkQyZpaKHE4lR66GrxM0kXuGcRU."], ["created_at", "2018-04-06 11:07:55.324155"], ["updated_at", "2018-04-06 11:07:55.324155"]]  (0.6ms) 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", "Tyra Sporer"], ["LIMIT", 1]] SQL (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", "Tyra Sporer"], ["name", "Katelyn Mosciski"], ["address", "Kira Crist"], ["created_at", "2018-04-06 11:07:55.332142"], ["updated_at", "2018-04-06 11:07:55.332142"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tifany Pouros"], ["LIMIT", 1]] SQL (0.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", "Tifany Pouros"], ["name", "FIRst Service Bundle"], ["description", "Kayleigh Dach"], ["percent_discount", 100.0], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 11:07:55.336943"], ["updated_at", "2018-04-06 11:07:55.336943"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ginette Koelpin"], ["LIMIT", 1]] SQL (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", "Ginette Koelpin"], ["name", "Esta Dibbert"], ["address", "Nickole Upton"], ["created_at", "2018-04-06 11:07:55.341500"], ["updated_at", "2018-04-06 11:07:55.341500"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lexie Keebler"], ["LIMIT", 1]] SQL (0.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", "Lexie Keebler"], ["name", "Second Service Bundle for the firST time"], ["description", "Sherley Cartwright"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-04-06 11:07:55.345315"], ["updated_at", "2018-04-06 11:07:55.345315"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "skye@nikolaus.co.uk"], ["LIMIT", 1]] SQL (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", "Georgann Hilpert"], ["last_name", "Mayra Kautzer"], ["email", "skye@nikolaus.co.uk"], ["password_digest", "$2a$04$SPvoLI1Q.fCd4v833uncwe0NkhcKA67.hwnR3QkMz4u1d1bpvY6/6"], ["created_at", "2018-04-06 11:07:55.356630"], ["updated_at", "2018-04-06 11:07:55.356630"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Chi Murazik"], ["LIMIT", 1]] SQL (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", "Chi Murazik"], ["name", "Takisha Schumm"], ["address", "Daina Homenick"], ["created_at", "2018-04-06 11:07:55.367376"], ["updated_at", "2018-04-06 11:07:55.367376"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"So Lynch", "description"=>"Marshall Orn", "name"=>"Sana Hickle", "service_delivery_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", 7], ["LIMIT", 1]]  (0.6ms) 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", 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", "So Lynch"], ["LIMIT", 1]] SQL (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", "So Lynch"], ["name", "Sana Hickle"], ["description", "Marshall Orn"], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 11:07:55.381878"], ["updated_at", "2018-04-06 11:07:55.381878"]]  (0.4ms) 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", 7], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.21ms) Completed 201 Created in 11ms (Views: 2.2ms | ActiveRecord: 4.7ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "wendie.greenfelder@rolfsontorphy.biz"], ["LIMIT", 1]] SQL (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", "Stevie Koepp"], ["last_name", "Sidney Stark"], ["email", "wendie.greenfelder@rolfsontorphy.biz"], ["password_digest", "$2a$04$v4afGwYPNRRnexu4StUbQuS4IglIrKReYjfOjmQdGJPcIQRN0hzfG"], ["created_at", "2018-04-06 11:07:55.397589"], ["updated_at", "2018-04-06 11:07:55.397589"]]  (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", "Linh Lebsack"], ["LIMIT", 1]] SQL (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", "Linh Lebsack"], ["name", "Deena Littel"], ["address", "Chassidy Hudson"], ["created_at", "2018-04-06 11:07:55.402359"], ["updated_at", "2018-04-06 11:07:55.402359"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Mark Altenwerth", "description"=>"Jarod Murphy", "name"=>"Mora Blanda", "service_delivery_unit_id"=>"13"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 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", 13], ["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", "Mark Altenwerth"], ["LIMIT", 1]] SQL (1.4ms) 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", "Mark Altenwerth"], ["name", "Mora Blanda"], ["description", "Jarod Murphy"], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 11:07:55.411736"], ["updated_at", "2018-04-06 11:07:55.411736"]]  (0.7ms) 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", 8], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.64ms) Completed 201 Created in 14ms (Views: 3.5ms | ActiveRecord: 5.9ms) Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (2.2ms) ROLLBACK  (0.7ms) 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", "jenice_keebler@legros.co.uk"], ["LIMIT", 1]] SQL (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", "Raelene Nikolaus"], ["last_name", "Izola Wiegand"], ["email", "jenice_keebler@legros.co.uk"], ["password_digest", "$2a$04$HFIg2wU1r0hL.KwLQTa2oeUpTkL0YiK2Ldml5ZCQJ4xdV33WixbOu"], ["created_at", "2018-04-06 11:07:55.443587"], ["updated_at", "2018-04-06 11:07:55.443587"]]  (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", "Adela Predovic"], ["LIMIT", 1]] SQL (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", "Adela Predovic"], ["name", "Meggan Kuvalis"], ["address", "Lynell Kunde"], ["created_at", "2018-04-06 11:07:55.451219"], ["updated_at", "2018-04-06 11:07:55.451219"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Javier Wehner", "name"=>"Clarinda Eichmann", "service_delivery_unit_id"=>"14"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 14], ["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", ""], ["LIMIT", 1]]  (0.4ms) ROLLBACK TO 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", 9], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.12ms) Completed 422 Unprocessable Entity in 20ms (Views: 9.3ms | ActiveRecord: 3.4ms)  (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", "leonel@harvey.co.uk"], ["LIMIT", 1]] SQL (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", "Blanca Boyer"], ["last_name", "Zelma Collier"], ["email", "leonel@harvey.co.uk"], ["password_digest", "$2a$04$Nm/DVOQ42ZPksnmviBCEB.798uIT5nME0cm7GqVDUEU8mgGZ2xB6G"], ["created_at", "2018-04-06 11:07:55.484923"], ["updated_at", "2018-04-06 11:07:55.484923"]]  (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", "Trinidad Hills"], ["LIMIT", 1]] SQL (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", "Trinidad Hills"], ["name", "Pedro Larson"], ["address", "Vernon Grant"], ["created_at", "2018-04-06 11:07:55.490365"], ["updated_at", "2018-04-06 11:07:55.490365"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jerold Konopelski"], ["LIMIT", 1]] SQL (0.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", "Jerold Konopelski"], ["name", "Parker Macejkovic"], ["description", "Ardelia Bednar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-04-06 11:07:55.494316"], ["updated_at", "2018-04-06 11:07:55.494316"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Phillip Schaden"}, "id"=>"18"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 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", 18], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 15], ["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", "Jerold Konopelski"], ["id", 18], ["LIMIT", 1]] SQL (0.8ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Phillip Schaden"], ["updated_at", "2018-04-06 11:07:55.503923"], ["id", 18]]  (0.4ms) 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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.21ms) Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 4.7ms) 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", 18], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "teisha_corkery@mcdermott.ca"], ["LIMIT", 1]] SQL (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", "Elvin Volkman"], ["last_name", "Kerry Larkin"], ["email", "teisha_corkery@mcdermott.ca"], ["password_digest", "$2a$04$P3tMkWM/O6Mx7sBt0.OMh.zPkYjjeLWs14IumKFQGVC8cAQd4BxtW"], ["created_at", "2018-04-06 11:07:55.518945"], ["updated_at", "2018-04-06 11:07:55.518945"]]  (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", "Jacquelin Kunze"], ["LIMIT", 1]] SQL (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", "Jacquelin Kunze"], ["name", "Clyde Deckow"], ["address", "Veda Dooley"], ["created_at", "2018-04-06 11:07:55.524390"], ["updated_at", "2018-04-06 11:07:55.524390"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jess Wilkinson"], ["LIMIT", 1]] SQL (1.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", "Jess Wilkinson"], ["name", "Tena Windler"], ["description", "Brooke Yundt"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-04-06 11:07:55.531664"], ["updated_at", "2018-04-06 11:07:55.531664"]]  (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", "Christiane Schneider"], ["LIMIT", 1]] SQL (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", "Christiane Schneider"], ["name", "Elfreda Skiles"], ["address", "Francesco Moen"], ["created_at", "2018-04-06 11:07:55.539383"], ["updated_at", "2018-04-06 11:07:55.539383"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Abigail Barton", "description"=>"Tari Lakin", "name"=>"Tamiko Auer", "service_delivery_unit_id"=>"17"}, "id"=>"19"} 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]] 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", 19], ["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", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.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", "Abigail Barton"], ["id", 19], ["LIMIT", 1]] SQL (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", "Abigail Barton"], ["name", "Tamiko Auer"], ["description", "Tari Lakin"], ["service_delivery_unit_id", 17], ["updated_at", "2018-04-06 11:07:55.549527"], ["id", 19]]  (0.7ms) 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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 5.2ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "raina@turcotte.biz"], ["LIMIT", 1]] SQL (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", "Chester Wolf"], ["last_name", "Sheryll Schoen"], ["email", "raina@turcotte.biz"], ["password_digest", "$2a$04$POT5a1rKz8EkWgIanIUEVOqCuMy0ccCoXcHbcmWei3FNXjQsQSBja"], ["created_at", "2018-04-06 11:07:55.564561"], ["updated_at", "2018-04-06 11:07:55.564561"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lashay Quigley"], ["LIMIT", 1]] SQL (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", "Lashay Quigley"], ["name", "Shavon Moore"], ["address", "Arnold Boyle"], ["created_at", "2018-04-06 11:07:55.570791"], ["updated_at", "2018-04-06 11:07:55.570791"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Opal Nader"], ["LIMIT", 1]] SQL (0.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", "Opal Nader"], ["name", "Brady O'Kon"], ["description", "Cyndi D'Amore"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-04-06 11:07:55.574771"], ["updated_at", "2018-04-06 11:07:55.574771"]]  (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", "Lisha Quigley"], ["LIMIT", 1]] SQL (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", "Lisha Quigley"], ["name", "Melda Wuckert"], ["address", "Werner Robel"], ["created_at", "2018-04-06 11:07:55.579995"], ["updated_at", "2018-04-06 11:07:55.579995"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Avis Rolfson", "name"=>"Ashlea Swaniawski", "service_delivery_unit_id"=>"19"}, "id"=>"20"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 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", 20], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) 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", 20], ["LIMIT", 1]]  (0.5ms) 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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.14ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.4ms | ActiveRecord: 4.3ms)  (0.7ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) BEGIN  (0.8ms) 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", "tawanna.stark@littel.info"], ["LIMIT", 1]] SQL (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", "Hermelinda Fay"], ["last_name", "Mafalda Medhurst"], ["email", "tawanna.stark@littel.info"], ["password_digest", "$2a$04$HRSqmEywm4ElGvCGechKxuSZwaeNRzLVioc6qTZmgj.auqksJz3W."], ["created_at", "2018-04-06 11:10:12.462106"], ["updated_at", "2018-04-06 11:10:12.462106"]]  (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", "Kasandra Mills"], ["LIMIT", 1]] SQL (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", "Kasandra Mills"], ["name", "Emeline Hirthe"], ["address", "Laverna Zboncak"], ["created_at", "2018-04-06 11:10:12.500308"], ["updated_at", "2018-04-06 11:10:12.500308"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Regine Ferry"], ["LIMIT", 1]] SQL (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", "Regine Ferry"], ["name", "Abbie Kuhlman"], ["description", "Leatrice Schneider"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 11:10:12.510910"], ["updated_at", "2018-04-06 11:10:12.510910"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML Mks::Auth::User Load (2.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 (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 1], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (7.65ms) Completed 200 OK in 41ms (Views: 26.4ms | ActiveRecord: 6.9ms)  (0.6ms) ROLLBACK  (0.5ms) 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", "sheryl@deckow.com"], ["LIMIT", 1]] SQL (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", "Lyman Pfeffer"], ["last_name", "Odelia Lakin"], ["email", "sheryl@deckow.com"], ["password_digest", "$2a$04$yjgEn/jZUhfthCZ6HuqvzOF2bqeVrDVWn8NA59cXLmNwGQxkRk8L."], ["created_at", "2018-04-06 11:10:12.566249"], ["updated_at", "2018-04-06 11:10:12.566249"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Terina Huels"], ["LIMIT", 1]] SQL (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", "Terina Huels"], ["name", "Ethyl Moore"], ["address", "Mario Armstrong"], ["created_at", "2018-04-06 11:10:12.570843"], ["updated_at", "2018-04-06 11:10:12.570843"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Celinda Wilderman"], ["LIMIT", 1]] SQL (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", "Celinda Wilderman"], ["name", "Oneida Lowe"], ["description", "Teena Grady"], ["percent_discount", 100.0], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 11:10:12.575359"], ["updated_at", "2018-04-06 11:10:12.575359"]]  (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", "Bryanna Stanton"], ["LIMIT", 1]] SQL (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", "Bryanna Stanton"], ["name", "Glynis Kunze"], ["description", "Edra Carter"], ["percent_discount", 100.0], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 11:10:12.580624"], ["updated_at", "2018-04-06 11:10:12.580624"]]  (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", "Vincent Huel"], ["LIMIT", 1]] SQL (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", "Vincent Huel"], ["name", "Willy Balistreri"], ["description", "Fred Graham"], ["percent_discount", 100.0], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 11:10:12.585569"], ["updated_at", "2018-04-06 11:10:12.585569"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"2"} 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]] Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 2]] [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", 2], ["LIMIT", 1]] [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", 2], ["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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.36ms) Completed 200 OK in 12ms (Views: 5.9ms | ActiveRecord: 4.7ms)  (0.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", "adelia.bogisich@kuhn.biz"], ["LIMIT", 1]] SQL (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", "Deandra Robel"], ["last_name", "Leslie Brown"], ["email", "adelia.bogisich@kuhn.biz"], ["password_digest", "$2a$04$sJgN.42DbqmAjAZ9X6oXlu1dYrMxJUHXrD5MVy/GNnSik.KxJj4Zu"], ["created_at", "2018-04-06 11:10:12.611456"], ["updated_at", "2018-04-06 11:10:12.611456"]]  (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", "Monnie Runolfsson"], ["LIMIT", 1]] SQL (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", "Monnie Runolfsson"], ["name", "Eddie Cassin"], ["address", "Harland Veum"], ["created_at", "2018-04-06 11:10:12.616469"], ["updated_at", "2018-04-06 11:10:12.616469"]]  (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", "Meggan Hoeger"], ["LIMIT", 1]] SQL (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", "Meggan Hoeger"], ["name", "Violeta Hane"], ["description", "Carma Brown"], ["percent_discount", 100.0], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 11:10:12.621118"], ["updated_at", "2018-04-06 11:10:12.621118"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cory Erdman"], ["LIMIT", 1]] SQL (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", "Cory Erdman"], ["name", "Lindsay Padberg"], ["description", "Keely Hettinger"], ["percent_discount", 100.0], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 11:10:12.625736"], ["updated_at", "2018-04-06 11:10:12.625736"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Debi Kutch"], ["LIMIT", 1]] SQL (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", "Debi Kutch"], ["name", "Vickie Wilkinson"], ["description", "Lora Vandervort"], ["percent_discount", 100.0], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 11:10:12.632896"], ["updated_at", "2018-04-06 11:10:12.632896"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.3ms) 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", "Leeanna Abshire"], ["LIMIT", 1]] SQL (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", "Leeanna Abshire"], ["name", "Candyce Harris"], ["address", "Easter Hilpert"], ["created_at", "2018-04-06 11:10:12.646356"], ["updated_at", "2018-04-06 11:10:12.646356"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Madelene Dare"], ["LIMIT", 1]] SQL (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", "Madelene Dare"], ["name", "Jennell Windler"], ["description", "Estrella Reichert"], ["percent_discount", 100.0], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 11:10:12.650831"], ["updated_at", "2018-04-06 11:10:12.650831"]]  (0.6ms) 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", "Parthenia Casper"], ["LIMIT", 1]] SQL (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", "Parthenia Casper"], ["name", "Janie Harris"], ["address", "Harriette Grady"], ["created_at", "2018-04-06 11:10:12.657630"], ["updated_at", "2018-04-06 11:10:12.657630"]]  (0.6ms) 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", "Terri Kassulke"], ["LIMIT", 1]] SQL (0.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", "Terri Kassulke"], ["name", "Annett Russel"], ["description", "Gudrun Nienow"], ["percent_discount", 100.0], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 11:10:12.663116"], ["updated_at", "2018-04-06 11:10:12.663116"]]  (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", "Kati Sanford"], ["LIMIT", 1]] SQL (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", "Kati Sanford"], ["name", "Latricia Mraz"], ["address", "Cornelius McLaughlin"], ["created_at", "2018-04-06 11:10:12.668097"], ["updated_at", "2018-04-06 11:10:12.668097"]]  (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", "Claudette Price"], ["LIMIT", 1]] SQL (0.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", "Claudette Price"], ["name", "Ta Shields"], ["description", "Merrill Ullrich"], ["percent_discount", 100.0], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 11:10:12.673334"], ["updated_at", "2018-04-06 11:10:12.673334"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"3"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["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", 3], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 3]] [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", 3], ["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", 3], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.17ms) Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 3.6ms)  (0.6ms) 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", "cornelius_flatley@nikolaus.co.uk"], ["LIMIT", 1]] SQL (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", "Kayleen Lockman"], ["last_name", "Mendy Wiza"], ["email", "cornelius_flatley@nikolaus.co.uk"], ["password_digest", "$2a$04$tgHDpLVbWkfGgnFb5.whxeWP2N43DZgO2X0LmnuTKXVdBMvwIhVhK"], ["created_at", "2018-04-06 11:10:12.693274"], ["updated_at", "2018-04-06 11:10:12.693274"]]  (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", "Rose Feil"], ["LIMIT", 1]] SQL (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", "Rose Feil"], ["name", "Kathern Zulauf"], ["address", "Lucinda Abshire"], ["created_at", "2018-04-06 11:10:12.698136"], ["updated_at", "2018-04-06 11:10:12.698136"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Milda Friesen"], ["LIMIT", 1]] SQL (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", "Milda Friesen"], ["name", "Golden O'Reilly"], ["description", "Anh Barton"], ["percent_discount", 100.0], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 11:10:12.702721"], ["updated_at", "2018-04-06 11:10:12.702721"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"11"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 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", 11], ["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", 4], ["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", 7], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.38ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 2.6ms)  (0.5ms) 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", "devorah@lynch.com"], ["LIMIT", 1]] SQL (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", "Gemma Lesch"], ["last_name", "Tawna Rempel"], ["email", "devorah@lynch.com"], ["password_digest", "$2a$04$W3eLCYDFYqlRxdFeMcgB/erUGZzGL.0FtiuxoW7WNpUcOXXtMrTqC"], ["created_at", "2018-04-06 11:10:12.721485"], ["updated_at", "2018-04-06 11:10:12.721485"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (14.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Jammie Nitzsche"], ["LIMIT", 1]] SQL (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", "Jammie Nitzsche"], ["name", "Christiane Dicki"], ["address", "Beulah Turner"], ["created_at", "2018-04-06 11:10:12.742510"], ["updated_at", "2018-04-06 11:10:12.742510"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Bettina Crooks"], ["LIMIT", 1]] SQL (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", "Bettina Crooks"], ["name", "First Service Bundle"], ["description", "Millie Bradtke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 11:10:12.753014"], ["updated_at", "2018-04-06 11:10:12.753014"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Miguelina Dach"], ["LIMIT", 1]] SQL (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", "Miguelina Dach"], ["name", "Ellis Little"], ["address", "Rhea Ritchie"], ["created_at", "2018-04-06 11:10:12.757714"], ["updated_at", "2018-04-06 11:10:12.757714"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Debbi Skiles"], ["LIMIT", 1]] SQL (0.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", "Debbi Skiles"], ["name", "Second Service Bundle"], ["description", "Angeles Hoeger"], ["percent_discount", 100.0], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 11:10:12.762323"], ["updated_at", "2018-04-06 11:10:12.762323"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["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.9ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.5ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 2.8ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} 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::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) 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.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]] [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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.06ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 6.3ms)  (0.6ms) 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", "andrea_braun@lockman.info"], ["LIMIT", 1]] SQL (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", "Dan Bogisich"], ["last_name", "Gaylene Buckridge"], ["email", "andrea_braun@lockman.info"], ["password_digest", "$2a$04$xkXBaMmHrTbUCH2IqdkTS.PjJTKjHeEKigueWtafv0pthETA4aE2."], ["created_at", "2018-04-06 11:10:12.787718"], ["updated_at", "2018-04-06 11:10:12.787718"]]  (0.5ms) 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", "Norma Abernathy"], ["LIMIT", 1]] SQL (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", "Norma Abernathy"], ["name", "Reanna Kihn"], ["address", "Sherwood Larkin"], ["created_at", "2018-04-06 11:10:12.792795"], ["updated_at", "2018-04-06 11:10:12.792795"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Salley Breitenberg"], ["LIMIT", 1]] SQL (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", "Salley Breitenberg"], ["name", "FIRst Service Bundle"], ["description", "Adelina Abernathy"], ["percent_discount", 100.0], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 11:10:12.796897"], ["updated_at", "2018-04-06 11:10:12.796897"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ervin Breitenberg"], ["LIMIT", 1]] SQL (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", "Ervin Breitenberg"], ["name", "Lacresha Marks"], ["address", "Neida Baumbach"], ["created_at", "2018-04-06 11:10:12.801366"], ["updated_at", "2018-04-06 11:10:12.801366"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Gwenda Steuber"], ["LIMIT", 1]] SQL (0.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", "Gwenda Steuber"], ["name", "Second Service Bundle for the firST time"], ["description", "Rufina Graham"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-04-06 11:10:12.806112"], ["updated_at", "2018-04-06 11:10:12.806112"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["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", 6], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) 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", 10], ["LIMIT", 1]] [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.56ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 3.4ms)  (0.8ms) ROLLBACK  (0.8ms) 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", "marni@skiles.co.uk"], ["LIMIT", 1]] SQL (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", "Freeman Crist"], ["last_name", "Roy Heaney"], ["email", "marni@skiles.co.uk"], ["password_digest", "$2a$04$evni.6o9KqcRbOqXcahpUengew/4tLoMqHX5GanbPgWvNUfSnMQ0m"], ["created_at", "2018-04-06 11:10:12.826366"], ["updated_at", "2018-04-06 11:10:12.826366"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Dionna Botsford"], ["LIMIT", 1]] SQL (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", "Dionna Botsford"], ["name", "Mario Nikolaus"], ["address", "Ernesto Walker"], ["created_at", "2018-04-06 11:10:12.838332"], ["updated_at", "2018-04-06 11:10:12.838332"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Adan Donnelly", "description"=>"Reva Maggio", "name"=>"Wava Dach", "service_delivery_unit_id"=>"12"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.9ms) 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", 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", "Adan Donnelly"], ["LIMIT", 1]] SQL (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", "Adan Donnelly"], ["name", "Wava Dach"], ["description", "Reva Maggio"], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 11:10:12.864165"], ["updated_at", "2018-04-06 11:10:12.864165"]]  (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", 7], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.3ms) Completed 201 Created in 13ms (Views: 2.6ms | ActiveRecord: 5.4ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "bobby.bechtelar@torphy.biz"], ["LIMIT", 1]] SQL (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", "Jessia Hamill"], ["last_name", "Alvera Tremblay"], ["email", "bobby.bechtelar@torphy.biz"], ["password_digest", "$2a$04$R5zx0PwZqP736HLQWwRl.eEHoADip0LnE5HGuGuCydbJfa.IaSZhe"], ["created_at", "2018-04-06 11:10:12.880763"], ["updated_at", "2018-04-06 11:10:12.880763"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Tisha O'Hara"], ["LIMIT", 1]] SQL (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", "Tisha O'Hara"], ["name", "Keira Jaskolski"], ["address", "Tran Glover"], ["created_at", "2018-04-06 11:10:12.885301"], ["updated_at", "2018-04-06 11:10:12.885301"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Pamula Lakin", "description"=>"Minh Sawayn", "name"=>"Dominga Wuckert", "service_delivery_unit_id"=>"13"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["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", 13], ["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", "Pamula Lakin"], ["LIMIT", 1]] SQL (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", "Pamula Lakin"], ["name", "Dominga Wuckert"], ["description", "Minh Sawayn"], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 11:10:12.894646"], ["updated_at", "2018-04-06 11:10:12.894646"]]  (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", 8], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.2ms) Completed 201 Created in 10ms (Views: 1.6ms | ActiveRecord: 4.4ms) Mks::Rate::ServiceBundle Load (0.5ms) 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.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", "jackelyn_gleichner@walkerkoch.ca"], ["LIMIT", 1]] SQL (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", "Letisha Hammes"], ["last_name", "Karole Bashirian"], ["email", "jackelyn_gleichner@walkerkoch.ca"], ["password_digest", "$2a$04$7Uexc8PoZ4X8NO/xeq66oeKL7PMkAQelAW4VJXqWqe6NWpnx/L2ZW"], ["created_at", "2018-04-06 11:10:12.908705"], ["updated_at", "2018-04-06 11:10:12.908705"]]  (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", "Twila Marks"], ["LIMIT", 1]] SQL (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", "Twila Marks"], ["name", "Yi Cronin"], ["address", "Nathalie Champlin"], ["created_at", "2018-04-06 11:10:12.915195"], ["updated_at", "2018-04-06 11:10:12.915195"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Enda Bauch", "name"=>"Tyler Murazik", "service_delivery_unit_id"=>"14"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.9ms) 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", 14], ["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.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", 9], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.14ms) Completed 422 Unprocessable Entity in 27ms (Views: 13.3ms | ActiveRecord: 4.9ms)  (1.5ms) ROLLBACK  (0.7ms) 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", "rina.torp@jones.co.uk"], ["LIMIT", 1]] SQL (0.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", "Raquel Boyle"], ["last_name", "Dannielle Rowe"], ["email", "rina.torp@jones.co.uk"], ["password_digest", "$2a$04$iq18W/z4NSv8tjbrj3jQsO.pDHM6qXJ7vsHGt8HMzdOwKWi7AdjKu"], ["created_at", "2018-04-06 11:10:12.958786"], ["updated_at", "2018-04-06 11:10:12.958786"]]  (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", "Jeanne Langosh"], ["LIMIT", 1]] SQL (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", "Jeanne Langosh"], ["name", "Chi Leffler"], ["address", "Star Bauch"], ["created_at", "2018-04-06 11:10:12.964080"], ["updated_at", "2018-04-06 11:10:12.964080"]]  (0.4ms) 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", "Joye Williamson"], ["LIMIT", 1]] SQL (0.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", "Joye Williamson"], ["name", "Madelene Bergstrom"], ["description", "Joeann Ziemann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-04-06 11:10:12.968324"], ["updated_at", "2018-04-06 11:10:12.968324"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Jae Harvey"}, "id"=>"18"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 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", 18], ["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", 15], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) 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", "Joye Williamson"], ["id", 18], ["LIMIT", 1]] SQL (0.9ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Jae Harvey"], ["updated_at", "2018-04-06 11:10:12.979364"], ["id", 18]]  (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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 200 OK in 11ms (Views: 1.5ms | ActiveRecord: 5.3ms) 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", 18], ["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", "merna_block@paucek.co.uk"], ["LIMIT", 1]] SQL (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", "Galina Metz"], ["last_name", "Adam Marquardt"], ["email", "merna_block@paucek.co.uk"], ["password_digest", "$2a$04$wf3pVSQSZRet5lHC4whhQenWV1xOtxjlYmqDDUe.BVYOruJmMj4iO"], ["created_at", "2018-04-06 11:10:12.994258"], ["updated_at", "2018-04-06 11:10:12.994258"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Cherise Rowe"], ["LIMIT", 1]] SQL (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", "Cherise Rowe"], ["name", "Faustina Howe"], ["address", "Consuelo Zboncak"], ["created_at", "2018-04-06 11:10:12.999543"], ["updated_at", "2018-04-06 11:10:12.999543"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Tori Reinger"], ["LIMIT", 1]] SQL (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", "Tori Reinger"], ["name", "Carolann Wilkinson"], ["description", "Jin Goyette"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-04-06 11:10:13.005367"], ["updated_at", "2018-04-06 11:10:13.005367"]]  (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", "Marisha Keeling"], ["LIMIT", 1]] SQL (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", "Marisha Keeling"], ["name", "Mandie Pollich"], ["address", "Tiffanie Tremblay"], ["created_at", "2018-04-06 11:10:13.011259"], ["updated_at", "2018-04-06 11:10:13.011259"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Shanti Ebert", "description"=>"Pamella Waelchi", "name"=>"Angelina Harvey", "service_delivery_unit_id"=>"17"}, "id"=>"19"} 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]] 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", 19], ["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", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) 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", "Shanti Ebert"], ["id", 19], ["LIMIT", 1]] SQL (1.0ms) 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", "Shanti Ebert"], ["name", "Angelina Harvey"], ["description", "Pamella Waelchi"], ["service_delivery_unit_id", 17], ["updated_at", "2018-04-06 11:10:13.021371"], ["id", 19]]  (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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.23ms) Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 5.5ms)  (0.8ms) 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", "elisha.dickinson@kerlukepowlowski.us"], ["LIMIT", 1]] SQL (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", "Rolland Hettinger"], ["last_name", "Blair Moore"], ["email", "elisha.dickinson@kerlukepowlowski.us"], ["password_digest", "$2a$04$JqdU6pBFK7.0XL/DaVch8ueKqfaBCT9rUIrwlW76gFLgAm8v17Mke"], ["created_at", "2018-04-06 11:10:13.034839"], ["updated_at", "2018-04-06 11:10:13.034839"]]  (1.0ms) 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", "Marilou Champlin"], ["LIMIT", 1]] SQL (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", "Marilou Champlin"], ["name", "Sirena Rippin"], ["address", "Dinorah Goodwin"], ["created_at", "2018-04-06 11:10:13.044586"], ["updated_at", "2018-04-06 11:10:13.044586"]]  (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", "Mickey Hickle"], ["LIMIT", 1]] SQL (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", "Mickey Hickle"], ["name", "Darcel Mayer"], ["description", "Dean Lind"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-04-06 11:10:13.051429"], ["updated_at", "2018-04-06 11:10:13.051429"]]  (0.7ms) 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", "Lanell Wisozk"], ["LIMIT", 1]] SQL (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", "Lanell Wisozk"], ["name", "Rosena Borer"], ["address", "Mellie Denesik"], ["created_at", "2018-04-06 11:10:13.060830"], ["updated_at", "2018-04-06 11:10:13.060830"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Irvin Bruen", "name"=>"Ivette Leffler", "service_delivery_unit_id"=>"19"}, "id"=>"20"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 12], ["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", 20], ["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", 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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", ""], ["id", 20], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO 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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.0ms | ActiveRecord: 5.0ms)  (0.5ms) ROLLBACK  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.2ms) 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", "kimberli_koch@herzog.us"], ["LIMIT", 1]] SQL (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", "Rasheeda Green"], ["last_name", "Joan Rowe"], ["email", "kimberli_koch@herzog.us"], ["password_digest", "$2a$04$xl/T8RBNI/IpkmjFdzizveZ6E7lGSSjCTqEN7JgwXeTkaTcP1s9Ji"], ["created_at", "2018-04-06 11:10:27.858814"], ["updated_at", "2018-04-06 11:10:27.858814"]]  (0.5ms) 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", "Gregory Jenkins"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lala Harvey"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gregory Jenkins"], ["name", "Lala Harvey"], ["created_at", "2018-04-06 11:10:27.900424"], ["updated_at", "2018-04-06 11:10:27.900424"]]  (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", "Aracelis Daniel"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Aracelis Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:27.921699"], ["updated_at", "2018-04-06 11:10:27.921699"]]  (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", "Noah Waters"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Noah Waters"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:27.927918"], ["updated_at", "2018-04-06 11:10:27.927918"]]  (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", "Sommer Gleason"], ["LIMIT", 1]] SQL (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", "Sommer Gleason"], ["name", "Lela Murray"], ["address", "Joni Hermann"], ["created_at", "2018-04-06 11:10:27.942673"], ["updated_at", "2018-04-06 11:10:27.942673"]]  (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", "Fredric Stokes"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Fredric Stokes"], ["name", "Vanita Kshlerin"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 11:10:27.949391"], ["updated_at", "2018-04-06 11:10:27.949391"]] 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", 1], ["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", "Fredric Stokes"], ["LIMIT", 1]] SQL (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", "Fredric Stokes"], ["name", "Vanita Kshlerin"], ["description", "Default bundle for service 'Vanita Kshlerin'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 11:10:27.977369"], ["updated_at", "2018-04-06 11:10:27.977369"]] SQL (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.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", "Alexandra Rice"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ai Morar"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alexandra Rice"], ["name", "Ai Morar"], ["created_at", "2018-04-06 11:10:28.018163"], ["updated_at", "2018-04-06 11:10:28.018163"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Katherina Rowe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Katherina Rowe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.028301"], ["updated_at", "2018-04-06 11:10:28.028301"]]  (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", "Kala Luettgen"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kala Luettgen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.032730"], ["updated_at", "2018-04-06 11:10:28.032730"]]  (0.4ms) 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", "Leonila Gorczany"], ["LIMIT", 1]] SQL (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", "Leonila Gorczany"], ["name", "Erma Little"], ["address", "Albert Huels"], ["created_at", "2018-04-06 11:10:28.036783"], ["updated_at", "2018-04-06 11:10:28.036783"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Mae Pacocha"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Mae Pacocha"], ["name", "Joie Deckow"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 11:10:28.040854"], ["updated_at", "2018-04-06 11:10:28.040854"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mae Pacocha"], ["LIMIT", 1]] SQL (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", "Mae Pacocha"], ["name", "Joie Deckow"], ["description", "Default bundle for service 'Joie Deckow'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 11:10:28.046498"], ["updated_at", "2018-04-06 11:10:28.046498"]] SQL (1.4ms) 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", "Jone Pagac"], ["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", "Johnathan Morissette"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jone Pagac"], ["name", "Johnathan Morissette"], ["created_at", "2018-04-06 11:10:28.057078"], ["updated_at", "2018-04-06 11:10:28.057078"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Estefana McCullough"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Estefana McCullough"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.061196"], ["updated_at", "2018-04-06 11:10:28.061196"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Clyde Sporer"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Clyde Sporer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.065153"], ["updated_at", "2018-04-06 11:10:28.065153"]]  (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", "Norman Borer"], ["LIMIT", 1]] SQL (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", "Norman Borer"], ["name", "Chelsie Weber"], ["address", "Lurline Flatley"], ["created_at", "2018-04-06 11:10:28.069848"], ["updated_at", "2018-04-06 11:10:28.069848"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Georgette Hane"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Georgette Hane"], ["name", "Cruz Schiller"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 11:10:28.073903"], ["updated_at", "2018-04-06 11:10:28.073903"]] 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", 3], ["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", "Georgette Hane"], ["LIMIT", 1]] SQL (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", "Georgette Hane"], ["name", "Cruz Schiller"], ["description", "Default bundle for service 'Cruz Schiller'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 11:10:28.079957"], ["updated_at", "2018-04-06 11:10:28.079957"]] SQL (0.9ms) 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.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 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.5ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN (3, 2, 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", 5], ["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", 6], ["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", 3], ["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", 3], ["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", 4], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.5ms) 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.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 (16.51ms) Completed 200 OK in 56ms (Views: 42.7ms | ActiveRecord: 10.0ms)  (0.8ms) ROLLBACK  (0.5ms) 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", "beulah_shields@terrystiedemann.info"], ["LIMIT", 1]] SQL (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", "Ulrike Weissnat"], ["last_name", "Lavern O'Kon"], ["email", "beulah_shields@terrystiedemann.info"], ["password_digest", "$2a$04$zOKBlMeJwF6XKFWC2Izr3.Y8579aGilGRdPuhoPdyTyJ433fvh4t2"], ["created_at", "2018-04-06 11:10:28.152864"], ["updated_at", "2018-04-06 11:10:28.152864"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Marline Wisozk"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marline Wisozk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.161341"], ["updated_at", "2018-04-06 11:10:28.161341"]]  (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", "Marianna Price"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marianna Price"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.165733"], ["updated_at", "2018-04-06 11:10:28.165733"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Anthony Schroeder"], ["LIMIT", 1]] SQL (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", "Anthony Schroeder"], ["name", "Phillip Donnelly"], ["address", "Anissa Kling"], ["created_at", "2018-04-06 11:10:28.170037"], ["updated_at", "2018-04-06 11:10:28.170037"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kacey Larkin"], ["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", "Arnetta Trantow"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kacey Larkin"], ["name", "Arnetta Trantow"], ["created_at", "2018-04-06 11:10:28.175081"], ["updated_at", "2018-04-06 11:10:28.175081"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Angila Kozey", "name"=>"Carrol Willms", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.4ms) 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.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", "Angila Kozey"], ["service_delivery_unit_id", 4], ["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", 4], ["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", 7], ["LIMIT", 1]] 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" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] SQL (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", "Angila Kozey"], ["name", "Carrol Willms"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 11:10:28.201983"], ["updated_at", "2018-04-06 11:10:28.201983"]] 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", 4], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Angila Kozey"], ["LIMIT", 1]] SQL (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", "Angila Kozey"], ["name", "Carrol Willms"], ["description", "Default bundle for service 'Carrol Willms'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 11:10:28.213426"], ["updated_at", "2018-04-06 11:10:28.213426"]] SQL (1.0ms) 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 Mks::Auth::User Load (0.6ms) 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.54ms) Completed 200 OK in 46ms (Views: 10.1ms | ActiveRecord: 13.6ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.1ms) 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", "ricki@orn.com"], ["LIMIT", 1]] SQL (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", "Janis Stokes"], ["last_name", "Werner Spencer"], ["email", "ricki@orn.com"], ["password_digest", "$2a$04$AmzA5qriCWzOeUyUipX80eIyzHm20xboRJqM/P0Bhwie4mgYBmbey"], ["created_at", "2018-04-06 11:10:28.239761"], ["updated_at", "2018-04-06 11:10:28.239761"]]  (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", "Janet Gorczany"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janet Gorczany"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.244498"], ["updated_at", "2018-04-06 11:10:28.244498"]]  (0.4ms) 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", "Mary Upton"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mary Upton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.248620"], ["updated_at", "2018-04-06 11:10:28.248620"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Neta Runolfsson"], ["LIMIT", 1]] SQL (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", "Neta Runolfsson"], ["name", "Eveline Boehm"], ["address", "Kory Heathcote"], ["created_at", "2018-04-06 11:10:28.252750"], ["updated_at", "2018-04-06 11:10:28.252750"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Shane Hilpert"], ["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", "Elmer Simonis"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shane Hilpert"], ["name", "Elmer Simonis"], ["created_at", "2018-04-06 11:10:28.257782"], ["updated_at", "2018-04-06 11:10:28.257782"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Shantelle Effertz", "name"=>"Mara Schneider", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Shantelle Effertz"], ["service_delivery_unit_id", 5], ["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", 5], ["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", 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", 5], ["LIMIT", 1]] SQL (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", "Shantelle Effertz"], ["name", "Mara Schneider"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 11:10:28.269261"], ["updated_at", "2018-04-06 11:10:28.269261"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shantelle Effertz"], ["LIMIT", 1]] SQL (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", "Shantelle Effertz"], ["name", "Mara Schneider"], ["description", "Default bundle for service 'Mara Schneider'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 11:10:28.275932"], ["updated_at", "2018-04-06 11:10:28.275932"]] SQL (1.5ms) 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.8ms) 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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.38ms) Completed 200 OK in 26ms (Views: 1.7ms | ActiveRecord: 11.2ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "cortney_langworth@stiedemann.co.uk"], ["LIMIT", 1]] SQL (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", "Katia Nicolas"], ["last_name", "Dwain Hackett"], ["email", "cortney_langworth@stiedemann.co.uk"], ["password_digest", "$2a$04$pqvkNDF74frQCoM8/67uo.f0oCEH2cXiSEwav14hOCd2QOr.KRbkK"], ["created_at", "2018-04-06 11:10:28.296191"], ["updated_at", "2018-04-06 11:10:28.296191"]]  (0.7ms) 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", "Sonya Thiel"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sonya Thiel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.304558"], ["updated_at", "2018-04-06 11:10:28.304558"]]  (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", "Paz Reinger"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Paz Reinger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.310929"], ["updated_at", "2018-04-06 11:10:28.310929"]]  (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", "Laronda Cassin"], ["LIMIT", 1]] SQL (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", "Laronda Cassin"], ["name", "Coretta Langosh"], ["address", "Clay Bailey"], ["created_at", "2018-04-06 11:10:28.318147"], ["updated_at", "2018-04-06 11:10:28.318147"]]  (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", "Adolph Reinger"], ["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", "Chasity Turner"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Adolph Reinger"], ["name", "Chasity Turner"], ["created_at", "2018-04-06 11:10:28.324119"], ["updated_at", "2018-04-06 11:10:28.324119"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Dennise Nikolaus", "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.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", ""], ["service_delivery_unit_id", 6], ["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", 6], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (1.8ms) 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.8ms) 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.12ms) Completed 422 Unprocessable Entity in 29ms (Views: 4.8ms | ActiveRecord: 8.1ms)  (0.7ms) 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", "otis_johns@romaguera.name"], ["LIMIT", 1]] SQL (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", "Randee Murphy"], ["last_name", "Judi Simonis"], ["email", "otis_johns@romaguera.name"], ["password_digest", "$2a$04$gkDgBUcitFb2ygMtfKLJLu1GUXG6sca5Y5X9/sN3KlPICvIIm3wMW"], ["created_at", "2018-04-06 11:10:28.365313"], ["updated_at", "2018-04-06 11:10:28.365313"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Alona Ortiz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Domitila Tillman"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alona Ortiz"], ["name", "Domitila Tillman"], ["created_at", "2018-04-06 11:10:28.370932"], ["updated_at", "2018-04-06 11:10:28.370932"]]  (0.4ms) 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", "Karmen Shields"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Karmen Shields"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.375764"], ["updated_at", "2018-04-06 11:10:28.375764"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Kristofer Zboncak"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kristofer Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.381101"], ["updated_at", "2018-04-06 11:10:28.381101"]]  (0.4ms) 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", "Don Bartell"], ["LIMIT", 1]] SQL (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", "Don Bartell"], ["name", "Tennille White"], ["address", "Jan Raynor"], ["created_at", "2018-04-06 11:10:28.385558"], ["updated_at", "2018-04-06 11:10:28.385558"]]  (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", "Catrina Hansen"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Catrina Hansen"], ["name", "Sabrina Greenfelder"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 11:10:28.389838"], ["updated_at", "2018-04-06 11:10:28.389838"]] 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 (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Catrina Hansen"], ["LIMIT", 1]] SQL (4.7ms) 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", "Catrina Hansen"], ["name", "Sabrina Greenfelder"], ["description", "Default bundle for service 'Sabrina Greenfelder'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 11:10:28.395921"], ["updated_at", "2018-04-06 11:10:28.395921"]] SQL (1.4ms) 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.6ms) 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.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] 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", 6], ["LIMIT", 1]]  (0.8ms) 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", "Catrina Hansen"], ["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 (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", 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]] SQL (1.0ms) 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-04-06 11:10:28.425805"], ["id", 6]] 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", 7], ["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", "Catrina Hansen"], ["LIMIT", 1]]  (0.7ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 26ms (Views: 1.6ms | ActiveRecord: 9.8ms) 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) ROLLBACK  (0.5ms) BEGIN  (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", "joel_quigley@schinner.biz"], ["LIMIT", 1]] SQL (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", "Clifford Wisozk"], ["last_name", "Darci Wintheiser"], ["email", "joel_quigley@schinner.biz"], ["password_digest", "$2a$04$JALNZ/gMidGp/.Fm5lxECOSdozt0wit4so4cahkXWttm3KNUAarsW"], ["created_at", "2018-04-06 11:10:28.445736"], ["updated_at", "2018-04-06 11:10:28.445736"]]  (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", "Edmond Torphy"], ["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", "Latashia Hermiston"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Edmond Torphy"], ["name", "Latashia Hermiston"], ["created_at", "2018-04-06 11:10:28.452539"], ["updated_at", "2018-04-06 11:10:28.452539"]]  (0.4ms) 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", "Bert Hoeger"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bert Hoeger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.456723"], ["updated_at", "2018-04-06 11:10:28.456723"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Katheleen Braun"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Katheleen Braun"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.460737"], ["updated_at", "2018-04-06 11:10:28.460737"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Refugia Kunze"], ["LIMIT", 1]] SQL (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", "Refugia Kunze"], ["name", "Maria Howe"], ["address", "Wilson Friesen"], ["created_at", "2018-04-06 11:10:28.464913"], ["updated_at", "2018-04-06 11:10:28.464913"]]  (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", "Ilda Zieme"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Ilda Zieme"], ["name", "Allison Yundt"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 11:10:28.469169"], ["updated_at", "2018-04-06 11:10:28.469169"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ilda Zieme"], ["LIMIT", 1]] SQL (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", "Ilda Zieme"], ["name", "Allison Yundt"], ["description", "Default bundle for service 'Allison Yundt'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 11:10:28.474332"], ["updated_at", "2018-04-06 11:10:28.474332"]] SQL (1.1ms) 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.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"7"} Mks::Auth::User Load (1.1ms) 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.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.6ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Ilda Zieme"], ["id", 7], ["service_delivery_unit_id", 8], ["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", 8], ["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", 15], ["LIMIT", 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", 8], ["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", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 15ms (Views: 1.2ms | ActiveRecord: 7.3ms)  (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", "geraldo_pagac@morarsatterfield.name"], ["LIMIT", 1]] SQL (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", "Vania Bahringer"], ["last_name", "Donnie Ondricka"], ["email", "geraldo_pagac@morarsatterfield.name"], ["password_digest", "$2a$04$Gjkvq8vP.Y6HmtAWeWdNq.saedgq15pnOt93kaKfU0XG.r.EnOUdu"], ["created_at", "2018-04-06 11:10:28.507905"], ["updated_at", "2018-04-06 11:10:28.507905"]]  (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", "Burma Mante"], ["LIMIT", 1]] SQL (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", "Burma Mante"], ["name", "Angelique Rempel"], ["address", "Porsha Sawayn"], ["created_at", "2018-04-06 11:10:28.515007"], ["updated_at", "2018-04-06 11:10:28.515007"]]  (0.7ms) 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", "Audria Feeney"], ["LIMIT", 1]] SQL (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", "Audria Feeney"], ["name", "Shyla Gibson"], ["address", "Jone Crona"], ["created_at", "2018-04-06 11:10:28.521588"], ["updated_at", "2018-04-06 11:10:28.521588"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jolyn Ebert"], ["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", "Kittie Kozey"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jolyn Ebert"], ["name", "Kittie Kozey"], ["created_at", "2018-04-06 11:10:28.529237"], ["updated_at", "2018-04-06 11:10:28.529237"]]  (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", "Merrill DuBuque"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Merrill DuBuque"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.534143"], ["updated_at", "2018-04-06 11:10:28.534143"]]  (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", "Zola Orn"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zola Orn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.539552"], ["updated_at", "2018-04-06 11:10:28.539552"]]  (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", "Maryam Gaylord"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["LIMIT", 1]] SQL (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", "Maryam Gaylord"], ["name", "Jewell Pfeffer"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 11:10:28.548064"], ["updated_at", "2018-04-06 11:10:28.548064"]] 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", 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", "Maryam Gaylord"], ["LIMIT", 1]] SQL (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", "Maryam Gaylord"], ["name", "Jewell Pfeffer"], ["description", "Default bundle for service 'Jewell Pfeffer'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 11:10:28.554907"], ["updated_at", "2018-04-06 11:10:28.554907"]] SQL (0.7ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Edda Schamberger"], ["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", "Adriene Toy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Edda Schamberger"], ["name", "Adriene Toy"], ["created_at", "2018-04-06 11:10:28.563921"], ["updated_at", "2018-04-06 11:10:28.563921"]]  (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", "Asley Hills"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Asley Hills"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.568122"], ["updated_at", "2018-04-06 11:10:28.568122"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Pablo Stracke"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pablo Stracke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.572077"], ["updated_at", "2018-04-06 11:10:28.572077"]]  (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", "Marceline Will"], ["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]] SQL (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", "Marceline Will"], ["name", "Libby Feest"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 11:10:28.577754"], ["updated_at", "2018-04-06 11:10:28.577754"]] 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", 9], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marceline Will"], ["LIMIT", 1]] SQL (0.7ms) 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", "Marceline Will"], ["name", "Libby Feest"], ["description", "Default bundle for service 'Libby Feest'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 11:10:28.582247"], ["updated_at", "2018-04-06 11:10:28.582247"]] SQL (0.9ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ilda Gleichner"], ["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", "Merilyn Spencer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ilda Gleichner"], ["name", "Merilyn Spencer"], ["created_at", "2018-04-06 11:10:28.591543"], ["updated_at", "2018-04-06 11:10:28.591543"]]  (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", "Jimmie Brown"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jimmie Brown"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.596155"], ["updated_at", "2018-04-06 11:10:28.596155"]]  (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", "Claud Little"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Claud Little"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.601515"], ["updated_at", "2018-04-06 11:10:28.601515"]]  (0.7ms) 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", "Wenona Marks"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] 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", 10], ["LIMIT", 1]] SQL (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", "Wenona Marks"], ["name", "Anya Hettinger"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 11:10:28.611679"], ["updated_at", "2018-04-06 11:10:28.611679"]] 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", 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", "Wenona Marks"], ["LIMIT", 1]] SQL (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", "Wenona Marks"], ["name", "Anya Hettinger"], ["description", "Default bundle for service 'Anya Hettinger'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 11:10:28.620502"], ["updated_at", "2018-04-06 11:10:28.620502"]] SQL (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.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Lanell Lowe"], ["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", "Marcus Schmeler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lanell Lowe"], ["name", "Marcus Schmeler"], ["created_at", "2018-04-06 11:10:28.632517"], ["updated_at", "2018-04-06 11:10:28.632517"]]  (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", "Rolando Torp"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rolando Torp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.637049"], ["updated_at", "2018-04-06 11:10:28.637049"]]  (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", "Becky Jerde"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Becky Jerde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:28.641407"], ["updated_at", "2018-04-06 11:10:28.641407"]]  (0.4ms) 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", "Sol Kuhlman"], ["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]] SQL (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", "Sol Kuhlman"], ["name", "Georgetta Herman"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 11:10:28.647885"], ["updated_at", "2018-04-06 11:10:28.647885"]] 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 (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sol Kuhlman"], ["LIMIT", 1]] SQL (0.7ms) 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", "Sol Kuhlman"], ["name", "Georgetta Herman"], ["description", "Default bundle for service 'Georgetta Herman'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 11:10:28.656821"], ["updated_at", "2018-04-06 11:10:28.656821"]] SQL (0.7ms) 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.5ms) 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.5ms) 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.5ms) 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.6ms) 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.5ms) 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.5ms) 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.23ms) Completed 200 OK in 15ms (Views: 7.9ms | ActiveRecord: 6.1ms)  (0.7ms) ROLLBACK  (0.5ms) 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", "harold_cronin@kiehn.co.uk"], ["LIMIT", 1]] SQL (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", "Shavon Bashirian"], ["last_name", "Tomiko Kozey"], ["email", "harold_cronin@kiehn.co.uk"], ["password_digest", "$2a$04$zamwYMoUjCA3P3PlDiLDsurnuMZJPnHhwdmieZagmne.cF.vQiW62"], ["created_at", "2018-04-06 11:10:28.685679"], ["updated_at", "2018-04-06 11:10:28.685679"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "nana.balistreri@hills.co.uk"], ["LIMIT", 1]] SQL (0.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", "Dayna Moen"], ["last_name", "Lucila Windler"], ["email", "nana.balistreri@hills.co.uk"], ["password_digest", "$2a$04$yj9EiA9VnieicS7qsdqNE.AAxWE1./1Ngc4yy4fhvHiLL.KId.fbe"], ["created_at", "2018-04-06 11:10:28.694683"], ["updated_at", "2018-04-06 11:10:28.694683"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "samatha.huels@kunde.com"], ["LIMIT", 1]] SQL (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", "Willie Howe"], ["last_name", "Cristi Bayer"], ["email", "samatha.huels@kunde.com"], ["password_digest", "$2a$04$iQHW9t.8cN5fhQa0doI5/uh/MjsfCdlmOASH2kXS1fbl2pfZRrJKy"], ["created_at", "2018-04-06 11:10:28.703886"], ["updated_at", "2018-04-06 11:10:28.703886"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) 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", "raguel@daviscronin.biz"], ["LIMIT", 1]] SQL (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", "Alisa Dibbert"], ["last_name", "Hiroko Botsford"], ["email", "raguel@daviscronin.biz"], ["password_digest", "$2a$04$cINRJMjKafljIxFXfEdWueMe4EF9qgEFHrPwI0n0ZdOwUpmskKyby"], ["created_at", "2018-04-06 11:10:28.735134"], ["updated_at", "2018-04-06 11:10:28.735134"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "rory@williamson.us"], ["LIMIT", 1]] SQL (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", "Kathlene Kutch"], ["last_name", "Nguyet Weissnat"], ["email", "rory@williamson.us"], ["password_digest", "$2a$04$CkR37uU6InMLtNm6rHTtx.pHqZja/vEyanOMYvD8gXcBEbGfKlCta"], ["created_at", "2018-04-06 11:10:28.746888"], ["updated_at", "2018-04-06 11:10:28.746888"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "teresita.reichel@rempel.co.uk"], ["LIMIT", 1]] SQL (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", "Shaun Jacobs"], ["last_name", "Yuonne Rohan"], ["email", "teresita.reichel@rempel.co.uk"], ["password_digest", "$2a$04$to1/X5BYqN2sv/5Y5fE5vuHUyiyFmhpIBp//BLqTmZI1/0u1WJnze"], ["created_at", "2018-04-06 11:10:28.757017"], ["updated_at", "2018-04-06 11:10:28.757017"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) 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", "barbera.damore@jakubowski.biz"], ["LIMIT", 1]] SQL (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", "Tana Lebsack"], ["last_name", "Lauran Feest"], ["email", "barbera.damore@jakubowski.biz"], ["password_digest", "$2a$04$VVmGNW.npd9sxK1rpaiXc.ELDxJLuBO6fP8hNkqs0YSoOncmrP6AG"], ["created_at", "2018-04-06 11:10:28.767943"], ["updated_at", "2018-04-06 11:10:28.767943"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "kanisha.turner@kuvalis.biz"], ["LIMIT", 1]] SQL (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", "Geralyn Hyatt"], ["last_name", "Donnie Nicolas"], ["email", "kanisha.turner@kuvalis.biz"], ["password_digest", "$2a$04$1CxDuK5yVZKQF7rX8vW2lO/kOWP33JVsdepcfEIJvTkwH5HxBRgVG"], ["created_at", "2018-04-06 11:10:28.777328"], ["updated_at", "2018-04-06 11:10:28.777328"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "elmo_mosciski@oreillyhand.ca"], ["LIMIT", 1]] SQL (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", "Louise Gorczany"], ["last_name", "Man Bradtke"], ["email", "elmo_mosciski@oreillyhand.ca"], ["password_digest", "$2a$04$pwmfhbwDutEUbTzuMIMYl.4xODDan66yR7t1gTgV.b0WMuqWO28mi"], ["created_at", "2018-04-06 11:10:28.789812"], ["updated_at", "2018-04-06 11:10:28.789812"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "mathilda_kub@bergnaum.ca"], ["LIMIT", 1]] SQL (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", "Juanita Rosenbaum"], ["last_name", "Bessie Grady"], ["email", "mathilda_kub@bergnaum.ca"], ["password_digest", "$2a$04$xLc.4muZOeO7ZpAb74H8gOgdu6mUzZalpHnwPazQLk9y/jq8nQ3O."], ["created_at", "2018-04-06 11:10:28.800160"], ["updated_at", "2018-04-06 11:10:28.800160"]]  (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", "Magaly Ritchie"], ["LIMIT", 1]] SQL (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", "Magaly Ritchie"], ["name", "Anneliese Carter"], ["address", "Melisa Howe"], ["created_at", "2018-04-06 11:10:28.807198"], ["updated_at", "2018-04-06 11:10:28.807198"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Therese Torphy"], ["LIMIT", 1]] SQL (2.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", "Therese Torphy"], ["name", "Brett McGlynn"], ["description", "Holley Brown"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-04-06 11:10:28.816142"], ["updated_at", "2018-04-06 11:10:28.816142"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 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]] Mks::Rate::ServiceBundle Load (1.3ms) 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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.28ms) Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 4.2ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "elvis@mckenziekub.co.uk"], ["LIMIT", 1]] SQL (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", "Jerrell McLaughlin"], ["last_name", "Josefine Swift"], ["email", "elvis@mckenziekub.co.uk"], ["password_digest", "$2a$04$ukGlUdgvualVwi5QQ6gG6OEF/tndHH5k4qTgQ7.7Y0vQ4.RgumPhO"], ["created_at", "2018-04-06 11:10:28.842972"], ["updated_at", "2018-04-06 11:10:28.842972"]]  (0.4ms) 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", "Janene Hand"], ["LIMIT", 1]] SQL (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", "Janene Hand"], ["name", "Ashlee O'Hara"], ["address", "Deon Armstrong"], ["created_at", "2018-04-06 11:10:28.847480"], ["updated_at", "2018-04-06 11:10:28.847480"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ilona Wiegand"], ["LIMIT", 1]] SQL (0.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", "Ilona Wiegand"], ["name", "Justin Cremin"], ["description", "Caroll Jacobson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 11:10:28.852101"], ["updated_at", "2018-04-06 11:10:28.852101"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elina Bauch"], ["LIMIT", 1]] SQL (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", "Elina Bauch"], ["name", "So Labadie"], ["description", "Isaiah Koelpin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 11:10:28.856976"], ["updated_at", "2018-04-06 11:10:28.856976"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Calandra Trantow"], ["LIMIT", 1]] SQL (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", "Calandra Trantow"], ["name", "Diedre Oga"], ["description", "Nigel Lakin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 11:10:28.861710"], ["updated_at", "2018-04-06 11:10:28.861710"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["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", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.39ms) Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 4.0ms)  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (1.3ms) 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", "hollie_funk@torpfritsch.name"], ["LIMIT", 1]] SQL (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", "Julienne Mayer"], ["last_name", "Malcolm Hahn"], ["email", "hollie_funk@torpfritsch.name"], ["password_digest", "$2a$04$DbGvpGbeQuypyoz0hHJ9suiG.XP1QYLyk3CNZA5SPnEu47tEnjeE2"], ["created_at", "2018-04-06 11:10:28.885440"], ["updated_at", "2018-04-06 11:10:28.885440"]]  (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", "Delfina Littel"], ["LIMIT", 1]] SQL (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", "Delfina Littel"], ["name", "Kassandra Osinski"], ["address", "Jean Jacobs"], ["created_at", "2018-04-06 11:10:28.891490"], ["updated_at", "2018-04-06 11:10:28.891490"]]  (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", "Trena Schoen"], ["LIMIT", 1]] SQL (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", "Trena Schoen"], ["name", "Ross Stracke"], ["description", "Sandee Hegmann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 11:10:28.896101"], ["updated_at", "2018-04-06 11:10:28.896101"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tanisha Torphy"], ["LIMIT", 1]] SQL (0.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", "Tanisha Torphy"], ["name", "Bettie Nikolaus"], ["description", "Kenneth Predovic"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 11:10:28.901187"], ["updated_at", "2018-04-06 11:10:28.901187"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Brenton Schulist"], ["LIMIT", 1]] SQL (0.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", "Brenton Schulist"], ["name", "Genia Quitzon"], ["description", "Eleonore Pacocha"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 11:10:28.905530"], ["updated_at", "2018-04-06 11:10:28.905530"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Nannie Hayes"], ["LIMIT", 1]] SQL (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", "Nannie Hayes"], ["name", "Myra Ernser"], ["address", "Cortez Morissette"], ["created_at", "2018-04-06 11:10:28.909736"], ["updated_at", "2018-04-06 11:10:28.909736"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Inocencia Bode"], ["LIMIT", 1]] SQL (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", "Inocencia Bode"], ["name", "Cris Rowe"], ["description", "Garland Reynolds"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-04-06 11:10:28.915419"], ["updated_at", "2018-04-06 11:10:28.915419"]]  (1.1ms) 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", "Nicki Cruickshank"], ["LIMIT", 1]] SQL (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", "Nicki Cruickshank"], ["name", "Landon Hudson"], ["address", "Carmela Lang"], ["created_at", "2018-04-06 11:10:28.924002"], ["updated_at", "2018-04-06 11:10:28.924002"]]  (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", "Keila Bode"], ["LIMIT", 1]] SQL (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", "Keila Bode"], ["name", "Stephan Stiedemann"], ["description", "Dreama Boehm"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-04-06 11:10:28.929808"], ["updated_at", "2018-04-06 11:10:28.929808"]]  (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", "Gisele Hickle"], ["LIMIT", 1]] SQL (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", "Gisele Hickle"], ["name", "Esmeralda Gorczany"], ["address", "Ying Kuhic"], ["created_at", "2018-04-06 11:10:28.937946"], ["updated_at", "2018-04-06 11:10:28.937946"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Teodora Hamill"], ["LIMIT", 1]] SQL (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", "Teodora Hamill"], ["name", "Adah Kilback"], ["description", "Julee Purdy"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-04-06 11:10:28.942722"], ["updated_at", "2018-04-06 11:10:28.942722"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.48ms) Completed 200 OK in 10ms (Views: 4.3ms | ActiveRecord: 4.2ms)  (0.7ms) ROLLBACK  (0.5ms) 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", "jaleesa.kshlerin@ullrich.co.uk"], ["LIMIT", 1]] SQL (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", "Phyllis Hayes"], ["last_name", "Margert Kling"], ["email", "jaleesa.kshlerin@ullrich.co.uk"], ["password_digest", "$2a$04$rF4BaClq8yRsRTNGaPEHgu7bcZwR5.3KlZtBHC62.LGZcFawULMBa"], ["created_at", "2018-04-06 11:10:28.963369"], ["updated_at", "2018-04-06 11:10:28.963369"]]  (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", "Daniel King"], ["LIMIT", 1]] SQL (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", "Daniel King"], ["name", "Glenna Kirlin"], ["address", "Lorrie Marvin"], ["created_at", "2018-04-06 11:10:28.968438"], ["updated_at", "2018-04-06 11:10:28.968438"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "William Mueller"], ["LIMIT", 1]] SQL (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", "William Mueller"], ["name", "Cara Schoen"], ["description", "Sherril Hammes"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-04-06 11:10:28.972618"], ["updated_at", "2018-04-06 11:10:28.972618"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} 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::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", 22], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.15ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 2.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "alvin@bahringer.us"], ["LIMIT", 1]] SQL (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", "Jayme Auer"], ["last_name", "Cathie Schuppe"], ["email", "alvin@bahringer.us"], ["password_digest", "$2a$04$oLCfQo5YSrXi/3esRm/PluD3Js1rlnoXPg3tzrwUO4bz4zVGH9Hte"], ["created_at", "2018-04-06 11:10:28.990879"], ["updated_at", "2018-04-06 11:10:28.990879"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Joselyn Bradtke"], ["LIMIT", 1]] SQL (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", "Joselyn Bradtke"], ["name", "Charmain Orn"], ["address", "Percy Abshire"], ["created_at", "2018-04-06 11:10:28.997673"], ["updated_at", "2018-04-06 11:10:28.997673"]]  (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", "Princess Pfannerstill"], ["LIMIT", 1]] SQL (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", "Princess Pfannerstill"], ["name", "First Service Bundle"], ["description", "Kathe Von"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-04-06 11:10:29.004940"], ["updated_at", "2018-04-06 11:10:29.004940"]]  (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", "Abigail Reichert"], ["LIMIT", 1]] SQL (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", "Abigail Reichert"], ["name", "Kermit Hackett"], ["address", "Mireya Funk"], ["created_at", "2018-04-06 11:10:29.009840"], ["updated_at", "2018-04-06 11:10:29.009840"]]  (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", "Margrett Daugherty"], ["LIMIT", 1]] SQL (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", "Margrett Daugherty"], ["name", "Second Service Bundle"], ["description", "Kurtis Hauck"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-04-06 11:10:29.014240"], ["updated_at", "2018-04-06 11:10:29.014240"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.3ms) 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.0ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.74ms) Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 4.5ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) 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 (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", 18], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.79ms) Completed 200 OK in 11ms (Views: 4.1ms | ActiveRecord: 9.9ms)  (0.7ms) ROLLBACK  (0.7ms) 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", "joshua.schinner@mrazlubowitz.ca"], ["LIMIT", 1]] SQL (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", "Trey Hamill"], ["last_name", "Judith Bailey"], ["email", "joshua.schinner@mrazlubowitz.ca"], ["password_digest", "$2a$04$v6APbRD.u89jya6DafY.Iuq1.uRfv/T/W8v9rgHsZPquJRdg1H5Gy"], ["created_at", "2018-04-06 11:10:29.052921"], ["updated_at", "2018-04-06 11:10:29.052921"]]  (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", "Jospeh Kub"], ["LIMIT", 1]] SQL (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", "Jospeh Kub"], ["name", "Cassie Schinner"], ["address", "Nichelle Nitzsche"], ["created_at", "2018-04-06 11:10:29.057949"], ["updated_at", "2018-04-06 11:10:29.057949"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Joann Sawayn"], ["LIMIT", 1]] SQL (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", "Joann Sawayn"], ["name", "FIRst Service Bundle"], ["description", "Jeannetta Purdy"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-04-06 11:10:29.062174"], ["updated_at", "2018-04-06 11:10:29.062174"]]  (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", "Quinn Wilderman"], ["LIMIT", 1]] SQL (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", "Quinn Wilderman"], ["name", "Lawrence Pagac"], ["address", "Perry Douglas"], ["created_at", "2018-04-06 11:10:29.068929"], ["updated_at", "2018-04-06 11:10:29.068929"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Wendolyn Reynolds"], ["LIMIT", 1]] SQL (0.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", "Wendolyn Reynolds"], ["name", "Second Service Bundle for the firST time"], ["description", "Verla Dare"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-04-06 11:10:29.073288"], ["updated_at", "2018-04-06 11:10:29.073288"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["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", 22], ["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 (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", 20], ["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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.84ms) Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 4.2ms)  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (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", "ha_deckow@romaguera.com"], ["LIMIT", 1]] SQL (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", "Clemmie McKenzie"], ["last_name", "Miyoko Graham"], ["email", "ha_deckow@romaguera.com"], ["password_digest", "$2a$04$ZrYv9OCOZaFiRDs8DDTAyeRS5JkQiHiBes/3Aj5spRrAM0sY1W.sC"], ["created_at", "2018-04-06 11:10:29.094373"], ["updated_at", "2018-04-06 11:10:29.094373"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Sibyl Herman"], ["LIMIT", 1]] SQL (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", "Sibyl Herman"], ["name", "Nancey Lemke"], ["address", "Tawanda Schuster"], ["created_at", "2018-04-06 11:10:29.102430"], ["updated_at", "2018-04-06 11:10:29.102430"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Tresa Jacobson", "description"=>"Raymon Mann", "name"=>"Kathie Abbott", "service_delivery_unit_id"=>"22"}} 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]]  (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", 22], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tresa Jacobson"], ["LIMIT", 1]] SQL (0.7ms) 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", "Tresa Jacobson"], ["name", "Kathie Abbott"], ["description", "Raymon Mann"], ["service_delivery_unit_id", 22], ["created_at", "2018-04-06 11:10:29.111814"], ["updated_at", "2018-04-06 11:10:29.111814"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.22ms) Completed 201 Created in 10ms (Views: 1.8ms | ActiveRecord: 4.0ms)  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.5ms) 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", "barbar_cartwright@bernhard.ca"], ["LIMIT", 1]] SQL (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", "Cindy Schiller"], ["last_name", "Ciera Hermiston"], ["email", "barbar_cartwright@bernhard.ca"], ["password_digest", "$2a$04$EsXhkbDx/kTZ0/m3M09cwenMWfeVQE1WdUI2KLTHsQaCnc8z27cPy"], ["created_at", "2018-04-06 11:10:29.128517"], ["updated_at", "2018-04-06 11:10:29.128517"]]  (1.7ms) 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", "Brigette Greenholt"], ["LIMIT", 1]] SQL (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", "Brigette Greenholt"], ["name", "Avery Hand"], ["address", "Barbera Tromp"], ["created_at", "2018-04-06 11:10:29.139089"], ["updated_at", "2018-04-06 11:10:29.139089"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Joana Rau", "description"=>"Velda Hoppe", "name"=>"Francine O'Kon", "service_delivery_unit_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", 24], ["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", 23], ["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", "Joana Rau"], ["LIMIT", 1]] SQL (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", "Joana Rau"], ["name", "Francine O'Kon"], ["description", "Velda Hoppe"], ["service_delivery_unit_id", 23], ["created_at", "2018-04-06 11:10:29.148589"], ["updated_at", "2018-04-06 11:10:29.148589"]]  (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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 10ms (Views: 1.6ms | ActiveRecord: 4.5ms) 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.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", "tori.kuhn@runolfsdottir.ca"], ["LIMIT", 1]] SQL (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", "Meggan Padberg"], ["last_name", "Raylene Marquardt"], ["email", "tori.kuhn@runolfsdottir.ca"], ["password_digest", "$2a$04$Xv/RDKghV.rOD85wNChq2ehLhCYB3NX/eWjRgrNkCyBnALnnBs6lK"], ["created_at", "2018-04-06 11:10:29.163696"], ["updated_at", "2018-04-06 11:10:29.163696"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Hannah Kutch"], ["LIMIT", 1]] SQL (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", "Hannah Kutch"], ["name", "Marsha Huel"], ["address", "Dinorah Dooley"], ["created_at", "2018-04-06 11:10:29.169143"], ["updated_at", "2018-04-06 11:10:29.169143"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Bridgette Weber", "name"=>"Alaina Kunde", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 24], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]]  (0.4ms) 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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 11ms (Views: 4.5ms | ActiveRecord: 3.2ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "lavonna.harvey@hand.info"], ["LIMIT", 1]] SQL (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", "Scottie Schumm"], ["last_name", "Sina Feest"], ["email", "lavonna.harvey@hand.info"], ["password_digest", "$2a$04$VQaoAG.b4Cs8n5Wzq3DX3OUolGrpdIfmk6k.pTk5lNybTJ8mCIQru"], ["created_at", "2018-04-06 11:10:29.191802"], ["updated_at", "2018-04-06 11:10:29.191802"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Oliva Okuneva"], ["LIMIT", 1]] SQL (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", "Oliva Okuneva"], ["name", "Leilani Mills"], ["address", "Latanya Von"], ["created_at", "2018-04-06 11:10:29.198533"], ["updated_at", "2018-04-06 11:10:29.198533"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Zachary West"], ["LIMIT", 1]] SQL (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", "Zachary West"], ["name", "Hattie Hansen"], ["description", "Julius Greenholt"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-04-06 11:10:29.203470"], ["updated_at", "2018-04-06 11:10:29.203470"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Ethyl Corkery"}, "id"=>"29"} 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::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 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", 25], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.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", "Zachary West"], ["id", 29], ["LIMIT", 1]] SQL (1.0ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Ethyl Corkery"], ["updated_at", "2018-04-06 11:10:29.213067"], ["id", 29]]  (1.1ms) 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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.27ms) Completed 200 OK in 12ms (Views: 1.6ms | ActiveRecord: 5.6ms) Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]]  (1.0ms) 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", "angelita.zemlak@bartell.biz"], ["LIMIT", 1]] SQL (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", "Merle Vandervort"], ["last_name", "Lala Homenick"], ["email", "angelita.zemlak@bartell.biz"], ["password_digest", "$2a$04$zKT/8jQ5HXTjfkPbGyrzi.gHOLYj8CpOOkTplJNchT5kjBc5z6W1y"], ["created_at", "2018-04-06 11:10:29.231867"], ["updated_at", "2018-04-06 11:10:29.231867"]]  (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", "Jayson Wilkinson"], ["LIMIT", 1]] SQL (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", "Jayson Wilkinson"], ["name", "Theron White"], ["address", "Christina Kuhic"], ["created_at", "2018-04-06 11:10:29.238640"], ["updated_at", "2018-04-06 11:10:29.238640"]]  (0.6ms) 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", "Janel Blick"], ["LIMIT", 1]] SQL (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", "Janel Blick"], ["name", "Tangela Kunze"], ["description", "Cody Weber"], ["percent_discount", 100.0], ["service_delivery_unit_id", 26], ["created_at", "2018-04-06 11:10:29.244395"], ["updated_at", "2018-04-06 11:10:29.244395"]]  (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", "Oretha Rempel"], ["LIMIT", 1]] SQL (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", "Oretha Rempel"], ["name", "Merrill Marks"], ["address", "Priscila Farrell"], ["created_at", "2018-04-06 11:10:29.249923"], ["updated_at", "2018-04-06 11:10:29.249923"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Michiko Douglas", "description"=>"Kelsi Kautzer", "name"=>"Celestine Rutherford", "service_delivery_unit_id"=>"27"}, "id"=>"30"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 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", 30], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 27], ["LIMIT", 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", "Michiko Douglas"], ["id", 30], ["LIMIT", 1]] SQL (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", "Michiko Douglas"], ["name", "Celestine Rutherford"], ["description", "Kelsi Kautzer"], ["service_delivery_unit_id", 27], ["updated_at", "2018-04-06 11:10:29.259914"], ["id", 30]]  (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", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.27ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 5.3ms)  (1.3ms) 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", "renita@stehr.name"], ["LIMIT", 1]] SQL (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", "Cathern Herman"], ["last_name", "Ryan Gibson"], ["email", "renita@stehr.name"], ["password_digest", "$2a$04$lSxbTysCx6JIRNNoXCylF.dtUJsapA2AsY9xEgDd6VK7li1YEtBG2"], ["created_at", "2018-04-06 11:10:29.275620"], ["updated_at", "2018-04-06 11:10:29.275620"]]  (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", "Etsuko Vandervort"], ["LIMIT", 1]] SQL (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", "Etsuko Vandervort"], ["name", "Talia Kerluke"], ["address", "Melissia Runolfsdottir"], ["created_at", "2018-04-06 11:10:29.280991"], ["updated_at", "2018-04-06 11:10:29.280991"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Francisco Deckow"], ["LIMIT", 1]] SQL (0.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", "Francisco Deckow"], ["name", "Jenee Simonis"], ["description", "Aileen Weissnat"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-04-06 11:10:29.285879"], ["updated_at", "2018-04-06 11:10:29.285879"]]  (0.4ms) 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", "Giuseppe Willms"], ["LIMIT", 1]] SQL (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", "Giuseppe Willms"], ["name", "Lavette Kutch"], ["address", "Thomasena Simonis"], ["created_at", "2018-04-06 11:10:29.290253"], ["updated_at", "2018-04-06 11:10:29.290253"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Delaine Zemlak", "name"=>"Jessica Parisian", "service_delivery_unit_id"=>"29"}, "id"=>"31"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 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", 31], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 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", 29], ["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", ""], ["id", 31], ["LIMIT", 1]]  (0.4ms) ROLLBACK TO 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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 3.9ms)  (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", "ariana_hammes@franeckirenner.us"], ["LIMIT", 1]] SQL (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", "Carmon Nolan"], ["last_name", "Imogene Kuhn"], ["email", "ariana_hammes@franeckirenner.us"], ["password_digest", "$2a$04$9e/N6YLr6rdZ7xMg0f9DpOm38aErQD92RXT59j4XR3LE9AGCUkY0S"], ["created_at", "2018-04-06 11:10:29.311741"], ["updated_at", "2018-04-06 11:10:29.311741"]]  (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", "Ivette Beahan"], ["LIMIT", 1]] SQL (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", "Ivette Beahan"], ["name", "Kellie Renner"], ["address", "Hollis Beahan"], ["created_at", "2018-04-06 11:10:29.318539"], ["updated_at", "2018-04-06 11:10:29.318539"]]  (0.5ms) 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", "Lizette Hintz"], ["LIMIT", 1]] SQL (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", "Lizette Hintz"], ["name", "Trinidad Hilll"], ["address", "Delena Deckow"], ["created_at", "2018-04-06 11:10:29.324200"], ["updated_at", "2018-04-06 11:10:29.324200"]]  (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", "Loree Smith"], ["LIMIT", 1]] SQL (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", "Loree Smith"], ["name", "Cathi Schiller"], ["address", "Rubin Runolfsson"], ["created_at", "2018-04-06 11:10:29.330021"], ["updated_at", "2018-04-06 11:10:29.330021"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#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", 29], ["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::ServiceDeliveryUnit Load (1.1ms) 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.58ms) Completed 200 OK in 17ms (Views: 13.7ms | ActiveRecord: 2.5ms)  (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", "louis.ohara@waelchistamm.us"], ["LIMIT", 1]] SQL (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", "Freeman Flatley"], ["last_name", "Asuncion Kuvalis"], ["email", "louis.ohara@waelchistamm.us"], ["password_digest", "$2a$04$6Oo7NcL8aeuJk0t0.O3EoORl4ShjqMBrtjYcGh0oEkhE7v2pzSfNu"], ["created_at", "2018-04-06 11:10:29.364038"], ["updated_at", "2018-04-06 11:10:29.364038"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Sue Daugherty", "code"=>"Hyon O'Kon", "name"=>"Arlinda Bartell"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.6ms) 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", "Hyon O'Kon"], ["LIMIT", 1]] SQL (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", "Hyon O'Kon"], ["name", "Arlinda Bartell"], ["address", "Sue Daugherty"], ["created_at", "2018-04-06 11:10:29.375567"], ["updated_at", "2018-04-06 11:10:29.375567"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.34ms) Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 3.6ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.4ms) ROLLBACK  (0.6ms) 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", "jennifer.wisoky@hillssatterfield.co.uk"], ["LIMIT", 1]] SQL (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", "Alexander Feil"], ["last_name", "Alyse Rutherford"], ["email", "jennifer.wisoky@hillssatterfield.co.uk"], ["password_digest", "$2a$04$pdtuJYX4tBmpTjWrCfEFIOTZMmKTQ7LyGcorOx2zrqrSn6xoniUey"], ["created_at", "2018-04-06 11:10:29.388357"], ["updated_at", "2018-04-06 11:10:29.388357"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Siobhan Stanton", "code"=>"Rosaura O'Hara", "name"=>"Suk Davis"}} 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]]  (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", "Rosaura O'Hara"], ["LIMIT", 1]] SQL (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", "Rosaura O'Hara"], ["name", "Suk Davis"], ["address", "Siobhan Stanton"], ["created_at", "2018-04-06 11:10:29.397048"], ["updated_at", "2018-04-06 11:10:29.397048"]]  (0.6ms) 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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.46ms) Completed 200 OK in 11ms (Views: 2.2ms | ActiveRecord: 5.3ms)  (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", "ira@haagabbott.com"], ["LIMIT", 1]] SQL (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", "Wanda Reynolds"], ["last_name", "June Pfeffer"], ["email", "ira@haagabbott.com"], ["password_digest", "$2a$04$hYJ0RUEYXZ5woJRwGVZF1.uf9dvW9ZzQicKujErFiN6tG188ECd1O"], ["created_at", "2018-04-06 11:10:29.411813"], ["updated_at", "2018-04-06 11:10:29.411813"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Sherry Marquardt", "code"=>"", "name"=>"Ray Balistreri"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 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", ""], ["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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 7ms (Views: 1.1ms | ActiveRecord: 2.9ms)  (0.5ms) 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", "cory.bashirian@lang.biz"], ["LIMIT", 1]] SQL (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", "Stacy Herzog"], ["last_name", "Rosy Ziemann"], ["email", "cory.bashirian@lang.biz"], ["password_digest", "$2a$04$0F3Qs1pH5lFX7MBEeGKPjOsNkeXm/BVQT4/JQBDaxxehQrk52odoy"], ["created_at", "2018-04-06 11:10:29.430129"], ["updated_at", "2018-04-06 11:10:29.430129"]]  (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", "Roxie Medhurst"], ["LIMIT", 1]] SQL (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", "Roxie Medhurst"], ["name", "Elden Lueilwitz"], ["address", "Paulene Keeling"], ["created_at", "2018-04-06 11:10:29.436592"], ["updated_at", "2018-04-06 11:10:29.436592"]]  (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"=>"35"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["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", 35], ["LIMIT", 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Roxie Medhurst"], ["id", 35], ["LIMIT", 1]] SQL (1.3ms) 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-04-06 11:10:29.449628"], ["id", 35]]  (0.6ms) 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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 6.4ms) 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", 35], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "margareta@harvey.biz"], ["LIMIT", 1]] SQL (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", "Austin Kerluke"], ["last_name", "Oren Stark"], ["email", "margareta@harvey.biz"], ["password_digest", "$2a$04$vnqkeuoLvwAYQYDLIFIITOkkD.JgX9ysdg8rNL4SiiLatyBXR1Iqm"], ["created_at", "2018-04-06 11:10:29.464917"], ["updated_at", "2018-04-06 11:10:29.464917"]]  (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", "Jacki Stark"], ["LIMIT", 1]] SQL (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", "Jacki Stark"], ["name", "Jamila Hodkiewicz"], ["address", "Anton Leuschke"], ["created_at", "2018-04-06 11:10:29.470626"], ["updated_at", "2018-04-06 11:10:29.470626"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"36"} 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]] 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", 36], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Jacki Stark"], ["id", 36], ["LIMIT", 1]]  (0.4ms) ROLLBACK TO 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", 34], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 7ms (Views: 1.1ms | ActiveRecord: 3.2ms)  (0.5ms) 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", "eneida@stehr.ca"], ["LIMIT", 1]] SQL (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", "Anette Brakus"], ["last_name", "Dominque Frami"], ["email", "eneida@stehr.ca"], ["password_digest", "$2a$04$zIO91KRLzrd15DpY0GjOjOtIQmGoSIeICtRHCSN8q0oUnAdkJOpdu"], ["created_at", "2018-04-06 11:10:29.488243"], ["updated_at", "2018-04-06 11:10:29.488243"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Anibal Toy"], ["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", "Kena Heller"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Anibal Toy"], ["name", "Kena Heller"], ["description", "Vero ut est quia vitae porro quos. Corrupti assumenda error voluptates excepturi tempore omnis veritatis. Placeat officia est architecto voluptate qui et non sed. Magni ut omnis doloremque enim ut nemo veritatis aliquam."], ["created_at", "2018-04-06 11:10:29.606614"], ["updated_at", "2018-04-06 11:10:29.606614"]]  (0.5ms) 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", "Tonisha Heller"], ["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", "Edgar Heidenreich"], ["LIMIT", 1]] SQL (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", "Tonisha Heller"], ["name", "Edgar Heidenreich"], ["description", "Tenetur error esse minima assumenda necessitatibus. Quis voluptatem pariatur sit est nemo voluptas in. Et a ex quis dolorem. Ipsa esse veritatis quia id harum qui illum. Vel voluptatem iste impedit nihil et qui ad."], ["equipment_type_id", 1], ["created_at", "2018-04-06 11:10:29.615023"], ["updated_at", "2018-04-06 11:10:29.615023"]]  (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", "Ahmad Schimmel"], ["LIMIT", 1]] SQL (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", "Ahmad Schimmel"], ["name", "Nancey McKenzie"], ["description", "Ruthe Torp"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-04-06 11:10:29.621900"], ["updated_at", "2018-04-06 11:10:29.621900"]]  (0.5ms) 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", "Man Schultz"], ["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", "Deangelo Lemke"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Man Schultz"], ["name", "Deangelo Lemke"], ["description", "Nannette Predovic"], ["created_at", "2018-04-06 11:10:29.673697"], ["updated_at", "2018-04-06 11:10:29.673697"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Simonne O'Conner"], ["LIMIT", 1]] SQL (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", "Simonne O'Conner"], ["name", "Arlie Wuckert"], ["location_type_id", 1], ["description", "Talisha Maggio"], ["address", "Merlin Lowe"], ["created_at", "2018-04-06 11:10:29.682953"], ["updated_at", "2018-04-06 11:10:29.682953"]]  (0.5ms) 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", "Jodie Trantow"], ["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", "Meaghan Blick"], ["LIMIT", 1]] SQL (1.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", "Jodie Trantow"], ["name", "Melodie Runolfsdottir"], ["description", "Frank Miller"], ["serial_number", "Meaghan Blick"], ["brand", "Fidelia Berge"], ["item_model", "Todd Kutch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-04-06 11:10:29.695169"], ["updated_at", "2018-04-06 11:10:29.695169"]]  (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", "Lelah Mosciski"], ["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", "Iola Reichel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lelah Mosciski"], ["name", "Iola Reichel"], ["created_at", "2018-04-06 11:10:29.708417"], ["updated_at", "2018-04-06 11:10:29.708417"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Saul Doyle"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Saul Doyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:29.713291"], ["updated_at", "2018-04-06 11:10:29.713291"]]  (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", "Van Gleason"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Van Gleason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:29.718988"], ["updated_at", "2018-04-06 11:10:29.718988"]]  (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", "Elia Lockman"], ["LIMIT", 1]] SQL (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", "Elia Lockman"], ["name", "Tiesha Bauch"], ["address", "Val Wilderman"], ["created_at", "2018-04-06 11:10:29.724691"], ["updated_at", "2018-04-06 11:10:29.724691"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Genoveva Wiza"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (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", "Genoveva Wiza"], ["name", "Griselda Howe"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 37], ["created_at", "2018-04-06 11:10:29.731047"], ["updated_at", "2018-04-06 11:10:29.731047"]] 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", 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 LIMIT $2 [["code", "Genoveva Wiza"], ["LIMIT", 1]] SQL (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", "Genoveva Wiza"], ["name", "Griselda Howe"], ["description", "Default bundle for service 'Griselda Howe'"], ["service_delivery_unit_id", 37], ["created_at", "2018-04-06 11:10:29.737689"], ["updated_at", "2018-04-06 11:10:29.737689"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 32], ["chargeable_service_id", 12]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (2.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", 12], ["equipment_item_id", 1], ["created_at", "2018-04-06 11:10:29.751387"], ["updated_at", "2018-04-06 11:10:29.751387"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Marlys Langworth"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Assunta Wolf"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marlys Langworth"], ["name", "Assunta Wolf"], ["description", "Rerum nesciunt error porro consequatur velit nihil. Omnis nisi quaerat rerum sit architecto error pariatur ut. Omnis animi corporis nulla recusandae velit beatae."], ["created_at", "2018-04-06 11:10:29.763140"], ["updated_at", "2018-04-06 11:10:29.763140"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Bethany Reinger"], ["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", "Velia Weissnat"], ["LIMIT", 1]] SQL (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", "Bethany Reinger"], ["name", "Velia Weissnat"], ["description", "Est eum rerum autem non et veritatis. Ea tenetur sit adipisci ut in ducimus perferendis. Tempora nulla debitis laboriosam consequuntur qui deserunt molestias dolore."], ["equipment_type_id", 2], ["created_at", "2018-04-06 11:10:29.769325"], ["updated_at", "2018-04-06 11:10:29.769325"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ferdinand Haag"], ["LIMIT", 1]] SQL (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", "Ferdinand Haag"], ["name", "Stephaine Shields"], ["description", "Candis Kuhic"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-04-06 11:10:29.773941"], ["updated_at", "2018-04-06 11:10:29.773941"]]  (0.4ms) 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", "Beryl Muller"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Lacy O'Reilly"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Beryl Muller"], ["name", "Lacy O'Reilly"], ["description", "Geri Considine"], ["created_at", "2018-04-06 11:10:29.780707"], ["updated_at", "2018-04-06 11:10:29.780707"]]  (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", "Elvira Jacobi"], ["LIMIT", 1]] SQL (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", "Elvira Jacobi"], ["name", "Ken Haag"], ["location_type_id", 2], ["description", "Takako Windler"], ["address", "Stacie Eichmann"], ["created_at", "2018-04-06 11:10:29.785952"], ["updated_at", "2018-04-06 11:10:29.785952"]]  (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", "Quintin Effertz"], ["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", "Modesto Schiller"], ["LIMIT", 1]] SQL (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", "Quintin Effertz"], ["name", "Somer Denesik"], ["description", "Ossie Hudson"], ["serial_number", "Modesto Schiller"], ["brand", "Shelley Ferry"], ["item_model", "Hedy Friesen"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-04-06 11:10:29.792347"], ["updated_at", "2018-04-06 11:10:29.792347"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Patrina Christiansen"], ["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", "Yelena Fahey"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Patrina Christiansen"], ["name", "Yelena Fahey"], ["created_at", "2018-04-06 11:10:29.800997"], ["updated_at", "2018-04-06 11:10:29.800997"]]  (0.4ms) 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", "Luis Turner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Luis Turner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:29.805795"], ["updated_at", "2018-04-06 11:10:29.805795"]]  (0.4ms) 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", "Lorita Kshlerin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lorita Kshlerin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:29.811775"], ["updated_at", "2018-04-06 11:10:29.811775"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.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", "Randall Jacobson"], ["LIMIT", 1]] SQL (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", "Randall Jacobson"], ["name", "Santo Pagac"], ["address", "Ladawn Trantow"], ["created_at", "2018-04-06 11:10:29.824724"], ["updated_at", "2018-04-06 11:10:29.824724"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Alena Weber"], ["service_delivery_unit_id", 38], ["LIMIT", 1]] SQL (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", "Alena Weber"], ["name", "Blanch Bauch"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 38], ["created_at", "2018-04-06 11:10:29.829199"], ["updated_at", "2018-04-06 11:10:29.829199"]] 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", 38], ["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", "Alena Weber"], ["LIMIT", 1]] SQL (0.7ms) 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", "Alena Weber"], ["name", "Blanch Bauch"], ["description", "Default bundle for service 'Blanch Bauch'"], ["service_delivery_unit_id", 38], ["created_at", "2018-04-06 11:10:29.834182"], ["updated_at", "2018-04-06 11:10:29.834182"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 33], ["chargeable_service_id", 13]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 2], ["created_at", "2018-04-06 11:10:29.839979"], ["updated_at", "2018-04-06 11:10:29.839979"]]  (0.7ms) 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", "Xochitl Torp"], ["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", "Cari Howell"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Xochitl Torp"], ["name", "Cari Howell"], ["description", "Aut debitis ut et dolorem dolore velit. Modi quia unde quidem molestias repellendus accusantium. Minus dignissimos voluptate explicabo occaecati molestiae sunt ab. Qui quis corrupti quae explicabo rerum et. Aperiam molestiae sed perferendis sit."], ["created_at", "2018-04-06 11:10:29.849742"], ["updated_at", "2018-04-06 11:10:29.849742"]]  (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", "Sherita Fahey"], ["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", "Valentin Turcotte"], ["LIMIT", 1]] SQL (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", "Sherita Fahey"], ["name", "Valentin Turcotte"], ["description", "Laudantium in odit perspiciatis illum possimus unde id explicabo. Aperiam illo animi dolores cum voluptatem quae saepe. Omnis odit enim labore vero aliquid repellat voluptates."], ["equipment_type_id", 3], ["created_at", "2018-04-06 11:10:29.856816"], ["updated_at", "2018-04-06 11:10:29.856816"]]  (0.7ms) 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", "Columbus Ebert"], ["LIMIT", 1]] SQL (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", "Columbus Ebert"], ["name", "Terresa Hintz"], ["description", "Elane Ebert"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-04-06 11:10:29.862760"], ["updated_at", "2018-04-06 11:10:29.862760"]]  (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", "Herma Hyatt"], ["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", "Veronique Gorczany"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Herma Hyatt"], ["name", "Veronique Gorczany"], ["description", "Aja Hammes"], ["created_at", "2018-04-06 11:10:29.868620"], ["updated_at", "2018-04-06 11:10:29.868620"]]  (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", "Dalton Harvey"], ["LIMIT", 1]] SQL (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", "Dalton Harvey"], ["name", "Nicki Heller"], ["location_type_id", 3], ["description", "Maggie Kutch"], ["address", "Deb Bradtke"], ["created_at", "2018-04-06 11:10:29.872434"], ["updated_at", "2018-04-06 11:10:29.872434"]]  (0.6ms) 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", "Porfirio Sipes"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Dollie Hoeger"], ["LIMIT", 1]] SQL (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", "Porfirio Sipes"], ["name", "Hope Schuster"], ["description", "Hue Metz"], ["serial_number", "Dollie Hoeger"], ["brand", "Robert Haag"], ["item_model", "Karren Leffler"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-04-06 11:10:29.877801"], ["updated_at", "2018-04-06 11:10:29.877801"]]  (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", "Mandi Beer"], ["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", "Shae Conn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mandi Beer"], ["name", "Shae Conn"], ["created_at", "2018-04-06 11:10:29.885218"], ["updated_at", "2018-04-06 11:10:29.885218"]]  (0.4ms) 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", "Jamar Thompson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jamar Thompson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:29.889320"], ["updated_at", "2018-04-06 11:10:29.889320"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Genesis Stiedemann"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Genesis Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:29.893338"], ["updated_at", "2018-04-06 11:10:29.893338"]]  (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", "Omega Tromp"], ["LIMIT", 1]] SQL (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", "Omega Tromp"], ["name", "Leilani Zulauf"], ["address", "Giuseppina Cormier"], ["created_at", "2018-04-06 11:10:29.897395"], ["updated_at", "2018-04-06 11:10:29.897395"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Shirley Wehner"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (0.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", "Shirley Wehner"], ["name", "Amos Kshlerin"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 39], ["created_at", "2018-04-06 11:10:29.901340"], ["updated_at", "2018-04-06 11:10:29.901340"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shirley Wehner"], ["LIMIT", 1]] SQL (0.7ms) 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", "Shirley Wehner"], ["name", "Amos Kshlerin"], ["description", "Default bundle for service 'Amos Kshlerin'"], ["service_delivery_unit_id", 39], ["created_at", "2018-04-06 11:10:29.906176"], ["updated_at", "2018-04-06 11:10:29.906176"]] SQL (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 34], ["chargeable_service_id", 14]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 14], ["equipment_item_id", 3], ["created_at", "2018-04-06 11:10:29.912265"], ["updated_at", "2018-04-06 11:10:29.912265"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#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", 35], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 12], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.5ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 1], ["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", 13], ["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", 2], ["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", 14], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (10.01ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.33ms) Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 5.7ms)  (0.9ms) 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", "naomi_little@fayhammes.name"], ["LIMIT", 1]] SQL (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", "Heide Jacobson"], ["last_name", "Aimee Homenick"], ["email", "naomi_little@fayhammes.name"], ["password_digest", "$2a$04$E.hEo8Lb.qh3qPR63e8AVuq9bYb19LWwoGLGH9HYOHTA.KDU9.Ia."], ["created_at", "2018-04-06 11:10:29.941137"], ["updated_at", "2018-04-06 11:10:29.941137"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Dallas Conn"], ["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", "Norman Howe"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dallas Conn"], ["name", "Norman Howe"], ["description", "Eius veniam cum aut omnis dolorem aspernatur soluta quisquam. Ex ducimus fugiat ratione tempore. Nisi enim et vel voluptas doloribus ut et cumque. Et dolores sit ipsum temporibus est laudantium."], ["created_at", "2018-04-06 11:10:29.951152"], ["updated_at", "2018-04-06 11:10:29.951152"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Ruby Gulgowski"], ["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", "Walton Haley"], ["LIMIT", 1]] SQL (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", "Ruby Gulgowski"], ["name", "Walton Haley"], ["description", "Quia aliquam molestiae aut reiciendis mollitia sunt qui unde. Blanditiis impedit animi dolores quia eos rerum. Est voluptatem sed laboriosam ut harum dolorum. Animi deserunt quis consequatur possimus."], ["equipment_type_id", 4], ["created_at", "2018-04-06 11:10:29.958332"], ["updated_at", "2018-04-06 11:10:29.958332"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Seymour Auer"], ["LIMIT", 1]] SQL (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", "Seymour Auer"], ["name", "Tran Ziemann"], ["description", "Suzie Herzog"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-04-06 11:10:29.964380"], ["updated_at", "2018-04-06 11:10:29.964380"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Caryl Koepp"], ["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", "Jorge Bednar"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Caryl Koepp"], ["name", "Jorge Bednar"], ["description", "Nerissa Reichel"], ["created_at", "2018-04-06 11:10:29.971536"], ["updated_at", "2018-04-06 11:10:29.971536"]]  (0.6ms) 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", "Mario Sipes"], ["LIMIT", 1]] SQL (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", "Mario Sipes"], ["name", "Sabrina Schuster"], ["location_type_id", 4], ["description", "Lavada Haley"], ["address", "Nola Osinski"], ["created_at", "2018-04-06 11:10:29.976897"], ["updated_at", "2018-04-06 11:10:29.976897"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Bret Stoltenberg"], ["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", "Hyun Glover"], ["LIMIT", 1]] SQL (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", "Bret Stoltenberg"], ["name", "Nakia Keeling"], ["description", "Benito Armstrong"], ["serial_number", "Hyun Glover"], ["brand", "Abram Buckridge"], ["item_model", "Maritza Leffler"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-04-06 11:10:29.984483"], ["updated_at", "2018-04-06 11:10:29.984483"]]  (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", "Yanira Littel"], ["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", "Ema Lebsack"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yanira Littel"], ["name", "Ema Lebsack"], ["created_at", "2018-04-06 11:10:29.991364"], ["updated_at", "2018-04-06 11:10:29.991364"]]  (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", "Catrice Aufderhar"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Catrice Aufderhar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:29.995874"], ["updated_at", "2018-04-06 11:10:29.995874"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vicki Wisoky"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vicki Wisoky"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.000206"], ["updated_at", "2018-04-06 11:10:30.000206"]]  (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", "Fairy Orn"], ["LIMIT", 1]] SQL (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", "Fairy Orn"], ["name", "Shameka Ondricka"], ["address", "Shara Hodkiewicz"], ["created_at", "2018-04-06 11:10:30.005258"], ["updated_at", "2018-04-06 11:10:30.005258"]]  (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", "Claretha Collier"], ["service_delivery_unit_id", 40], ["LIMIT", 1]] SQL (0.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", "Claretha Collier"], ["name", "Clyde Hand"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 40], ["created_at", "2018-04-06 11:10:30.009596"], ["updated_at", "2018-04-06 11:10:30.009596"]] 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", 40], ["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", "Claretha Collier"], ["LIMIT", 1]] SQL (0.7ms) 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", "Claretha Collier"], ["name", "Clyde Hand"], ["description", "Default bundle for service 'Clyde Hand'"], ["service_delivery_unit_id", 40], ["created_at", "2018-04-06 11:10:30.014312"], ["updated_at", "2018-04-06 11:10:30.014312"]] SQL (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 35], ["chargeable_service_id", 15]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 15], ["equipment_item_id", 4], ["created_at", "2018-04-06 11:10:30.020164"], ["updated_at", "2018-04-06 11:10:30.020164"]]  (0.4ms) 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", "Hellen Kilback"], ["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", "Lanita Cartwright"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Hellen Kilback"], ["name", "Lanita Cartwright"], ["description", "Quas enim voluptatum iste nulla ut quo mollitia. Repudiandae nihil veritatis voluptas fugit vitae sapiente. Assumenda officiis hic voluptas laboriosam. Et ut in rerum placeat est sapiente qui."], ["created_at", "2018-04-06 11:10:30.027025"], ["updated_at", "2018-04-06 11:10:30.027025"]]  (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", "Chelsie Ankunding"], ["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", "Joel Cremin"], ["LIMIT", 1]] SQL (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", "Chelsie Ankunding"], ["name", "Joel Cremin"], ["description", "Exercitationem nisi nesciunt atque et sint quo quis. Voluptas quia ipsum quo omnis omnis expedita ullam. Eos odio id voluptatem mollitia accusamus molestiae atque iure."], ["equipment_type_id", 5], ["created_at", "2018-04-06 11:10:30.032895"], ["updated_at", "2018-04-06 11:10:30.032895"]]  (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", "Viva Morar"], ["LIMIT", 1]] SQL (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", "Viva Morar"], ["name", "Pok Corkery"], ["description", "Elicia Schroeder"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-04-06 11:10:30.037150"], ["updated_at", "2018-04-06 11:10:30.037150"]]  (0.5ms) 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", "Oscar Kozey"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jeannette Schaefer"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Oscar Kozey"], ["name", "Jeannette Schaefer"], ["description", "Amanda Sanford"], ["created_at", "2018-04-06 11:10:30.042616"], ["updated_at", "2018-04-06 11:10:30.042616"]]  (0.4ms) 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", "Christoper Treutel"], ["LIMIT", 1]] SQL (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", "Christoper Treutel"], ["name", "Alfredia Prosacco"], ["location_type_id", 5], ["description", "Brigette Grant"], ["address", "Sophie Effertz"], ["created_at", "2018-04-06 11:10:30.047524"], ["updated_at", "2018-04-06 11:10:30.047524"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Jeanette Moore"], ["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", "Celia Wilderman"], ["LIMIT", 1]] SQL (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", "Jeanette Moore"], ["name", "Monte Kuhn"], ["description", "Marisol Dicki"], ["serial_number", "Celia Wilderman"], ["brand", "Olive Jerde"], ["item_model", "Darin Goodwin"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-04-06 11:10:30.057113"], ["updated_at", "2018-04-06 11:10:30.057113"]]  (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", "Orpha Cartwright"], ["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", "Bula Stanton"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Orpha Cartwright"], ["name", "Bula Stanton"], ["created_at", "2018-04-06 11:10:30.065776"], ["updated_at", "2018-04-06 11:10:30.065776"]]  (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", "Aurea Herzog"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Aurea Herzog"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.070837"], ["updated_at", "2018-04-06 11:10:30.070837"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Erminia O'Hara"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Erminia O'Hara"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.075025"], ["updated_at", "2018-04-06 11:10:30.075025"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Brittany Von"], ["LIMIT", 1]] SQL (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", "Brittany Von"], ["name", "Adelaida Durgan"], ["address", "Christiane Mann"], ["created_at", "2018-04-06 11:10:30.079184"], ["updated_at", "2018-04-06 11:10:30.079184"]]  (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", "Roy Goldner"], ["service_delivery_unit_id", 41], ["LIMIT", 1]] SQL (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", "Roy Goldner"], ["name", "Polly Parisian"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 41], ["created_at", "2018-04-06 11:10:30.083390"], ["updated_at", "2018-04-06 11:10:30.083390"]] 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", 41], ["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", "Roy Goldner"], ["LIMIT", 1]] SQL (0.7ms) 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", "Roy Goldner"], ["name", "Polly Parisian"], ["description", "Default bundle for service 'Polly Parisian'"], ["service_delivery_unit_id", 41], ["created_at", "2018-04-06 11:10:30.088468"], ["updated_at", "2018-04-06 11:10:30.088468"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 36], ["chargeable_service_id", 16]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.4ms) 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", 16], ["equipment_item_id", 5], ["created_at", "2018-04-06 11:10:30.094235"], ["updated_at", "2018-04-06 11:10:30.094235"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Gerardo Hudson"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Sheena Heller"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gerardo Hudson"], ["name", "Sheena Heller"], ["description", "Eos debitis fugit qui et aut voluptatem magnam. Nemo debitis et voluptatem modi sint. Sit et quo magnam sequi amet. Delectus officiis asperiores cum velit in occaecati dolorum minima."], ["created_at", "2018-04-06 11:10:30.101929"], ["updated_at", "2018-04-06 11:10:30.101929"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Maricruz Herman"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Linnea Becker"], ["LIMIT", 1]] SQL (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", "Maricruz Herman"], ["name", "Linnea Becker"], ["description", "Quia sunt architecto dicta tempora accusamus explicabo voluptas vel. Et nulla voluptatem unde eaque praesentium aspernatur sit dignissimos. Repellendus at quis nobis in sunt quae debitis. Ut illo explicabo consectetur nobis quia."], ["equipment_type_id", 6], ["created_at", "2018-04-06 11:10:30.106844"], ["updated_at", "2018-04-06 11:10:30.106844"]]  (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", "Dalila Rogahn"], ["LIMIT", 1]] SQL (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", "Dalila Rogahn"], ["name", "Ella Reilly"], ["description", "Janean Gibson"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-04-06 11:10:30.110855"], ["updated_at", "2018-04-06 11:10:30.110855"]]  (0.4ms) 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", "Ehtel Mueller"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Marie Weissnat"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ehtel Mueller"], ["name", "Marie Weissnat"], ["description", "Joya Shields"], ["created_at", "2018-04-06 11:10:30.116756"], ["updated_at", "2018-04-06 11:10:30.116756"]]  (0.6ms) 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", "Reynaldo Rice"], ["LIMIT", 1]] SQL (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", "Reynaldo Rice"], ["name", "Catherine Pollich"], ["location_type_id", 6], ["description", "Marquetta Renner"], ["address", "Domonique Carter"], ["created_at", "2018-04-06 11:10:30.121717"], ["updated_at", "2018-04-06 11:10:30.121717"]]  (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", "Valorie Runte"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Donella Willms"], ["LIMIT", 1]] SQL (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", "Valorie Runte"], ["name", "Dodie Leannon"], ["description", "Thelma Bode"], ["serial_number", "Donella Willms"], ["brand", "Naida Bauch"], ["item_model", "Misha Donnelly"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-04-06 11:10:30.126977"], ["updated_at", "2018-04-06 11:10:30.126977"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Zack Metz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cristobal Gerlach"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Zack Metz"], ["name", "Cristobal Gerlach"], ["created_at", "2018-04-06 11:10:30.132803"], ["updated_at", "2018-04-06 11:10:30.132803"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Shanon Boehm"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shanon Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.136914"], ["updated_at", "2018-04-06 11:10:30.136914"]]  (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", "Meghan Shields"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Meghan Shields"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.140962"], ["updated_at", "2018-04-06 11:10:30.140962"]]  (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", "Shena Baumbach"], ["LIMIT", 1]] SQL (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", "Shena Baumbach"], ["name", "Dorian West"], ["address", "Velvet Kautzer"], ["created_at", "2018-04-06 11:10:30.145305"], ["updated_at", "2018-04-06 11:10:30.145305"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Lazaro Haley"], ["service_delivery_unit_id", 42], ["LIMIT", 1]] SQL (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", "Lazaro Haley"], ["name", "Kym Bernhard"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 42], ["created_at", "2018-04-06 11:10:30.149506"], ["updated_at", "2018-04-06 11:10:30.149506"]] 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", 42], ["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", "Lazaro Haley"], ["LIMIT", 1]] SQL (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", "Lazaro Haley"], ["name", "Kym Bernhard"], ["description", "Default bundle for service 'Kym Bernhard'"], ["service_delivery_unit_id", 42], ["created_at", "2018-04-06 11:10:30.156978"], ["updated_at", "2018-04-06 11:10:30.156978"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 37], ["chargeable_service_id", 17]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", 17], ["equipment_item_id", 6], ["created_at", "2018-04-06 11:10:30.165609"], ["updated_at", "2018-04-06 11:10:30.165609"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates 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.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 15], ["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", 4], ["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", 40], ["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", 16], ["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", 5], ["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", 41], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 17], ["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", 6], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (12.17ms) Completed 200 OK in 19ms (Views: 8.4ms | ActiveRecord: 7.4ms)  (0.5ms) 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", "micaela@olson.com"], ["LIMIT", 1]] SQL (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", "Lizeth Mante"], ["last_name", "Janina Quitzon"], ["email", "micaela@olson.com"], ["password_digest", "$2a$04$ytbGfcqly3qBKqyA5bs7KOuYrRGtBRW94DoigFK/OVGhebQ.GzStu"], ["created_at", "2018-04-06 11:10:30.196594"], ["updated_at", "2018-04-06 11:10:30.196594"]]  (0.8ms) 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", "Princess Fay"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Carisa Predovic"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Princess Fay"], ["name", "Carisa Predovic"], ["created_at", "2018-04-06 11:10:30.202563"], ["updated_at", "2018-04-06 11:10:30.202563"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 37], ["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", 37], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) 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.25ms) Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 1.8ms)  (0.9ms) ROLLBACK  (0.5ms) 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", "jeannine@gerhold.info"], ["LIMIT", 1]] SQL (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", "Moon Skiles"], ["last_name", "Louis Parker"], ["email", "jeannine@gerhold.info"], ["password_digest", "$2a$04$EKime5ELCzjIpnk.kjFIK.HNhiVnsGpXk/pZgB0nt0P29MTWrguVO"], ["created_at", "2018-04-06 11:10:30.223546"], ["updated_at", "2018-04-06 11:10:30.223546"]]  (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", "Kylie Hammes"], ["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", "Hal Thiel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kylie Hammes"], ["name", "Hal Thiel"], ["created_at", "2018-04-06 11:10:30.230900"], ["updated_at", "2018-04-06 11:10:30.230900"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 20], ["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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.37ms) Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 3.0ms)  (0.7ms) 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", "jin@robelglover.biz"], ["LIMIT", 1]] SQL (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", "Valorie Hahn"], ["last_name", "Marleen Abernathy"], ["email", "jin@robelglover.biz"], ["password_digest", "$2a$04$SkJYTGVXypFu.UU4nJf1YegvclegXYRhB2OdVngpgeUACe4dWzLSa"], ["created_at", "2018-04-06 11:10:30.249137"], ["updated_at", "2018-04-06 11:10:30.249137"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Carry McDermott", "name"=>"Marquitta Williamson"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 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", "Carry McDermott"], ["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", "Marquitta Williamson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Carry McDermott"], ["name", "Marquitta Williamson"], ["created_at", "2018-04-06 11:10:30.260922"], ["updated_at", "2018-04-06 11:10:30.260922"]]  (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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.46ms) Completed 201 Created in 14ms (Views: 3.4ms | ActiveRecord: 5.6ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.6ms) 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", "svetlana.schmeler@greenholt.co.uk"], ["LIMIT", 1]] SQL (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", "Zachery Hermiston"], ["last_name", "Oma McGlynn"], ["email", "svetlana.schmeler@greenholt.co.uk"], ["password_digest", "$2a$04$pJK0o4EoiUSuZYh30A1UMOw2eygmJsxyzfJ7OGjvIZJSOzEkAEKMG"], ["created_at", "2018-04-06 11:10:30.278834"], ["updated_at", "2018-04-06 11:10:30.278834"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Tyron Moore", "name"=>"Katrina Jakubowski"}} 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]]  (0.7ms) 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", "Tyron Moore"], ["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", "Katrina Jakubowski"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tyron Moore"], ["name", "Katrina Jakubowski"], ["created_at", "2018-04-06 11:10:30.290229"], ["updated_at", "2018-04-06 11:10:30.290229"]]  (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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.31ms) Completed 201 Created in 13ms (Views: 2.1ms | ActiveRecord: 6.0ms) 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.5ms) 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", "deneen_crooks@ziemann.us"], ["LIMIT", 1]] SQL (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", "Jessika Kertzmann"], ["last_name", "Glynis Sawayn"], ["email", "deneen_crooks@ziemann.us"], ["password_digest", "$2a$04$QJktBLJvWTh9lzGIGCR42eztrQmkGgoe4zUo.CutLt6StwK1ViJsm"], ["created_at", "2018-04-06 11:10:30.306302"], ["updated_at", "2018-04-06 11:10:30.306302"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Candida Rau"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) 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", "Candida Rau"], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 7ms (Views: 1.1ms | ActiveRecord: 3.4ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "dennis@dooley.ca"], ["LIMIT", 1]] SQL (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", "Latisha Turner"], ["last_name", "Thomas Bogan"], ["email", "dennis@dooley.ca"], ["password_digest", "$2a$04$flRYlmN6SeWAMgr.huoWEus4mW9Qnrxr.V64F8vyhgd1HwII/QfNC"], ["created_at", "2018-04-06 11:10:30.324520"], ["updated_at", "2018-04-06 11:10:30.324520"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Gayla Volkman"], ["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", "Burt Gislason"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gayla Volkman"], ["name", "Burt Gislason"], ["created_at", "2018-04-06 11:10:30.331010"], ["updated_at", "2018-04-06 11:10:30.331010"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Takako Rempel"}, "id"=>"23"} 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]] 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", 23], ["LIMIT", 1]]  (0.8ms) 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", "Gayla Volkman"], ["id", 23], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Takako Rempel"], ["id", 23], ["LIMIT", 1]] SQL (0.8ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Takako Rempel"], ["updated_at", "2018-04-06 11:10:30.341894"], ["id", 23]]  (0.8ms) 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.34ms) Completed 200 OK in 13ms (Views: 2.1ms | ActiveRecord: 6.5ms) 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", 23], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.6ms) 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", "geraldo@kuhicwindler.ca"], ["LIMIT", 1]] SQL (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", "Ellie Mante"], ["last_name", "Lili Bogisich"], ["email", "geraldo@kuhicwindler.ca"], ["password_digest", "$2a$04$TfaNAb2h1yHlJMRQJj6oSO7NjR2E553aloZ57W5bopTCxcab1sf9u"], ["created_at", "2018-04-06 11:10:30.358068"], ["updated_at", "2018-04-06 11:10:30.358068"]]  (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", "Lizabeth Fritsch"], ["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", "Barney Sporer"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lizabeth Fritsch"], ["name", "Barney Sporer"], ["created_at", "2018-04-06 11:10:30.367143"], ["updated_at", "2018-04-06 11:10:30.367143"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Janine Padberg", "name"=>"Keena Reynolds"}, "id"=>"24"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["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", 24], ["LIMIT", 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Janine Padberg"], ["id", 24], ["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", "Keena Reynolds"], ["id", 24], ["LIMIT", 1]] SQL (0.8ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Janine Padberg"], ["name", "Keena Reynolds"], ["updated_at", "2018-04-06 11:10:30.379355"], ["id", 24]]  (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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 5.6ms)  (0.7ms) 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", "artie_legros@watsica.ca"], ["LIMIT", 1]] SQL (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", "Mina Effertz"], ["last_name", "Freeman Larson"], ["email", "artie_legros@watsica.ca"], ["password_digest", "$2a$04$2t739QqVGrC6M2DuxN6hRerPCYnDPghLr3rF19kSvQEolXgy4AAu6"], ["created_at", "2018-04-06 11:10:30.393715"], ["updated_at", "2018-04-06 11:10:30.393715"]]  (0.8ms) 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", "Shirley Treutel"], ["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", "Maryam Kerluke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shirley Treutel"], ["name", "Maryam Kerluke"], ["created_at", "2018-04-06 11:10:30.402146"], ["updated_at", "2018-04-06 11:10:30.402146"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Ginette Lowe"}, "id"=>"25"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", ""], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Ginette Lowe"], ["id", 25], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.12ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.0ms | ActiveRecord: 3.9ms)  (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", "briana_daugherty@breitenberg.com"], ["LIMIT", 1]] SQL (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", "Ming Conroy"], ["last_name", "Jewell Steuber"], ["email", "briana_daugherty@breitenberg.com"], ["password_digest", "$2a$04$UJJxHtt2OeKJp7QhmE7DAeSyJYjHF1ciSpRYr6Mg6x7gMTuf/FExO"], ["created_at", "2018-04-06 11:10:30.422166"], ["updated_at", "2018-04-06 11:10:30.422166"]]  (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", "Evelia Wunsch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Evelia Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.427433"], ["updated_at", "2018-04-06 11:10:30.427433"]]  (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", "Etha Dietrich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Etha Dietrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.432763"], ["updated_at", "2018-04-06 11:10:30.432763"]]  (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", "Anastacia Langosh"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Anastacia Langosh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.438535"], ["updated_at", "2018-04-06 11:10:30.438535"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#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", 45], ["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", 45], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.86ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 2.3ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "Tereasa Hudson"], ["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", "Maynard Cole"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tereasa Hudson"], ["name", "Maynard Cole"], ["created_at", "2018-04-06 11:10:30.456106"], ["updated_at", "2018-04-06 11:10:30.456106"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Teofila Krajcik"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Teofila Krajcik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.460426"], ["updated_at", "2018-04-06 11:10:30.460426"]]  (0.4ms) 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", "Jay Dibbert"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jay Dibbert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.465270"], ["updated_at", "2018-04-06 11:10:30.465270"]]  (0.6ms) 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", "Gregorio Ritchie"], ["LIMIT", 1]] SQL (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", "Gregorio Ritchie"], ["name", "Elizebeth Bogan"], ["address", "Patty Cormier"], ["created_at", "2018-04-06 11:10:30.471397"], ["updated_at", "2018-04-06 11:10:30.471397"]]  (0.8ms) RELEASE SAVEPOINT active_record_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", "Dominica McClure"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Dominica McClure"], ["name", "Ardath Hagenes"], ["service_type_id", 26], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 43], ["created_at", "2018-04-06 11:10:30.479106"], ["updated_at", "2018-04-06 11:10:30.479106"]] 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", 43], ["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", "Dominica McClure"], ["LIMIT", 1]] SQL (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", "Dominica McClure"], ["name", "Ardath Hagenes"], ["description", "Default bundle for service 'Ardath Hagenes'"], ["service_delivery_unit_id", 43], ["created_at", "2018-04-06 11:10:30.486322"], ["updated_at", "2018-04-06 11:10:30.486322"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 38], ["chargeable_service_id", 18]]  (0.6ms) RELEASE 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Dominica McClure"], ["id", 18], ["service_delivery_unit_id", 43], ["LIMIT", 1]]  (0.8ms) 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", "Chanel Hodkiewicz"], ["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", "Emilie Zemlak"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chanel Hodkiewicz"], ["name", "Emilie Zemlak"], ["created_at", "2018-04-06 11:10:30.503303"], ["updated_at", "2018-04-06 11:10:30.503303"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Bonny Lueilwitz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bonny Lueilwitz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.507613"], ["updated_at", "2018-04-06 11:10:30.507613"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Ellen Cronin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ellen Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.512518"], ["updated_at", "2018-04-06 11:10:30.512518"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Daryl Denesik"], ["LIMIT", 1]] SQL (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", "Daryl Denesik"], ["name", "Kiesha Heathcote"], ["address", "Mardell Wiza"], ["created_at", "2018-04-06 11:10:30.516619"], ["updated_at", "2018-04-06 11:10:30.516619"]]  (0.4ms) RELEASE 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 44], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Martin Gerlach"], ["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", "Tressie Barrows"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Martin Gerlach"], ["name", "Tressie Barrows"], ["created_at", "2018-04-06 11:10:30.526279"], ["updated_at", "2018-04-06 11:10:30.526279"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Giuseppina Bernhard"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Giuseppina Bernhard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.530508"], ["updated_at", "2018-04-06 11:10:30.530508"]]  (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", "Britteny Murray"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Britteny Murray"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.535734"], ["updated_at", "2018-04-06 11:10:30.535734"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vallie Corkery"], ["LIMIT", 1]] SQL (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", "Vallie Corkery"], ["name", "Diane Boehm"], ["address", "Tanesha Daniel"], ["created_at", "2018-04-06 11:10:30.540957"], ["updated_at", "2018-04-06 11:10:30.540957"]]  (0.5ms) RELEASE 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", "Jerrica Koss"], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (1.0ms) 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", "Jerome Rath"], ["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", "Nidia Breitenberg"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jerome Rath"], ["name", "Nidia Breitenberg"], ["created_at", "2018-04-06 11:10:30.554251"], ["updated_at", "2018-04-06 11:10:30.554251"]]  (0.4ms) 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", "Margeret Labadie"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Margeret Labadie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.558620"], ["updated_at", "2018-04-06 11:10:30.558620"]]  (0.5ms) 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", "Shirlee Lehner"], ["LIMIT", 1]] SQL (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", "Shirlee Lehner"], ["name", "Salena Bauch"], ["address", "Mirta Koch"], ["created_at", "2018-04-06 11:10:30.563239"], ["updated_at", "2018-04-06 11:10:30.563239"]]  (0.6ms) 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", "Yessenia Bruen"], ["service_delivery_unit_id", 46], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.7ms) 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", "Loise 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", "Lissette Grady"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Loise Feest"], ["name", "Lissette Grady"], ["created_at", "2018-04-06 11:10:30.579449"], ["updated_at", "2018-04-06 11:10:30.579449"]]  (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", "Pamelia Sanford"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pamelia Sanford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.585913"], ["updated_at", "2018-04-06 11:10:30.585913"]]  (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", "Arthur Lowe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Arthur Lowe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.591236"], ["updated_at", "2018-04-06 11:10:30.591236"]]  (0.7ms) 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" IS NULL LIMIT $2 [["code", "Kandice Grady"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) 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", "Coleman Nader"], ["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", "Janeth Stanton"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Coleman Nader"], ["name", "Janeth Stanton"], ["created_at", "2018-04-06 11:10:30.606732"], ["updated_at", "2018-04-06 11:10:30.606732"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Hilde Jerde"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hilde Jerde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.611311"], ["updated_at", "2018-04-06 11:10:30.611311"]]  (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", "Dawn Balistreri"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dawn Balistreri"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.615834"], ["updated_at", "2018-04-06 11:10:30.615834"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ronny Turcotte"], ["LIMIT", 1]] SQL (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", "Ronny Turcotte"], ["name", "Johnna McLaughlin"], ["address", "Tamesha Wisozk"], ["created_at", "2018-04-06 11:10:30.623871"], ["updated_at", "2018-04-06 11:10:30.623871"]]  (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", "Verna Roob"], ["service_delivery_unit_id", 47], ["LIMIT", 1]] SQL (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", "Verna Roob"], ["name", "Clint Lesch"], ["service_type_id", 31], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 47], ["created_at", "2018-04-06 11:10:30.629537"], ["updated_at", "2018-04-06 11:10:30.629537"]] 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", 47], ["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", "Verna Roob"], ["LIMIT", 1]] SQL (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", "Verna Roob"], ["name", "Clint Lesch"], ["description", "Default bundle for service 'Clint Lesch'"], ["service_delivery_unit_id", 47], ["created_at", "2018-04-06 11:10:30.634746"], ["updated_at", "2018-04-06 11:10:30.634746"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 39], ["chargeable_service_id", 19]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Harley Emmerich"], ["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", "Easter Beier"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Harley Emmerich"], ["name", "Easter Beier"], ["created_at", "2018-04-06 11:10:30.647242"], ["updated_at", "2018-04-06 11:10:30.647242"]]  (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", "Antoinette Wolf"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Antoinette Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.652977"], ["updated_at", "2018-04-06 11:10:30.652977"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Alissa Metz"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alissa Metz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.657515"], ["updated_at", "2018-04-06 11:10:30.657515"]]  (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", "Verna Roob"], ["service_delivery_unit_id", 47], ["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.6ms) 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", "Candice Gleichner"], ["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", "Elsie Jerde"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Candice Gleichner"], ["name", "Elsie Jerde"], ["created_at", "2018-04-06 11:10:30.670826"], ["updated_at", "2018-04-06 11:10:30.670826"]]  (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", "Darrell Runolfsdottir"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Darrell Runolfsdottir"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.676775"], ["updated_at", "2018-04-06 11:10:30.676775"]]  (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", "Markita Buckridge"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Markita Buckridge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:30.682914"], ["updated_at", "2018-04-06 11:10:30.682914"]]  (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", "Heidi Barton"], ["LIMIT", 1]] SQL (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", "Heidi Barton"], ["name", "Jackie Monahan"], ["address", "Hilario Cruickshank"], ["created_at", "2018-04-06 11:10:30.689214"], ["updated_at", "2018-04-06 11:10:30.689214"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Edwina Kozey"], ["service_delivery_unit_id", 48], ["LIMIT", 1]] SQL (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", "Edwina Kozey"], ["name", "Malorie Jakubowski"], ["service_type_id", 33], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 48], ["created_at", "2018-04-06 11:10:30.694695"], ["updated_at", "2018-04-06 11:10:30.694695"]] 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]] 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", "Edwina Kozey"], ["LIMIT", 1]] SQL (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", "Edwina Kozey"], ["name", "Malorie Jakubowski"], ["description", "Default bundle for service 'Malorie Jakubowski'"], ["service_delivery_unit_id", 48], ["created_at", "2018-04-06 11:10:30.700594"], ["updated_at", "2018-04-06 11:10:30.700594"]] SQL (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", 20]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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]]  (2.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", 40]]  (0.7ms) 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", "mariano@ritchie.biz"], ["LIMIT", 1]] SQL (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", "Alvera Prosacco"], ["last_name", "Scottie Torp"], ["email", "mariano@ritchie.biz"], ["password_digest", "$2a$04$HoolM0wz6qJ11k/C0HGLvOAirwiLZ2NFY5/lKZ4ehbxgDgsNyl0dC"], ["created_at", "2018-04-06 11:10:30.740159"], ["updated_at", "2018-04-06 11:10:30.740159"]]  (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", "janina.turner@harvey.biz"], ["LIMIT", 1]] SQL (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", "Lieselotte Waters"], ["last_name", "Terrell Pagac"], ["email", "janina.turner@harvey.biz"], ["password_digest", "$2a$04$4ICUaVmfQsZPxeWhrrq/jO7qggYDfcU7RT26nPpQ/19JDF0HMA4gy"], ["created_at", "2018-04-06 11:10:30.748845"], ["updated_at", "2018-04-06 11:10:30.748845"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ara Muller"], ["LIMIT", 1]] SQL (2.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", "Ara Muller"], ["authorized_by", "Dalila Lehner"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 46], ["approved_by_id", 47], ["created_at", "2018-04-06 11:10:30.754134"], ["updated_at", "2018-04-06 11:10:30.754134"]]  (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", "Ara Muller"], ["id", 1], ["LIMIT", 1]]  (0.6ms) 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", "loree_ledner@corkery.ca"], ["LIMIT", 1]] SQL (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", "Lavern Carter"], ["last_name", "Edward Steuber"], ["email", "loree_ledner@corkery.ca"], ["password_digest", "$2a$04$IzmVRM044FWKvDrzpvypEOnHJUPEde6Y4yDUQRX5IdrL9HYO1Hg4a"], ["created_at", "2018-04-06 11:10:30.768023"], ["updated_at", "2018-04-06 11:10:30.768023"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "gena.ratke@rolfsonwisoky.com"], ["LIMIT", 1]] SQL (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", "Cherelle Cartwright"], ["last_name", "Devin Rowe"], ["email", "gena.ratke@rolfsonwisoky.com"], ["password_digest", "$2a$04$y2HyDWkyf4rVb/EEl/n.F.CZsI/hJba3cl55YFBhuNBolorwYsB.y"], ["created_at", "2018-04-06 11:10:30.777907"], ["updated_at", "2018-04-06 11:10:30.777907"]]  (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" = $1 LIMIT $2 [["reference_number", "Genevive Klocko"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) 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", "marshall@maggio.biz"], ["LIMIT", 1]] SQL (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", "Magda Heaney"], ["last_name", "Allison Bashirian"], ["email", "marshall@maggio.biz"], ["password_digest", "$2a$04$e20SEG1giSROH9fzjkLtOusP9wCTBahu05svQivRUj8.4B5hNZjuC"], ["created_at", "2018-04-06 11:10:30.796304"], ["updated_at", "2018-04-06 11:10:30.796304"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "augustina@russelkshlerin.name"], ["LIMIT", 1]] SQL (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", "Jerrell Okuneva"], ["last_name", "Nelia Streich"], ["email", "augustina@russelkshlerin.name"], ["password_digest", "$2a$04$SZjAaYUPK8DKeV3AdJ36s.SzhkgCfQNwNn8.tU3.nH3/ExRWHUOYK"], ["created_at", "2018-04-06 11:10:30.803657"], ["updated_at", "2018-04-06 11:10:30.803657"]]  (0.8ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) 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", "marti@abernathy.com"], ["LIMIT", 1]] SQL (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", "Catherin Zboncak"], ["last_name", "Charlott Tromp"], ["email", "marti@abernathy.com"], ["password_digest", "$2a$04$1M2JOcizTJo4zeXrfHeOO.mQ/MrudbuTBHigQh6Pvr2sKr3LesBfa"], ["created_at", "2018-04-06 11:10:30.818010"], ["updated_at", "2018-04-06 11:10:30.818010"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "anneliese.hackett@fadel.com"], ["LIMIT", 1]] SQL (0.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", "Sang Jerde"], ["last_name", "Gilbert Hickle"], ["email", "anneliese.hackett@fadel.com"], ["password_digest", "$2a$04$rYRqnrMwIPnJbSBa1LGj/uPKQtkZoED/uSbPMKP3QElNhP4z67HRm"], ["created_at", "2018-04-06 11:10:30.823820"], ["updated_at", "2018-04-06 11:10:30.823820"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Margret Sauer"], ["LIMIT", 1]] SQL (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", "Margret Sauer"], ["authorized_by", "Dee Stiedemann"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 52], ["approved_by_id", 53], ["created_at", "2018-04-06 11:10:30.827889"], ["updated_at", "2018-04-06 11:10:30.827889"]]  (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", "otha@yundt.co.uk"], ["LIMIT", 1]] SQL (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", "Leslee Price"], ["last_name", "Anneliese Roob"], ["email", "otha@yundt.co.uk"], ["password_digest", "$2a$04$w3fPVXASqb9ulcenvsilSe0SlUTF7YIAZFRaA.CIquwIlN3yYWAIK"], ["created_at", "2018-04-06 11:10:30.834608"], ["updated_at", "2018-04-06 11:10:30.834608"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "torri.wyman@beahan.co.uk"], ["LIMIT", 1]] SQL (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", "Shasta Terry"], ["last_name", "Estell Pacocha"], ["email", "torri.wyman@beahan.co.uk"], ["password_digest", "$2a$04$PCzM7KYlyAK8ciw14.yD6.wxkSWcmF3ysoZJbNMsl/DN/fj/RfuPq"], ["created_at", "2018-04-06 11:10:30.841816"], ["updated_at", "2018-04-06 11:10:30.841816"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Margret Sauer"], ["LIMIT", 1]]  (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", "olive@mann.com"], ["LIMIT", 1]] SQL (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", "Lashon Hickle"], ["last_name", "Jackeline Ryan"], ["email", "olive@mann.com"], ["password_digest", "$2a$04$104h9jro.Hbkdh2NYRCa3ucp9x4efF1rW9cHUZ3Odu0l4qeZblDV."], ["created_at", "2018-04-06 11:10:30.854182"], ["updated_at", "2018-04-06 11:10:30.854182"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (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", "margart@schaeferturcotte.biz"], ["LIMIT", 1]] SQL (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", "Fredricka Fahey"], ["last_name", "Rosina Hagenes"], ["email", "margart@schaeferturcotte.biz"], ["password_digest", "$2a$04$geHYOjAgt9Sc1OtZUtenYO7V3LlgVErpOv2DYWu5kRP0rTqX.gKUa"], ["created_at", "2018-04-06 11:10:30.863427"], ["updated_at", "2018-04-06 11:10:30.863427"]]  (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", "Delicia Ferry"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "beaulah_goodwin@walsh.co.uk"], ["LIMIT", 1]] SQL (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", "Mariano Ortiz"], ["last_name", "Maye Dietrich"], ["email", "beaulah_goodwin@walsh.co.uk"], ["password_digest", "$2a$04$VYTAoGmalOQEgYVsiEAPru8fm0tJ5TMsQcGcwLax/SwGFkVCqL6ce"], ["created_at", "2018-04-06 11:10:30.877502"], ["updated_at", "2018-04-06 11:10:30.877502"]]  (0.7ms) 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", "vella_pfeffer@oconnell.biz"], ["LIMIT", 1]] SQL (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", "Margarite Strosin"], ["last_name", "April Medhurst"], ["email", "vella_pfeffer@oconnell.biz"], ["password_digest", "$2a$04$lHsRKisYN5UE7hHOiyU4COwfAkOnAUSjkHBspmM090iU9MYhXtO3i"], ["created_at", "2018-04-06 11:10:30.885760"], ["updated_at", "2018-04-06 11:10:30.885760"]]  (1.0ms) 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" = $1 LIMIT $2 [["reference_number", "Gemma Ratke"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "augustus@schmelerhane.co.uk"], ["LIMIT", 1]] SQL (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", "Charity Greenholt"], ["last_name", "Kacy Lind"], ["email", "augustus@schmelerhane.co.uk"], ["password_digest", "$2a$04$M72Pkas4Ks02fPl.65omn.WHwWFlIzWEDFqW34mftLg5zPNGm339S"], ["created_at", "2018-04-06 11:10:30.901121"], ["updated_at", "2018-04-06 11:10:30.901121"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (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", "jin_altenwerth@batz.ca"], ["LIMIT", 1]] SQL (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", "Verona Kihn"], ["last_name", "Georgiann Kuhn"], ["email", "jin_altenwerth@batz.ca"], ["password_digest", "$2a$04$qaiTR0m7.Pxku614WUIdiO.qVAddAxGv9osJhsLVpSH1NENllI7c6"], ["created_at", "2018-04-06 11:10:30.909256"], ["updated_at", "2018-04-06 11:10:30.909256"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Livia Connelly"], ["LIMIT", 1]]  (0.5ms) 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", "gilberte_osinski@moen.com"], ["LIMIT", 1]] SQL (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", "Alphonso Armstrong"], ["last_name", "Linwood Considine"], ["email", "gilberte_osinski@moen.com"], ["password_digest", "$2a$04$NSHMJOpMx0VXHL9Glk2iGekkTg4BpM63dpzcvK3dcof4F.UtygH66"], ["created_at", "2018-04-06 11:10:30.921439"], ["updated_at", "2018-04-06 11:10:30.921439"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "grazyna@shanahan.name"], ["LIMIT", 1]] SQL (0.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", "Avelina Pfeffer"], ["last_name", "Temple Hettinger"], ["email", "grazyna@shanahan.name"], ["password_digest", "$2a$04$cODiIjGmRZ6D.ZL0ZmyCcOWx2kc8fSVTFAXLkh5epiXBhdllym1TK"], ["created_at", "2018-04-06 11:10:30.927579"], ["updated_at", "2018-04-06 11:10:30.927579"]]  (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", "Maryalice Schinner"], ["LIMIT", 1]]  (1.1ms) 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", "kerri_ledner@lindgrenwalsh.biz"], ["LIMIT", 1]] SQL (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", "Cornell Streich"], ["last_name", "Christeen Ortiz"], ["email", "kerri_ledner@lindgrenwalsh.biz"], ["password_digest", "$2a$04$c1yhWcZknt.GRhkz2KbrTOS7oTb2nADkEcZbweFGMnRc2aa4LjUbu"], ["created_at", "2018-04-06 11:10:30.941880"], ["updated_at", "2018-04-06 11:10:30.941880"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Evonne Walsh"], ["LIMIT", 1]] SQL (0.8ms) 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", "Evonne Walsh"], ["authorized_by", "Frances Gerlach"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 64], ["created_at", "2018-04-06 11:10:30.947483"], ["updated_at", "2018-04-06 11:10:30.947483"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.6ms) 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", "Evonne Walsh"], ["id", 3], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) 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", "Ettie Swaniawski"], ["LIMIT", 1]] SQL (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", "Ettie Swaniawski"], ["name", "Robbin Kozey"], ["address", "Arlen Bogan"], ["created_at", "2018-04-06 11:10:30.957574"], ["updated_at", "2018-04-06 11:10:30.957574"]]  (0.7ms) 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", "Talia Roberts"], ["LIMIT", 1]] SQL (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", "Talia Roberts"], ["name", "Audry Langworth"], ["description", "Antonina Kirlin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 49], ["created_at", "2018-04-06 11:10:30.962565"], ["updated_at", "2018-04-06 11:10:30.962565"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.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", "Talia Roberts"], ["id", 41], ["LIMIT", 1]]  (0.6ms) 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", "Maxwell Rodriguez"], ["LIMIT", 1]] SQL (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", "Maxwell Rodriguez"], ["name", "Gerry Mosciski"], ["address", "Tisha Jaskolski"], ["created_at", "2018-04-06 11:10:30.972622"], ["updated_at", "2018-04-06 11:10:30.972622"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.8ms) BEGIN  (1.1ms) 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", "Daphine Denesik"], ["LIMIT", 1]] SQL (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", "Daphine Denesik"], ["name", "Scarlett Hane"], ["address", "Laveta Champlin"], ["created_at", "2018-04-06 11:10:30.988519"], ["updated_at", "2018-04-06 11:10:30.988519"]]  (0.8ms) RELEASE 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", "Jarvis Schmeler"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Colene Rosenbaum"], ["LIMIT", 1]] SQL (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", "Colene Rosenbaum"], ["name", "Ollie Schaefer"], ["address", "April Ullrich"], ["created_at", "2018-04-06 11:10:31.000770"], ["updated_at", "2018-04-06 11:10:31.000770"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Imelda Rempel"], ["LIMIT", 1]] SQL (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", "Imelda Rempel"], ["name", "Nelia Lowe"], ["description", "Jacquelin Mraz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 52], ["created_at", "2018-04-06 11:10:31.004935"], ["updated_at", "2018-04-06 11:10:31.004935"]]  (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", "Bud Conn"], ["LIMIT", 1]] SQL (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", "Bud Conn"], ["name", "Marie Kreiger"], ["address", "Everett Smitham"], ["created_at", "2018-04-06 11:10:31.009664"], ["updated_at", "2018-04-06 11:10:31.009664"]]  (0.5ms) 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", "Imelda Rempel"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "Dessie DuBuque"], ["LIMIT", 1]] SQL (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", "Dessie DuBuque"], ["name", "May Ritchie"], ["address", "Manuela O'Hara"], ["created_at", "2018-04-06 11:10:31.020688"], ["updated_at", "2018-04-06 11:10:31.020688"]]  (0.6ms) 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", "Dessie DuBuque"], ["id", 54], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.7ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) 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.6ms) BEGIN 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", "Lauretta Becker"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Lorriane Thompson"], ["LIMIT", 1]] SQL (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", "Lorriane Thompson"], ["name", "Maple Wilderman"], ["address", "Kenyetta Mayer"], ["created_at", "2018-04-06 11:10:31.040693"], ["updated_at", "2018-04-06 11:10:31.040693"]]  (0.4ms) RELEASE 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", "Lorriane Thompson"], ["LIMIT", 1]]  (0.6ms) 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", "Valeri Wunsch"], ["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", "Cyndy Hyatt"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Valeri Wunsch"], ["name", "Cyndy Hyatt"], ["description", "Quas minus id et rerum doloremque quis fugit. Ea quo rem eos ex iste asperiores corporis. Neque aut dolorum numquam est maiores. Dolorem tempora et vero nobis earum doloremque."], ["created_at", "2018-04-06 11:10:31.051920"], ["updated_at", "2018-04-06 11:10:31.051920"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Tonie Abernathy"], ["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", "Tanisha Kshlerin"], ["LIMIT", 1]] SQL (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", "Tonie Abernathy"], ["name", "Tanisha Kshlerin"], ["description", "Veritatis soluta temporibus laudantium earum. Incidunt aliquid assumenda omnis maiores aut accusantium. Vero et voluptatum qui mollitia iusto ut magnam. Quos est itaque rem dolorem harum placeat vitae dolores."], ["equipment_type_id", 7], ["created_at", "2018-04-06 11:10:31.059656"], ["updated_at", "2018-04-06 11:10:31.059656"]]  (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", "Neva Zemlak"], ["LIMIT", 1]] SQL (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", "Neva Zemlak"], ["name", "Rosalind Larson"], ["description", "Jenice Davis"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-04-06 11:10:31.064307"], ["updated_at", "2018-04-06 11:10:31.064307"]]  (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", "Tracee Mann"], ["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", "Maire Funk"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tracee Mann"], ["name", "Maire Funk"], ["description", "Chau Tromp"], ["created_at", "2018-04-06 11:10:31.070280"], ["updated_at", "2018-04-06 11:10:31.070280"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jeana Stracke"], ["LIMIT", 1]] SQL (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", "Jeana Stracke"], ["name", "Guillermo O'Conner"], ["location_type_id", 7], ["description", "Larissa Swift"], ["address", "Celestine Reilly"], ["created_at", "2018-04-06 11:10:31.077156"], ["updated_at", "2018-04-06 11:10:31.077156"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Edmundo Zemlak"], ["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", "Charlotte Kling"], ["LIMIT", 1]] SQL (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", "Edmundo Zemlak"], ["name", "Ellan Dach"], ["description", "Daniela Wyman"], ["serial_number", "Charlotte Kling"], ["brand", "Deetta Kozey"], ["item_model", "Bethel Lubowitz"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-04-06 11:10:31.086170"], ["updated_at", "2018-04-06 11:10:31.086170"]]  (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", "Augusta Lind"], ["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", "Maria Hills"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Augusta Lind"], ["name", "Maria Hills"], ["created_at", "2018-04-06 11:10:31.096316"], ["updated_at", "2018-04-06 11:10:31.096316"]]  (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", "Francina Zieme"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Francina Zieme"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.102549"], ["updated_at", "2018-04-06 11:10:31.102549"]]  (0.7ms) 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", "Maxine Champlin"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maxine Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.108582"], ["updated_at", "2018-04-06 11:10:31.108582"]]  (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", "Sharleen Ankunding"], ["LIMIT", 1]] SQL (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", "Sharleen Ankunding"], ["name", "Delorse Hahn"], ["address", "Sabina Steuber"], ["created_at", "2018-04-06 11:10:31.113844"], ["updated_at", "2018-04-06 11:10:31.113844"]]  (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", "Donnette Ernser"], ["service_delivery_unit_id", 56], ["LIMIT", 1]] SQL (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", "Donnette Ernser"], ["name", "Marvel Halvorson"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 56], ["created_at", "2018-04-06 11:10:31.118255"], ["updated_at", "2018-04-06 11:10:31.118255"]] 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", 56], ["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", "Donnette Ernser"], ["LIMIT", 1]] SQL (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", "Donnette Ernser"], ["name", "Marvel Halvorson"], ["description", "Default bundle for service 'Marvel Halvorson'"], ["service_delivery_unit_id", 56], ["created_at", "2018-04-06 11:10:31.123319"], ["updated_at", "2018-04-06 11:10:31.123319"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 43], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 21], ["equipment_item_id", 7], ["created_at", "2018-04-06 11:10:31.129389"], ["updated_at", "2018-04-06 11:10:31.129389"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) 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", "Matha Stroman"], ["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", "Rubye Klocko"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Matha Stroman"], ["name", "Rubye Klocko"], ["description", "Eum vel voluptatem saepe quam. Dolor in nihil corrupti quis quasi minima non dolorum. Accusantium earum quisquam ut vel."], ["created_at", "2018-04-06 11:10:31.138837"], ["updated_at", "2018-04-06 11:10:31.138837"]]  (0.4ms) 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", "Buffy Reichert"], ["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", "Cherlyn Leuschke"], ["LIMIT", 1]] SQL (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", "Buffy Reichert"], ["name", "Cherlyn Leuschke"], ["description", "Placeat id tempora fuga eaque. Perspiciatis ipsa ratione dolorem dolore. Alias porro dolor et veritatis. Fuga labore nemo recusandae asperiores harum. Et qui sapiente nihil libero enim dicta vel."], ["equipment_type_id", 8], ["created_at", "2018-04-06 11:10:31.143945"], ["updated_at", "2018-04-06 11:10:31.143945"]]  (0.4ms) 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", "Dierdre Cummings"], ["LIMIT", 1]] SQL (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", "Dierdre Cummings"], ["name", "Harmony Pouros"], ["description", "Marjorie Fadel"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-04-06 11:10:31.147994"], ["updated_at", "2018-04-06 11:10:31.147994"]]  (0.4ms) 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", "Venessa DuBuque"], ["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", "Lorita Schmidt"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Venessa DuBuque"], ["name", "Lorita Schmidt"], ["description", "Halley Kilback"], ["created_at", "2018-04-06 11:10:31.153692"], ["updated_at", "2018-04-06 11:10:31.153692"]]  (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", "Spring Grady"], ["LIMIT", 1]] SQL (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", "Spring Grady"], ["name", "Marcelino Robel"], ["location_type_id", 8], ["description", "Candi Rosenbaum"], ["address", "Damien Purdy"], ["created_at", "2018-04-06 11:10:31.157681"], ["updated_at", "2018-04-06 11:10:31.157681"]]  (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", "Aretha Bartoletti"], ["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", "Silas Ferry"], ["LIMIT", 1]] SQL (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", "Aretha Bartoletti"], ["name", "Merrill Keeling"], ["description", "Toya Roberts"], ["serial_number", "Silas Ferry"], ["brand", "Carylon Cormier"], ["item_model", "Adeline Goyette"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-04-06 11:10:31.162824"], ["updated_at", "2018-04-06 11:10:31.162824"]]  (0.5ms) 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", "Chrystal Leffler"], ["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", "Tyree Gislason"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chrystal Leffler"], ["name", "Tyree Gislason"], ["created_at", "2018-04-06 11:10:31.170700"], ["updated_at", "2018-04-06 11:10:31.170700"]]  (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", "Arica Kutch"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Arica Kutch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.177034"], ["updated_at", "2018-04-06 11:10:31.177034"]]  (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", "Jared Sawayn"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jared Sawayn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.182437"], ["updated_at", "2018-04-06 11:10:31.182437"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Jeremiah Bradtke"], ["LIMIT", 1]] SQL (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", "Jeremiah Bradtke"], ["name", "Steve Lesch"], ["address", "Shanae Abshire"], ["created_at", "2018-04-06 11:10:31.190334"], ["updated_at", "2018-04-06 11:10:31.190334"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Raymundo Wiegand"], ["service_delivery_unit_id", 57], ["LIMIT", 1]] SQL (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", "Raymundo Wiegand"], ["name", "Norman Murray"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 57], ["created_at", "2018-04-06 11:10:31.200587"], ["updated_at", "2018-04-06 11:10:31.200587"]] 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", 57], ["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", "Raymundo Wiegand"], ["LIMIT", 1]] SQL (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", "Raymundo Wiegand"], ["name", "Norman Murray"], ["description", "Default bundle for service 'Norman Murray'"], ["service_delivery_unit_id", 57], ["created_at", "2018-04-06 11:10:31.209872"], ["updated_at", "2018-04-06 11:10:31.209872"]] SQL (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", 22]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Nita Kirlin"], ["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", "Roselia Langworth"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nita Kirlin"], ["name", "Roselia Langworth"], ["description", "Esse voluptates saepe delectus nemo aut recusandae. Earum illum rerum aut ab magnam animi debitis quia. Ad ullam tempore in optio dolor accusamus ex ea. Quis voluptate debitis perferendis et repellendus exercitationem quia natus. At omnis animi nam omnis."], ["created_at", "2018-04-06 11:10:31.224490"], ["updated_at", "2018-04-06 11:10:31.224490"]]  (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", "Charles Hirthe"], ["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", "Tamara Wintheiser"], ["LIMIT", 1]] SQL (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", "Charles Hirthe"], ["name", "Tamara Wintheiser"], ["description", "Aut autem sint nemo deleniti tempore accusantium ut odio. Est et eum rem quam consequatur dolor enim. Blanditiis tempore consectetur fugit qui delectus. Minima culpa delectus aut magni. Ducimus aut voluptatem pariatur recusandae aut aut optio."], ["equipment_type_id", 9], ["created_at", "2018-04-06 11:10:31.229955"], ["updated_at", "2018-04-06 11:10:31.229955"]]  (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", "Debbie Rowe"], ["LIMIT", 1]] SQL (0.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", "Debbie Rowe"], ["name", "Kira Bergnaum"], ["description", "Vernell Kohler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-04-06 11:10:31.234221"], ["updated_at", "2018-04-06 11:10:31.234221"]]  (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", "Eladia Wiza"], ["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", "Jacinto Thompson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eladia Wiza"], ["name", "Jacinto Thompson"], ["description", "Shonta Abbott"], ["created_at", "2018-04-06 11:10:31.240661"], ["updated_at", "2018-04-06 11:10:31.240661"]]  (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", "Nu Kirlin"], ["LIMIT", 1]] SQL (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", "Nu Kirlin"], ["name", "Kendra Dibbert"], ["location_type_id", 9], ["description", "Georgette Grady"], ["address", "Dale Mohr"], ["created_at", "2018-04-06 11:10:31.244967"], ["updated_at", "2018-04-06 11:10:31.244967"]]  (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", "Ona Gerhold"], ["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", "Dahlia Weimann"], ["LIMIT", 1]] SQL (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", "Ona Gerhold"], ["name", "Vesta Rowe"], ["description", "Xiomara Dare"], ["serial_number", "Dahlia Weimann"], ["brand", "Janessa Purdy"], ["item_model", "Malinda Bogisich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-04-06 11:10:31.250142"], ["updated_at", "2018-04-06 11:10:31.250142"]]  (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", "Gigi Strosin"], ["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", "Julee Kulas"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gigi Strosin"], ["name", "Julee Kulas"], ["created_at", "2018-04-06 11:10:31.257816"], ["updated_at", "2018-04-06 11:10:31.257816"]]  (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", "Carisa Terry"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carisa Terry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.264712"], ["updated_at", "2018-04-06 11:10:31.264712"]]  (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", "Julio Kemmer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julio Kemmer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.270093"], ["updated_at", "2018-04-06 11:10:31.270093"]]  (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", "Barrett Kuphal"], ["LIMIT", 1]] SQL (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", "Barrett Kuphal"], ["name", "Timothy Stiedemann"], ["address", "Velda Glover"], ["created_at", "2018-04-06 11:10:31.274734"], ["updated_at", "2018-04-06 11:10:31.274734"]]  (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", "Cecille Marquardt"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] SQL (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", "Cecille Marquardt"], ["name", "Jillian Beier"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 58], ["created_at", "2018-04-06 11:10:31.279071"], ["updated_at", "2018-04-06 11:10:31.279071"]] 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", 58], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cecille Marquardt"], ["LIMIT", 1]] SQL (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", "Cecille Marquardt"], ["name", "Jillian Beier"], ["description", "Default bundle for service 'Jillian Beier'"], ["service_delivery_unit_id", 58], ["created_at", "2018-04-06 11:10:31.283576"], ["updated_at", "2018-04-06 11:10:31.283576"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 45], ["chargeable_service_id", 23]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "Clayton Schimmel"], ["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", "Azalee Lockman"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Clayton Schimmel"], ["name", "Azalee Lockman"], ["description", "Sapiente voluptas nam aut aut ut consequatur blanditiis. Et dolor vel rerum provident et sunt qui. Libero molestiae alias ut reprehenderit sunt. Placeat voluptatibus fuga delectus amet rerum."], ["created_at", "2018-04-06 11:10:31.307549"], ["updated_at", "2018-04-06 11:10:31.307549"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Carmelina Macejkovic"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Gena Willms"], ["LIMIT", 1]] SQL (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", "Carmelina Macejkovic"], ["name", "Gena Willms"], ["description", "Aut aliquam deleniti ut pariatur omnis est. Quia molestias qui illum reprehenderit sit. Maiores et natus quod dignissimos sed est temporibus voluptate. Eveniet praesentium ullam odio corrupti."], ["equipment_type_id", 10], ["created_at", "2018-04-06 11:10:31.312451"], ["updated_at", "2018-04-06 11:10:31.312451"]]  (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", "Sigrid Brakus"], ["LIMIT", 1]] SQL (0.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", "Sigrid Brakus"], ["name", "Kandra Brown"], ["description", "Jovan Bartoletti"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-04-06 11:10:31.316670"], ["updated_at", "2018-04-06 11:10:31.316670"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Merrill Gaylord"], ["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", "Eileen Kunze"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Merrill Gaylord"], ["name", "Eileen Kunze"], ["description", "Blaine Carter"], ["created_at", "2018-04-06 11:10:31.322271"], ["updated_at", "2018-04-06 11:10:31.322271"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Isidro Streich"], ["LIMIT", 1]] SQL (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", "Isidro Streich"], ["name", "Shelba Marvin"], ["location_type_id", 10], ["description", "Ellan Dicki"], ["address", "Cristie Cummerata"], ["created_at", "2018-04-06 11:10:31.327014"], ["updated_at", "2018-04-06 11:10:31.327014"]]  (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", "Christiane Ondricka"], ["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", "Phebe Kovacek"], ["LIMIT", 1]] SQL (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", "Christiane Ondricka"], ["name", "Eliana O'Hara"], ["description", "Shemeka Abbott"], ["serial_number", "Phebe Kovacek"], ["brand", "Rosanne Hyatt"], ["item_model", "Trudie Prohaska"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-04-06 11:10:31.332213"], ["updated_at", "2018-04-06 11:10:31.332213"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) 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", "Pam Koch"], ["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", "Nancey Ziemann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Pam Koch"], ["name", "Nancey Ziemann"], ["created_at", "2018-04-06 11:10:31.345770"], ["updated_at", "2018-04-06 11:10:31.345770"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) 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", "Pam Koch"], ["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) 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", "Nancey Ziemann"], ["id", 37], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceType Exists (0.6ms) 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.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Maura Dietrich"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Neil Homenick"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Nakita Casper"], ["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", "Agustina Herman"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nakita Casper"], ["name", "Agustina Herman"], ["created_at", "2018-04-06 11:10:31.365236"], ["updated_at", "2018-04-06 11:10:31.365236"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Nakita Casper"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ben Durgan"], ["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", "Chante Adams"], ["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", "Keneth Green"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chante Adams"], ["name", "Keneth Green"], ["created_at", "2018-04-06 11:10:31.376384"], ["updated_at", "2018-04-06 11:10:31.376384"]]  (0.5ms) RELEASE 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", "Lessie Borer"], ["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", "Keneth Green"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN 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", "Nita Homenick"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.0ms) BEGIN 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", "Janel Collins"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.0ms) BEGIN  (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", "Gabriel Kiehn"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gabriel Kiehn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.412420"], ["updated_at", "2018-04-06 11:10:31.412420"]]  (0.4ms) RELEASE 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", "Gabriel Kiehn"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "Manuel McClure"], ["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", "Patricia Witting"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Manuel McClure"], ["name", "Patricia Witting"], ["created_at", "2018-04-06 11:10:31.425630"], ["updated_at", "2018-04-06 11:10:31.425630"]]  (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", "Marybelle Lehner"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marybelle Lehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.432722"], ["updated_at", "2018-04-06 11:10:31.432722"]]  (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", "Mikaela Shanahan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mikaela Shanahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.437911"], ["updated_at", "2018-04-06 11:10:31.437911"]]  (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", "Rosella Luettgen"], ["LIMIT", 1]] SQL (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", "Rosella Luettgen"], ["name", "Beatrice Cruickshank"], ["address", "Shonta Connelly"], ["created_at", "2018-04-06 11:10:31.443021"], ["updated_at", "2018-04-06 11:10:31.443021"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Jada Gorczany"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] SQL (0.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", "Jada Gorczany"], ["name", "Allie Bruen"], ["service_type_id", 40], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 59], ["created_at", "2018-04-06 11:10:31.447330"], ["updated_at", "2018-04-06 11:10:31.447330"]] 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", 59], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jada Gorczany"], ["LIMIT", 1]] SQL (0.7ms) 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", "Jada Gorczany"], ["name", "Allie Bruen"], ["description", "Default bundle for service 'Allie Bruen'"], ["service_delivery_unit_id", 59], ["created_at", "2018-04-06 11:10:31.451825"], ["updated_at", "2018-04-06 11:10:31.451825"]] SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 46], ["chargeable_service_id", 24]]  (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", "Phyliss Terry"], ["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", "Faith Kozey"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Phyliss Terry"], ["name", "Faith Kozey"], ["created_at", "2018-04-06 11:10:31.465285"], ["updated_at", "2018-04-06 11:10:31.465285"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Demarcus Thiel"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Demarcus Thiel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.469307"], ["updated_at", "2018-04-06 11:10:31.469307"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Keitha Lynch"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Keitha Lynch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.474833"], ["updated_at", "2018-04-06 11:10:31.474833"]]  (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", "Harold Mayert"], ["LIMIT", 1]] SQL (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", "Harold Mayert"], ["name", "Valene Littel"], ["address", "Jonas Mohr"], ["created_at", "2018-04-06 11:10:31.480556"], ["updated_at", "2018-04-06 11:10:31.480556"]]  (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", "Gerry Green"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] SQL (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", "Gerry Green"], ["name", "Noreen Lind"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 60], ["created_at", "2018-04-06 11:10:31.485487"], ["updated_at", "2018-04-06 11:10:31.485487"]] 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", 60], ["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", "Gerry Green"], ["LIMIT", 1]] SQL (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", "Gerry Green"], ["name", "Noreen Lind"], ["description", "Default bundle for service 'Noreen Lind'"], ["service_delivery_unit_id", 60], ["created_at", "2018-04-06 11:10:31.490363"], ["updated_at", "2018-04-06 11:10:31.490363"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 47], ["chargeable_service_id", 25]]  (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", "Katharina Christiansen"], ["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", "Wava Shields"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Katharina Christiansen"], ["name", "Wava Shields"], ["created_at", "2018-04-06 11:10:31.504788"], ["updated_at", "2018-04-06 11:10:31.504788"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Sherice Crooks"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sherice Crooks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.514901"], ["updated_at", "2018-04-06 11:10:31.514901"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Ginette Larson"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ginette Larson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.519156"], ["updated_at", "2018-04-06 11:10:31.519156"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Edward Gutkowski"], ["LIMIT", 1]] SQL (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", "Edward Gutkowski"], ["name", "Latonya Okuneva"], ["address", "Arnulfo Lakin"], ["created_at", "2018-04-06 11:10:31.523320"], ["updated_at", "2018-04-06 11:10:31.523320"]]  (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", "Sung Lockman"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] SQL (0.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", "Sung Lockman"], ["name", "Tamiko Konopelski"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 61], ["created_at", "2018-04-06 11:10:31.527774"], ["updated_at", "2018-04-06 11:10:31.527774"]] 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", 61], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sung Lockman"], ["LIMIT", 1]] SQL (0.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", "Sung Lockman"], ["name", "Tamiko Konopelski"], ["description", "Default bundle for service 'Tamiko Konopelski'"], ["service_delivery_unit_id", 61], ["created_at", "2018-04-06 11:10:31.532234"], ["updated_at", "2018-04-06 11:10:31.532234"]] SQL (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 48], ["chargeable_service_id", 26]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.5ms) 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", 24], ["LIMIT", 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", 25], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] SQL (0.7ms) 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", 24], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-04-06 11:10:31.542660"], ["updated_at", "2018-04-06 11:10:31.542660"]] 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]] SQL (0.7ms) 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", 25], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-04-06 11:10:31.546114"], ["updated_at", "2018-04-06 11:10:31.546114"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Apryl Kirlin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Antone Lockman"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Apryl Kirlin"], ["name", "Antone Lockman"], ["created_at", "2018-04-06 11:10:31.555453"], ["updated_at", "2018-04-06 11:10:31.555453"]]  (0.7ms) 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", "Curtis Sipes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Curtis Sipes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.561151"], ["updated_at", "2018-04-06 11:10:31.561151"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Mammie Wilderman"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mammie Wilderman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 11:10:31.565399"], ["updated_at", "2018-04-06 11:10:31.565399"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jackelyn Torphy"], ["LIMIT", 1]] SQL (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", "Jackelyn Torphy"], ["name", "Zada Bechtelar"], ["address", "Marcie Considine"], ["created_at", "2018-04-06 11:10:31.569481"], ["updated_at", "2018-04-06 11:10:31.569481"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Kurtis Maggio"], ["service_delivery_unit_id", 62], ["LIMIT", 1]] SQL (0.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", "Kurtis Maggio"], ["name", "Vida Turner"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 62], ["created_at", "2018-04-06 11:10:31.573530"], ["updated_at", "2018-04-06 11:10:31.573530"]] 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", 62], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kurtis Maggio"], ["LIMIT", 1]] SQL (0.7ms) 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", "Kurtis Maggio"], ["name", "Vida Turner"], ["description", "Default bundle for service 'Vida Turner'"], ["service_delivery_unit_id", 62], ["created_at", "2018-04-06 11:10:31.578096"], ["updated_at", "2018-04-06 11:10:31.578096"]] SQL (0.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 49], ["chargeable_service_id", 27]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 27], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-04-06 11:10:31.583678"], ["updated_at", "2018-04-06 11:10:31.583678"]]  (0.6ms) 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", 27], ["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", 27], ["LIMIT", 1]] SQL (1.1ms) 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-04-06 11:10:31.591484"], ["id", 10]]  (0.6ms) 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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.6ms) 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", "kurt.orn@hauck.ca"], ["LIMIT", 1]] SQL (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", "Galina Nitzsche"], ["last_name", "Yoshiko Parker"], ["email", "kurt.orn@hauck.ca"], ["password_digest", "$2a$04$gMI.oHa73X.VKyeBskFR4OeA9xuEuXcpUlh3yD8j0DKSEm8G0HHDO"], ["created_at", "2018-04-06 11:10:31.605836"], ["updated_at", "2018-04-06 11:10:31.605836"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "jim.bechtelar@harveymccullough.com"], ["LIMIT", 1]] SQL (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", "Jackie Grimes"], ["last_name", "Era Ankunding"], ["email", "jim.bechtelar@harveymccullough.com"], ["password_digest", "$2a$04$JArwHoRF4olFRhevKU1lQuCuwdQOd9lk1dn03icxHxyz90wvcVMyy"], ["created_at", "2018-04-06 11:10:31.616808"], ["updated_at", "2018-04-06 11:10:31.616808"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "sheilah@zboncak.name"], ["LIMIT", 1]] SQL (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", "Paz O'Connell"], ["last_name", "Sina Heller"], ["email", "sheilah@zboncak.name"], ["password_digest", "$2a$04$4lXmBe/Nhhna.uN5WqNML.D3YEyRMW1q7K86EAnqJN4QOW8JPamai"], ["created_at", "2018-04-06 11:10:31.622604"], ["updated_at", "2018-04-06 11:10:31.622604"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Cecille Wuckert"], ["LIMIT", 1]] SQL (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", "Cecille Wuckert"], ["authorized_by", "Mavis Spinka"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["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-04-06 11:10:31.627854"], ["updated_at", "2018-04-06 11:10:31.627854"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Cecille Wuckert"], ["id", 4], ["LIMIT", 1]] SQL (1.4ms) 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", 65], ["updated_at", "2018-04-06 11:10:31.644352"], ["id", 4]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Load (0.5ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 4], ["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", 65], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (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", "wally.powlowski@dooley.us"], ["LIMIT", 1]] SQL (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", "Georgia Schuppe"], ["last_name", "Enda Legros"], ["email", "wally.powlowski@dooley.us"], ["password_digest", "$2a$04$tYNvSegAxKADJpB2OSlEL.y7UVUdThwZD9cldxOZQmvqkMkRbke/a"], ["created_at", "2018-04-06 13:48:08.398988"], ["updated_at", "2018-04-06 13:48:08.398988"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Darryl Schmidt"], ["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", "Lorie Murazik"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Darryl Schmidt"], ["name", "Lorie Murazik"], ["created_at", "2018-04-06 13:48:08.468193"], ["updated_at", "2018-04-06 13:48:08.468193"]]  (0.5ms) 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", "Monroe Bins"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Monroe Bins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.494333"], ["updated_at", "2018-04-06 13:48:08.494333"]]  (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", "Rosio Willms"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rosio Willms"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.501328"], ["updated_at", "2018-04-06 13:48:08.501328"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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 LIMIT $2 [["code", "Jefferey Morar"], ["LIMIT", 1]] SQL (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", "Jefferey Morar"], ["name", "Pearl Smith"], ["address", "Adeline Bode"], ["created_at", "2018-04-06 13:48:08.528411"], ["updated_at", "2018-04-06 13:48:08.528411"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Nathanial Considine"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (3.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", "Nathanial Considine"], ["name", "Toya Blick"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 13:48:08.538218"], ["updated_at", "2018-04-06 13:48:08.538218"]] 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", 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", "Nathanial Considine"], ["LIMIT", 1]] SQL (1.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", "Nathanial Considine"], ["name", "Toya Blick"], ["description", "Default bundle for service 'Toya Blick'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 13:48:08.582560"], ["updated_at", "2018-04-06 13:48:08.582560"]] SQL (1.9ms) 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]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) 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", "Janelle Goodwin"], ["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", "Sherika Greenfelder"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Janelle Goodwin"], ["name", "Sherika Greenfelder"], ["created_at", "2018-04-06 13:48:08.625349"], ["updated_at", "2018-04-06 13:48:08.625349"]]  (0.7ms) 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", "Fletcher Stamm"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Fletcher Stamm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.632892"], ["updated_at", "2018-04-06 13:48:08.632892"]]  (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", "Octavio Bergstrom"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Octavio Bergstrom"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.640318"], ["updated_at", "2018-04-06 13:48:08.640318"]]  (1.4ms) 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", "Leeann Stiedemann"], ["LIMIT", 1]] SQL (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", "Leeann Stiedemann"], ["name", "Shan Hoeger"], ["address", "Shaun Kassulke"], ["created_at", "2018-04-06 13:48:08.648921"], ["updated_at", "2018-04-06 13:48:08.648921"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Kirby Schuster"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Kirby Schuster"], ["name", "Jon Heathcote"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 13:48:08.656687"], ["updated_at", "2018-04-06 13:48:08.656687"]] 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", 2], ["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", "Kirby Schuster"], ["LIMIT", 1]] SQL (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", "Kirby Schuster"], ["name", "Jon Heathcote"], ["description", "Default bundle for service 'Jon Heathcote'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 13:48:08.664739"], ["updated_at", "2018-04-06 13:48:08.664739"]] SQL (1.2ms) 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.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Inez Jacobi"], ["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", "Kitty Kilback"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Inez Jacobi"], ["name", "Kitty Kilback"], ["created_at", "2018-04-06 13:48:08.676953"], ["updated_at", "2018-04-06 13:48:08.676953"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Nancey Prosacco"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nancey Prosacco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.683059"], ["updated_at", "2018-04-06 13:48:08.683059"]]  (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", "Sterling Rogahn"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sterling Rogahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.688681"], ["updated_at", "2018-04-06 13:48:08.688681"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Anderson Johns"], ["LIMIT", 1]] SQL (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", "Anderson Johns"], ["name", "Un Cummings"], ["address", "Cathie Haley"], ["created_at", "2018-04-06 13:48:08.695465"], ["updated_at", "2018-04-06 13:48:08.695465"]]  (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", "Marhta Mitchell"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Marhta Mitchell"], ["name", "Joycelyn Prosacco"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 13:48:08.700510"], ["updated_at", "2018-04-06 13:48:08.700510"]] 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", 3], ["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", "Marhta Mitchell"], ["LIMIT", 1]] SQL (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", "Marhta Mitchell"], ["name", "Joycelyn Prosacco"], ["description", "Default bundle for service 'Joycelyn Prosacco'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 13:48:08.707751"], ["updated_at", "2018-04-06 13:48:08.707751"]] SQL (1.4ms) 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.6ms) 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 (1.5ms) 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.3ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC Mks::Rate::ServiceDeliveryUnit Load (2.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN (2, 3, 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", 3], ["LIMIT", 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", 4], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.1ms) 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", 5], ["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", 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 (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", 1], ["LIMIT", 1]] [active_model_serializers] 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", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.0ms) 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 (24.07ms) Completed 200 OK in 73ms (Views: 55.0ms | ActiveRecord: 14.9ms)  (1.5ms) 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", "royal_littel@reichert.ca"], ["LIMIT", 1]] SQL (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", "Nilda Purdy"], ["last_name", "Rosamaria Harvey"], ["email", "royal_littel@reichert.ca"], ["password_digest", "$2a$04$S8jXXF1m5Pkzie8OLyADFOrUcKUCo0RIIXQxEPwSWBFv84s1nVrEi"], ["created_at", "2018-04-06 13:48:08.806515"], ["updated_at", "2018-04-06 13:48:08.806515"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.8ms) 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", "Elwood Ward"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elwood Ward"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.819926"], ["updated_at", "2018-04-06 13:48:08.819926"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Dewitt Weber"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dewitt Weber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.829087"], ["updated_at", "2018-04-06 13:48:08.829087"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Catrice Brown"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Catrice Brown"], ["name", "Octavio Witting"], ["address", "Dayna Hodkiewicz"], ["created_at", "2018-04-06 13:48:08.839403"], ["updated_at", "2018-04-06 13:48:08.839403"]]  (1.1ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["code", "Kelvin Lindgren"], ["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", "Mark White"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kelvin Lindgren"], ["name", "Mark White"], ["created_at", "2018-04-06 13:48:08.852566"], ["updated_at", "2018-04-06 13:48:08.852566"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Ambrose Herzog", "name"=>"Victor O'Keefe", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]  (1.0ms) 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", "Ambrose Herzog"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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.9ms) 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]] SQL (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", "Ambrose Herzog"], ["name", "Victor O'Keefe"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 13:48:08.886659"], ["updated_at", "2018-04-06 13:48:08.886659"]] 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", 4], ["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", "Ambrose Herzog"], ["LIMIT", 1]] SQL (1.4ms) 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", "Ambrose Herzog"], ["name", "Victor O'Keefe"], ["description", "Default bundle for service 'Victor O'Keefe'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 13:48:08.899783"], ["updated_at", "2018-04-06 13:48:08.899783"]] SQL (1.0ms) 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.8ms) 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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.78ms) Completed 200 OK in 52ms (Views: 14.4ms | ActiveRecord: 14.6ms)  (1.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.1ms) ROLLBACK  (0.8ms) 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", "apolonia@ankunding.name"], ["LIMIT", 1]] SQL (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", "Nickie Lowe"], ["last_name", "Glenda Moore"], ["email", "apolonia@ankunding.name"], ["password_digest", "$2a$04$0QfOIyBXZr1RjkVuWV9/TOqzRmRr8NBXCHxVzJ.ZBnrX5YN1saBi."], ["created_at", "2018-04-06 13:48:08.939663"], ["updated_at", "2018-04-06 13:48:08.939663"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Del Gleason"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Del Gleason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.949106"], ["updated_at", "2018-04-06 13:48:08.949106"]]  (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", "Sierra Trantow"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sierra Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:08.956653"], ["updated_at", "2018-04-06 13:48:08.956653"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Sherril Ankunding"], ["LIMIT", 1]] SQL (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", "Sherril Ankunding"], ["name", "Jeanetta Watsica"], ["address", "Noble Von"], ["created_at", "2018-04-06 13:48:08.966287"], ["updated_at", "2018-04-06 13:48:08.966287"]]  (1.0ms) 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", "Otha Klein"], ["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", "Ira Lueilwitz"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Otha Klein"], ["name", "Ira Lueilwitz"], ["created_at", "2018-04-06 13:48:08.976766"], ["updated_at", "2018-04-06 13:48:08.976766"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Kristine Schaden", "name"=>"Graciela Fay", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.5ms) 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", "Kristine Schaden"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.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 (1.4ms) 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 (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", 5], ["LIMIT", 1]] SQL (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", "Kristine Schaden"], ["name", "Graciela Fay"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 13:48:08.997885"], ["updated_at", "2018-04-06 13:48:08.997885"]] 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", "Kristine Schaden"], ["LIMIT", 1]] SQL (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", "Kristine Schaden"], ["name", "Graciela Fay"], ["description", "Default bundle for service 'Graciela Fay'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 13:48:09.004798"], ["updated_at", "2018-04-06 13:48:09.004798"]] SQL (1.8ms) 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.7ms) 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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.4ms) Completed 200 OK in 33ms (Views: 1.8ms | ActiveRecord: 14.7ms)  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (1.1ms) 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", "tomas@kreigerbergnaum.name"], ["LIMIT", 1]] SQL (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", "Jenee Reichert"], ["last_name", "Susy Donnelly"], ["email", "tomas@kreigerbergnaum.name"], ["password_digest", "$2a$04$xFW9W24krzf3101KAkxH4.4Osv.1K2j.15cTX/2hYLQy9aor4d9rC"], ["created_at", "2018-04-06 13:48:09.027137"], ["updated_at", "2018-04-06 13:48:09.027137"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Kristie Kunze"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kristie Kunze"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.036708"], ["updated_at", "2018-04-06 13:48:09.036708"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Wilhemina Waters"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wilhemina Waters"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.045597"], ["updated_at", "2018-04-06 13:48:09.045597"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Kendrick Rohan"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kendrick Rohan"], ["name", "Merrill Stoltenberg"], ["address", "Eldon Morar"], ["created_at", "2018-04-06 13:48:09.055539"], ["updated_at", "2018-04-06 13:48:09.055539"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sharita Yundt"], ["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", "Loretta Maggio"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sharita Yundt"], ["name", "Loretta Maggio"], ["created_at", "2018-04-06 13:48:09.067052"], ["updated_at", "2018-04-06 13:48:09.067052"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Virgil Lubowitz", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.3ms) 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.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", ""], ["service_delivery_unit_id", 6], ["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", 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 (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", 6], ["LIMIT", 1]]  (1.4ms) ROLLBACK TO 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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.16ms) Completed 422 Unprocessable Entity in 29ms (Views: 5.6ms | ActiveRecord: 8.9ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "carol.bogan@lowezemlak.com"], ["LIMIT", 1]] SQL (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", "Tonya Dooley"], ["last_name", "Latesha Wuckert"], ["email", "carol.bogan@lowezemlak.com"], ["password_digest", "$2a$04$1vIuWXUmmGQe2GnoSj243eQZ4wEFowkre8YGkqsrlhLFC90FgRh/W"], ["created_at", "2018-04-06 13:48:09.113042"], ["updated_at", "2018-04-06 13:48:09.113042"]]  (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", "Otilia 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", "Zachariah Altenwerth"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Otilia Herzog"], ["name", "Zachariah Altenwerth"], ["created_at", "2018-04-06 13:48:09.121200"], ["updated_at", "2018-04-06 13:48:09.121200"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Hyman Will"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hyman Will"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.129635"], ["updated_at", "2018-04-06 13:48:09.129635"]]  (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", "Nelia Hahn"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nelia Hahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.137960"], ["updated_at", "2018-04-06 13:48:09.137960"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Demetrius Hessel"], ["LIMIT", 1]] SQL (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", "Demetrius Hessel"], ["name", "Lupe Hackett"], ["address", "Melynda Hodkiewicz"], ["created_at", "2018-04-06 13:48:09.151026"], ["updated_at", "2018-04-06 13:48:09.151026"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Kandace Pfannerstill"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (2.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", "Kandace Pfannerstill"], ["name", "Lacy Mosciski"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 13:48:09.162064"], ["updated_at", "2018-04-06 13:48:09.162064"]] 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", 7], ["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", "Kandace Pfannerstill"], ["LIMIT", 1]] SQL (1.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", "Kandace Pfannerstill"], ["name", "Lacy Mosciski"], ["description", "Default bundle for service 'Lacy Mosciski'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 13:48:09.173660"], ["updated_at", "2018-04-06 13:48:09.173660"]] SQL (1.4ms) 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.6ms) 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.9ms) 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.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.7ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Kandace Pfannerstill"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 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 (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", 7], ["LIMIT", 1]] SQL (1.4ms) 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-04-06 13:48:09.198922"], ["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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kandace Pfannerstill"], ["LIMIT", 1]]  (1.0ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.44ms) Completed 200 OK in 30ms (Views: 1.8ms | ActiveRecord: 11.7ms) Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "lyndsay.legros@kundelueilwitz.biz"], ["LIMIT", 1]] SQL (2.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", "Lorrie Paucek"], ["last_name", "Margarett Lueilwitz"], ["email", "lyndsay.legros@kundelueilwitz.biz"], ["password_digest", "$2a$04$LSaHS3TFmsUDOtu4tsrtsuCxOmQsF6asG8qPcf7APVVuNemE.i2t6"], ["created_at", "2018-04-06 13:48:09.224327"], ["updated_at", "2018-04-06 13:48:09.224327"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Deandrea Auer"], ["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", "Thuy White"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deandrea Auer"], ["name", "Thuy White"], ["created_at", "2018-04-06 13:48:09.236823"], ["updated_at", "2018-04-06 13:48:09.236823"]]  (1.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gaye Leannon"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gaye Leannon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.247066"], ["updated_at", "2018-04-06 13:48:09.247066"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Vinnie Mertz"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vinnie Mertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.257566"], ["updated_at", "2018-04-06 13:48:09.257566"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Delphine Larson"], ["LIMIT", 1]] SQL (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", "Delphine Larson"], ["name", "Luise Koss"], ["address", "Danika Luettgen"], ["created_at", "2018-04-06 13:48:09.266688"], ["updated_at", "2018-04-06 13:48:09.266688"]]  (0.5ms) 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", "Cheyenne Frami"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Cheyenne Frami"], ["name", "Elba Streich"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 13:48:09.274599"], ["updated_at", "2018-04-06 13:48:09.274599"]] 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", 8], ["LIMIT", 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", "Cheyenne Frami"], ["LIMIT", 1]] SQL (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", "Cheyenne Frami"], ["name", "Elba Streich"], ["description", "Default bundle for service 'Elba Streich'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 13:48:09.285993"], ["updated_at", "2018-04-06 13:48:09.285993"]] SQL (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.9ms) 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.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", "Cheyenne Frami"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.0ms) 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 (1.5ms) 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 (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", 8], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO 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", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 17ms (Views: 1.6ms | ActiveRecord: 8.4ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "sylvie@ebertwisozk.us"], ["LIMIT", 1]] SQL (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", "Jamika Lowe"], ["last_name", "Eula Leannon"], ["email", "sylvie@ebertwisozk.us"], ["password_digest", "$2a$04$9YO/yLtbdZauMyvKCPMtH.UtzeJOsMQNwcAI12VzE3GIBOaiaD9u6"], ["created_at", "2018-04-06 13:48:09.322587"], ["updated_at", "2018-04-06 13:48:09.322587"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Neoma Krajcik"], ["LIMIT", 1]] SQL (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", "Neoma Krajcik"], ["name", "Guadalupe Bode"], ["address", "Tonja Muller"], ["created_at", "2018-04-06 13:48:09.330565"], ["updated_at", "2018-04-06 13:48:09.330565"]]  (1.6ms) 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", "Zora Donnelly"], ["LIMIT", 1]] SQL (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", "Zora Donnelly"], ["name", "Alica Steuber"], ["address", "Merideth Hoppe"], ["created_at", "2018-04-06 13:48:09.338294"], ["updated_at", "2018-04-06 13:48:09.338294"]]  (0.8ms) 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", "Donnetta Armstrong"], ["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", "Jerlene Friesen"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Donnetta Armstrong"], ["name", "Jerlene Friesen"], ["created_at", "2018-04-06 13:48:09.354198"], ["updated_at", "2018-04-06 13:48:09.354198"]]  (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", "Dessie Brakus"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dessie Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.362663"], ["updated_at", "2018-04-06 13:48:09.362663"]]  (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", "Mario Berge"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mario Berge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.370866"], ["updated_at", "2018-04-06 13:48:09.370866"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Monroe Kertzmann"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["LIMIT", 1]] SQL (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", "Monroe Kertzmann"], ["name", "Melaine Jenkins"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 13:48:09.384303"], ["updated_at", "2018-04-06 13:48:09.384303"]] 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", 9], ["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", "Monroe Kertzmann"], ["LIMIT", 1]] SQL (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", "Monroe Kertzmann"], ["name", "Melaine Jenkins"], ["description", "Default bundle for service 'Melaine Jenkins'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 13:48:09.392356"], ["updated_at", "2018-04-06 13:48:09.392356"]] SQL (1.1ms) 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.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Carletta Hagenes"], ["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", "Veronika Leannon"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Carletta Hagenes"], ["name", "Veronika Leannon"], ["created_at", "2018-04-06 13:48:09.404746"], ["updated_at", "2018-04-06 13:48:09.404746"]]  (1.0ms) 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", "Bibi Dooley"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bibi Dooley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.412803"], ["updated_at", "2018-04-06 13:48:09.412803"]]  (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", "Delores Eichmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delores Eichmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.418405"], ["updated_at", "2018-04-06 13:48:09.418405"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Young Mraz"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["LIMIT", 1]] SQL (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", "Young Mraz"], ["name", "Lawrence Eichmann"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 13:48:09.432155"], ["updated_at", "2018-04-06 13:48:09.432155"]] 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", 9], ["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", "Young Mraz"], ["LIMIT", 1]] SQL (2.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", "Young Mraz"], ["name", "Lawrence Eichmann"], ["description", "Default bundle for service 'Lawrence Eichmann'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 13:48:09.441887"], ["updated_at", "2018-04-06 13:48:09.441887"]] SQL (1.2ms) 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]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Numbers Bartoletti"], ["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", "Refugio Thiel"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Numbers Bartoletti"], ["name", "Refugio Thiel"], ["created_at", "2018-04-06 13:48:09.464134"], ["updated_at", "2018-04-06 13:48:09.464134"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Carita Howell"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carita Howell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.470058"], ["updated_at", "2018-04-06 13:48:09.470058"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Talisha Skiles"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Talisha Skiles"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.476187"], ["updated_at", "2018-04-06 13:48:09.476187"]]  (1.2ms) 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", "Keva Greenfelder"], ["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]] SQL (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", "Keva Greenfelder"], ["name", "Carolee Schumm"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 13:48:09.484571"], ["updated_at", "2018-04-06 13:48:09.484571"]] 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.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Keva Greenfelder"], ["LIMIT", 1]] SQL (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", "Keva Greenfelder"], ["name", "Carolee Schumm"], ["description", "Default bundle for service 'Carolee Schumm'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 13:48:09.491973"], ["updated_at", "2018-04-06 13:48:09.491973"]] SQL (1.0ms) 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.7ms) RELEASE SAVEPOINT active_record_1  (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", "Beatris Langosh"], ["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", "Kacy Ledner"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Beatris Langosh"], ["name", "Kacy Ledner"], ["created_at", "2018-04-06 13:48:09.503278"], ["updated_at", "2018-04-06 13:48:09.503278"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Gregoria Oberbrunner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gregoria Oberbrunner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.509326"], ["updated_at", "2018-04-06 13:48:09.509326"]]  (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", "Margrett Kulas"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Margrett Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:09.515516"], ["updated_at", "2018-04-06 13:48:09.515516"]]  (0.7ms) 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", "Willian Blick"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] 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", 10], ["LIMIT", 1]] SQL (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", "Willian Blick"], ["name", "Lucilla Welch"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 13:48:09.524661"], ["updated_at", "2018-04-06 13:48:09.524661"]] 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", 10], ["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", "Willian Blick"], ["LIMIT", 1]] SQL (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", "Willian Blick"], ["name", "Lucilla Welch"], ["description", "Default bundle for service 'Lucilla Welch'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 13:48:09.530991"], ["updated_at", "2018-04-06 13:48:09.530991"]] SQL (1.1ms) 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.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["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", 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 (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", 9], ["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", 17], ["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", 18], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.1ms) 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.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]] [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", 19], ["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", 20], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.0ms) 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 (19.8ms) Completed 200 OK in 28ms (Views: 15.4ms | ActiveRecord: 11.4ms)  (0.9ms) ROLLBACK  (0.6ms) 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", "willy@turcottekiehn.biz"], ["LIMIT", 1]] SQL (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", "Milissa Beahan"], ["last_name", "Jacob Rutherford"], ["email", "willy@turcottekiehn.biz"], ["password_digest", "$2a$04$naB2ypAoG9s0klVd5NqgUupkEo8Cf.NkbrcFO4woQIpZWSMWfaoH2"], ["created_at", "2018-04-06 13:48:09.577416"], ["updated_at", "2018-04-06 13:48:09.577416"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "ward@zboncak.us"], ["LIMIT", 1]] SQL (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", "Iliana Brakus"], ["last_name", "Rickie Goyette"], ["email", "ward@zboncak.us"], ["password_digest", "$2a$04$EgW7aAu4JCtDJiq6aJDjfuV69.mnCMnOBG8p8uVgeVikBMI7v.GHy"], ["created_at", "2018-04-06 13:48:09.590110"], ["updated_at", "2018-04-06 13:48:09.590110"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "avery_smitham@walker.info"], ["LIMIT", 1]] SQL (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", "Sharleen Bergnaum"], ["last_name", "Jeanna Reilly"], ["email", "avery_smitham@walker.info"], ["password_digest", "$2a$04$nxI0DkV5IjmZxLT8xJt44eLK6WyjvyltxCOHds/M9/j8Yob4pkyRG"], ["created_at", "2018-04-06 13:48:09.602275"], ["updated_at", "2018-04-06 13:48:09.602275"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "kathrin@kling.biz"], ["LIMIT", 1]] SQL (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", "Izetta Schaden"], ["last_name", "Hilario Powlowski"], ["email", "kathrin@kling.biz"], ["password_digest", "$2a$04$IxR3RrIw.7sVbBSORt2cmOSmFREhFP4vV5APQwGN5fOP80WGb7DRi"], ["created_at", "2018-04-06 13:48:09.623616"], ["updated_at", "2018-04-06 13:48:09.623616"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.5ms) 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", "billy@bergebeahan.co.uk"], ["LIMIT", 1]] SQL (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", "Vada Berge"], ["last_name", "Floria Kertzmann"], ["email", "billy@bergebeahan.co.uk"], ["password_digest", "$2a$04$8r99UIc8DxsknzeR7R3J1ehaw3YW1uiF0LftxrFXNFYHQWRRr7LuC"], ["created_at", "2018-04-06 13:48:09.638576"], ["updated_at", "2018-04-06 13:48:09.638576"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.7ms) BEGIN  (2.0ms) 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", "roxane_beahan@rempel.us"], ["LIMIT", 1]] SQL (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", "Moriah Wehner"], ["last_name", "Stephani Gusikowski"], ["email", "roxane_beahan@rempel.us"], ["password_digest", "$2a$04$DyLetUP06WLYLYHU8MS/.ezq5OlxaT1t1DUdwrgiqJG.WQ3Rzhis."], ["created_at", "2018-04-06 13:48:09.655281"], ["updated_at", "2018-04-06 13:48:09.655281"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (1.2ms) 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", "juliana@hoppeoga.info"], ["LIMIT", 1]] SQL (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", "Muoi Hettinger"], ["last_name", "Alda Wiegand"], ["email", "juliana@hoppeoga.info"], ["password_digest", "$2a$04$2Iq.QEhVddO.IMxsbBEQKOHuMc.laNMffAswS3K32gVDKH4h/7zOq"], ["created_at", "2018-04-06 13:48:09.670423"], ["updated_at", "2018-04-06 13:48:09.670423"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.3ms) ROLLBACK  (1.1ms) 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", "marya_stehr@harber.info"], ["LIMIT", 1]] SQL (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", "Terry Borer"], ["last_name", "Genie Welch"], ["email", "marya_stehr@harber.info"], ["password_digest", "$2a$04$KUmhiP8NNXxgv0ftnCYS6.3cmPtaQwymj47P4cNztQo6YL3rPAtI."], ["created_at", "2018-04-06 13:48:09.688646"], ["updated_at", "2018-04-06 13:48:09.688646"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (1.0ms) 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", "jacklyn@conroy.name"], ["LIMIT", 1]] SQL (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", "Katharyn Rippin"], ["last_name", "Otilia Hansen"], ["email", "jacklyn@conroy.name"], ["password_digest", "$2a$04$UfYaXdierMI2OJQV.1EcEOSNyVP8tY7o7rJ2XGZjEX0Uk3CVKtHc2"], ["created_at", "2018-04-06 13:48:09.706987"], ["updated_at", "2018-04-06 13:48:09.706987"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (1.0ms) 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", "vada_kutch@rodriguez.co.uk"], ["LIMIT", 1]] SQL (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", "Teresa Lakin"], ["last_name", "Roselee Deckow"], ["email", "vada_kutch@rodriguez.co.uk"], ["password_digest", "$2a$04$Ze/YeGrH7FKq/xkmVqNLWuFoDBXo/Sden1lWeBVDc4qiz9thd2O7G"], ["created_at", "2018-04-06 13:48:09.723509"], ["updated_at", "2018-04-06 13:48:09.723509"]]  (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", "Vernie Kerluke"], ["LIMIT", 1]] SQL (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", "Vernie Kerluke"], ["name", "Patrica Goodwin"], ["address", "Cathey Roberts"], ["created_at", "2018-04-06 13:48:09.730551"], ["updated_at", "2018-04-06 13:48:09.730551"]]  (0.6ms) 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", "Ernestina Hagenes"], ["LIMIT", 1]] SQL (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", "Ernestina Hagenes"], ["name", "Celestina Fisher"], ["description", "Jewel Gutkowski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-04-06 13:48:09.736066"], ["updated_at", "2018-04-06 13:48:09.736066"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 17], ["LIMIT", 1]] Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.35ms) Completed 200 OK in 18ms (Views: 11.9ms | ActiveRecord: 4.8ms)  (1.8ms) ROLLBACK  (0.6ms) BEGIN  (17.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", "suzette_robel@waelchischowalter.info"], ["LIMIT", 1]] SQL (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", "Eleanora Steuber"], ["last_name", "Allen Rempel"], ["email", "suzette_robel@waelchischowalter.info"], ["password_digest", "$2a$04$S3Go1xhNWGRa20N.cjkuUe4HrOxv9N3J29m993m15PT02YmYb.Rz6"], ["created_at", "2018-04-06 13:48:09.789367"], ["updated_at", "2018-04-06 13:48:09.789367"]]  (0.7ms) 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", "Denita Kuvalis"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Denita Kuvalis"], ["name", "Sherlyn Green"], ["address", "Pauletta Champlin"], ["created_at", "2018-04-06 13:48:09.798621"], ["updated_at", "2018-04-06 13:48:09.798621"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Claris Lynch"], ["LIMIT", 1]] SQL (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", "Claris Lynch"], ["name", "Oscar Turner"], ["description", "Alix Ratke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 13:48:09.808340"], ["updated_at", "2018-04-06 13:48:09.808340"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Reanna Corwin"], ["LIMIT", 1]] SQL (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", "Reanna Corwin"], ["name", "Gale Rau"], ["description", "Argentina Stroman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 13:48:09.814814"], ["updated_at", "2018-04-06 13:48:09.814814"]]  (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", "Carmelita Waters"], ["LIMIT", 1]] SQL (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", "Carmelita Waters"], ["name", "Blake Smitham"], ["description", "Efren Kutch"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 13:48:09.820845"], ["updated_at", "2018-04-06 13:48:09.820845"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["LIMIT", 1]] [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", 12], ["LIMIT", 1]] [active_model_serializers] 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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (7.75ms) Completed 200 OK in 16ms (Views: 8.4ms | ActiveRecord: 6.7ms)  (6.8ms) ROLLBACK  (1.5ms) BEGIN  (1.3ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jesenia@danielstiedemann.co.uk"], ["LIMIT", 1]] SQL (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", "Martin Kreiger"], ["last_name", "Junior Feeney"], ["email", "jesenia@danielstiedemann.co.uk"], ["password_digest", "$2a$04$ANpm1WMRm.Sqd2YEuAziLecMDXV6F/eGVMWHFHLZS38AeNMYo2pee"], ["created_at", "2018-04-06 13:48:09.872674"], ["updated_at", "2018-04-06 13:48:09.872674"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Briana Bradtke"], ["LIMIT", 1]] SQL (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", "Briana Bradtke"], ["name", "Margarite Pfannerstill"], ["address", "Jessika Olson"], ["created_at", "2018-04-06 13:48:09.879321"], ["updated_at", "2018-04-06 13:48:09.879321"]]  (0.8ms) 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", "Albert Wuckert"], ["LIMIT", 1]] SQL (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", "Albert Wuckert"], ["name", "Carmen Gibson"], ["description", "Esteban Bednar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 13:48:09.885640"], ["updated_at", "2018-04-06 13:48:09.885640"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Andra Spinka"], ["LIMIT", 1]] SQL (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", "Andra Spinka"], ["name", "Carita Zulauf"], ["description", "Marilee Wuckert"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 13:48:09.893698"], ["updated_at", "2018-04-06 13:48:09.893698"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Hank Walter"], ["LIMIT", 1]] SQL (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", "Hank Walter"], ["name", "Rosaline Langworth"], ["description", "Irish Bode"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 13:48:09.900442"], ["updated_at", "2018-04-06 13:48:09.900442"]]  (0.9ms) 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", "Shayla Ritchie"], ["LIMIT", 1]] SQL (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", "Shayla Ritchie"], ["name", "Breann Hickle"], ["address", "Margurite Daugherty"], ["created_at", "2018-04-06 13:48:09.908590"], ["updated_at", "2018-04-06 13:48:09.908590"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Marcy Luettgen"], ["LIMIT", 1]] SQL (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", "Marcy Luettgen"], ["name", "Sylvester Hickle"], ["description", "Sylvester Gulgowski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-04-06 13:48:09.916801"], ["updated_at", "2018-04-06 13:48:09.916801"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Sunday Jaskolski"], ["LIMIT", 1]] SQL (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", "Sunday Jaskolski"], ["name", "Bernardo McGlynn"], ["address", "Lavinia Wolf"], ["created_at", "2018-04-06 13:48:09.924099"], ["updated_at", "2018-04-06 13:48:09.924099"]]  (0.6ms) 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", "Hans Hayes"], ["LIMIT", 1]] SQL (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", "Hans Hayes"], ["name", "Gwen Fadel"], ["description", "Natisha Cole"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-04-06 13:48:09.930912"], ["updated_at", "2018-04-06 13:48:09.930912"]]  (1.1ms) 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", "Janina Schiller"], ["LIMIT", 1]] SQL (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", "Janina Schiller"], ["name", "Edgar Okuneva"], ["address", "Xzbdulia Beatty"], ["created_at", "2018-04-06 13:48:09.937684"], ["updated_at", "2018-04-06 13:48:09.937684"]]  (0.8ms) 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", "Kerri Wisozk"], ["LIMIT", 1]] SQL (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", "Kerri Wisozk"], ["name", "Chong Paucek"], ["description", "Sharon Feeney"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-04-06 13:48:09.945609"], ["updated_at", "2018-04-06 13:48:09.945609"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [active_model_serializers] 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", 13], ["LIMIT", 1]] [active_model_serializers] 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", 13], ["LIMIT", 1]] [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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (9.32ms) Completed 200 OK in 17ms (Views: 7.8ms | ActiveRecord: 7.7ms)  (0.9ms) ROLLBACK  (1.3ms) BEGIN  (1.8ms) 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", "vada@rowemills.co.uk"], ["LIMIT", 1]] SQL (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", "Jenise Kling"], ["last_name", "Jack Stamm"], ["email", "vada@rowemills.co.uk"], ["password_digest", "$2a$04$cY69ND3j/fMBNHm1QOZXFewOBPvuegpZgJLfjufrdoxDgZBH9HA4m"], ["created_at", "2018-04-06 13:48:09.984976"], ["updated_at", "2018-04-06 13:48:09.984976"]]  (1.2ms) 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", "Donya Jaskolski"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Donya Jaskolski"], ["name", "Terrie King"], ["address", "Hong Ortiz"], ["created_at", "2018-04-06 13:48:09.994902"], ["updated_at", "2018-04-06 13:48:09.994902"]]  (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", "Hilda Fisher"], ["LIMIT", 1]] SQL (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", "Hilda Fisher"], ["name", "Jade Wiza"], ["description", "Angeles Glover"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-04-06 13:48:10.001998"], ["updated_at", "2018-04-06 13:48:10.001998"]]  (1.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["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", 22], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.41ms) Completed 200 OK in 10ms (Views: 2.5ms | ActiveRecord: 3.6ms)  (0.8ms) ROLLBACK  (1.0ms) 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", "syble@brakus.biz"], ["LIMIT", 1]] SQL (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", "Rufus Stiedemann"], ["last_name", "Stacy Flatley"], ["email", "syble@brakus.biz"], ["password_digest", "$2a$04$r6FFUWXlfW2XGC/Dv/BTauKUGR58bDwZg/Nn0rqCJr2F4ok/U.eC2"], ["created_at", "2018-04-06 13:48:10.033288"], ["updated_at", "2018-04-06 13:48:10.033288"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Van Ankunding"], ["LIMIT", 1]] SQL (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", "Van Ankunding"], ["name", "Sylvia Shields"], ["address", "Letty Jones"], ["created_at", "2018-04-06 13:48:10.040799"], ["updated_at", "2018-04-06 13:48:10.040799"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Suzi Bradtke"], ["LIMIT", 1]] SQL (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", "Suzi Bradtke"], ["name", "First Service Bundle"], ["description", "Lyndon Davis"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-04-06 13:48:10.046876"], ["updated_at", "2018-04-06 13:48:10.046876"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (4.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Billye Abshire"], ["LIMIT", 1]] SQL (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", "Billye Abshire"], ["name", "Gayle Stiedemann"], ["address", "Donnetta Emmerich"], ["created_at", "2018-04-06 13:48:10.058130"], ["updated_at", "2018-04-06 13:48:10.058130"]]  (1.1ms) 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", "Mimi Spencer"], ["LIMIT", 1]] SQL (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", "Mimi Spencer"], ["name", "Second Service Bundle"], ["description", "Bess Langosh"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-04-06 13:48:10.067970"], ["updated_at", "2018-04-06 13:48:10.067970"]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] Mks::Auth::User Load (4.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.5ms) 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.5ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.91ms) Completed 200 OK in 19ms (Views: 4.2ms | ActiveRecord: 8.9ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) 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 (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", 18], ["LIMIT", 1]] [active_model_serializers] 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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.96ms) Completed 200 OK in 10ms (Views: 3.8ms | ActiveRecord: 14.5ms)  (0.6ms) ROLLBACK  (0.6ms) 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", "herbert@bayer.us"], ["LIMIT", 1]] SQL (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", "Fatimah Koepp"], ["last_name", "Liliana Koepp"], ["email", "herbert@bayer.us"], ["password_digest", "$2a$04$JJCwDmDxyz7CLq7rOulc2.nJRY6WLRPK117DhJdrUZbVQslpuB/XO"], ["created_at", "2018-04-06 13:48:10.116213"], ["updated_at", "2018-04-06 13:48:10.116213"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (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", "Eugenio Stark"], ["LIMIT", 1]] SQL (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", "Eugenio Stark"], ["name", "Charles Effertz"], ["address", "Neda Greenholt"], ["created_at", "2018-04-06 13:48:10.124612"], ["updated_at", "2018-04-06 13:48:10.124612"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Rosario Mayert"], ["LIMIT", 1]] SQL (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", "Rosario Mayert"], ["name", "FIRst Service Bundle"], ["description", "Claris Bogisich"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-04-06 13:48:10.130822"], ["updated_at", "2018-04-06 13:48:10.130822"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Theo Weimann"], ["LIMIT", 1]] SQL (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", "Theo Weimann"], ["name", "Jaimee Klocko"], ["address", "Malvina Kling"], ["created_at", "2018-04-06 13:48:10.136507"], ["updated_at", "2018-04-06 13:48:10.136507"]]  (0.7ms) 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", "Alaina Crooks"], ["LIMIT", 1]] SQL (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", "Alaina Crooks"], ["name", "Second Service Bundle for the firST time"], ["description", "Jannie Harris"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-04-06 13:48:10.142051"], ["updated_at", "2018-04-06 13:48:10.142051"]]  (0.8ms) 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", 22], ["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", 22], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (4.2ms) 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.5ms) 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]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (2.6ms) 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 (13.46ms) Completed 200 OK in 35ms (Views: 16.4ms | ActiveRecord: 10.5ms)  (0.7ms) 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", "zenaida_jaskolski@corkery.biz"], ["LIMIT", 1]] SQL (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", "Sherlene Schoen"], ["last_name", "Ira Schmeler"], ["email", "zenaida_jaskolski@corkery.biz"], ["password_digest", "$2a$04$U6.d4/SXVKixyK.esRkyo.AbLusaJl6nCkUX8yTPgbdSuNZJ4oNfa"], ["created_at", "2018-04-06 13:48:10.191768"], ["updated_at", "2018-04-06 13:48:10.191768"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Kamala Skiles"], ["LIMIT", 1]] SQL (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", "Kamala Skiles"], ["name", "Lashawn Ziemann"], ["address", "Belen Smith"], ["created_at", "2018-04-06 13:48:10.199891"], ["updated_at", "2018-04-06 13:48:10.199891"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Hang Becker", "description"=>"Wayne Hane", "name"=>"Carlota Schulist", "service_delivery_unit_id"=>"22"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 22], ["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", "Hang Becker"], ["LIMIT", 1]] SQL (1.4ms) 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", "Hang Becker"], ["name", "Carlota Schulist"], ["description", "Wayne Hane"], ["service_delivery_unit_id", 22], ["created_at", "2018-04-06 13:48:10.211607"], ["updated_at", "2018-04-06 13:48:10.211607"]]  (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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.2ms) Completed 201 Created in 13ms (Views: 1.8ms | ActiveRecord: 5.6ms)  (1.4ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (1.3ms) ROLLBACK  (0.6ms) 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", "mellie@altenwerth.com"], ["LIMIT", 1]] SQL (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", "Mae Terry"], ["last_name", "Leonarda Emard"], ["email", "mellie@altenwerth.com"], ["password_digest", "$2a$04$TjbjhWg355h5Vv3O2hQKd.GHV0f6CGrrnJ9mqUyPjwbc1LQ2Xm7Du"], ["created_at", "2018-04-06 13:48:10.234814"], ["updated_at", "2018-04-06 13:48:10.234814"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Louie Wolff"], ["LIMIT", 1]] SQL (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", "Louie Wolff"], ["name", "Alishia Williamson"], ["address", "Paul Spencer"], ["created_at", "2018-04-06 13:48:10.244795"], ["updated_at", "2018-04-06 13:48:10.244795"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Linette Weimann", "description"=>"Fatima Mann", "name"=>"Kenyetta Bernhard", "service_delivery_unit_id"=>"23"}} Mks::Auth::User Load (18.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (2.2ms) SAVEPOINT active_record_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", 23], ["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", "Linette Weimann"], ["LIMIT", 1]] SQL (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", "Linette Weimann"], ["name", "Kenyetta Bernhard"], ["description", "Fatima Mann"], ["service_delivery_unit_id", 23], ["created_at", "2018-04-06 13:48:10.292353"], ["updated_at", "2018-04-06 13:48:10.292353"]]  (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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.25ms) Completed 201 Created in 51ms (Views: 3.5ms | ActiveRecord: 25.4ms) Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (2.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", "chere@dooleystehr.com"], ["LIMIT", 1]] SQL (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", "Buena Abernathy"], ["last_name", "Raymon Adams"], ["email", "chere@dooleystehr.com"], ["password_digest", "$2a$04$beV7J.4Us3X3yblpecLfZ.s8TmtTZrddwD64sDlVYeHn/zDezroW."], ["created_at", "2018-04-06 13:48:10.316817"], ["updated_at", "2018-04-06 13:48:10.316817"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Karl Mertz"], ["LIMIT", 1]] SQL (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", "Karl Mertz"], ["name", "Avelina Mayert"], ["address", "Merrie Cruickshank"], ["created_at", "2018-04-06 13:48:10.324160"], ["updated_at", "2018-04-06 13:48:10.324160"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Lolita Swaniawski", "name"=>"Octavia Rowe", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.6ms) 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", 24], ["LIMIT", 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", ""], ["LIMIT", 1]]  (1.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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.12ms) Completed 422 Unprocessable Entity in 22ms (Views: 9.6ms | ActiveRecord: 6.4ms)  (1.1ms) ROLLBACK  (1.2ms) BEGIN  (1.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", "fonda@schneider.com"], ["LIMIT", 1]] SQL (2.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", "Epifania Wiza"], ["last_name", "Tiny Lueilwitz"], ["email", "fonda@schneider.com"], ["password_digest", "$2a$04$TLpDEYCU7D6sCdGH6P3FPe47EUD5/.iscY2QxAgTX4/A0JVy9zmrq"], ["created_at", "2018-04-06 13:48:10.380545"], ["updated_at", "2018-04-06 13:48:10.380545"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Leda Gaylord"], ["LIMIT", 1]] SQL (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", "Leda Gaylord"], ["name", "Holly Kuhn"], ["address", "Leon Ward"], ["created_at", "2018-04-06 13:48:10.394601"], ["updated_at", "2018-04-06 13:48:10.394601"]]  (0.9ms) 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", "Elodia Oberbrunner"], ["LIMIT", 1]] SQL (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", "Elodia Oberbrunner"], ["name", "Shanel Emard"], ["description", "Lynsey Runte"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-04-06 13:48:10.401103"], ["updated_at", "2018-04-06 13:48:10.401103"]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Mckinley Pacocha"}, "id"=>"29"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 25], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.2ms) 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", "Elodia Oberbrunner"], ["id", 29], ["LIMIT", 1]] SQL (1.2ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Mckinley Pacocha"], ["updated_at", "2018-04-06 13:48:10.417372"], ["id", 29]]  (0.9ms) 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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 200 OK in 18ms (Views: 2.8ms | ActiveRecord: 8.4ms) 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", 29], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "isis_gleichner@rogahnstracke.biz"], ["LIMIT", 1]] SQL (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", "Gia Hoppe"], ["last_name", "Euna Kertzmann"], ["email", "isis_gleichner@rogahnstracke.biz"], ["password_digest", "$2a$04$cIe2W1eT7rR5FwebzrNAWuoO2PDTQNmtx2kGyxfhr2k640jO.VKle"], ["created_at", "2018-04-06 13:48:10.440181"], ["updated_at", "2018-04-06 13:48:10.440181"]]  (1.1ms) 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", "Kandi Cronin"], ["LIMIT", 1]] SQL (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", "Kandi Cronin"], ["name", "Nancee Altenwerth"], ["address", "Lissa Hoeger"], ["created_at", "2018-04-06 13:48:10.447802"], ["updated_at", "2018-04-06 13:48:10.447802"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ozella O'Conner"], ["LIMIT", 1]] SQL (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", "Ozella O'Conner"], ["name", "Evette Bauch"], ["description", "Kristina West"], ["percent_discount", 100.0], ["service_delivery_unit_id", 26], ["created_at", "2018-04-06 13:48:10.456010"], ["updated_at", "2018-04-06 13:48:10.456010"]]  (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", "Lora Ziemann"], ["LIMIT", 1]] SQL (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", "Lora Ziemann"], ["name", "Charley Russel"], ["address", "Branda O'Conner"], ["created_at", "2018-04-06 13:48:10.462423"], ["updated_at", "2018-04-06 13:48:10.462423"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Sang Runolfsson", "description"=>"Claire Schowalter", "name"=>"Iona Blick", "service_delivery_unit_id"=>"27"}, "id"=>"30"} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]  (1.0ms) 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", 27], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.4ms) 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", "Sang Runolfsson"], ["id", 30], ["LIMIT", 1]] SQL (1.4ms) 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", "Sang Runolfsson"], ["name", "Iona Blick"], ["description", "Claire Schowalter"], ["service_delivery_unit_id", 27], ["updated_at", "2018-04-06 13:48:10.484104"], ["id", 30]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (2.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.66ms) Completed 200 OK in 26ms (Views: 3.0ms | ActiveRecord: 11.6ms)  (1.1ms) ROLLBACK  (0.7ms) BEGIN  (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", "francoise.parker@gleichnerhoppe.name"], ["LIMIT", 1]] SQL (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", "Regena Braun"], ["last_name", "Monnie McClure"], ["email", "francoise.parker@gleichnerhoppe.name"], ["password_digest", "$2a$04$N1ZFEH3n1EEP0hB282JYueKJj24Bu.3PyNxRj2URfmEqwACdGoSIu"], ["created_at", "2018-04-06 13:48:10.508888"], ["updated_at", "2018-04-06 13:48:10.508888"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Vickey Koch"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vickey Koch"], ["name", "Doretta Strosin"], ["address", "Claudie Kling"], ["created_at", "2018-04-06 13:48:10.517304"], ["updated_at", "2018-04-06 13:48:10.517304"]]  (1.2ms) 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", "Luella Dach"], ["LIMIT", 1]] SQL (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", "Luella Dach"], ["name", "Talisha Ebert"], ["description", "Stacee Walker"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-04-06 13:48:10.527082"], ["updated_at", "2018-04-06 13:48:10.527082"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Judie Rippin"], ["LIMIT", 1]] SQL (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", "Judie Rippin"], ["name", "Marylouise Swift"], ["address", "Corinna West"], ["created_at", "2018-04-06 13:48:10.533757"], ["updated_at", "2018-04-06 13:48:10.533757"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Tristan Parisian", "name"=>"Sally Goodwin", "service_delivery_unit_id"=>"29"}, "id"=>"31"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["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", 31], ["LIMIT", 1]]  (0.9ms) 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", 29], ["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", 31], ["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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.2ms | ActiveRecord: 5.8ms)  (1.1ms) ROLLBACK  (1.0ms) BEGIN  (1.2ms) 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", "rosalba_wilkinson@williamsoneffertz.com"], ["LIMIT", 1]] SQL (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", "Casie Braun"], ["last_name", "Lavera Kunze"], ["email", "rosalba_wilkinson@williamsoneffertz.com"], ["password_digest", "$2a$04$6/RZKF50aXhhOwHiQDZXJOFuGAJrKAVlKZ9837x.74VXDuYYEh9Jm"], ["created_at", "2018-04-06 13:48:10.567394"], ["updated_at", "2018-04-06 13:48:10.567394"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (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", "Janel Baumbach"], ["LIMIT", 1]] SQL (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", "Janel Baumbach"], ["name", "Leo Grant"], ["address", "Carmina Corkery"], ["created_at", "2018-04-06 13:48:10.576897"], ["updated_at", "2018-04-06 13:48:10.576897"]]  (0.9ms) 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", "Elli McDermott"], ["LIMIT", 1]] SQL (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", "Elli McDermott"], ["name", "Livia Hane"], ["address", "Rosina Farrell"], ["created_at", "2018-04-06 13:48:10.583533"], ["updated_at", "2018-04-06 13:48:10.583533"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Amira Herzog"], ["LIMIT", 1]] SQL (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", "Amira Herzog"], ["name", "Olympia Toy"], ["address", "Renda Schoen"], ["created_at", "2018-04-06 13:48:10.592200"], ["updated_at", "2018-04-06 13:48:10.592200"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (1.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["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", 29], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (3.7ms) 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.89ms) Completed 200 OK in 25ms (Views: 16.2ms | ActiveRecord: 7.6ms)  (1.5ms) ROLLBACK  (0.5ms) BEGIN  (1.2ms) 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", "weldon@altenwerth.biz"], ["LIMIT", 1]] SQL (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", "Dell Hartmann"], ["last_name", "Horace Hane"], ["email", "weldon@altenwerth.biz"], ["password_digest", "$2a$04$PjHgaEAMcoXQjrBDTQlH3uDMGKvSYzNIV5TCCy3nhY3o0SZX/tcoe"], ["created_at", "2018-04-06 13:48:10.639417"], ["updated_at", "2018-04-06 13:48:10.639417"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Lily Muller", "code"=>"Sidney Kuhic", "name"=>"Chieko Hoppe"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.8ms) 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", "Sidney Kuhic"], ["LIMIT", 1]] SQL (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", "Sidney Kuhic"], ["name", "Chieko Hoppe"], ["address", "Lily Muller"], ["created_at", "2018-04-06 13:48:10.649811"], ["updated_at", "2018-04-06 13:48:10.649811"]]  (0.6ms) RELEASE 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", 30], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.48ms) Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 5.4ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.5ms) ROLLBACK  (0.7ms) BEGIN  (1.4ms) 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", "tim@carterkreiger.info"], ["LIMIT", 1]] SQL (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", "Drew Cronin"], ["last_name", "Dodie Sawayn"], ["email", "tim@carterkreiger.info"], ["password_digest", "$2a$04$blzU0eKqnurp7Azq71arEOQNTLWRa2RLqEFYdITQ16DKeL1P/07l."], ["created_at", "2018-04-06 13:48:10.666443"], ["updated_at", "2018-04-06 13:48:10.666443"]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Chassidy White", "code"=>"Izola Pfannerstill", "name"=>"Rivka O'Reilly"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 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", "Izola Pfannerstill"], ["LIMIT", 1]] SQL (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", "Izola Pfannerstill"], ["name", "Rivka O'Reilly"], ["address", "Chassidy White"], ["created_at", "2018-04-06 13:48:10.681148"], ["updated_at", "2018-04-06 13:48:10.681148"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (2.7ms) 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 Mks::Common::MethodResponse (0.6ms) Completed 200 OK in 17ms (Views: 3.4ms | ActiveRecord: 7.7ms)  (1.8ms) ROLLBACK  (0.6ms) 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", "olevia.effertz@oconnerbahringer.info"], ["LIMIT", 1]] SQL (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", "Garret Terry"], ["last_name", "Vincenzo Abbott"], ["email", "olevia.effertz@oconnerbahringer.info"], ["password_digest", "$2a$04$mC2dVZbZAZYa82WLNN0RW.Sc9G3KCrZQkW7njKK0Xt4oOEnjiwSZe"], ["created_at", "2018-04-06 13:48:10.703992"], ["updated_at", "2018-04-06 13:48:10.703992"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Eugene Marvin", "code"=>"", "name"=>"Raye Lang"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]]  (1.2ms) 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", ""], ["LIMIT", 1]]  (0.5ms) 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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.6ms | ActiveRecord: 4.8ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "alicia_satterfield@gleichner.info"], ["LIMIT", 1]] SQL (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", "Altha Dach"], ["last_name", "Rafael Stiedemann"], ["email", "alicia_satterfield@gleichner.info"], ["password_digest", "$2a$04$uMIyqvz/l61hOIs2efVz8ukQcTconVHH0lYcAU5rrjOmE4tcVirNW"], ["created_at", "2018-04-06 13:48:10.731370"], ["updated_at", "2018-04-06 13:48:10.731370"]]  (0.9ms) 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", "Tonita Conn"], ["LIMIT", 1]] SQL (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", "Tonita Conn"], ["name", "Sarina Ondricka"], ["address", "Josiah Wolff"], ["created_at", "2018-04-06 13:48:10.738845"], ["updated_at", "2018-04-06 13:48:10.738845"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"35"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["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", 35], ["LIMIT", 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Tonita Conn"], ["id", 35], ["LIMIT", 1]] SQL (0.9ms) 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-04-06 13:48:10.748738"], ["id", 35]]  (0.5ms) RELEASE 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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.62ms) Completed 200 OK in 12ms (Views: 2.1ms | ActiveRecord: 5.8ms) 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", 35], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) 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", "jason.sporer@hettingermurphy.com"], ["LIMIT", 1]] SQL (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", "Cristen Crist"], ["last_name", "Eunice Stehr"], ["email", "jason.sporer@hettingermurphy.com"], ["password_digest", "$2a$04$6j67FC/KB4ygQogjCaNbAurIgR45894k.2pP7D.F9binSsoj3286O"], ["created_at", "2018-04-06 13:48:10.767474"], ["updated_at", "2018-04-06 13:48:10.767474"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Argentina Halvorson"], ["LIMIT", 1]] SQL (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", "Argentina Halvorson"], ["name", "Molly Rutherford"], ["address", "Frederick Lowe"], ["created_at", "2018-04-06 13:48:10.776838"], ["updated_at", "2018-04-06 13:48:10.776838"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "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", 34], ["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", 36], ["LIMIT", 1]]  (1.4ms) 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Argentina Halvorson"], ["id", 36], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.28ms) Completed 422 Unprocessable Entity in 14ms (Views: 1.8ms | ActiveRecord: 6.0ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "neil_conn@trantowauer.com"], ["LIMIT", 1]] SQL (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", "Billie Goyette"], ["last_name", "Kathern Balistreri"], ["email", "neil_conn@trantowauer.com"], ["password_digest", "$2a$04$KsGNgzKDRnZls0M.gR.cXeGXzHBZwt.Tb2ol/EU3raLgseTZMU12u"], ["created_at", "2018-04-06 13:48:10.811422"], ["updated_at", "2018-04-06 13:48:10.811422"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (2.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Fawn Hahn"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Nichol Hodkiewicz"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Fawn Hahn"], ["name", "Nichol Hodkiewicz"], ["description", "Nam dolores rerum et eligendi. Cupiditate voluptatum ipsum in exercitationem repellat. Officia optio praesentium qui voluptas aut sed quas. Qui asperiores consequatur consequuntur rerum illo veniam. Esse voluptates enim et voluptatem qui nihil consequuntur."], ["created_at", "2018-04-06 13:48:10.981828"], ["updated_at", "2018-04-06 13:48:10.981828"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Daniele Schulist"], ["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", "Amie Rogahn"], ["LIMIT", 1]] SQL (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", "Daniele Schulist"], ["name", "Amie Rogahn"], ["description", "Voluptatem vero harum ipsa facilis deserunt. Soluta ut perferendis quae sapiente. Quibusdam numquam dolorum ipsa et accusantium excepturi. Velit praesentium fugiat est culpa exercitationem et illum molestiae."], ["equipment_type_id", 1], ["created_at", "2018-04-06 13:48:10.997138"], ["updated_at", "2018-04-06 13:48:10.997138"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lacey Little"], ["LIMIT", 1]] SQL (1.6ms) 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", "Lacey Little"], ["name", "Mitchel Bins"], ["description", "Lael Koepp"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-04-06 13:48:11.008472"], ["updated_at", "2018-04-06 13:48:11.008472"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Emilee Powlowski"], ["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", "Lynell Veum"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Emilee Powlowski"], ["name", "Lynell Veum"], ["description", "Joan Roberts"], ["created_at", "2018-04-06 13:48:11.073365"], ["updated_at", "2018-04-06 13:48:11.073365"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Lyda Feeney"], ["LIMIT", 1]] SQL (4.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", "Lyda Feeney"], ["name", "Ivonne Schmeler"], ["location_type_id", 1], ["description", "Helene Blick"], ["address", "Delia Nicolas"], ["created_at", "2018-04-06 13:48:11.082241"], ["updated_at", "2018-04-06 13:48:11.082241"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Talia Hagenes"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Bennie Krajcik"], ["LIMIT", 1]] SQL (2.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", "Talia Hagenes"], ["name", "Octavio Eichmann"], ["description", "Tyrell Koch"], ["serial_number", "Bennie Krajcik"], ["brand", "Celestina Harber"], ["item_model", "Katina Jenkins"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-04-06 13:48:11.102958"], ["updated_at", "2018-04-06 13:48:11.102958"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Sheldon Bradtke"], ["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", "Kelsi Reilly"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sheldon Bradtke"], ["name", "Kelsi Reilly"], ["created_at", "2018-04-06 13:48:11.121391"], ["updated_at", "2018-04-06 13:48:11.121391"]]  (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", "Laura Bradtke"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laura Bradtke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.126563"], ["updated_at", "2018-04-06 13:48:11.126563"]]  (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", "Traci Grant"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Traci Grant"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.132067"], ["updated_at", "2018-04-06 13:48:11.132067"]]  (0.7ms) 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", "Madge Kovacek"], ["LIMIT", 1]] SQL (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", "Madge Kovacek"], ["name", "Yahaira Ryan"], ["address", "Mariela Osinski"], ["created_at", "2018-04-06 13:48:11.139122"], ["updated_at", "2018-04-06 13:48:11.139122"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Laurence Wunsch"], ["service_delivery_unit_id", 37], ["LIMIT", 1]] SQL (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", "Laurence Wunsch"], ["name", "Lashell VonRueden"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 37], ["created_at", "2018-04-06 13:48:11.143896"], ["updated_at", "2018-04-06 13:48:11.143896"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Laurence Wunsch"], ["LIMIT", 1]] SQL (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", "Laurence Wunsch"], ["name", "Lashell VonRueden"], ["description", "Default bundle for service 'Lashell VonRueden'"], ["service_delivery_unit_id", 37], ["created_at", "2018-04-06 13:48:11.150065"], ["updated_at", "2018-04-06 13:48:11.150065"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 32], ["chargeable_service_id", 12]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (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", 12], ["equipment_item_id", 1], ["created_at", "2018-04-06 13:48:11.159168"], ["updated_at", "2018-04-06 13:48:11.159168"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Elvin Gislason"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Lanny Toy"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Elvin Gislason"], ["name", "Lanny Toy"], ["description", "Modi et veniam repudiandae aspernatur recusandae eveniet ut totam. Sapiente qui et voluptas dolores. Animi accusantium quis libero enim dolorem et deleniti magni. Voluptatem rem cumque recusandae consequatur ipsam rerum."], ["created_at", "2018-04-06 13:48:11.171298"], ["updated_at", "2018-04-06 13:48:11.171298"]]  (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", "Dwayne Tremblay"], ["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", "Arlen McLaughlin"], ["LIMIT", 1]] SQL (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", "Dwayne Tremblay"], ["name", "Arlen McLaughlin"], ["description", "Culpa sunt aspernatur facere reprehenderit hic dolore ullam modi. Corrupti sint sunt incidunt consequatur fuga. Eligendi maxime tenetur expedita quisquam vero. Cumque sed laboriosam soluta aut. Commodi qui est itaque sed."], ["equipment_type_id", 2], ["created_at", "2018-04-06 13:48:11.178338"], ["updated_at", "2018-04-06 13:48:11.178338"]]  (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", "Mika Murray"], ["LIMIT", 1]] SQL (2.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", "Mika Murray"], ["name", "Man Block"], ["description", "Elli Olson"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-04-06 13:48:11.183744"], ["updated_at", "2018-04-06 13:48:11.183744"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Bobby Zemlak"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Suzi Wolff"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bobby Zemlak"], ["name", "Suzi Wolff"], ["description", "Mendy Botsford"], ["created_at", "2018-04-06 13:48:11.194907"], ["updated_at", "2018-04-06 13:48:11.194907"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Elias Mueller"], ["LIMIT", 1]] SQL (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", "Elias Mueller"], ["name", "Lorilee Sipes"], ["location_type_id", 2], ["description", "Efrain Wiza"], ["address", "Shawnta Kling"], ["created_at", "2018-04-06 13:48:11.202075"], ["updated_at", "2018-04-06 13:48:11.202075"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ruthann Kuhlman"], ["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", "Lupe Denesik"], ["LIMIT", 1]] SQL (2.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", "Ruthann Kuhlman"], ["name", "Rolande Jerde"], ["description", "Russell Hahn"], ["serial_number", "Lupe Denesik"], ["brand", "Marg Moen"], ["item_model", "Shonda Beahan"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-04-06 13:48:11.210964"], ["updated_at", "2018-04-06 13:48:11.210964"]]  (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", "Christopher Johnston"], ["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", "Dede Hamill"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Christopher Johnston"], ["name", "Dede Hamill"], ["created_at", "2018-04-06 13:48:11.221925"], ["updated_at", "2018-04-06 13:48:11.221925"]]  (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", "Valentine Fay"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Valentine Fay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.228214"], ["updated_at", "2018-04-06 13:48:11.228214"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Meagan Rath"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Meagan Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.235067"], ["updated_at", "2018-04-06 13:48:11.235067"]]  (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", "Tonette O'Connell"], ["LIMIT", 1]] SQL (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", "Tonette O'Connell"], ["name", "Christia Rice"], ["address", "Racheal Mills"], ["created_at", "2018-04-06 13:48:11.242152"], ["updated_at", "2018-04-06 13:48:11.242152"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Asia Schaefer"], ["service_delivery_unit_id", 38], ["LIMIT", 1]] SQL (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", "Asia Schaefer"], ["name", "Brandi Langosh"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 38], ["created_at", "2018-04-06 13:48:11.248729"], ["updated_at", "2018-04-06 13:48:11.248729"]] 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", 38], ["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", "Asia Schaefer"], ["LIMIT", 1]] SQL (0.7ms) 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", "Asia Schaefer"], ["name", "Brandi Langosh"], ["description", "Default bundle for service 'Brandi Langosh'"], ["service_delivery_unit_id", 38], ["created_at", "2018-04-06 13:48:11.256478"], ["updated_at", "2018-04-06 13:48:11.256478"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 33], ["chargeable_service_id", 13]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 2], ["created_at", "2018-04-06 13:48:11.263079"], ["updated_at", "2018-04-06 13:48:11.263079"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kennith Wehner"], ["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", "Rosenda Spinka"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kennith Wehner"], ["name", "Rosenda Spinka"], ["description", "Velit consequatur at optio aut. At voluptatem beatae dolorum sint illum ullam vero qui. Et beatae eius accusantium repellendus qui voluptatem. Fugiat optio corporis id nemo."], ["created_at", "2018-04-06 13:48:11.272391"], ["updated_at", "2018-04-06 13:48:11.272391"]]  (0.4ms) 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", "Cyrstal Ondricka"], ["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", "Kary Beatty"], ["LIMIT", 1]] SQL (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", "Cyrstal Ondricka"], ["name", "Kary Beatty"], ["description", "Ullam expedita odio rem eos veritatis dolores. Qui vero exercitationem nam eum. Id beatae rerum incidunt accusantium commodi sunt."], ["equipment_type_id", 3], ["created_at", "2018-04-06 13:48:11.278020"], ["updated_at", "2018-04-06 13:48:11.278020"]]  (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", "Refugio Schneider"], ["LIMIT", 1]] SQL (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", "Refugio Schneider"], ["name", "Eve Terry"], ["description", "Ruth Corwin"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-04-06 13:48:11.283119"], ["updated_at", "2018-04-06 13:48:11.283119"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Andera Funk"], ["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", "Merissa Carter"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Andera Funk"], ["name", "Merissa Carter"], ["description", "Anika Welch"], ["created_at", "2018-04-06 13:48:11.292669"], ["updated_at", "2018-04-06 13:48:11.292669"]]  (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", "Cherise Monahan"], ["LIMIT", 1]] SQL (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", "Cherise Monahan"], ["name", "Alisa Anderson"], ["location_type_id", 3], ["description", "Josh Armstrong"], ["address", "Jovita Blick"], ["created_at", "2018-04-06 13:48:11.299272"], ["updated_at", "2018-04-06 13:48:11.299272"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Elmer Yundt"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Janyce Hane"], ["LIMIT", 1]] SQL (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", "Elmer Yundt"], ["name", "Francesco Schoen"], ["description", "Barbra Daniel"], ["serial_number", "Janyce Hane"], ["brand", "Jeffrey Bosco"], ["item_model", "Gerry Wiegand"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-04-06 13:48:11.309390"], ["updated_at", "2018-04-06 13:48:11.309390"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rubye Mosciski"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Loralee Koelpin"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rubye Mosciski"], ["name", "Loralee Koelpin"], ["created_at", "2018-04-06 13:48:11.320772"], ["updated_at", "2018-04-06 13:48:11.320772"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Velva Jewess"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Velva Jewess"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.329936"], ["updated_at", "2018-04-06 13:48:11.329936"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Tereasa Thiel"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tereasa Thiel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.337218"], ["updated_at", "2018-04-06 13:48:11.337218"]]  (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", "Amelia VonRueden"], ["LIMIT", 1]] SQL (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 VonRueden"], ["name", "Teisha Christiansen"], ["address", "Vasiliki Rosenbaum"], ["created_at", "2018-04-06 13:48:11.344036"], ["updated_at", "2018-04-06 13:48:11.344036"]]  (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", "Johnie Kulas"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Johnie Kulas"], ["name", "Shanice Streich"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 39], ["created_at", "2018-04-06 13:48:11.350184"], ["updated_at", "2018-04-06 13:48:11.350184"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Johnie Kulas"], ["LIMIT", 1]] SQL (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", "Johnie Kulas"], ["name", "Shanice Streich"], ["description", "Default bundle for service 'Shanice Streich'"], ["service_delivery_unit_id", 39], ["created_at", "2018-04-06 13:48:11.357135"], ["updated_at", "2018-04-06 13:48:11.357135"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 34], ["chargeable_service_id", 14]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 14], ["equipment_item_id", 3], ["created_at", "2018-04-06 13:48:11.365920"], ["updated_at", "2018-04-06 13:48:11.365920"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#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", 35], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.2ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 12], ["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", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.5ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 2], ["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", 14], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.1ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (15.87ms) Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.28ms) Completed 200 OK in 26ms (Views: 2.9ms | ActiveRecord: 9.6ms)  (1.2ms) 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", "carrol_nienow@boehm.us"], ["LIMIT", 1]] SQL (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", "Patrice Kub"], ["last_name", "Joanna Ledner"], ["email", "carrol_nienow@boehm.us"], ["password_digest", "$2a$04$cUSwttaO0hxB861ZOTx6TOdC1baKPzgiBySBojdWteQbqZpeSuFtq"], ["created_at", "2018-04-06 13:48:11.410067"], ["updated_at", "2018-04-06 13:48:11.410067"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.3ms) 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", "Lurlene Donnelly"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Elsa Zemlak"], ["LIMIT", 1]] SQL (2.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lurlene Donnelly"], ["name", "Elsa Zemlak"], ["description", "Dolores iste sit porro est tenetur et. Mollitia soluta officia suscipit magni id adipisci. Maiores ut et aut est aperiam. Quisquam qui perferendis hic quis."], ["created_at", "2018-04-06 13:48:11.425781"], ["updated_at", "2018-04-06 13:48:11.425781"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (3.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Brian Pfeffer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (4.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Arlette Kiehn"], ["LIMIT", 1]] SQL (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", "Brian Pfeffer"], ["name", "Arlette Kiehn"], ["description", "Sed culpa aliquam quibusdam error optio. Nam aspernatur dolores commodi numquam culpa voluptas. Omnis eos ut nulla quis."], ["equipment_type_id", 4], ["created_at", "2018-04-06 13:48:11.442829"], ["updated_at", "2018-04-06 13:48:11.442829"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Gilberte Ledner"], ["LIMIT", 1]] SQL (1.6ms) 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", "Gilberte Ledner"], ["name", "Dewitt D'Amore"], ["description", "Cleora Christiansen"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-04-06 13:48:11.452186"], ["updated_at", "2018-04-06 13:48:11.452186"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Sasha Homenick"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Natisha Roberts"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sasha Homenick"], ["name", "Natisha Roberts"], ["description", "Adrienne Anderson"], ["created_at", "2018-04-06 13:48:11.469932"], ["updated_at", "2018-04-06 13:48:11.469932"]]  (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", "Tamara Wehner"], ["LIMIT", 1]] SQL (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", "Tamara Wehner"], ["name", "Annett Cummerata"], ["location_type_id", 4], ["description", "Mikki Romaguera"], ["address", "Syreeta Nicolas"], ["created_at", "2018-04-06 13:48:11.475548"], ["updated_at", "2018-04-06 13:48:11.475548"]]  (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", "Flo Christiansen"], ["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", "Jaquelyn Denesik"], ["LIMIT", 1]] SQL (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", "Flo Christiansen"], ["name", "Norris Harvey"], ["description", "Sherwood Labadie"], ["serial_number", "Jaquelyn Denesik"], ["brand", "Sanjuanita McClure"], ["item_model", "Kaye Cummings"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-04-06 13:48:11.482547"], ["updated_at", "2018-04-06 13:48:11.482547"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (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", "Jimmy Haley"], ["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", "Boyce Smitham"], ["LIMIT", 1]] SQL (2.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jimmy Haley"], ["name", "Boyce Smitham"], ["created_at", "2018-04-06 13:48:11.491848"], ["updated_at", "2018-04-06 13:48:11.491848"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Shanti Medhurst"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shanti Medhurst"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.503421"], ["updated_at", "2018-04-06 13:48:11.503421"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Brandon Mante"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brandon Mante"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.512514"], ["updated_at", "2018-04-06 13:48:11.512514"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (4.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Micheal Connelly"], ["LIMIT", 1]] SQL (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", "Micheal Connelly"], ["name", "Edmund Lockman"], ["address", "Derek Hettinger"], ["created_at", "2018-04-06 13:48:11.525972"], ["updated_at", "2018-04-06 13:48:11.525972"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Yuk Bode"], ["service_delivery_unit_id", 40], ["LIMIT", 1]] SQL (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", "Yuk Bode"], ["name", "Isis Mraz"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 40], ["created_at", "2018-04-06 13:48:11.535661"], ["updated_at", "2018-04-06 13:48:11.535661"]] 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", 40], ["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", "Yuk Bode"], ["LIMIT", 1]] SQL (2.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", "Yuk Bode"], ["name", "Isis Mraz"], ["description", "Default bundle for service 'Isis Mraz'"], ["service_delivery_unit_id", 40], ["created_at", "2018-04-06 13:48:11.542215"], ["updated_at", "2018-04-06 13:48:11.542215"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 35], ["chargeable_service_id", 15]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", 15], ["equipment_item_id", 4], ["created_at", "2018-04-06 13:48:11.550380"], ["updated_at", "2018-04-06 13:48:11.550380"]]  (0.9ms) 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", "Devora Langosh"], ["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", "Charita Barrows"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Devora Langosh"], ["name", "Charita Barrows"], ["description", "Quia sequi officia sapiente laborum minus voluptas molestiae. Est ipsam qui molestias ea quod inventore perspiciatis tempora. Quia eos natus quis nemo rerum voluptatibus quo. Suscipit id ea eveniet et illo officia."], ["created_at", "2018-04-06 13:48:11.559242"], ["updated_at", "2018-04-06 13:48:11.559242"]]  (0.7ms) 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", "Otha Conn"], ["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", "Dwain Mosciski"], ["LIMIT", 1]] SQL (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", "Otha Conn"], ["name", "Dwain Mosciski"], ["description", "Aperiam minima labore quisquam perferendis fugit nihil et sit. Possimus officia ut ducimus qui delectus. Officiis accusamus modi rerum dolores. Non doloremque illum aspernatur veniam temporibus suscipit aut. Alias explicabo dicta est cumque et excepturi sapiente aut."], ["equipment_type_id", 5], ["created_at", "2018-04-06 13:48:11.565589"], ["updated_at", "2018-04-06 13:48:11.565589"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Teena Mann"], ["LIMIT", 1]] SQL (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", "Teena Mann"], ["name", "Roselia Sporer"], ["description", "Britt McGlynn"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-04-06 13:48:11.572416"], ["updated_at", "2018-04-06 13:48:11.572416"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Bridgette Rowe"], ["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", "Lupe Bahringer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bridgette Rowe"], ["name", "Lupe Bahringer"], ["description", "Shanell Kautzer"], ["created_at", "2018-04-06 13:48:11.579979"], ["updated_at", "2018-04-06 13:48:11.579979"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Vince Lindgren"], ["LIMIT", 1]] SQL (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", "Vince Lindgren"], ["name", "Alesha Mayert"], ["location_type_id", 5], ["description", "Devon Grant"], ["address", "Jerlene Pfannerstill"], ["created_at", "2018-04-06 13:48:11.586025"], ["updated_at", "2018-04-06 13:48:11.586025"]]  (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", "Hue Prosacco"], ["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", "Brigid Schuppe"], ["LIMIT", 1]] SQL (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", "Hue Prosacco"], ["name", "Eloisa Jast"], ["description", "Kaci Nitzsche"], ["serial_number", "Brigid Schuppe"], ["brand", "Adelle Hessel"], ["item_model", "Dannie Reinger"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-04-06 13:48:11.592827"], ["updated_at", "2018-04-06 13:48:11.592827"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Hollie McCullough"], ["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", "Shenita Walsh"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Hollie McCullough"], ["name", "Shenita Walsh"], ["created_at", "2018-04-06 13:48:11.604927"], ["updated_at", "2018-04-06 13:48:11.604927"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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", "Lilla Kohler"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lilla Kohler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.614661"], ["updated_at", "2018-04-06 13:48:11.614661"]]  (1.0ms) 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", "Madalene Volkman"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Madalene Volkman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.624625"], ["updated_at", "2018-04-06 13:48:11.624625"]]  (0.9ms) 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", "Janel Schamberger"], ["LIMIT", 1]] SQL (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", "Janel Schamberger"], ["name", "Kennith Veum"], ["address", "Priscilla Brakus"], ["created_at", "2018-04-06 13:48:11.632009"], ["updated_at", "2018-04-06 13:48:11.632009"]]  (2.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Lanny Miller"], ["service_delivery_unit_id", 41], ["LIMIT", 1]] SQL (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", "Lanny Miller"], ["name", "Lizzie Ortiz"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 41], ["created_at", "2018-04-06 13:48:11.641221"], ["updated_at", "2018-04-06 13:48:11.641221"]] 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", 41], ["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", "Lanny Miller"], ["LIMIT", 1]] SQL (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", "Lanny Miller"], ["name", "Lizzie Ortiz"], ["description", "Default bundle for service 'Lizzie Ortiz'"], ["service_delivery_unit_id", 41], ["created_at", "2018-04-06 13:48:11.647993"], ["updated_at", "2018-04-06 13:48:11.647993"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 36], ["chargeable_service_id", 16]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", 16], ["equipment_item_id", 5], ["created_at", "2018-04-06 13:48:11.656298"], ["updated_at", "2018-04-06 13:48:11.656298"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Verena Cronin"], ["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", "Annett Bartell"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Verena Cronin"], ["name", "Annett Bartell"], ["description", "Autem libero soluta consectetur id. Inventore earum voluptatum amet sunt accusantium qui aut facilis. Ut voluptas quisquam est quaerat fuga veritatis hic aperiam. Omnis et aliquid voluptatem fugiat quo. Reiciendis deserunt architecto facere eum."], ["created_at", "2018-04-06 13:48:11.665396"], ["updated_at", "2018-04-06 13:48:11.665396"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Elisha Thompson"], ["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", "Monserrate Purdy"], ["LIMIT", 1]] SQL (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", "Elisha Thompson"], ["name", "Monserrate Purdy"], ["description", "Repellendus est dolor ut aperiam sequi. Reiciendis voluptatem perspiciatis quia ducimus rerum vel. Voluptas id et sed enim eos impedit velit."], ["equipment_type_id", 6], ["created_at", "2018-04-06 13:48:11.673988"], ["updated_at", "2018-04-06 13:48:11.673988"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Dorethea Larkin"], ["LIMIT", 1]] SQL (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", "Dorethea Larkin"], ["name", "Albertha Murphy"], ["description", "Floy Fay"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-04-06 13:48:11.679556"], ["updated_at", "2018-04-06 13:48:11.679556"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Ashton Lehner"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Beata Hegmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ashton Lehner"], ["name", "Beata Hegmann"], ["description", "Elbert Ebert"], ["created_at", "2018-04-06 13:48:11.688604"], ["updated_at", "2018-04-06 13:48:11.688604"]]  (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", "Elidia Wisoky"], ["LIMIT", 1]] SQL (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", "Elidia Wisoky"], ["name", "Arnold Pfeffer"], ["location_type_id", 6], ["description", "Ashly Cummerata"], ["address", "Jerri O'Keefe"], ["created_at", "2018-04-06 13:48:11.693536"], ["updated_at", "2018-04-06 13:48:11.693536"]]  (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", "Jacquelin McKenzie"], ["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", "Serafina Toy"], ["LIMIT", 1]] SQL (2.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", "Jacquelin McKenzie"], ["name", "Leisha Oga"], ["description", "Carlena Koelpin"], ["serial_number", "Serafina Toy"], ["brand", "Jesusa Botsford"], ["item_model", "Kaleigh Moen"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-04-06 13:48:11.700450"], ["updated_at", "2018-04-06 13:48:11.700450"]]  (1.0ms) 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", "Richie Lesch"], ["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", "Loura Davis"], ["LIMIT", 1]] SQL (2.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Richie Lesch"], ["name", "Loura Davis"], ["created_at", "2018-04-06 13:48:11.712100"], ["updated_at", "2018-04-06 13:48:11.712100"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Katrice Jakubowski"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Katrice Jakubowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.721633"], ["updated_at", "2018-04-06 13:48:11.721633"]]  (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", "Lupe Hane"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lupe Hane"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:11.727957"], ["updated_at", "2018-04-06 13:48:11.727957"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Belle Thompson"], ["LIMIT", 1]] SQL (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", "Belle Thompson"], ["name", "Arlie D'Amore"], ["address", "Buster Armstrong"], ["created_at", "2018-04-06 13:48:11.736352"], ["updated_at", "2018-04-06 13:48:11.736352"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jacques Grant"], ["service_delivery_unit_id", 42], ["LIMIT", 1]] SQL (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", "Jacques Grant"], ["name", "Hyacinth Marks"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 42], ["created_at", "2018-04-06 13:48:11.743300"], ["updated_at", "2018-04-06 13:48:11.743300"]] 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", 42], ["LIMIT", 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", "Jacques Grant"], ["LIMIT", 1]] SQL (1.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", "Jacques Grant"], ["name", "Hyacinth Marks"], ["description", "Default bundle for service 'Hyacinth Marks'"], ["service_delivery_unit_id", 42], ["created_at", "2018-04-06 13:48:11.751427"], ["updated_at", "2018-04-06 13:48:11.751427"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 37], ["chargeable_service_id", 17]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (1.4ms) 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", 17], ["equipment_item_id", 6], ["created_at", "2018-04-06 13:48:11.761367"], ["updated_at", "2018-04-06 13:48:11.761367"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates 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", 36], ["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", 36], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.0ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 4], ["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", 40], ["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", 16], ["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", 5], ["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", 41], ["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", 17], ["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", 6], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (17.17ms) Completed 200 OK in 24ms (Views: 11.3ms | ActiveRecord: 10.2ms)  (0.8ms) 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", "celestine@toy.ca"], ["LIMIT", 1]] SQL (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", "Adrian Haley"], ["last_name", "Shelby Hoppe"], ["email", "celestine@toy.ca"], ["password_digest", "$2a$04$GPbVREereFiFukzL19zy7Oo2XmNU7t1bxW/vQGk1He8HyW/fxC45."], ["created_at", "2018-04-06 13:48:11.799987"], ["updated_at", "2018-04-06 13:48:11.799987"]]  (0.9ms) 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", "Talia Bosco"], ["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", "Onita Heidenreich"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Talia Bosco"], ["name", "Onita Heidenreich"], ["created_at", "2018-04-06 13:48:11.807749"], ["updated_at", "2018-04-06 13:48:11.807749"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#index as HTML Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.8ms) 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.4ms) Completed 200 OK in 17ms (Views: 12.0ms | ActiveRecord: 4.2ms)  (4.1ms) ROLLBACK  (0.5ms) BEGIN  (1.6ms) 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", "jasmin@hackett.info"], ["LIMIT", 1]] SQL (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", "Alton Fahey"], ["last_name", "Debora Corwin"], ["email", "jasmin@hackett.info"], ["password_digest", "$2a$04$D00Cq4uQmeRjbO60D4QDDOgUUyRXXBNmv78hcI5GVnXtoxwB3nISC"], ["created_at", "2018-04-06 13:48:11.845817"], ["updated_at", "2018-04-06 13:48:11.845817"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.6ms) 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", "Cordelia Funk"], ["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", "Kyoko Moore"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cordelia Funk"], ["name", "Kyoko Moore"], ["created_at", "2018-04-06 13:48:11.860005"], ["updated_at", "2018-04-06 13:48:11.860005"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"20"} Mks::Auth::User Load (3.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Load (2.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.41ms) Completed 200 OK in 16ms (Views: 2.5ms | ActiveRecord: 6.9ms)  (1.4ms) 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", "judi.cummerata@tillman.co.uk"], ["LIMIT", 1]] SQL (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", "Maris Reilly"], ["last_name", "Mikki Kassulke"], ["email", "judi.cummerata@tillman.co.uk"], ["password_digest", "$2a$04$AOg0N2DPRkq8G3irAIY/g.Jf5MYp1jmsEypJMwpxyezdP.MUyoeBG"], ["created_at", "2018-04-06 13:48:11.894783"], ["updated_at", "2018-04-06 13:48:11.894783"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Damon Casper", "name"=>"Grazyna Dickinson"}} 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]]  (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", "Damon Casper"], ["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", "Grazyna Dickinson"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Damon Casper"], ["name", "Grazyna Dickinson"], ["created_at", "2018-04-06 13:48:11.908006"], ["updated_at", "2018-04-06 13:48:11.908006"]]  (1.1ms) RELEASE 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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.4ms) Completed 201 Created in 15ms (Views: 3.2ms | ActiveRecord: 7.4ms)  (2.4ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (5.0ms) ROLLBACK  (0.9ms) BEGIN  (1.6ms) 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", "flora@johnsontillman.co.uk"], ["LIMIT", 1]] SQL (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", "Sidney Hirthe"], ["last_name", "Sal Blick"], ["email", "flora@johnsontillman.co.uk"], ["password_digest", "$2a$04$ZOKhmvQKAnkXu/VUePuze.oThXFAba6I4NVOfZTDv2xFXQCztsLSy"], ["created_at", "2018-04-06 13:48:11.943625"], ["updated_at", "2018-04-06 13:48:11.943625"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Ricarda Wiza", "name"=>"Seymour Sporer"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["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 LIMIT $2 [["code", "Ricarda Wiza"], ["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", "Seymour Sporer"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ricarda Wiza"], ["name", "Seymour Sporer"], ["created_at", "2018-04-06 13:48:11.963182"], ["updated_at", "2018-04-06 13:48:11.963182"]]  (1.4ms) RELEASE 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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.33ms) Completed 201 Created in 22ms (Views: 3.3ms | ActiveRecord: 9.8ms) Mks::Rate::ServiceType Load (1.3ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (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", "elois@hamill.us"], ["LIMIT", 1]] SQL (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", "Gianna Corwin"], ["last_name", "Noah Dicki"], ["email", "elois@hamill.us"], ["password_digest", "$2a$04$57K6Zo1IhVaKur0lrxKCZu3aG.FP.nxbck3JsCw5YbvKXBL1bUuxW"], ["created_at", "2018-04-06 13:48:11.988140"], ["updated_at", "2018-04-06 13:48:11.988140"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Magnolia Thompson"}} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 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", ""], ["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", "Magnolia Thompson"], ["LIMIT", 1]]  (1.0ms) 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.14ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 6.3ms)  (0.9ms) ROLLBACK  (1.2ms) BEGIN  (0.8ms) 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", "bong@funkhowe.co.uk"], ["LIMIT", 1]] SQL (1.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", "Carletta Lowe"], ["last_name", "Pearl Willms"], ["email", "bong@funkhowe.co.uk"], ["password_digest", "$2a$04$Z5hDc1n9a9XZattFUsJzDOZwy0.edGMwi9vcqCHFRDVjksHBae.3K"], ["created_at", "2018-04-06 13:48:12.017598"], ["updated_at", "2018-04-06 13:48:12.017598"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Dung Will"], ["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", "Ray Spinka"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dung Will"], ["name", "Ray Spinka"], ["created_at", "2018-04-06 13:48:12.027484"], ["updated_at", "2018-04-06 13:48:12.027484"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Teresita Kirlin"}, "id"=>"23"} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.3ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]  (1.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (3.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", "Dung Will"], ["id", 23], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) 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", "Teresita Kirlin"], ["id", 23], ["LIMIT", 1]] SQL (3.2ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Teresita Kirlin"], ["updated_at", "2018-04-06 13:48:12.047823"], ["id", 23]]  (0.8ms) 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 ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.46ms) Completed 200 OK in 25ms (Views: 2.1ms | ActiveRecord: 13.9ms) 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", 23], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.9ms) BEGIN  (1.4ms) 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", "charlie@haag.ca"], ["LIMIT", 1]] SQL (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", "Clayton Bogisich"], ["last_name", "Jessica Auer"], ["email", "charlie@haag.ca"], ["password_digest", "$2a$04$i9RvlIVaL4as3vHa9io7aO/TyRwQg/LdVWAwph1pR9DSmalcVBnQ6"], ["created_at", "2018-04-06 13:48:12.071932"], ["updated_at", "2018-04-06 13:48:12.071932"]]  (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", "Hildegard Wolff"], ["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", "Evangelina Luettgen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Hildegard Wolff"], ["name", "Evangelina Luettgen"], ["created_at", "2018-04-06 13:48:12.079470"], ["updated_at", "2018-04-06 13:48:12.079470"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Joy Rodriguez", "name"=>"Arnoldo Abernathy"}, "id"=>"24"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["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", 24], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.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", "Joy Rodriguez"], ["id", 24], ["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", "Arnoldo Abernathy"], ["id", 24], ["LIMIT", 1]] SQL (1.2ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Joy Rodriguez"], ["name", "Arnoldo Abernathy"], ["updated_at", "2018-04-06 13:48:12.092712"], ["id", 24]]  (0.7ms) 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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.8ms) Completed 200 OK in 17ms (Views: 2.6ms | ActiveRecord: 8.2ms)  (2.0ms) ROLLBACK  (0.4ms) 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", "lilliana.turner@flatley.com"], ["LIMIT", 1]] SQL (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", "Maximo Hand"], ["last_name", "Bud Lakin"], ["email", "lilliana.turner@flatley.com"], ["password_digest", "$2a$04$1ZefunX.3xfB.4RWOS2XkeaC9dDXPl6IIzWf.UyBZTXPVaIV1e5dy"], ["created_at", "2018-04-06 13:48:12.111353"], ["updated_at", "2018-04-06 13:48:12.111353"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Margaretta Metz"], ["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", "Youlanda Abbott"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Margaretta Metz"], ["name", "Youlanda Abbott"], ["created_at", "2018-04-06 13:48:12.120267"], ["updated_at", "2018-04-06 13:48:12.120267"]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Lenna Lynch"}, "id"=>"25"} 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]] 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", 25], ["LIMIT", 1]]  (0.9ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", ""], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) 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", "Lenna Lynch"], ["id", 25], ["LIMIT", 1]]  (1.2ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (2.4ms) 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.16ms) Completed 422 Unprocessable Entity in 17ms (Views: 1.9ms | ActiveRecord: 8.9ms)  (1.7ms) ROLLBACK  (0.9ms) BEGIN  (1.8ms) 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", "hue@bauch.ca"], ["LIMIT", 1]] SQL (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", "Aron Dietrich"], ["last_name", "Na Dietrich"], ["email", "hue@bauch.ca"], ["password_digest", "$2a$04$RtO/X5awQBesewvkpaB/vuUu2tYC67IC29X/86/uOgNL/CVCmboXO"], ["created_at", "2018-04-06 13:48:12.162921"], ["updated_at", "2018-04-06 13:48:12.162921"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Yasmin Nienow"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yasmin Nienow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.173708"], ["updated_at", "2018-04-06 13:48:12.173708"]]  (0.9ms) 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", "Susann Tromp"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Susann Tromp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.180887"], ["updated_at", "2018-04-06 13:48:12.180887"]]  (1.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Verlene Runte"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Verlene Runte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.190165"], ["updated_at", "2018-04-06 13:48:12.190165"]]  (0.6ms) 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", 45], ["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", 45], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.2ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (4.1ms) Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 2.7ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "Micah Gaylord"], ["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", "Miki Pagac"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Micah Gaylord"], ["name", "Miki Pagac"], ["created_at", "2018-04-06 13:48:12.214265"], ["updated_at", "2018-04-06 13:48:12.214265"]]  (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", "Son Smitham"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Son Smitham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.221544"], ["updated_at", "2018-04-06 13:48:12.221544"]]  (2.6ms) RELEASE SAVEPOINT active_record_1  (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", "Florida Veum"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Florida Veum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.234265"], ["updated_at", "2018-04-06 13:48:12.234265"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.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 LIMIT $2 [["code", "Alisa Vandervort"], ["LIMIT", 1]] SQL (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", "Alisa Vandervort"], ["name", "Enriqueta Hickle"], ["address", "Lahoma Bruen"], ["created_at", "2018-04-06 13:48:12.253619"], ["updated_at", "2018-04-06 13:48:12.253619"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Riva Spinka"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Riva Spinka"], ["name", "Peggy Gleason"], ["service_type_id", 26], ["base_unit_id", 40], ["utilization_unit_id", 41], ["service_delivery_unit_id", 43], ["created_at", "2018-04-06 13:48:12.264903"], ["updated_at", "2018-04-06 13:48:12.264903"]] 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", 43], ["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", "Riva Spinka"], ["LIMIT", 1]] SQL (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", "Riva Spinka"], ["name", "Peggy Gleason"], ["description", "Default bundle for service 'Peggy Gleason'"], ["service_delivery_unit_id", 43], ["created_at", "2018-04-06 13:48:12.274002"], ["updated_at", "2018-04-06 13:48:12.274002"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 38], ["chargeable_service_id", 18]]  (0.6ms) RELEASE 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Riva Spinka"], ["id", 18], ["service_delivery_unit_id", 43], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.8ms) 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", "Chang Breitenberg"], ["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", "Tinisha Marquardt"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chang Breitenberg"], ["name", "Tinisha Marquardt"], ["created_at", "2018-04-06 13:48:12.295112"], ["updated_at", "2018-04-06 13:48:12.295112"]]  (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", "Teddy O'Hara"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Teddy O'Hara"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.301451"], ["updated_at", "2018-04-06 13:48:12.301451"]]  (0.7ms) 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", "Freeda Hyatt"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Freeda Hyatt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.308653"], ["updated_at", "2018-04-06 13:48:12.308653"]]  (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", "Renea Gorczany"], ["LIMIT", 1]] SQL (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", "Renea Gorczany"], ["name", "Annita Pollich"], ["address", "Emmitt Dicki"], ["created_at", "2018-04-06 13:48:12.315635"], ["updated_at", "2018-04-06 13:48:12.315635"]]  (1.0ms) RELEASE 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 44], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) 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", "Catherin Corkery"], ["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", "Vivienne Crooks"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Catherin Corkery"], ["name", "Vivienne Crooks"], ["created_at", "2018-04-06 13:48:12.338510"], ["updated_at", "2018-04-06 13:48:12.338510"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Becky Flatley"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Becky Flatley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.348722"], ["updated_at", "2018-04-06 13:48:12.348722"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Christopher Lynch"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Christopher Lynch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.358275"], ["updated_at", "2018-04-06 13:48:12.358275"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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", "Bernardine Abshire"], ["LIMIT", 1]] SQL (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", "Bernardine Abshire"], ["name", "Loraine Langworth"], ["address", "Reiko Kohler"], ["created_at", "2018-04-06 13:48:12.368718"], ["updated_at", "2018-04-06 13:48:12.368718"]]  (0.6ms) 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", "Randal Bauch"], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) 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", "Rosalia Pagac"], ["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", "Wilhemina Mante"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rosalia Pagac"], ["name", "Wilhemina Mante"], ["created_at", "2018-04-06 13:48:12.389952"], ["updated_at", "2018-04-06 13:48:12.389952"]]  (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", "Sherika Ullrich"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sherika Ullrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.398623"], ["updated_at", "2018-04-06 13:48:12.398623"]]  (0.7ms) 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", "Benedict Hirthe"], ["LIMIT", 1]] SQL (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", "Benedict Hirthe"], ["name", "Mikel Ledner"], ["address", "Shannon Krajcik"], ["created_at", "2018-04-06 13:48:12.407313"], ["updated_at", "2018-04-06 13:48:12.407313"]]  (0.6ms) 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", "Julian Homenick"], ["service_delivery_unit_id", 46], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (1.4ms) BEGIN  (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", "Earleen Lueilwitz"], ["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", "Keila Bosco"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Earleen Lueilwitz"], ["name", "Keila Bosco"], ["created_at", "2018-04-06 13:48:12.426228"], ["updated_at", "2018-04-06 13:48:12.426228"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Dena Welch"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dena Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.434603"], ["updated_at", "2018-04-06 13:48:12.434603"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (3.2ms) 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", "Soledad Monahan"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Soledad Monahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.447319"], ["updated_at", "2018-04-06 13:48:12.447319"]]  (1.9ms) 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" IS NULL LIMIT $2 [["code", "Elliot Erdman"], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.6ms) BEGIN  (1.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", "Lu Walsh"], ["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", "Trey Walter"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lu Walsh"], ["name", "Trey Walter"], ["created_at", "2018-04-06 13:48:12.482295"], ["updated_at", "2018-04-06 13:48:12.482295"]]  (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", "Tabatha Lubowitz"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tabatha Lubowitz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.489464"], ["updated_at", "2018-04-06 13:48:12.489464"]]  (0.6ms) 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", "Kristi Bashirian"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kristi Bashirian"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.496446"], ["updated_at", "2018-04-06 13:48:12.496446"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Vaughn Romaguera"], ["LIMIT", 1]] SQL (2.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vaughn Romaguera"], ["name", "Debera Cremin"], ["address", "Vickey Kunze"], ["created_at", "2018-04-06 13:48:12.504711"], ["updated_at", "2018-04-06 13:48:12.504711"]]  (1.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", "Enid Buckridge"], ["service_delivery_unit_id", 47], ["LIMIT", 1]] SQL (2.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", "Enid Buckridge"], ["name", "Elden Gerlach"], ["service_type_id", 31], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 47], ["created_at", "2018-04-06 13:48:12.514576"], ["updated_at", "2018-04-06 13:48:12.514576"]] 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]] 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", "Enid Buckridge"], ["LIMIT", 1]] SQL (1.4ms) 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", "Enid Buckridge"], ["name", "Elden Gerlach"], ["description", "Default bundle for service 'Elden Gerlach'"], ["service_delivery_unit_id", 47], ["created_at", "2018-04-06 13:48:12.534219"], ["updated_at", "2018-04-06 13:48:12.534219"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 39], ["chargeable_service_id", 19]]  (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", "Abbey Zemlak"], ["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", "Janita Wuckert"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Abbey Zemlak"], ["name", "Janita Wuckert"], ["created_at", "2018-04-06 13:48:12.550947"], ["updated_at", "2018-04-06 13:48:12.550947"]]  (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", "Francisca Emard"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Francisca Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.557982"], ["updated_at", "2018-04-06 13:48:12.557982"]]  (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", "Marie Haag"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marie Haag"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.565431"], ["updated_at", "2018-04-06 13:48:12.565431"]]  (0.9ms) 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", "Enid Buckridge"], ["service_delivery_unit_id", 47], ["LIMIT", 1]] 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", 47], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) 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", "Marlin Muller"], ["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", "Karleen Lang"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marlin Muller"], ["name", "Karleen Lang"], ["created_at", "2018-04-06 13:48:12.585548"], ["updated_at", "2018-04-06 13:48:12.585548"]]  (0.7ms) 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", "Donnetta Botsford"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Donnetta Botsford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.591393"], ["updated_at", "2018-04-06 13:48:12.591393"]]  (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", "Carl Fadel"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carl Fadel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:12.596793"], ["updated_at", "2018-04-06 13:48:12.596793"]]  (0.8ms) 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", "Agripina McKenzie"], ["LIMIT", 1]] SQL (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", "Agripina McKenzie"], ["name", "Cristina Jacobson"], ["address", "Zoe Mante"], ["created_at", "2018-04-06 13:48:12.602798"], ["updated_at", "2018-04-06 13:48:12.602798"]]  (0.7ms) 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", "Gladis Quigley"], ["service_delivery_unit_id", 48], ["LIMIT", 1]] SQL (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", "Gladis Quigley"], ["name", "Talia Towne"], ["service_type_id", 33], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 48], ["created_at", "2018-04-06 13:48:12.608485"], ["updated_at", "2018-04-06 13:48:12.608485"]] 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", 48], ["LIMIT", 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", "Gladis Quigley"], ["LIMIT", 1]] SQL (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", "Gladis Quigley"], ["name", "Talia Towne"], ["description", "Default bundle for service 'Talia Towne'"], ["service_delivery_unit_id", 48], ["created_at", "2018-04-06 13:48:12.617730"], ["updated_at", "2018-04-06 13:48:12.617730"]] SQL (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", 20]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 1]]  (2.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", 40]]  (1.1ms) ROLLBACK  (1.0ms) BEGIN  (1.5ms) 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", "allene@runolfsdottir.biz"], ["LIMIT", 1]] SQL (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", "Whitney Gusikowski"], ["last_name", "Carola Legros"], ["email", "allene@runolfsdottir.biz"], ["password_digest", "$2a$04$DXktZgU6jSE1dCAMfTZ4re/tewLVEh4aTrosjhWpVvY5GImQNwRcu"], ["created_at", "2018-04-06 13:48:12.680353"], ["updated_at", "2018-04-06 13:48:12.680353"]]  (1.8ms) RELEASE SAVEPOINT active_record_1  (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", "sierra@barrows.ca"], ["LIMIT", 1]] SQL (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", "Omar Goyette"], ["last_name", "Staci Farrell"], ["email", "sierra@barrows.ca"], ["password_digest", "$2a$04$sWo5XSZO2rGti3xPCymKNeKyePIzVS57pooRC57nfL8nOQvALH91a"], ["created_at", "2018-04-06 13:48:12.696516"], ["updated_at", "2018-04-06 13:48:12.696516"]]  (0.8ms) 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", "Mariana Quitzon"], ["LIMIT", 1]] SQL (2.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", "Mariana Quitzon"], ["authorized_by", "Hellen Kihn"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 46], ["approved_by_id", 47], ["created_at", "2018-04-06 13:48:12.704200"], ["updated_at", "2018-04-06 13:48:12.704200"]]  (0.5ms) RELEASE 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Mariana Quitzon"], ["id", 1], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "veda_romaguera@pourosfritsch.co.uk"], ["LIMIT", 1]] SQL (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", "Nancee Wunsch"], ["last_name", "Joana Nitzsche"], ["email", "veda_romaguera@pourosfritsch.co.uk"], ["password_digest", "$2a$04$QF2eenNdvaBjoO.2ll6NP.k3JTK4l1CURqvRKfdS5nLeZqUmXM.5a"], ["created_at", "2018-04-06 13:48:12.718456"], ["updated_at", "2018-04-06 13:48:12.718456"]]  (0.6ms) 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", "bernadette@crooks.com"], ["LIMIT", 1]] SQL (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", "Eunice Batz"], ["last_name", "Carissa Brown"], ["email", "bernadette@crooks.com"], ["password_digest", "$2a$04$kJJVA6djuRFnPVJYNX1DSuZeVKI0uPbhxLDuFOwsrF3ngmb/kyp32"], ["created_at", "2018-04-06 13:48:12.726332"], ["updated_at", "2018-04-06 13:48:12.726332"]]  (0.5ms) RELEASE 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", "Preston Heidenreich"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.8ms) 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", "alta@quitzonbergnaum.info"], ["LIMIT", 1]] SQL (2.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", "Zenobia Harris"], ["last_name", "Coreen Huels"], ["email", "alta@quitzonbergnaum.info"], ["password_digest", "$2a$04$M5DpjUXA98qHhsltcsKu9OyjyIw1xsaJkMDcBC9GkSBj9.1je7BMa"], ["created_at", "2018-04-06 13:48:12.743871"], ["updated_at", "2018-04-06 13:48:12.743871"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (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", "kristyn.stoltenberg@adams.us"], ["LIMIT", 1]] SQL (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", "Elois White"], ["last_name", "Andy Lemke"], ["email", "kristyn.stoltenberg@adams.us"], ["password_digest", "$2a$04$IZtWXgk7ZJOwU3wO.4j6pOvSkEZaeXIAakGkjxrNEzGgcq1qd.gMe"], ["created_at", "2018-04-06 13:48:12.755791"], ["updated_at", "2018-04-06 13:48:12.755791"]]  (0.6ms) 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.7ms) ROLLBACK  (1.1ms) BEGIN  (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", "staci.anderson@brownrau.biz"], ["LIMIT", 1]] SQL (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", "Kathryn Rau"], ["last_name", "Lesley Mosciski"], ["email", "staci.anderson@brownrau.biz"], ["password_digest", "$2a$04$MCn/ZOgVPkgG/itnEt6YMuP5LdnhZBt6t/YH46JyMYu7lfrY89KXy"], ["created_at", "2018-04-06 13:48:12.775140"], ["updated_at", "2018-04-06 13:48:12.775140"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.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", "tynisha@gusikowski.biz"], ["LIMIT", 1]] SQL (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", "Rigoberto Jaskolski"], ["last_name", "Dorthy Zboncak"], ["email", "tynisha@gusikowski.biz"], ["password_digest", "$2a$04$iBBWVVg5BHW/jd/tomSiLu8TcZDks3hc8wHW7FvKrghyivDu.Y1iS"], ["created_at", "2018-04-06 13:48:12.787405"], ["updated_at", "2018-04-06 13:48:12.787405"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lauren Beier"], ["LIMIT", 1]] SQL (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", "Lauren Beier"], ["authorized_by", "Sebrina Paucek"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 52], ["approved_by_id", 53], ["created_at", "2018-04-06 13:48:12.794513"], ["updated_at", "2018-04-06 13:48:12.794513"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (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", "jessi@schmidt.biz"], ["LIMIT", 1]] SQL (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", "Eufemia Zemlak"], ["last_name", "Serita Breitenberg"], ["email", "jessi@schmidt.biz"], ["password_digest", "$2a$04$tcdcmb2lFOavK4q3GJ7CVORDSzDLwCUO5qUkbDATQGMrUbi0fqz6u"], ["created_at", "2018-04-06 13:48:12.807083"], ["updated_at", "2018-04-06 13:48:12.807083"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "astrid@schmitt.co.uk"], ["LIMIT", 1]] SQL (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", "Maryellen Spinka"], ["last_name", "Merrilee Kemmer"], ["email", "astrid@schmitt.co.uk"], ["password_digest", "$2a$04$8FtXa/Vvpc20HvCAt.HYjOege3v0V0/QJVfCaw3wy.RSctgTEtY1O"], ["created_at", "2018-04-06 13:48:12.815851"], ["updated_at", "2018-04-06 13:48:12.815851"]]  (1.3ms) RELEASE 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", "Lauren Beier"], ["LIMIT", 1]]  (1.5ms) ROLLBACK  (0.5ms) 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", "alida_homenick@croninhoeger.ca"], ["LIMIT", 1]] SQL (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", "Tommie Franecki"], ["last_name", "Tiesha Schinner"], ["email", "alida_homenick@croninhoeger.ca"], ["password_digest", "$2a$04$nT7o8AllCP/CtHO1ZFpjHOPxqzzGOROhjP9.sE5J66nCySsFCroAS"], ["created_at", "2018-04-06 13:48:12.836077"], ["updated_at", "2018-04-06 13:48:12.836077"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "versie.harvey@ortiz.co.uk"], ["LIMIT", 1]] SQL (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", "Andria Ebert"], ["last_name", "Anibal Metz"], ["email", "versie.harvey@ortiz.co.uk"], ["password_digest", "$2a$04$23pzSSkADdJy55QG5WMOu.CSBLEID0aXImu5u1c4LCNlkJEh14AEy"], ["created_at", "2018-04-06 13:48:12.846389"], ["updated_at", "2018-04-06 13:48:12.846389"]]  (1.1ms) 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", "Dede Okuneva"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) 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", "ahmed@hermannrohan.ca"], ["LIMIT", 1]] SQL (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", "Adaline Morar"], ["last_name", "Sharan Denesik"], ["email", "ahmed@hermannrohan.ca"], ["password_digest", "$2a$04$hWDdw1ll9Lt.39w7XZUSKuTRxG1xiQBRuFJ4TZBXx1HdWisGnhqc."], ["created_at", "2018-04-06 13:48:12.866182"], ["updated_at", "2018-04-06 13:48:12.866182"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "reyes_goldner@kingweber.us"], ["LIMIT", 1]] SQL (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", "Von Stroman"], ["last_name", "Kandice Keebler"], ["email", "reyes_goldner@kingweber.us"], ["password_digest", "$2a$04$QtuOWunSZl8eRl/eK3rhi.XhZqKozUm6ht9nv2CZBRK1mjEBBEmze"], ["created_at", "2018-04-06 13:48:12.878866"], ["updated_at", "2018-04-06 13:48:12.878866"]]  (1.0ms) 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", "Minh Runolfsson"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.2ms) 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", "celestine_anderson@lynch.us"], ["LIMIT", 1]] SQL (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", "Ryan Hahn"], ["last_name", "Tracie Waelchi"], ["email", "celestine_anderson@lynch.us"], ["password_digest", "$2a$04$5wAwTC2DDlJyj2TjTKUKNudqdDRQcMSO4NRsbxeb9hPRqIQpiBb2K"], ["created_at", "2018-04-06 13:48:12.896671"], ["updated_at", "2018-04-06 13:48:12.896671"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.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", "audrea@kihn.com"], ["LIMIT", 1]] SQL (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", "Maurita Ryan"], ["last_name", "Sharen Kertzmann"], ["email", "audrea@kihn.com"], ["password_digest", "$2a$04$ww7yTZISj/U9rMSutO7G5OaMvy7yVGCP.oH1wZqdltgquFHQJTqMC"], ["created_at", "2018-04-06 13:48:12.906782"], ["updated_at", "2018-04-06 13:48:12.906782"]]  (0.5ms) 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", "Dorian Little"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.9ms) 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", "ruthann.durgan@shanahannitzsche.co.uk"], ["LIMIT", 1]] SQL (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", "Gianna White"], ["last_name", "Moises Lynch"], ["email", "ruthann.durgan@shanahannitzsche.co.uk"], ["password_digest", "$2a$04$z4tjlFBuOupaa5OT/XE1cehZDo2GboNsIFDFfSTrZxJi3riEvXQ4S"], ["created_at", "2018-04-06 13:48:12.922888"], ["updated_at", "2018-04-06 13:48:12.922888"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "charlie@hegmannschmidt.co.uk"], ["LIMIT", 1]] SQL (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", "Madelaine Stokes"], ["last_name", "Meghann Rice"], ["email", "charlie@hegmannschmidt.co.uk"], ["password_digest", "$2a$04$STYCyKFeczBJ7f9xVBhBK.kxjx1syoAnPFPllLt4737NMwaFmId6a"], ["created_at", "2018-04-06 13:48:12.934824"], ["updated_at", "2018-04-06 13:48:12.934824"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Gino Daugherty"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.2ms) BEGIN  (1.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", "vesta@reilly.info"], ["LIMIT", 1]] SQL (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", "Liberty Schaefer"], ["last_name", "Alex Nienow"], ["email", "vesta@reilly.info"], ["password_digest", "$2a$04$cUcj3mYM5.33a3pzY/U0WOEbebRwTIDb6uzzojTLG/90Y.5Gbjgv."], ["created_at", "2018-04-06 13:48:12.957512"], ["updated_at", "2018-04-06 13:48:12.957512"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Maria Prohaska"], ["LIMIT", 1]] SQL (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", "Maria Prohaska"], ["authorized_by", "Michel Collins"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 64], ["created_at", "2018-04-06 13:48:12.966605"], ["updated_at", "2018-04-06 13:48:12.966605"]]  (1.6ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Maria Prohaska"], ["id", 3], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (1.3ms) BEGIN  (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", "Eleni Spinka"], ["LIMIT", 1]] SQL (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", "Eleni Spinka"], ["name", "Mary Wehner"], ["address", "Natalie Wilderman"], ["created_at", "2018-04-06 13:48:12.988896"], ["updated_at", "2018-04-06 13:48:12.988896"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.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", "Gilma Koepp"], ["LIMIT", 1]] SQL (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", "Gilma Koepp"], ["name", "Odilia Conroy"], ["description", "Caitlyn Lemke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 49], ["created_at", "2018-04-06 13:48:12.996725"], ["updated_at", "2018-04-06 13:48:12.996725"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.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", "Gilma Koepp"], ["id", 41], ["LIMIT", 1]]  (1.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Shu Swaniawski"], ["LIMIT", 1]] SQL (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", "Shu Swaniawski"], ["name", "Lakeesha Runte"], ["address", "Ja Dooley"], ["created_at", "2018-04-06 13:48:13.013331"], ["updated_at", "2018-04-06 13:48:13.013331"]]  (0.6ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (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", "Gussie Muller"], ["LIMIT", 1]] SQL (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", "Gussie Muller"], ["name", "Mika Mosciski"], ["address", "Joette Torphy"], ["created_at", "2018-04-06 13:48:13.026895"], ["updated_at", "2018-04-06 13:48:13.026895"]]  (0.6ms) RELEASE 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", "Sofia Greenfelder"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Joaquin Ernser"], ["LIMIT", 1]] SQL (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", "Joaquin Ernser"], ["name", "Michal Kuhic"], ["address", "Danika Kuhlman"], ["created_at", "2018-04-06 13:48:13.041729"], ["updated_at", "2018-04-06 13:48:13.041729"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Chance Braun"], ["LIMIT", 1]] SQL (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", "Chance Braun"], ["name", "Staci Dickinson"], ["description", "Setsuko Hammes"], ["percent_discount", 100.0], ["service_delivery_unit_id", 52], ["created_at", "2018-04-06 13:48:13.046916"], ["updated_at", "2018-04-06 13:48:13.046916"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Romana Ward"], ["LIMIT", 1]] SQL (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", "Romana Ward"], ["name", "Nida D'Amore"], ["address", "Dominga Schamberger"], ["created_at", "2018-04-06 13:48:13.055781"], ["updated_at", "2018-04-06 13:48:13.055781"]]  (0.6ms) 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" = $1 LIMIT $2 [["code", "Chance Braun"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.8ms) BEGIN  (0.6ms) 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", "Jennie Rodriguez"], ["LIMIT", 1]] SQL (2.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jennie Rodriguez"], ["name", "Dolores Satterfield"], ["address", "Tamiko Lind"], ["created_at", "2018-04-06 13:48:13.071821"], ["updated_at", "2018-04-06 13:48:13.071821"]]  (0.7ms) RELEASE 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", "Jennie Rodriguez"], ["id", 54], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (1.0ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.7ms) BEGIN 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", "Ilda Klein"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.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", "Vaughn Murazik"], ["LIMIT", 1]] SQL (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", "Vaughn Murazik"], ["name", "Denice Halvorson"], ["address", "Hortense Cummings"], ["created_at", "2018-04-06 13:48:13.103121"], ["updated_at", "2018-04-06 13:48:13.103121"]]  (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", "Vaughn Murazik"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (1.1ms) 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", "Huey Frami"], ["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", "Daryl Crist"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Huey Frami"], ["name", "Daryl Crist"], ["description", "Impedit tempore ut sit veniam omnis. Nostrum sit qui commodi exercitationem inventore. Molestias adipisci molestiae et quo deserunt possimus non explicabo."], ["created_at", "2018-04-06 13:48:13.120582"], ["updated_at", "2018-04-06 13:48:13.120582"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jeff Bailey"], ["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", "Luanna Dooley"], ["LIMIT", 1]] SQL (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", "Jeff Bailey"], ["name", "Luanna Dooley"], ["description", "Officia nulla debitis tenetur et quam consectetur laborum reprehenderit. Autem voluptates aspernatur illo praesentium quis pariatur voluptate sunt. Esse dolor laudantium fugiat deleniti minima et porro hic."], ["equipment_type_id", 7], ["created_at", "2018-04-06 13:48:13.126527"], ["updated_at", "2018-04-06 13:48:13.126527"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Joyce Zulauf"], ["LIMIT", 1]] SQL (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", "Joyce Zulauf"], ["name", "Carol Cole"], ["description", "Divina Graham"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-04-06 13:48:13.133160"], ["updated_at", "2018-04-06 13:48:13.133160"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Piedad 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", "Elizbeth Farrell"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Piedad Rogahn"], ["name", "Elizbeth Farrell"], ["description", "Tamekia Spencer"], ["created_at", "2018-04-06 13:48:13.142635"], ["updated_at", "2018-04-06 13:48:13.142635"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Loyd Hodkiewicz"], ["LIMIT", 1]] SQL (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", "Loyd Hodkiewicz"], ["name", "Aleta Schowalter"], ["location_type_id", 7], ["description", "Joane Durgan"], ["address", "Alla Willms"], ["created_at", "2018-04-06 13:48:13.149476"], ["updated_at", "2018-04-06 13:48:13.149476"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Logan 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", "Alisia Klocko"], ["LIMIT", 1]] SQL (1.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", "Logan Schamberger"], ["name", "Natividad Franecki"], ["description", "Denice Walker"], ["serial_number", "Alisia Klocko"], ["brand", "Reyna Deckow"], ["item_model", "Brant Crooks"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-04-06 13:48:13.158445"], ["updated_at", "2018-04-06 13:48:13.158445"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Jerold Schuster"], ["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", "Boyd Kemmer"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jerold Schuster"], ["name", "Boyd Kemmer"], ["created_at", "2018-04-06 13:48:13.169633"], ["updated_at", "2018-04-06 13:48:13.169633"]]  (1.0ms) 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", "Kasandra Bartoletti"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kasandra Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.177516"], ["updated_at", "2018-04-06 13:48:13.177516"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Cherie Beahan"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cherie Beahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.186938"], ["updated_at", "2018-04-06 13:48:13.186938"]]  (0.9ms) 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", "Jan Bechtelar"], ["LIMIT", 1]] SQL (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", "Jan Bechtelar"], ["name", "Kristin Weimann"], ["address", "Malena Reinger"], ["created_at", "2018-04-06 13:48:13.196158"], ["updated_at", "2018-04-06 13:48:13.196158"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Robbie Wintheiser"], ["service_delivery_unit_id", 56], ["LIMIT", 1]] SQL (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", "Robbie Wintheiser"], ["name", "Alessandra Mueller"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 56], ["created_at", "2018-04-06 13:48:13.204730"], ["updated_at", "2018-04-06 13:48:13.204730"]] 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", 56], ["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", "Robbie Wintheiser"], ["LIMIT", 1]] SQL (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", "Robbie Wintheiser"], ["name", "Alessandra Mueller"], ["description", "Default bundle for service 'Alessandra Mueller'"], ["service_delivery_unit_id", 56], ["created_at", "2018-04-06 13:48:13.211620"], ["updated_at", "2018-04-06 13:48:13.211620"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 43], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (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", 21], ["equipment_item_id", 7], ["created_at", "2018-04-06 13:48:13.220476"], ["updated_at", "2018-04-06 13:48:13.220476"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Faustino Marks"], ["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", "Avis Boehm"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Faustino Marks"], ["name", "Avis Boehm"], ["description", "Veritatis atque non illum officiis. Praesentium ab ipsum sunt occaecati corrupti quia explicabo nisi. Quaerat quas ut nihil molestiae dolorem quasi."], ["created_at", "2018-04-06 13:48:13.233150"], ["updated_at", "2018-04-06 13:48:13.233150"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Jesenia Heaney"], ["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", "Lilian Tillman"], ["LIMIT", 1]] SQL (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", "Jesenia Heaney"], ["name", "Lilian Tillman"], ["description", "Voluptatem et eaque eum quam temporibus ut quo voluptas. Nam quidem eveniet inventore incidunt. Velit voluptas et ut et provident at ea. Voluptates occaecati eum alias cum."], ["equipment_type_id", 8], ["created_at", "2018-04-06 13:48:13.241317"], ["updated_at", "2018-04-06 13:48:13.241317"]]  (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", "Carl Lindgren"], ["LIMIT", 1]] SQL (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", "Carl Lindgren"], ["name", "My Haag"], ["description", "Pamelia Jast"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-04-06 13:48:13.246802"], ["updated_at", "2018-04-06 13:48:13.246802"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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", "Felicia Lakin"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jamee Dicki"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Felicia Lakin"], ["name", "Jamee Dicki"], ["description", "Ami Schumm"], ["created_at", "2018-04-06 13:48:13.258688"], ["updated_at", "2018-04-06 13:48:13.258688"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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", "Idell Bogisich"], ["LIMIT", 1]] SQL (1.6ms) 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", "Idell Bogisich"], ["name", "Laure Metz"], ["location_type_id", 8], ["description", "Lorri Aufderhar"], ["address", "Jeannie Barton"], ["created_at", "2018-04-06 13:48:13.267684"], ["updated_at", "2018-04-06 13:48:13.267684"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ellan Ledner"], ["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", "Ji Terry"], ["LIMIT", 1]] SQL (2.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", "Ellan Ledner"], ["name", "Staci Wolf"], ["description", "Tamar Beier"], ["serial_number", "Ji Terry"], ["brand", "Sima Shanahan"], ["item_model", "Babette Buckridge"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-04-06 13:48:13.278196"], ["updated_at", "2018-04-06 13:48:13.278196"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (3.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Amelia West"], ["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", "Kerrie Torphy"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Amelia West"], ["name", "Kerrie Torphy"], ["created_at", "2018-04-06 13:48:13.293569"], ["updated_at", "2018-04-06 13:48:13.293569"]]  (3.1ms) 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", "Sang Schmitt"], ["LIMIT", 1]] SQL (3.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sang Schmitt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.302805"], ["updated_at", "2018-04-06 13:48:13.302805"]]  (0.9ms) 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", "Kacy O'Hara"], ["LIMIT", 1]] SQL (3.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kacy O'Hara"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.314090"], ["updated_at", "2018-04-06 13:48:13.314090"]]  (2.7ms) 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", "Abdul King"], ["LIMIT", 1]] SQL (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", "Abdul King"], ["name", "Bula Kling"], ["address", "Valeria Ratke"], ["created_at", "2018-04-06 13:48:13.326761"], ["updated_at", "2018-04-06 13:48:13.326761"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Inell Ferry"], ["service_delivery_unit_id", 57], ["LIMIT", 1]] SQL (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", "Inell Ferry"], ["name", "Sallie Corkery"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 57], ["created_at", "2018-04-06 13:48:13.337754"], ["updated_at", "2018-04-06 13:48:13.337754"]] 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", 57], ["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", "Inell Ferry"], ["LIMIT", 1]] SQL (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", "Inell Ferry"], ["name", "Sallie Corkery"], ["description", "Default bundle for service 'Sallie Corkery'"], ["service_delivery_unit_id", 57], ["created_at", "2018-04-06 13:48:13.345988"], ["updated_at", "2018-04-06 13:48:13.345988"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 44], ["chargeable_service_id", 22]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (1.8ms) ROLLBACK  (0.8ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Chanell Conroy"], ["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", "Margit Hills"], ["LIMIT", 1]] SQL (2.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chanell Conroy"], ["name", "Margit Hills"], ["description", "Nostrum facilis quia reiciendis pariatur et saepe praesentium. Provident optio non nesciunt iure sit. Cumque facere laborum architecto ut culpa."], ["created_at", "2018-04-06 13:48:13.372926"], ["updated_at", "2018-04-06 13:48:13.372926"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gwenda Koss"], ["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", "Marvel Dooley"], ["LIMIT", 1]] SQL (1.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", "Gwenda Koss"], ["name", "Marvel Dooley"], ["description", "Nam magnam qui expedita non corporis perferendis. Voluptates rerum nostrum sint sapiente quae voluptatibus ducimus consequatur. Occaecati pariatur autem omnis voluptatem maiores sunt eum. Maiores quae consectetur ad quo. Id rerum maxime tenetur nemo fugit quidem laudantium omnis."], ["equipment_type_id", 9], ["created_at", "2018-04-06 13:48:13.385476"], ["updated_at", "2018-04-06 13:48:13.385476"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (2.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Rey Jerde"], ["LIMIT", 1]] SQL (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", "Rey Jerde"], ["name", "Veronica Hirthe"], ["description", "Mandy O'Connell"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-04-06 13:48:13.396948"], ["updated_at", "2018-04-06 13:48:13.396948"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (2.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Julian Aufderhar"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Garret Bailey"], ["LIMIT", 1]] SQL (3.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Julian Aufderhar"], ["name", "Garret Bailey"], ["description", "Dione Dach"], ["created_at", "2018-04-06 13:48:13.411889"], ["updated_at", "2018-04-06 13:48:13.411889"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Arnold O'Hara"], ["LIMIT", 1]] SQL (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", "Arnold O'Hara"], ["name", "Robin Keeling"], ["location_type_id", 9], ["description", "Jeanelle Spencer"], ["address", "Mariel O'Conner"], ["created_at", "2018-04-06 13:48:13.426389"], ["updated_at", "2018-04-06 13:48:13.426389"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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", "Cherise Johns"], ["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", "Karly Hyatt"], ["LIMIT", 1]] SQL (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", "Cherise Johns"], ["name", "Floy Marquardt"], ["description", "Margrett Grady"], ["serial_number", "Karly Hyatt"], ["brand", "Latosha Hammes"], ["item_model", "Agnus O'Kon"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-04-06 13:48:13.436731"], ["updated_at", "2018-04-06 13:48:13.436731"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Chan Marks"], ["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", "Luvenia Kuvalis"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chan Marks"], ["name", "Luvenia Kuvalis"], ["created_at", "2018-04-06 13:48:13.449073"], ["updated_at", "2018-04-06 13:48:13.449073"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.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", "Kerstin Kutch"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kerstin Kutch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.457682"], ["updated_at", "2018-04-06 13:48:13.457682"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (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", "Yuk Zulauf"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yuk Zulauf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.466501"], ["updated_at", "2018-04-06 13:48:13.466501"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (2.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", "Lina Johnston"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lina Johnston"], ["name", "Arnoldo Schneider"], ["address", "Sharleen Konopelski"], ["created_at", "2018-04-06 13:48:13.478749"], ["updated_at", "2018-04-06 13:48:13.478749"]]  (3.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Juliane Olson"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] SQL (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", "Juliane Olson"], ["name", "Leandra Cormier"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 58], ["created_at", "2018-04-06 13:48:13.494545"], ["updated_at", "2018-04-06 13:48:13.494545"]] 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", 58], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (3.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Juliane Olson"], ["LIMIT", 1]] SQL (1.7ms) 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", "Juliane Olson"], ["name", "Leandra Cormier"], ["description", "Default bundle for service 'Leandra Cormier'"], ["service_delivery_unit_id", 58], ["created_at", "2018-04-06 13:48:13.509729"], ["updated_at", "2018-04-06 13:48:13.509729"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 45], ["chargeable_service_id", 23]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (2.6ms) ROLLBACK  (1.1ms) BEGIN  (0.9ms) 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", "Natividad Hoeger"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (2.2ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Buck Daugherty"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Natividad Hoeger"], ["name", "Buck Daugherty"], ["description", "Ad nulla laborum eum quibusdam. Quia dolorem dolorum dolores alias consequatur nihil. Voluptatum perspiciatis aut qui qui. Id doloribus aut dolores enim id. Et suscipit culpa dolore tenetur accusamus."], ["created_at", "2018-04-06 13:48:13.540040"], ["updated_at", "2018-04-06 13:48:13.540040"]]  (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", "Frida Jones"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Gordon Thiel"], ["LIMIT", 1]] SQL (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", "Frida Jones"], ["name", "Gordon Thiel"], ["description", "Quia quidem aliquid et in laborum non. Facere explicabo corrupti assumenda rerum. Neque in consequuntur et tempore et iste vitae deleniti. Nihil et quia qui voluptas minus. Vero optio ea temporibus possimus dolor."], ["equipment_type_id", 10], ["created_at", "2018-04-06 13:48:13.547730"], ["updated_at", "2018-04-06 13:48:13.547730"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Maricruz Beer"], ["LIMIT", 1]] SQL (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", "Maricruz Beer"], ["name", "Doria Wintheiser"], ["description", "Christeen D'Amore"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-04-06 13:48:13.554853"], ["updated_at", "2018-04-06 13:48:13.554853"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Roseann Skiles"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (4.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Erna Rolfson"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Roseann Skiles"], ["name", "Erna Rolfson"], ["description", "Carlena Hills"], ["created_at", "2018-04-06 13:48:13.567053"], ["updated_at", "2018-04-06 13:48:13.567053"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Annmarie Carter"], ["LIMIT", 1]] SQL (1.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", "Annmarie Carter"], ["name", "Young Kovacek"], ["location_type_id", 10], ["description", "Flo Lind"], ["address", "Bernie Wuckert"], ["created_at", "2018-04-06 13:48:13.578952"], ["updated_at", "2018-04-06 13:48:13.578952"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (3.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Mika Herzog"], ["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", "Bulah Windler"], ["LIMIT", 1]] SQL (2.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", "Mika Herzog"], ["name", "Theressa Koss"], ["description", "Eliseo Jenkins"], ["serial_number", "Bulah Windler"], ["brand", "Sergio Rowe"], ["item_model", "Kecia Ankunding"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-04-06 13:48:13.592682"], ["updated_at", "2018-04-06 13:48:13.592682"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (1.0ms) BEGIN  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jerold Jenkins"], ["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", "Meaghan Lehner"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jerold Jenkins"], ["name", "Meaghan Lehner"], ["created_at", "2018-04-06 13:48:13.614112"], ["updated_at", "2018-04-06 13:48:13.614112"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) 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", "Jerold Jenkins"], ["id", 37], ["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", "Meaghan Lehner"], ["id", 37], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::ServiceType Exists (1.2ms) 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.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rashida DuBuque"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceType Exists (3.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Reda White"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.6ms) BEGIN  (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", "Diedre Shanahan"], ["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", "Lemuel Gulgowski"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Diedre Shanahan"], ["name", "Lemuel Gulgowski"], ["created_at", "2018-04-06 13:48:13.655996"], ["updated_at", "2018-04-06 13:48:13.655996"]]  (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", "Diedre Shanahan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Antonio Kutch"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.1ms) 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", "Antonette Mohr"], ["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", "Cleopatra Kirlin"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Antonette Mohr"], ["name", "Cleopatra Kirlin"], ["created_at", "2018-04-06 13:48:13.676780"], ["updated_at", "2018-04-06 13:48:13.676780"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Maura Shanahan"], ["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", "Cleopatra Kirlin"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.9ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Courtney Kuhn"], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.7ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (1.5ms) ROLLBACK  (0.7ms) 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", "Brett Kilback"], ["LIMIT", 1]]  (2.0ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Delinda Quigley"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delinda Quigley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.727480"], ["updated_at", "2018-04-06 13:48:13.727480"]]  (1.2ms) RELEASE 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", "Delinda Quigley"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (2.0ms) 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", "Jarvis Goldner"], ["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", "Glynis Schaefer"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jarvis Goldner"], ["name", "Glynis Schaefer"], ["created_at", "2018-04-06 13:48:13.747832"], ["updated_at", "2018-04-06 13:48:13.747832"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gene Brakus"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gene Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.758301"], ["updated_at", "2018-04-06 13:48:13.758301"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Thersa Glover"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Thersa Glover"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.766143"], ["updated_at", "2018-04-06 13:48:13.766143"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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", "Thersa Erdman"], ["LIMIT", 1]] SQL (2.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Thersa Erdman"], ["name", "Kaleigh Walker"], ["address", "Lewis Hand"], ["created_at", "2018-04-06 13:48:13.777191"], ["updated_at", "2018-04-06 13:48:13.777191"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Mavis Weissnat"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] SQL (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", "Mavis Weissnat"], ["name", "Rosann Zieme"], ["service_type_id", 40], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 59], ["created_at", "2018-04-06 13:48:13.786799"], ["updated_at", "2018-04-06 13:48:13.786799"]] 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", 59], ["LIMIT", 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", "Mavis Weissnat"], ["LIMIT", 1]] SQL (2.4ms) 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", "Mavis Weissnat"], ["name", "Rosann Zieme"], ["description", "Default bundle for service 'Rosann Zieme'"], ["service_delivery_unit_id", 59], ["created_at", "2018-04-06 13:48:13.796511"], ["updated_at", "2018-04-06 13:48:13.796511"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 46], ["chargeable_service_id", 24]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.8ms) 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", "Santos Nader"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (4.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Sulema Haag"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Santos Nader"], ["name", "Sulema Haag"], ["created_at", "2018-04-06 13:48:13.822645"], ["updated_at", "2018-04-06 13:48:13.822645"]]  (1.0ms) 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", "Imelda Graham"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Imelda Graham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.831454"], ["updated_at", "2018-04-06 13:48:13.831454"]]  (1.4ms) 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", "Chad Wehner"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chad Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.839818"], ["updated_at", "2018-04-06 13:48:13.839818"]]  (0.7ms) 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", "Tammara Hartmann"], ["LIMIT", 1]] SQL (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", "Tammara Hartmann"], ["name", "Deshawn Trantow"], ["address", "Lilia Nicolas"], ["created_at", "2018-04-06 13:48:13.848361"], ["updated_at", "2018-04-06 13:48:13.848361"]]  (0.9ms) 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", "Luther White"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] SQL (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", "Luther White"], ["name", "Samara Kutch"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 60], ["created_at", "2018-04-06 13:48:13.855295"], ["updated_at", "2018-04-06 13:48:13.855295"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luther White"], ["LIMIT", 1]] SQL (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", "Luther White"], ["name", "Samara Kutch"], ["description", "Default bundle for service 'Samara Kutch'"], ["service_delivery_unit_id", 60], ["created_at", "2018-04-06 13:48:13.862734"], ["updated_at", "2018-04-06 13:48:13.862734"]] SQL (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", 25]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Jeffry Willms"], ["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", "Alease Tillman"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jeffry Willms"], ["name", "Alease Tillman"], ["created_at", "2018-04-06 13:48:13.878514"], ["updated_at", "2018-04-06 13:48:13.878514"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Tressie Breitenberg"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tressie Breitenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.892699"], ["updated_at", "2018-04-06 13:48:13.892699"]]  (0.8ms) 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", "Shanice Kuvalis"], ["LIMIT", 1]] SQL (2.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shanice Kuvalis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.903534"], ["updated_at", "2018-04-06 13:48:13.903534"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 LIMIT $2 [["code", "Dorian Deckow"], ["LIMIT", 1]] SQL (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", "Dorian Deckow"], ["name", "Macie Skiles"], ["address", "Antony Pacocha"], ["created_at", "2018-04-06 13:48:13.913318"], ["updated_at", "2018-04-06 13:48:13.913318"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Shaquita White"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] SQL (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", "Shaquita White"], ["name", "Ena Schneider"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 61], ["created_at", "2018-04-06 13:48:13.923107"], ["updated_at", "2018-04-06 13:48:13.923107"]] 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", 61], ["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", "Shaquita White"], ["LIMIT", 1]] SQL (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", "Shaquita White"], ["name", "Ena Schneider"], ["description", "Default bundle for service 'Ena Schneider'"], ["service_delivery_unit_id", 61], ["created_at", "2018-04-06 13:48:13.930256"], ["updated_at", "2018-04-06 13:48:13.930256"]] SQL (2.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 48], ["chargeable_service_id", 26]]  (0.9ms) 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", 24], ["LIMIT", 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", 25], ["LIMIT", 1]]  (0.6ms) 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" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] SQL (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", 24], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-04-06 13:48:13.946103"], ["updated_at", "2018-04-06 13:48:13.946103"]] Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] SQL (0.8ms) 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", 25], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-04-06 13:48:13.949835"], ["updated_at", "2018-04-06 13:48:13.949835"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Deonna Hintz"], ["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", "Pearle Renner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deonna Hintz"], ["name", "Pearle Renner"], ["created_at", "2018-04-06 13:48:13.965570"], ["updated_at", "2018-04-06 13:48:13.965570"]]  (1.6ms) 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", "Kimberli Beer"], ["LIMIT", 1]] SQL (2.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kimberli Beer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.972151"], ["updated_at", "2018-04-06 13:48:13.972151"]]  (2.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hanna McKenzie"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hanna McKenzie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 13:48:13.985188"], ["updated_at", "2018-04-06 13:48:13.985188"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Myriam Ryan"], ["LIMIT", 1]] SQL (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", "Myriam Ryan"], ["name", "Tora Effertz"], ["address", "Corrina Kovacek"], ["created_at", "2018-04-06 13:48:13.999490"], ["updated_at", "2018-04-06 13:48:13.999490"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", "Gay Osinski"], ["service_delivery_unit_id", 62], ["LIMIT", 1]] SQL (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", "Gay Osinski"], ["name", "Fredda Roob"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 62], ["created_at", "2018-04-06 13:48:14.009569"], ["updated_at", "2018-04-06 13:48:14.009569"]] 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", 62], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (3.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Gay Osinski"], ["LIMIT", 1]] SQL (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", "Gay Osinski"], ["name", "Fredda Roob"], ["description", "Default bundle for service 'Fredda Roob'"], ["service_delivery_unit_id", 62], ["created_at", "2018-04-06 13:48:14.024092"], ["updated_at", "2018-04-06 13:48:14.024092"]] SQL (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 49], ["chargeable_service_id", 27]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", 27], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-04-06 13:48:14.038626"], ["updated_at", "2018-04-06 13:48:14.038626"]]  (0.6ms) 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", 27], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.2ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] SQL (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-04-06 13:48:14.048366"], ["id", 10]]  (1.0ms) 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.4ms) BEGIN  (1.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", "kimberlie.bradtke@marvinstracke.biz"], ["LIMIT", 1]] SQL (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", "Johnson Moore"], ["last_name", "Jeanene Hauck"], ["email", "kimberlie.bradtke@marvinstracke.biz"], ["password_digest", "$2a$04$faiPp1CdGZf0vWUL0imnKOEZSy7xYmw6J3KvnNaxZFK5ROcIGS9zO"], ["created_at", "2018-04-06 13:48:14.064607"], ["updated_at", "2018-04-06 13:48:14.064607"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "emery@harvey.biz"], ["LIMIT", 1]] SQL (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", "Hazel Luettgen"], ["last_name", "Asia Carroll"], ["email", "emery@harvey.biz"], ["password_digest", "$2a$04$cMHUCG0GUb4cRLHfU0NjdeMDBZLeUSNx2roFfcB.Aed/KTcWZMQDi"], ["created_at", "2018-04-06 13:48:14.072968"], ["updated_at", "2018-04-06 13:48:14.072968"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "charise.swift@torp.us"], ["LIMIT", 1]] SQL (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", "Marylynn Hudson"], ["last_name", "Layne Stroman"], ["email", "charise.swift@torp.us"], ["password_digest", "$2a$04$qzczWjKunms7tL9vIJpm5uSVKnhwclHwoeeoZbsTKM0LSi1IIPmV."], ["created_at", "2018-04-06 13:48:14.085165"], ["updated_at", "2018-04-06 13:48:14.085165"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Arron McLaughlin"], ["LIMIT", 1]] SQL (2.4ms) 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", "Arron McLaughlin"], ["authorized_by", "Cherilyn Hermiston"], ["effective_on", "2018-04-06"], ["authorized_on", "2018-04-06"], ["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-04-06 13:48:14.097025"], ["updated_at", "2018-04-06 13:48:14.097025"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (3.3ms) 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", "Arron McLaughlin"], ["id", 4], ["LIMIT", 1]] SQL (1.3ms) 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", 65], ["updated_at", "2018-04-06 13:48:14.133157"], ["id", 4]]  (0.6ms) RELEASE SAVEPOINT active_record_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", 4], ["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", 65], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.7ms) BEGIN  (0.9ms) 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", "Candra Kerluke"], ["LIMIT", 1]] SQL (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", "Candra Kerluke"], ["name", "Valerie Turner"], ["address", "Tegan Turcotte"], ["created_at", "2018-04-06 13:50:09.283431"], ["updated_at", "2018-04-06 13:50:09.283431"]]  (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", "Whitney Kuvalis"], ["LIMIT", 1]] SQL (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", "Whitney Kuvalis"], ["name", "Dee Olson"], ["description", "Cicely Schroeder"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 13:50:09.296331"], ["updated_at", "2018-04-06 13:50:09.296331"]]  (0.5ms) 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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Whitney Kuvalis"], ["id", 1], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Blythe Eichmann"], ["LIMIT", 1]] SQL (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", "Blythe Eichmann"], ["name", "Goldie Sanford"], ["address", "Melba Hahn"], ["created_at", "2018-04-06 13:50:09.306351"], ["updated_at", "2018-04-06 13:50:09.306351"]]  (0.4ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.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", "Karima Quitzon"], ["LIMIT", 1]] SQL (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", "Karima Quitzon"], ["name", "Kizzie Gaylord"], ["address", "Douglass Koch"], ["created_at", "2018-04-06 13:50:09.321382"], ["updated_at", "2018-04-06 13:50:09.321382"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jimmie Stamm"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Delinda Jakubowski"], ["LIMIT", 1]] SQL (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", "Delinda Jakubowski"], ["name", "Lashandra Harber"], ["address", "Jacquelyn Wyman"], ["created_at", "2018-04-06 13:50:09.330407"], ["updated_at", "2018-04-06 13:50:09.330407"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Laurence Gibson"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (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", "Marshall Klocko"], ["LIMIT", 1]] SQL (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", "Marshall Klocko"], ["name", "Luther Abernathy"], ["address", "Magaly Howell"], ["created_at", "2018-04-06 13:50:09.341718"], ["updated_at", "2018-04-06 13:50:09.341718"]]  (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", "Tawana Lesch"], ["LIMIT", 1]] SQL (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", "Tawana Lesch"], ["name", "Era Ortiz"], ["description", "Kacy Wunsch"], ["percent_discount", 100.0], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 13:50:09.346943"], ["updated_at", "2018-04-06 13:50:09.346943"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Olene Beatty"], ["LIMIT", 1]] SQL (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", "Olene Beatty"], ["name", "Raleigh Ritchie"], ["address", "Josue Kub"], ["created_at", "2018-04-06 13:50:09.354612"], ["updated_at", "2018-04-06 13:50:09.354612"]]  (1.0ms) 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", "Tawana Lesch"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) BEGIN  (1.0ms) 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", "gayle@skiles.biz"], ["LIMIT", 1]] SQL (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", "Jenee Orn"], ["last_name", "Sabrina Medhurst"], ["email", "gayle@skiles.biz"], ["password_digest", "$2a$04$.xYxF6NQIxsbKuYNZM/DL.Yrzotw9iBAr39ZW1L7cfjtblX6JBdzS"], ["created_at", "2018-04-06 15:51:57.155771"], ["updated_at", "2018-04-06 15:51:57.155771"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (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", "Dortha Lebsack"], ["LIMIT", 1]] SQL (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", "Dortha Lebsack"], ["name", "Euna Purdy"], ["address", "Noah Waelchi"], ["created_at", "2018-04-06 15:51:57.219441"], ["updated_at", "2018-04-06 15:51:57.219441"]]  (0.6ms) 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", "Walter Koelpin"], ["LIMIT", 1]] SQL (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", "Walter Koelpin"], ["name", "Treva Wiza"], ["description", "Chassidy Wuckert"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 15:51:57.233930"], ["updated_at", "2018-04-06 15:51:57.233930"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Lacy Rosenbaum"], ["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", "Moriah Graham"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lacy Rosenbaum"], ["name", "Moriah Graham"], ["created_at", "2018-04-06 15:51:57.283013"], ["updated_at", "2018-04-06 15:51:57.283013"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Cyndi Haley"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cyndi Haley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.308444"], ["updated_at", "2018-04-06 15:51:57.308444"]]  (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", "Elbert Dickens"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elbert Dickens"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.315487"], ["updated_at", "2018-04-06 15:51:57.315487"]]  (0.4ms) 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", "Zula Emmerich"], ["LIMIT", 1]] SQL (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", "Zula Emmerich"], ["name", "Dallas Thompson"], ["address", "Meri Roob"], ["created_at", "2018-04-06 15:51:57.320149"], ["updated_at", "2018-04-06 15:51:57.320149"]]  (0.5ms) 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", "Bud Streich"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Bud Streich"], ["name", "Jennette Nicolas"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 15:51:57.326508"], ["updated_at", "2018-04-06 15:51:57.326508"]] 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", 2], ["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", "Bud Streich"], ["LIMIT", 1]] SQL (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", "Bud Streich"], ["name", "Jennette Nicolas"], ["description", "Default bundle for service 'Jennette Nicolas'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 15:51:57.342008"], ["updated_at", "2018-04-06 15:51:57.342008"]] SQL (2.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Terrilyn Predovic"], ["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", "Estell Spencer"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Terrilyn Predovic"], ["name", "Estell Spencer"], ["created_at", "2018-04-06 15:51:57.377338"], ["updated_at", "2018-04-06 15:51:57.377338"]]  (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", "Etha Hayes"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Etha Hayes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.394047"], ["updated_at", "2018-04-06 15:51:57.394047"]]  (0.9ms) 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", "Gregoria Kohler"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gregoria Kohler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.401045"], ["updated_at", "2018-04-06 15:51:57.401045"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "Mariel Oberbrunner"], ["LIMIT", 1]] SQL (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", "Mariel Oberbrunner"], ["name", "Muriel Medhurst"], ["address", "Donnie Jones"], ["created_at", "2018-04-06 15:51:57.406544"], ["updated_at", "2018-04-06 15:51:57.406544"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Corrie Fay"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Corrie Fay"], ["name", "Jeni Bartell"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 15:51:57.413249"], ["updated_at", "2018-04-06 15:51:57.413249"]] 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", 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", "Corrie Fay"], ["LIMIT", 1]] SQL (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", "Corrie Fay"], ["name", "Jeni Bartell"], ["description", "Default bundle for service 'Jeni Bartell'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 15:51:57.418714"], ["updated_at", "2018-04-06 15:51:57.418714"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 3], ["chargeable_service_id", 2]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Janet Roob"], ["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", "Celinda Dicki"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Janet Roob"], ["name", "Celinda Dicki"], ["created_at", "2018-04-06 15:51:57.430055"], ["updated_at", "2018-04-06 15:51:57.430055"]]  (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", "Milton Daniel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Milton Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.434937"], ["updated_at", "2018-04-06 15:51:57.434937"]]  (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", "Amie Moore"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Amie Moore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.439485"], ["updated_at", "2018-04-06 15:51:57.439485"]]  (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", "Heidi Rohan"], ["LIMIT", 1]] SQL (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", "Heidi Rohan"], ["name", "Abel Torp"], ["address", "Araceli Rohan"], ["created_at", "2018-04-06 15:51:57.444518"], ["updated_at", "2018-04-06 15:51:57.444518"]]  (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", "John Wuckert"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] SQL (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", "John Wuckert"], ["name", "Ammie Kertzmann"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 15:51:57.449497"], ["updated_at", "2018-04-06 15:51:57.449497"]] 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", 4], ["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", "John Wuckert"], ["LIMIT", 1]] SQL (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", "John Wuckert"], ["name", "Ammie Kertzmann"], ["description", "Default bundle for service 'Ammie Kertzmann'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 15:51:57.455880"], ["updated_at", "2018-04-06 15:51:57.455880"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 3]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Melissia Gleason"], ["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", "Bok Rice"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Melissia Gleason"], ["name", "Bok Rice"], ["created_at", "2018-04-06 15:51:57.469242"], ["updated_at", "2018-04-06 15:51:57.469242"]]  (0.8ms) 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", "Enoch Becker"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Enoch Becker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.477442"], ["updated_at", "2018-04-06 15:51:57.477442"]]  (0.7ms) 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", "Korey Aufderhar"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Korey Aufderhar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.486624"], ["updated_at", "2018-04-06 15:51:57.486624"]]  (1.3ms) 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", "Frank Jast"], ["LIMIT", 1]] SQL (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", "Frank Jast"], ["name", "Kevin Murray"], ["address", "Bari Rogahn"], ["created_at", "2018-04-06 15:51:57.494646"], ["updated_at", "2018-04-06 15:51:57.494646"]]  (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", "Mildred Rutherford"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Mildred Rutherford"], ["name", "Kallie Mayert"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 15:51:57.499810"], ["updated_at", "2018-04-06 15:51:57.499810"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mildred Rutherford"], ["LIMIT", 1]] SQL (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", "Mildred Rutherford"], ["name", "Kallie Mayert"], ["description", "Default bundle for service 'Kallie Mayert'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 15:51:57.505214"], ["updated_at", "2018-04-06 15:51:57.505214"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 4]]  (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", "Josette Streich"], ["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", "Malena Wehner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Josette Streich"], ["name", "Malena Wehner"], ["created_at", "2018-04-06 15:51:57.515431"], ["updated_at", "2018-04-06 15:51:57.515431"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Shemeka Ernser"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shemeka Ernser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.520169"], ["updated_at", "2018-04-06 15:51:57.520169"]]  (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", "Colton Auer"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Colton Auer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.525069"], ["updated_at", "2018-04-06 15:51:57.525069"]]  (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", "Hollie Hills"], ["LIMIT", 1]] SQL (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", "Hollie Hills"], ["name", "Anthony Little"], ["address", "Michaela Boehm"], ["created_at", "2018-04-06 15:51:57.530960"], ["updated_at", "2018-04-06 15:51:57.530960"]]  (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", "Corine Gutkowski"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Corine Gutkowski"], ["name", "Krystal Predovic"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 15:51:57.535728"], ["updated_at", "2018-04-06 15:51:57.535728"]] 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]] 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", "Corine Gutkowski"], ["LIMIT", 1]] SQL (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", "Corine Gutkowski"], ["name", "Krystal Predovic"], ["description", "Default bundle for service 'Krystal Predovic'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 15:51:57.541760"], ["updated_at", "2018-04-06 15:51:57.541760"]] SQL (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", 5]]  (0.6ms) 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", "Granville Walter"], ["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", "Maria O'Conner"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Granville Walter"], ["name", "Maria O'Conner"], ["created_at", "2018-04-06 15:51:57.551695"], ["updated_at", "2018-04-06 15:51:57.551695"]]  (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", "Scot Johnston"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Scot Johnston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.556517"], ["updated_at", "2018-04-06 15:51:57.556517"]]  (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", "Adria Satterfield"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Adria Satterfield"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:51:57.562571"], ["updated_at", "2018-04-06 15:51:57.562571"]]  (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", "Carey Nader"], ["LIMIT", 1]] SQL (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", "Carey Nader"], ["name", "Latina Feest"], ["address", "Ellyn Watsica"], ["created_at", "2018-04-06 15:51:57.567657"], ["updated_at", "2018-04-06 15:51:57.567657"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Joe Aufderhar"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (2.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", "Joe Aufderhar"], ["name", "Kiyoko Renner"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 15:51:57.575466"], ["updated_at", "2018-04-06 15:51:57.575466"]] 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", 7], ["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", "Joe Aufderhar"], ["LIMIT", 1]] SQL (1.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", "Joe Aufderhar"], ["name", "Kiyoko Renner"], ["description", "Default bundle for service 'Kiyoko Renner'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 15:51:57.587204"], ["updated_at", "2018-04-06 15:51:57.587204"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 7], ["chargeable_service_id", 6]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.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", 1]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["1", "2", "3"], "id"=>"1"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["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", 1], ["LIMIT", 1]] Completed 500 Internal Server Error in 21ms (ActiveRecord: 1.4ms)  (2.5ms) ROLLBACK  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.7ms) BEGIN  (0.9ms) 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", "winfred@turcotte.co.uk"], ["LIMIT", 1]] SQL (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", "Janina Nicolas"], ["last_name", "Macie Keebler"], ["email", "winfred@turcotte.co.uk"], ["password_digest", "$2a$04$AX7AXyHQenSuYDmIHNL5Tum/yEydVP6ufebUEMs7mWebdvK6bb0Rq"], ["created_at", "2018-04-06 15:52:39.088989"], ["updated_at", "2018-04-06 15:52:39.088989"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Kirby Adams"], ["LIMIT", 1]] SQL (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", "Kirby Adams"], ["name", "Magaly Stehr"], ["address", "Clark Robel"], ["created_at", "2018-04-06 15:52:39.161928"], ["updated_at", "2018-04-06 15:52:39.161928"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Nicol Bode"], ["LIMIT", 1]] SQL (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", "Nicol Bode"], ["name", "Jacki Torphy"], ["description", "Tracy Steuber"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 15:52:39.178471"], ["updated_at", "2018-04-06 15:52:39.178471"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Keith Daniel"], ["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", "Lyndia Jast"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Keith Daniel"], ["name", "Lyndia Jast"], ["created_at", "2018-04-06 15:52:39.230873"], ["updated_at", "2018-04-06 15:52:39.230873"]]  (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", "Zelma Koelpin"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zelma Koelpin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.253059"], ["updated_at", "2018-04-06 15:52:39.253059"]]  (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", "Afton Von"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Afton Von"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.259834"], ["updated_at", "2018-04-06 15:52:39.259834"]]  (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", "Delena Gibson"], ["LIMIT", 1]] SQL (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", "Delena Gibson"], ["name", "Brandy Labadie"], ["address", "Willow Gaylord"], ["created_at", "2018-04-06 15:52:39.264991"], ["updated_at", "2018-04-06 15:52:39.264991"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lottie Pagac"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Lottie Pagac"], ["name", "Paul Wuckert"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 15:52:39.272111"], ["updated_at", "2018-04-06 15:52:39.272111"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lottie Pagac"], ["LIMIT", 1]] SQL (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", "Lottie Pagac"], ["name", "Paul Wuckert"], ["description", "Default bundle for service 'Paul Wuckert'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 15:52:39.285889"], ["updated_at", "2018-04-06 15:52:39.285889"]] SQL (2.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (0.9ms) 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", "Keneth Torphy"], ["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", "Cherelle Koepp"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Keneth Torphy"], ["name", "Cherelle Koepp"], ["created_at", "2018-04-06 15:52:39.333617"], ["updated_at", "2018-04-06 15:52:39.333617"]]  (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", "Ellena Larson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ellena Larson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.339278"], ["updated_at", "2018-04-06 15:52:39.339278"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sherita Blick"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sherita Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.343539"], ["updated_at", "2018-04-06 15:52:39.343539"]]  (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", "Carroll Ankunding"], ["LIMIT", 1]] SQL (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", "Carroll Ankunding"], ["name", "Sidney Bartoletti"], ["address", "Garry Johnson"], ["created_at", "2018-04-06 15:52:39.347811"], ["updated_at", "2018-04-06 15:52:39.347811"]]  (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", "Matha Weimann"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Matha Weimann"], ["name", "Brett Rice"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 15:52:39.352053"], ["updated_at", "2018-04-06 15:52:39.352053"]] 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", 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", "Matha Weimann"], ["LIMIT", 1]] SQL (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", "Matha Weimann"], ["name", "Brett Rice"], ["description", "Default bundle for service 'Brett Rice'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 15:52:39.357779"], ["updated_at", "2018-04-06 15:52:39.357779"]] SQL (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", 2]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joslyn Kling"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Karena Hills"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joslyn Kling"], ["name", "Karena Hills"], ["created_at", "2018-04-06 15:52:39.367151"], ["updated_at", "2018-04-06 15:52:39.367151"]]  (0.9ms) 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", "Catherine Cronin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Catherine Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.372123"], ["updated_at", "2018-04-06 15:52:39.372123"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Mazie Dach"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mazie Dach"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.376465"], ["updated_at", "2018-04-06 15:52:39.376465"]]  (0.4ms) 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", "Selene Kulas"], ["LIMIT", 1]] SQL (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", "Selene Kulas"], ["name", "Bobette Beer"], ["address", "Kourtney Dibbert"], ["created_at", "2018-04-06 15:52:39.381397"], ["updated_at", "2018-04-06 15:52:39.381397"]]  (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", "Clement Olson"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] SQL (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", "Clement Olson"], ["name", "Becky Zulauf"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 15:52:39.385854"], ["updated_at", "2018-04-06 15:52:39.385854"]] 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", 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", "Clement Olson"], ["LIMIT", 1]] SQL (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", "Clement Olson"], ["name", "Becky Zulauf"], ["description", "Default bundle for service 'Becky Zulauf'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 15:52:39.391245"], ["updated_at", "2018-04-06 15:52:39.391245"]] SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 3]]  (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", "Frankie Stehr"], ["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", "August Halvorson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Frankie Stehr"], ["name", "August Halvorson"], ["created_at", "2018-04-06 15:52:39.401477"], ["updated_at", "2018-04-06 15:52:39.401477"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Chantel Leffler"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chantel Leffler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.406925"], ["updated_at", "2018-04-06 15:52:39.406925"]]  (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", "Kyong Pfannerstill"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kyong Pfannerstill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.413943"], ["updated_at", "2018-04-06 15:52:39.413943"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Margherita Schaefer"], ["LIMIT", 1]] SQL (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", "Margherita Schaefer"], ["name", "Yasuko Johns"], ["address", "Dione Kulas"], ["created_at", "2018-04-06 15:52:39.423401"], ["updated_at", "2018-04-06 15:52:39.423401"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Sherrill Stark"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Sherrill Stark"], ["name", "Anika Sawayn"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 15:52:39.433096"], ["updated_at", "2018-04-06 15:52:39.433096"]] 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", 5], ["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", "Sherrill Stark"], ["LIMIT", 1]] SQL (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", "Sherrill Stark"], ["name", "Anika Sawayn"], ["description", "Default bundle for service 'Anika Sawayn'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 15:52:39.440628"], ["updated_at", "2018-04-06 15:52:39.440628"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 4]]  (0.4ms) 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", "Jamie Ledner"], ["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", "Taunya Konopelski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jamie Ledner"], ["name", "Taunya Konopelski"], ["created_at", "2018-04-06 15:52:39.450188"], ["updated_at", "2018-04-06 15:52:39.450188"]]  (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", "Gustavo Ernser"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gustavo Ernser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.455296"], ["updated_at", "2018-04-06 15:52:39.455296"]]  (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", "Paris Funk"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Paris Funk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.460011"], ["updated_at", "2018-04-06 15:52:39.460011"]]  (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", "Veta Lubowitz"], ["LIMIT", 1]] SQL (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", "Veta Lubowitz"], ["name", "Ngan Gottlieb"], ["address", "Eda Jenkins"], ["created_at", "2018-04-06 15:52:39.465228"], ["updated_at", "2018-04-06 15:52:39.465228"]]  (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", "Richard Kiehn"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Richard Kiehn"], ["name", "Isela Langworth"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 15:52:39.470045"], ["updated_at", "2018-04-06 15:52:39.470045"]] 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", 6], ["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", "Richard Kiehn"], ["LIMIT", 1]] SQL (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", "Richard Kiehn"], ["name", "Isela Langworth"], ["description", "Default bundle for service 'Isela Langworth'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 15:52:39.475798"], ["updated_at", "2018-04-06 15:52:39.475798"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 5]]  (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", "Waylon Gleason"], ["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", "Elvie Torphy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Waylon Gleason"], ["name", "Elvie Torphy"], ["created_at", "2018-04-06 15:52:39.485749"], ["updated_at", "2018-04-06 15:52:39.485749"]]  (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", "Mercy Hettinger"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mercy Hettinger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.490175"], ["updated_at", "2018-04-06 15:52:39.490175"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Bryan Anderson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bryan Anderson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:52:39.494258"], ["updated_at", "2018-04-06 15:52:39.494258"]]  (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", "Loida Leuschke"], ["LIMIT", 1]] SQL (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", "Loida Leuschke"], ["name", "Hollie Little"], ["address", "Edmund Klocko"], ["created_at", "2018-04-06 15:52:39.498873"], ["updated_at", "2018-04-06 15:52:39.498873"]]  (0.4ms) 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", "Elanor Macejkovic"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Elanor Macejkovic"], ["name", "Cliff Metz"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 15:52:39.503595"], ["updated_at", "2018-04-06 15:52:39.503595"]] 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", 7], ["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", "Elanor Macejkovic"], ["LIMIT", 1]] SQL (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", "Elanor Macejkovic"], ["name", "Cliff Metz"], ["description", "Default bundle for service 'Cliff Metz'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 15:52:39.509006"], ["updated_at", "2018-04-06 15:52:39.509006"]] SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 7], ["chargeable_service_id", 6]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.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", 1]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["1", "2", "3"], "id"=>"1"} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["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", 1], ["LIMIT", 1]] Unpermitted parameter: :id 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 AND ("mks_rate_chargeable_services"."id" NOT IN (1, 2, 3)) [["service_bundle_id", 1]]  (0.6ms) SAVEPOINT active_record_1  (0.4ms) 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", 1], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 24ms (Views: 8.4ms | ActiveRecord: 5.5ms) Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 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", 1]]  (1.1ms) ROLLBACK  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.6ms) BEGIN  (1.3ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "amberly@hansenconroy.name"], ["LIMIT", 1]] SQL (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", "Terese Dicki"], ["last_name", "Galen Terry"], ["email", "amberly@hansenconroy.name"], ["password_digest", "$2a$04$JilnOWvQOYAFeSxZrNPmHeg6Of/bMctIKRp9/0TssX9AW4M6UkLpO"], ["created_at", "2018-04-06 15:53:12.407109"], ["updated_at", "2018-04-06 15:53:12.407109"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Dewitt Kozey"], ["LIMIT", 1]] SQL (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", "Dewitt Kozey"], ["name", "Jazmine Runolfsdottir"], ["address", "Jazmin Hartmann"], ["created_at", "2018-04-06 15:53:12.489229"], ["updated_at", "2018-04-06 15:53:12.489229"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_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", "Lanny Wintheiser"], ["LIMIT", 1]] SQL (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", "Lanny Wintheiser"], ["name", "Nevada Emmerich"], ["description", "Colton Satterfield"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 15:53:12.508425"], ["updated_at", "2018-04-06 15:53:12.508425"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leesa Stiedemann"], ["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", "Ivana Greenfelder"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leesa Stiedemann"], ["name", "Ivana Greenfelder"], ["created_at", "2018-04-06 15:53:12.562943"], ["updated_at", "2018-04-06 15:53:12.562943"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lisandra Pollich"], ["LIMIT", 1]] SQL (2.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lisandra Pollich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.598751"], ["updated_at", "2018-04-06 15:53:12.598751"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (2.4ms) 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", "Kortney Abernathy"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kortney Abernathy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.612357"], ["updated_at", "2018-04-06 15:53:12.612357"]]  (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", "Aretha Romaguera"], ["LIMIT", 1]] SQL (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", "Aretha Romaguera"], ["name", "Suzanna Morissette"], ["address", "Joni Brakus"], ["created_at", "2018-04-06 15:53:12.617760"], ["updated_at", "2018-04-06 15:53:12.617760"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Leora Russel"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (2.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", "Leora Russel"], ["name", "Jarred Dietrich"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 15:53:12.627221"], ["updated_at", "2018-04-06 15:53:12.627221"]] 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", 2], ["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", "Leora Russel"], ["LIMIT", 1]] SQL (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", "Leora Russel"], ["name", "Jarred Dietrich"], ["description", "Default bundle for service 'Jarred Dietrich'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 15:53:12.642972"], ["updated_at", "2018-04-06 15:53:12.642972"]] SQL (1.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (0.9ms) 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", "Virgie Crona"], ["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", "Lanita Anderson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Virgie Crona"], ["name", "Lanita Anderson"], ["created_at", "2018-04-06 15:53:12.671136"], ["updated_at", "2018-04-06 15:53:12.671136"]]  (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", "Mike Lesch"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mike Lesch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.676206"], ["updated_at", "2018-04-06 15:53:12.676206"]]  (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", "Yevette King"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yevette King"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.681069"], ["updated_at", "2018-04-06 15:53:12.681069"]]  (0.7ms) 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", "Zelda Schamberger"], ["LIMIT", 1]] SQL (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", "Zelda Schamberger"], ["name", "Shawanna Ledner"], ["address", "Cherly Funk"], ["created_at", "2018-04-06 15:53:12.686860"], ["updated_at", "2018-04-06 15:53:12.686860"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jamison Gleichner"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Jamison Gleichner"], ["name", "Bernita Murray"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 15:53:12.693010"], ["updated_at", "2018-04-06 15:53:12.693010"]] 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", 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", "Jamison Gleichner"], ["LIMIT", 1]] SQL (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", "Jamison Gleichner"], ["name", "Bernita Murray"], ["description", "Default bundle for service 'Bernita Murray'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 15:53:12.699802"], ["updated_at", "2018-04-06 15:53:12.699802"]] SQL (1.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 3], ["chargeable_service_id", 2]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Quiana Green"], ["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", "Jae Funk"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Quiana Green"], ["name", "Jae Funk"], ["created_at", "2018-04-06 15:53:12.715058"], ["updated_at", "2018-04-06 15:53:12.715058"]]  (0.8ms) 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", "Hortense Kirlin"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hortense Kirlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.721505"], ["updated_at", "2018-04-06 15:53:12.721505"]]  (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", "Tana Rogahn"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tana Rogahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.726636"], ["updated_at", "2018-04-06 15:53:12.726636"]]  (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", "Britni Heller"], ["LIMIT", 1]] SQL (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", "Britni Heller"], ["name", "Tinisha Kirlin"], ["address", "Andreas Frami"], ["created_at", "2018-04-06 15:53:12.731339"], ["updated_at", "2018-04-06 15:53:12.731339"]]  (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", "Raymundo Dickinson"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] SQL (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", "Raymundo Dickinson"], ["name", "Bonita Fisher"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 15:53:12.736698"], ["updated_at", "2018-04-06 15:53:12.736698"]] 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", "Raymundo Dickinson"], ["LIMIT", 1]] SQL (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", "Raymundo Dickinson"], ["name", "Bonita Fisher"], ["description", "Default bundle for service 'Bonita Fisher'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 15:53:12.742312"], ["updated_at", "2018-04-06 15:53:12.742312"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 3]]  (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", "Mitchell Barrows"], ["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", "Aleen D'Amore"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mitchell Barrows"], ["name", "Aleen D'Amore"], ["created_at", "2018-04-06 15:53:12.752510"], ["updated_at", "2018-04-06 15:53:12.752510"]]  (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", "Sana Thompson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sana Thompson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.757589"], ["updated_at", "2018-04-06 15:53:12.757589"]]  (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", "Jennie Boehm"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jennie Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.762485"], ["updated_at", "2018-04-06 15:53:12.762485"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (17.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", "Lora Casper"], ["LIMIT", 1]] SQL (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", "Lora Casper"], ["name", "Huong Erdman"], ["address", "Jeanelle Keebler"], ["created_at", "2018-04-06 15:53:12.788117"], ["updated_at", "2018-04-06 15:53:12.788117"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Antonia Marks"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] SQL (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", "Antonia Marks"], ["name", "Andreas Kreiger"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 15:53:12.797461"], ["updated_at", "2018-04-06 15:53:12.797461"]] 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", 5], ["LIMIT", 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", "Antonia Marks"], ["LIMIT", 1]] SQL (3.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", "Antonia Marks"], ["name", "Andreas Kreiger"], ["description", "Default bundle for service 'Andreas Kreiger'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 15:53:12.805805"], ["updated_at", "2018-04-06 15:53:12.805805"]] SQL (1.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 4]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (2.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sung Connelly"], ["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", "Eun Satterfield"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sung Connelly"], ["name", "Eun Satterfield"], ["created_at", "2018-04-06 15:53:12.828851"], ["updated_at", "2018-04-06 15:53:12.828851"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (14.2ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Augustus Rohan"], ["LIMIT", 1]] SQL (5.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Augustus Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.854661"], ["updated_at", "2018-04-06 15:53:12.854661"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (3.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Vivien Grady"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vivien Grady"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.874409"], ["updated_at", "2018-04-06 15:53:12.874409"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Estell Frami"], ["LIMIT", 1]] SQL (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", "Estell Frami"], ["name", "Georgeanna Reinger"], ["address", "Darron Pouros"], ["created_at", "2018-04-06 15:53:12.885136"], ["updated_at", "2018-04-06 15:53:12.885136"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Tessa Corwin"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (2.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", "Tessa Corwin"], ["name", "Kanisha Johnston"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 15:53:12.892407"], ["updated_at", "2018-04-06 15:53:12.892407"]] Mks::Rate::ServiceDeliveryUnit Load (2.4ms) 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]] 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", "Tessa Corwin"], ["LIMIT", 1]] SQL (2.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", "Tessa Corwin"], ["name", "Kanisha Johnston"], ["description", "Default bundle for service 'Kanisha Johnston'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 15:53:12.904976"], ["updated_at", "2018-04-06 15:53:12.904976"]] SQL (2.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 5]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Chang Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Freeda Torp"], ["LIMIT", 1]] SQL (2.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chang Doyle"], ["name", "Freeda Torp"], ["created_at", "2018-04-06 15:53:12.930891"], ["updated_at", "2018-04-06 15:53:12.930891"]]  (1.0ms) 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", "Ty Olson"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ty Olson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.940869"], ["updated_at", "2018-04-06 15:53:12.940869"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Mitchel Bergstrom"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mitchel Bergstrom"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 15:53:12.949574"], ["updated_at", "2018-04-06 15:53:12.949574"]]  (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", "Harmony Keeling"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Harmony Keeling"], ["name", "Sallie Jacobs"], ["address", "Hank Conn"], ["created_at", "2018-04-06 15:53:12.955195"], ["updated_at", "2018-04-06 15:53:12.955195"]]  (0.6ms) 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", "Arletta Zieme"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Arletta Zieme"], ["name", "Zofia Keeling"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 15:53:12.962738"], ["updated_at", "2018-04-06 15:53:12.962738"]] 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", 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", "Arletta Zieme"], ["LIMIT", 1]] SQL (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", "Arletta Zieme"], ["name", "Zofia Keeling"], ["description", "Default bundle for service 'Zofia Keeling'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 15:53:12.968466"], ["updated_at", "2018-04-06 15:53:12.968466"]] SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 7], ["chargeable_service_id", 6]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.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", 1]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["1", "2", "3"], "id"=>"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::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Unpermitted parameter: :id  (1.7ms) 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", 1]] Unpermitted parameter: :id Mks::Rate::ChargeableService Load (1.3ms) 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 AND ("mks_rate_chargeable_services"."id" NOT IN (1, 2, 3)) LIMIT $2 [["service_bundle_id", 1], ["LIMIT", 11]] Unpermitted parameter: :id Mks::Rate::ChargeableService Load (1.1ms) 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 AND ("mks_rate_chargeable_services"."id" NOT IN (1, 2, 3)) [["service_bundle_id", 1]]  (1.0ms) SAVEPOINT active_record_1  (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", 1], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 208504ms (Views: 8.7ms | ActiveRecord: 8.8ms) 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", 1], ["LIMIT", 1]]  (2.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", 1]]  (2.4ms) ROLLBACK  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.3ms) BEGIN  (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", "Caridad Greenholt"], ["LIMIT", 1]] SQL (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", "Caridad Greenholt"], ["name", "Laronda Beatty"], ["address", "Brant Sanford"], ["created_at", "2018-04-06 16:23:40.557607"], ["updated_at", "2018-04-06 16:23:40.557607"]]  (0.6ms) 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", "Kaleigh Emard"], ["LIMIT", 1]] SQL (1.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", "Kaleigh Emard"], ["name", "Golden Mann"], ["description", "Tabetha Macejkovic"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 16:23:40.569797"], ["updated_at", "2018-04-06 16:23:40.569797"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.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", "Agustin Runolfsson"], ["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", "Hannelore Doyle"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Agustin Runolfsson"], ["name", "Hannelore Doyle"], ["created_at", "2018-04-06 16:23:40.626806"], ["updated_at", "2018-04-06 16:23:40.626806"]]  (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", "Yon Wintheiser"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yon Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:23:40.646474"], ["updated_at", "2018-04-06 16:23:40.646474"]]  (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", "Brandy Heathcote"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brandy Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:23:40.652726"], ["updated_at", "2018-04-06 16:23:40.652726"]]  (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", "Samuel Torphy"], ["LIMIT", 1]] SQL (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", "Samuel Torphy"], ["name", "Marvin Blick"], ["address", "Rebbeca Kuphal"], ["created_at", "2018-04-06 16:23:40.657838"], ["updated_at", "2018-04-06 16:23:40.657838"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Peter Reinger"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Peter Reinger"], ["name", "Ray Rath"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:23:40.664705"], ["updated_at", "2018-04-06 16:23:40.664705"]] 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", 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", "Peter Reinger"], ["LIMIT", 1]] SQL (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", "Peter Reinger"], ["name", "Ray Rath"], ["description", "Default bundle for service 'Ray Rath'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:23:40.680457"], ["updated_at", "2018-04-06 16:23:40.680457"]] SQL (2.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Dione Stracke"], ["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", "Eliseo Breitenberg"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dione Stracke"], ["name", "Eliseo Breitenberg"], ["created_at", "2018-04-06 16:23:40.718490"], ["updated_at", "2018-04-06 16:23:40.718490"]]  (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", "Julianne Hand"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julianne Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:23:40.724196"], ["updated_at", "2018-04-06 16:23:40.724196"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tiara Lebsack"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tiara Lebsack"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:23:40.728788"], ["updated_at", "2018-04-06 16:23:40.728788"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Valorie McGlynn"], ["LIMIT", 1]] SQL (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", "Valorie McGlynn"], ["name", "Albert Johns"], ["address", "Viola Price"], ["created_at", "2018-04-06 16:23:40.733309"], ["updated_at", "2018-04-06 16:23:40.733309"]]  (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", "Rossana Rau"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Rossana Rau"], ["name", "Lelia Schroeder"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:23:40.738275"], ["updated_at", "2018-04-06 16:23:40.738275"]] 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", 3], ["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", "Rossana Rau"], ["LIMIT", 1]] SQL (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", "Rossana Rau"], ["name", "Lelia Schroeder"], ["description", "Default bundle for service 'Lelia Schroeder'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:23:40.743789"], ["updated_at", "2018-04-06 16:23:40.743789"]] SQL (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", 2]]  (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", "Miguel Wolf"], ["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", "Thea Boehm"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Miguel Wolf"], ["name", "Thea Boehm"], ["created_at", "2018-04-06 16:23:40.753667"], ["updated_at", "2018-04-06 16:23:40.753667"]]  (0.7ms) 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", "Paulita Reinger"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Paulita Reinger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:23:40.758635"], ["updated_at", "2018-04-06 16:23:40.758635"]]  (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", "Ramona Wunsch"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ramona Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:23:40.764012"], ["updated_at", "2018-04-06 16:23:40.764012"]]  (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", "Melia Altenwerth"], ["LIMIT", 1]] SQL (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", "Melia Altenwerth"], ["name", "Linnea Balistreri"], ["address", "Chang Heller"], ["created_at", "2018-04-06 16:23:40.769289"], ["updated_at", "2018-04-06 16:23:40.769289"]]  (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", "Brittaney Nitzsche"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] SQL (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", "Brittaney Nitzsche"], ["name", "Pierre Mills"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:23:40.774157"], ["updated_at", "2018-04-06 16:23:40.774157"]] 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", "Brittaney Nitzsche"], ["LIMIT", 1]] SQL (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", "Brittaney Nitzsche"], ["name", "Pierre Mills"], ["description", "Default bundle for service 'Pierre Mills'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:23:40.779833"], ["updated_at", "2018-04-06 16:23:40.779833"]] SQL (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 3]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (2.7ms) 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", 1]]  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN (1, 2, 3) 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", 1]] SQL (1.6ms) 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]] SQL (2.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 2]] SQL (1.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 3]]  (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", 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", 1]]  (0.6ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.6ms) BEGIN  (1.0ms) 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", "Devon Watsica"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Devon Watsica"], ["name", "Youlanda Mann"], ["address", "Angle Koelpin"], ["created_at", "2018-04-06 16:27:20.860961"], ["updated_at", "2018-04-06 16:27:20.860961"]]  (1.0ms) 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", "Hana Zemlak"], ["LIMIT", 1]] SQL (1.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", "Hana Zemlak"], ["name", "Dorie Thiel"], ["description", "Asia Carroll"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 16:27:20.880577"], ["updated_at", "2018-04-06 16:27:20.880577"]]  (0.5ms) 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", "Nadine Gislason"], ["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", "Gwyn Lockman"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nadine Gislason"], ["name", "Gwyn Lockman"], ["created_at", "2018-04-06 16:27:20.918931"], ["updated_at", "2018-04-06 16:27:20.918931"]]  (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", "Mason Blanda"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mason Blanda"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:20.937380"], ["updated_at", "2018-04-06 16:27:20.937380"]]  (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", "Dewayne Langosh"], ["LIMIT", 1]] SQL (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 Langosh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:20.943115"], ["updated_at", "2018-04-06 16:27:20.943115"]]  (0.4ms) 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", "Sammie Blanda"], ["LIMIT", 1]] SQL (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", "Sammie Blanda"], ["name", "Federico Cole"], ["address", "Halina Renner"], ["created_at", "2018-04-06 16:27:20.948130"], ["updated_at", "2018-04-06 16:27:20.948130"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Chuck Medhurst"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (2.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", "Chuck Medhurst"], ["name", "Lecia Skiles"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:27:20.956951"], ["updated_at", "2018-04-06 16:27:20.956951"]] 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 (1.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Chuck Medhurst"], ["LIMIT", 1]] SQL (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", "Chuck Medhurst"], ["name", "Lecia Skiles"], ["description", "Default bundle for service 'Lecia Skiles'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:27:20.978565"], ["updated_at", "2018-04-06 16:27:20.978565"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Stacia Feeney"], ["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", "Renna Casper"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Stacia Feeney"], ["name", "Renna Casper"], ["created_at", "2018-04-06 16:27:21.006210"], ["updated_at", "2018-04-06 16:27:21.006210"]]  (0.4ms) 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", "Matthew Reynolds"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Matthew Reynolds"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.010675"], ["updated_at", "2018-04-06 16:27:21.010675"]]  (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", "Xiomara O'Hara"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Xiomara O'Hara"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.015063"], ["updated_at", "2018-04-06 16:27:21.015063"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jeri Hoeger"], ["LIMIT", 1]] SQL (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", "Jeri Hoeger"], ["name", "Lenny Pfeffer"], ["address", "Shandra O'Hara"], ["created_at", "2018-04-06 16:27:21.019435"], ["updated_at", "2018-04-06 16:27:21.019435"]]  (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", "Zulma Berge"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Zulma Berge"], ["name", "Lacey Orn"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:27:21.023678"], ["updated_at", "2018-04-06 16:27:21.023678"]] 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", 3], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Zulma Berge"], ["LIMIT", 1]] SQL (0.7ms) 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", "Zulma Berge"], ["name", "Lacey Orn"], ["description", "Default bundle for service 'Lacey Orn'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:27:21.028591"], ["updated_at", "2018-04-06 16:27:21.028591"]] SQL (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", 2]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (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", "Chun Erdman"], ["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", "Deirdre Cole"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chun Erdman"], ["name", "Deirdre Cole"], ["created_at", "2018-04-06 16:27:21.038528"], ["updated_at", "2018-04-06 16:27:21.038528"]]  (0.7ms) 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", "Marla Deckow"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marla Deckow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.043825"], ["updated_at", "2018-04-06 16:27:21.043825"]]  (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", "Ella Stamm"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ella Stamm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.048196"], ["updated_at", "2018-04-06 16:27:21.048196"]]  (0.4ms) 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", "Melia Wilderman"], ["LIMIT", 1]] SQL (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", "Melia Wilderman"], ["name", "Maryjane Harris"], ["address", "Wesley Rowe"], ["created_at", "2018-04-06 16:27:21.052638"], ["updated_at", "2018-04-06 16:27:21.052638"]]  (0.4ms) 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", "Altagracia Kub"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] SQL (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", "Altagracia Kub"], ["name", "Valeria Gutmann"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:27:21.058570"], ["updated_at", "2018-04-06 16:27:21.058570"]] 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", 4], ["LIMIT", 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", "Altagracia Kub"], ["LIMIT", 1]] SQL (1.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", "Altagracia Kub"], ["name", "Valeria Gutmann"], ["description", "Default bundle for service 'Valeria Gutmann'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:27:21.068362"], ["updated_at", "2018-04-06 16:27:21.068362"]] SQL (2.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", 3]]  (1.1ms) 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", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN (1, 2, 3) 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", 1]] SQL (1.0ms) 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]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 2]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 3]]  (0.6ms) 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", 1], ["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", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Lou Parker"], ["LIMIT", 1]] SQL (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", "Lou Parker"], ["name", "Emilee Tremblay"], ["address", "Alysha Wiza"], ["created_at", "2018-04-06 16:27:21.117460"], ["updated_at", "2018-04-06 16:27:21.117460"]]  (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", "Gertie Welch"], ["LIMIT", 1]] SQL (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", "Gertie Welch"], ["name", "Destiny Shanahan"], ["description", "Jimmie Wilderman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 16:27:21.122273"], ["updated_at", "2018-04-06 16:27:21.122273"]]  (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", "Drew Wolff"], ["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", "Bettina Littel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Drew Wolff"], ["name", "Bettina Littel"], ["created_at", "2018-04-06 16:27:21.129365"], ["updated_at", "2018-04-06 16:27:21.129365"]]  (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", "Jung Dibbert"], ["LIMIT", 1]] SQL (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 Dibbert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.134967"], ["updated_at", "2018-04-06 16:27:21.134967"]]  (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", "Letisha Koch"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Letisha Koch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.145474"], ["updated_at", "2018-04-06 16:27:21.145474"]]  (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", "Imogene Christiansen"], ["LIMIT", 1]] SQL (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", "Imogene Christiansen"], ["name", "Heidy Hirthe"], ["address", "Shanti Osinski"], ["created_at", "2018-04-06 16:27:21.152368"], ["updated_at", "2018-04-06 16:27:21.152368"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Benedict Jast"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Benedict Jast"], ["name", "Melissa Welch"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 16:27:21.162427"], ["updated_at", "2018-04-06 16:27:21.162427"]] 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", 6], ["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", "Benedict Jast"], ["LIMIT", 1]] SQL (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", "Benedict Jast"], ["name", "Melissa Welch"], ["description", "Default bundle for service 'Melissa Welch'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 16:27:21.173350"], ["updated_at", "2018-04-06 16:27:21.173350"]] SQL (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 4]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Lupe Olson"], ["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", "Shalanda Leuschke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lupe Olson"], ["name", "Shalanda Leuschke"], ["created_at", "2018-04-06 16:27:21.193549"], ["updated_at", "2018-04-06 16:27:21.193549"]]  (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", "Burma Rippin"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Burma Rippin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.198196"], ["updated_at", "2018-04-06 16:27:21.198196"]]  (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", "Stephen Friesen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stephen Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.203220"], ["updated_at", "2018-04-06 16:27:21.203220"]]  (0.5ms) 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", "Liza Rogahn"], ["LIMIT", 1]] SQL (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", "Liza Rogahn"], ["name", "Henriette Wisozk"], ["address", "Allen Grimes"], ["created_at", "2018-04-06 16:27:21.207667"], ["updated_at", "2018-04-06 16:27:21.207667"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Dung Bednar"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Dung Bednar"], ["name", "Verla McGlynn"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 16:27:21.211889"], ["updated_at", "2018-04-06 16:27:21.211889"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Dung Bednar"], ["LIMIT", 1]] SQL (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", "Dung Bednar"], ["name", "Verla McGlynn"], ["description", "Default bundle for service 'Verla McGlynn'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 16:27:21.217269"], ["updated_at", "2018-04-06 16:27:21.217269"]] SQL (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", 5]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joana Murphy"], ["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", "Ozella Parker"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joana Murphy"], ["name", "Ozella Parker"], ["created_at", "2018-04-06 16:27:21.226929"], ["updated_at", "2018-04-06 16:27:21.226929"]]  (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", "Jeanine Koepp"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jeanine Koepp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.231714"], ["updated_at", "2018-04-06 16:27:21.231714"]]  (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", "Jermaine Greenholt"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jermaine Greenholt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:21.236438"], ["updated_at", "2018-04-06 16:27:21.236438"]]  (0.6ms) 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", "Francie Emard"], ["LIMIT", 1]] SQL (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", "Francie Emard"], ["name", "Reinaldo Schuster"], ["address", "Alda Kohler"], ["created_at", "2018-04-06 16:27:21.241047"], ["updated_at", "2018-04-06 16:27:21.241047"]]  (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", "Yaeko Jast"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Yaeko Jast"], ["name", "Charise Ernser"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 16:27:21.245443"], ["updated_at", "2018-04-06 16:27:21.245443"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Yaeko Jast"], ["LIMIT", 1]] SQL (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", "Yaeko Jast"], ["name", "Charise Ernser"], ["description", "Default bundle for service 'Charise Ernser'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 16:27:21.251158"], ["updated_at", "2018-04-06 16:27:21.251158"]] SQL (1.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", 6]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 4]] SQL (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]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 6]]  (0.6ms) RELEASE SAVEPOINT active_record_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", 5]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = 6 Mks::Rate::ChargeableService Load (1.4ms) 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", 5]] SQL (1.5ms) 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 (4, 5) [["service_bundle_id", 5]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (1.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 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", 5]]  (1.1ms) ROLLBACK  (2.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) BEGIN  (0.9ms) 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 LIMIT $2 [["code", "Antoinette Sauer"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Antoinette Sauer"], ["name", "Coreen Hickle"], ["address", "Zana Bayer"], ["created_at", "2018-04-06 16:27:42.117920"], ["updated_at", "2018-04-06 16:27:42.117920"]]  (0.9ms) 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", "Rayna Hayes"], ["LIMIT", 1]] SQL (2.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", "Rayna Hayes"], ["name", "Zane Mayer"], ["description", "Eugenia Kuhn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 16:27:42.134669"], ["updated_at", "2018-04-06 16:27:42.134669"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rick Terry"], ["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", "Lue Schiller"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rick Terry"], ["name", "Lue Schiller"], ["created_at", "2018-04-06 16:27:42.200448"], ["updated_at", "2018-04-06 16:27:42.200448"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Telma Rodriguez"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Telma Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.221062"], ["updated_at", "2018-04-06 16:27:42.221062"]]  (0.5ms) 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", "Lara Murazik"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lara Murazik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.228606"], ["updated_at", "2018-04-06 16:27:42.228606"]]  (0.5ms) 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", "Frederick Okuneva"], ["LIMIT", 1]] SQL (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", "Frederick Okuneva"], ["name", "Carola Buckridge"], ["address", "Harry Veum"], ["created_at", "2018-04-06 16:27:42.233620"], ["updated_at", "2018-04-06 16:27:42.233620"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Patrick Harvey"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (2.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", "Patrick Harvey"], ["name", "Melanie Bins"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:27:42.241884"], ["updated_at", "2018-04-06 16:27:42.241884"]] 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", 2], ["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", "Patrick Harvey"], ["LIMIT", 1]] SQL (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", "Patrick Harvey"], ["name", "Melanie Bins"], ["description", "Default bundle for service 'Melanie Bins'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:27:42.267722"], ["updated_at", "2018-04-06 16:27:42.267722"]] SQL (1.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (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", "Melodi Hahn"], ["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", "Estefana Johnston"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Melodi Hahn"], ["name", "Estefana Johnston"], ["created_at", "2018-04-06 16:27:42.297785"], ["updated_at", "2018-04-06 16:27:42.297785"]]  (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", "Charlena Pollich"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charlena Pollich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.302562"], ["updated_at", "2018-04-06 16:27:42.302562"]]  (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", "Sharmaine Rutherford"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sharmaine Rutherford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.308064"], ["updated_at", "2018-04-06 16:27:42.308064"]]  (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", "Lily Hoeger"], ["LIMIT", 1]] SQL (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", "Lily Hoeger"], ["name", "Quinn Feest"], ["address", "Esmeralda Torp"], ["created_at", "2018-04-06 16:27:42.313012"], ["updated_at", "2018-04-06 16:27:42.313012"]]  (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", "Clay Hegmann"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Clay Hegmann"], ["name", "Rupert Howell"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:27:42.317727"], ["updated_at", "2018-04-06 16:27:42.317727"]] 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", 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", "Clay Hegmann"], ["LIMIT", 1]] SQL (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", "Clay Hegmann"], ["name", "Rupert Howell"], ["description", "Default bundle for service 'Rupert Howell'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:27:42.325328"], ["updated_at", "2018-04-06 16:27:42.325328"]] SQL (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", 2]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Amberly Rogahn"], ["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", "Alonso Jast"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Amberly Rogahn"], ["name", "Alonso Jast"], ["created_at", "2018-04-06 16:27:42.347478"], ["updated_at", "2018-04-06 16:27:42.347478"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Richelle Dibbert"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Richelle Dibbert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.355939"], ["updated_at", "2018-04-06 16:27:42.355939"]]  (0.8ms) 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", "Gena D'Amore"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gena D'Amore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.362603"], ["updated_at", "2018-04-06 16:27:42.362603"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Nelle Kautzer"], ["LIMIT", 1]] SQL (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", "Nelle Kautzer"], ["name", "Tai Reinger"], ["address", "Clinton Dietrich"], ["created_at", "2018-04-06 16:27:42.371731"], ["updated_at", "2018-04-06 16:27:42.371731"]]  (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", "Carolee Huels"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] SQL (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", "Carolee Huels"], ["name", "Verena Dooley"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:27:42.377280"], ["updated_at", "2018-04-06 16:27:42.377280"]] 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", 4], ["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", "Carolee Huels"], ["LIMIT", 1]] SQL (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", "Carolee Huels"], ["name", "Verena Dooley"], ["description", "Default bundle for service 'Verena Dooley'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:27:42.384686"], ["updated_at", "2018-04-06 16:27:42.384686"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 3]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", 1]]  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.4ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN (1, 2, 3) 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", 1]] SQL (1.0ms) 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]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 2]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 3]]  (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", 1], ["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", 1]]  (0.6ms) 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", "Jeffry Carroll"], ["LIMIT", 1]] SQL (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", "Jeffry Carroll"], ["name", "Caterina Herman"], ["address", "Lexie Kuhn"], ["created_at", "2018-04-06 16:27:42.431585"], ["updated_at", "2018-04-06 16:27:42.431585"]]  (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", "Brad Tromp"], ["LIMIT", 1]] SQL (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", "Brad Tromp"], ["name", "Marylin Langosh"], ["description", "Wendy Strosin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 16:27:42.436568"], ["updated_at", "2018-04-06 16:27:42.436568"]]  (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", "Dwight Borer"], ["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", "Seth Heaney"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dwight Borer"], ["name", "Seth Heaney"], ["created_at", "2018-04-06 16:27:42.443034"], ["updated_at", "2018-04-06 16:27:42.443034"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (8.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rob Hackett"], ["LIMIT", 1]] SQL (2.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rob Hackett"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.458093"], ["updated_at", "2018-04-06 16:27:42.458093"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (3.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Coleen Considine"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Coleen Considine"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.471661"], ["updated_at", "2018-04-06 16:27:42.471661"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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", "Alayna Wuckert"], ["LIMIT", 1]] SQL (2.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Alayna Wuckert"], ["name", "Kelley Murphy"], ["address", "Inell Hettinger"], ["created_at", "2018-04-06 16:27:42.482860"], ["updated_at", "2018-04-06 16:27:42.482860"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Towanda Gusikowski"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Towanda Gusikowski"], ["name", "Darcie Runolfsdottir"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 16:27:42.494202"], ["updated_at", "2018-04-06 16:27:42.494202"]] 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", 6], ["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", "Towanda Gusikowski"], ["LIMIT", 1]] SQL (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", "Towanda Gusikowski"], ["name", "Darcie Runolfsdottir"], ["description", "Default bundle for service 'Darcie Runolfsdottir'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 16:27:42.501613"], ["updated_at", "2018-04-06 16:27:42.501613"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 4]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Terrie Bogisich"], ["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", "Aida Hermiston"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Terrie Bogisich"], ["name", "Aida Hermiston"], ["created_at", "2018-04-06 16:27:42.517063"], ["updated_at", "2018-04-06 16:27:42.517063"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Aron O'Reilly"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Aron O'Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.525226"], ["updated_at", "2018-04-06 16:27:42.525226"]]  (0.8ms) 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", "Alene Borer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alene Borer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.531139"], ["updated_at", "2018-04-06 16:27:42.531139"]]  (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", "Hugh Heller"], ["LIMIT", 1]] SQL (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", "Hugh Heller"], ["name", "Elisha Cruickshank"], ["address", "Kathi Cassin"], ["created_at", "2018-04-06 16:27:42.536302"], ["updated_at", "2018-04-06 16:27:42.536302"]]  (1.2ms) 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", "Ivory Hoeger"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Ivory Hoeger"], ["name", "Kate Boyle"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 16:27:42.543543"], ["updated_at", "2018-04-06 16:27:42.543543"]] 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", 7], ["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", "Ivory Hoeger"], ["LIMIT", 1]] SQL (2.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", "Ivory Hoeger"], ["name", "Kate Boyle"], ["description", "Default bundle for service 'Kate Boyle'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 16:27:42.550308"], ["updated_at", "2018-04-06 16:27:42.550308"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 7], ["chargeable_service_id", 5]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Melania Gislason"], ["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", "Sarina Treutel"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Melania Gislason"], ["name", "Sarina Treutel"], ["created_at", "2018-04-06 16:27:42.569483"], ["updated_at", "2018-04-06 16:27:42.569483"]]  (1.8ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Steven Bernier"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Steven Bernier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.580318"], ["updated_at", "2018-04-06 16:27:42.580318"]]  (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", "Oliva Feeney"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oliva Feeney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:27:42.586209"], ["updated_at", "2018-04-06 16:27:42.586209"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Aimee Kemmer"], ["LIMIT", 1]] SQL (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", "Aimee Kemmer"], ["name", "Shanta Borer"], ["address", "Jacquiline Osinski"], ["created_at", "2018-04-06 16:27:42.592683"], ["updated_at", "2018-04-06 16:27:42.592683"]]  (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", "Ethelene Runolfsson"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Ethelene Runolfsson"], ["name", "Birdie Schuppe"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 16:27:42.597878"], ["updated_at", "2018-04-06 16:27:42.597878"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ethelene Runolfsson"], ["LIMIT", 1]] SQL (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", "Ethelene Runolfsson"], ["name", "Birdie Schuppe"], ["description", "Default bundle for service 'Birdie Schuppe'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 16:27:42.603497"], ["updated_at", "2018-04-06 16:27:42.603497"]] SQL (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", 6]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 4]] SQL (0.7ms) 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]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 6]]  (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", 5]]  (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" = 6 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", 5]] SQL (1.2ms) 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 (4, 5) [["service_bundle_id", 5]]  (0.6ms) RELEASE SAVEPOINT active_record_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", 5], ["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", 5]]  (1.1ms) ROLLBACK  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (0.9ms) 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", "Taren Yundt"], ["LIMIT", 1]] SQL (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", "Taren Yundt"], ["name", "Vania Wilderman"], ["address", "Cristi Gleason"], ["created_at", "2018-04-06 16:28:08.572321"], ["updated_at", "2018-04-06 16:28:08.572321"]]  (0.5ms) 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", "Andra Wisoky"], ["LIMIT", 1]] SQL (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", "Andra Wisoky"], ["name", "Annice Berge"], ["description", "Malissa Hoeger"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 16:28:08.587622"], ["updated_at", "2018-04-06 16:28:08.587622"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Magda Spinka"], ["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", "Suzie Cummerata"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Magda Spinka"], ["name", "Suzie Cummerata"], ["created_at", "2018-04-06 16:28:08.636077"], ["updated_at", "2018-04-06 16:28:08.636077"]]  (0.5ms) 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", "Yong Hirthe"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yong Hirthe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.656433"], ["updated_at", "2018-04-06 16:28:08.656433"]]  (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", "Suellen Bode"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Suellen Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.662683"], ["updated_at", "2018-04-06 16:28:08.662683"]]  (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", "Herta Greenfelder"], ["LIMIT", 1]] SQL (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", "Herta Greenfelder"], ["name", "Meda Jacobson"], ["address", "Ardelia Haag"], ["created_at", "2018-04-06 16:28:08.667516"], ["updated_at", "2018-04-06 16:28:08.667516"]]  (0.5ms) 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", "Lacy Thiel"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Lacy Thiel"], ["name", "Pinkie Grady"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:28:08.675727"], ["updated_at", "2018-04-06 16:28:08.675727"]] 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", 2], ["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", "Lacy Thiel"], ["LIMIT", 1]] SQL (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", "Lacy Thiel"], ["name", "Pinkie Grady"], ["description", "Default bundle for service 'Pinkie Grady'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:28:08.695408"], ["updated_at", "2018-04-06 16:28:08.695408"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Angila Kulas"], ["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", "Erich Veum"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Angila Kulas"], ["name", "Erich Veum"], ["created_at", "2018-04-06 16:28:08.730191"], ["updated_at", "2018-04-06 16:28:08.730191"]]  (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", "Lenita Reilly"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lenita Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.736749"], ["updated_at", "2018-04-06 16:28:08.736749"]]  (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", "Shela O'Reilly"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shela O'Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.741873"], ["updated_at", "2018-04-06 16:28:08.741873"]]  (0.5ms) 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", "Shayla Johnston"], ["LIMIT", 1]] SQL (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", "Shayla Johnston"], ["name", "Liberty Wisozk"], ["address", "Rachell Rodriguez"], ["created_at", "2018-04-06 16:28:08.746330"], ["updated_at", "2018-04-06 16:28:08.746330"]]  (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", "Sid Johns"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Sid Johns"], ["name", "Breana Cruickshank"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:28:08.750963"], ["updated_at", "2018-04-06 16:28:08.750963"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sid Johns"], ["LIMIT", 1]] SQL (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", "Sid Johns"], ["name", "Breana Cruickshank"], ["description", "Default bundle for service 'Breana Cruickshank'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:28:08.756825"], ["updated_at", "2018-04-06 16:28:08.756825"]] SQL (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", 2]]  (0.6ms) 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", "Roland Eichmann"], ["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", "Jame Mante"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Roland Eichmann"], ["name", "Jame Mante"], ["created_at", "2018-04-06 16:28:08.766769"], ["updated_at", "2018-04-06 16:28:08.766769"]]  (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", "Maritza Feeney"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maritza Feeney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.772262"], ["updated_at", "2018-04-06 16:28:08.772262"]]  (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", "Myrl Buckridge"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Myrl Buckridge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.776649"], ["updated_at", "2018-04-06 16:28:08.776649"]]  (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", "Chad Corwin"], ["LIMIT", 1]] SQL (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", "Chad Corwin"], ["name", "Elva Balistreri"], ["address", "Shawnna Conroy"], ["created_at", "2018-04-06 16:28:08.781540"], ["updated_at", "2018-04-06 16:28:08.781540"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Cindie Williamson"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] SQL (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", "Cindie Williamson"], ["name", "Deana Abbott"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:28:08.787423"], ["updated_at", "2018-04-06 16:28:08.787423"]] 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", 4], ["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", "Cindie Williamson"], ["LIMIT", 1]] SQL (1.4ms) 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", "Cindie Williamson"], ["name", "Deana Abbott"], ["description", "Default bundle for service 'Deana Abbott'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:28:08.795508"], ["updated_at", "2018-04-06 16:28:08.795508"]] SQL (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 3]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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", 1]]  (0.7ms) 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) Mks::Rate::ChargeableService Load (1.1ms) 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", 1]] SQL (2.1ms) 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]] SQL (2.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 2]] SQL (1.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 3]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (1.3ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]  (2.4ms) 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", 1]]  (2.0ms) ROLLBACK  (0.9ms) BEGIN  (2.2ms) 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", "Newton Spinka"], ["LIMIT", 1]] SQL (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", "Newton Spinka"], ["name", "Tamisha Williamson"], ["address", "Lakeesha Berge"], ["created_at", "2018-04-06 16:28:08.863422"], ["updated_at", "2018-04-06 16:28:08.863422"]]  (0.9ms) 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", "Leota Veum"], ["LIMIT", 1]] SQL (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", "Leota Veum"], ["name", "Verlene Koelpin"], ["description", "Kristie Boyle"], ["percent_discount", 100.0], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 16:28:08.873173"], ["updated_at", "2018-04-06 16:28:08.873173"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (11.7ms) 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", "Bradford Aufderhar"], ["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", "Diego Konopelski"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bradford Aufderhar"], ["name", "Diego Konopelski"], ["created_at", "2018-04-06 16:28:08.901001"], ["updated_at", "2018-04-06 16:28:08.901001"]]  (1.1ms) 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", "Nan Hirthe"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nan Hirthe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.910409"], ["updated_at", "2018-04-06 16:28:08.910409"]]  (0.7ms) 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", "Amee Tremblay"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Amee Tremblay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.917845"], ["updated_at", "2018-04-06 16:28:08.917845"]]  (0.8ms) 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", "Shanita Cremin"], ["LIMIT", 1]] SQL (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", "Shanita Cremin"], ["name", "Hong Borer"], ["address", "Ahmad Hilll"], ["created_at", "2018-04-06 16:28:08.925947"], ["updated_at", "2018-04-06 16:28:08.925947"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Florida Schmidt"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Florida Schmidt"], ["name", "Agustin Bauch"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 16:28:08.933444"], ["updated_at", "2018-04-06 16:28:08.933444"]] 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", 6], ["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", "Florida Schmidt"], ["LIMIT", 1]] SQL (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", "Florida Schmidt"], ["name", "Agustin Bauch"], ["description", "Default bundle for service 'Agustin Bauch'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 16:28:08.939738"], ["updated_at", "2018-04-06 16:28:08.939738"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 4]]  (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", "Eddie Hirthe"], ["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", "Terrance Boyer"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Eddie Hirthe"], ["name", "Terrance Boyer"], ["created_at", "2018-04-06 16:28:08.950308"], ["updated_at", "2018-04-06 16:28:08.950308"]]  (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", "Casey Marvin"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Casey Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.955926"], ["updated_at", "2018-04-06 16:28:08.955926"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Angelo Sporer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Angelo Sporer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.960388"], ["updated_at", "2018-04-06 16:28:08.960388"]]  (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", "Darryl Brown"], ["LIMIT", 1]] SQL (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", "Darryl Brown"], ["name", "Joan Senger"], ["address", "Wilson Kemmer"], ["created_at", "2018-04-06 16:28:08.965152"], ["updated_at", "2018-04-06 16:28:08.965152"]]  (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", "Armand Lemke"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Armand Lemke"], ["name", "Kaylene Grimes"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 16:28:08.969854"], ["updated_at", "2018-04-06 16:28:08.969854"]] 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", 7], ["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", "Armand Lemke"], ["LIMIT", 1]] SQL (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", "Armand Lemke"], ["name", "Kaylene Grimes"], ["description", "Default bundle for service 'Kaylene Grimes'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 16:28:08.975856"], ["updated_at", "2018-04-06 16:28:08.975856"]] SQL (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", 5]]  (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", "Joanne Cremin"], ["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", "Serina Huels"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joanne Cremin"], ["name", "Serina Huels"], ["created_at", "2018-04-06 16:28:08.986972"], ["updated_at", "2018-04-06 16:28:08.986972"]]  (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", "Joselyn Barton"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joselyn Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.992648"], ["updated_at", "2018-04-06 16:28:08.992648"]]  (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", "Kristel Herzog"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kristel Herzog"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:28:08.997609"], ["updated_at", "2018-04-06 16:28:08.997609"]]  (0.7ms) 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", "Carrie Towne"], ["LIMIT", 1]] SQL (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", "Carrie Towne"], ["name", "Alda Ward"], ["address", "Marguerite Gibson"], ["created_at", "2018-04-06 16:28:09.004658"], ["updated_at", "2018-04-06 16:28:09.004658"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Yulanda Cummings"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Yulanda Cummings"], ["name", "Heide Quitzon"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 16:28:09.013495"], ["updated_at", "2018-04-06 16:28:09.013495"]] 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", 8], ["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", "Yulanda Cummings"], ["LIMIT", 1]] SQL (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", "Yulanda Cummings"], ["name", "Heide Quitzon"], ["description", "Default bundle for service 'Heide Quitzon'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 16:28:09.022986"], ["updated_at", "2018-04-06 16:28:09.022986"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 8], ["chargeable_service_id", 6]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 4]] SQL (0.9ms) 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]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 6]]  (0.7ms) 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", 5]]  (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" = 6 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", 5]] SQL (1.1ms) 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 (4, 5) [["service_bundle_id", 5]]  (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", 5], ["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", 5]] 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", 5]]  (1.0ms) ROLLBACK  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (1.2ms) 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", "Ezequiel Fritsch"], ["LIMIT", 1]] SQL (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", "Ezequiel Fritsch"], ["name", "Ben Dietrich"], ["address", "Freeda Wyman"], ["created_at", "2018-04-06 16:30:13.096598"], ["updated_at", "2018-04-06 16:30:13.096598"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Mitzi Schinner"], ["LIMIT", 1]] SQL (2.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", "Mitzi Schinner"], ["name", "Johnette Greenfelder"], ["description", "Eusebio Metz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-06 16:30:13.111842"], ["updated_at", "2018-04-06 16:30:13.111842"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Frankie Dibbert"], ["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", "Josette Kessler"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Frankie Dibbert"], ["name", "Josette Kessler"], ["created_at", "2018-04-06 16:30:13.179720"], ["updated_at", "2018-04-06 16:30:13.179720"]]  (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", "Casandra Oberbrunner"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Casandra Oberbrunner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.200247"], ["updated_at", "2018-04-06 16:30:13.200247"]]  (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", "Cameron Thiel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cameron Thiel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.206847"], ["updated_at", "2018-04-06 16:30:13.206847"]]  (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", "Loyd Smitham"], ["LIMIT", 1]] SQL (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", "Loyd Smitham"], ["name", "Markita Gulgowski"], ["address", "Micha Bernhard"], ["created_at", "2018-04-06 16:30:13.211887"], ["updated_at", "2018-04-06 16:30:13.211887"]]  (0.5ms) 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", "Carter Frami"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Carter Frami"], ["name", "Laura Considine"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:30:13.219041"], ["updated_at", "2018-04-06 16:30:13.219041"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Carter Frami"], ["LIMIT", 1]] SQL (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", "Carter Frami"], ["name", "Laura Considine"], ["description", "Default bundle for service 'Laura Considine'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-06 16:30:13.234951"], ["updated_at", "2018-04-06 16:30:13.234951"]] SQL (2.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (0.8ms) 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", "Lauryn Zulauf"], ["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", "Devin Lang"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lauryn Zulauf"], ["name", "Devin Lang"], ["created_at", "2018-04-06 16:30:13.278184"], ["updated_at", "2018-04-06 16:30:13.278184"]]  (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", "Bernard Ledner"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bernard Ledner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.282796"], ["updated_at", "2018-04-06 16:30:13.282796"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Carey Stiedemann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carey Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.287801"], ["updated_at", "2018-04-06 16:30:13.287801"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Tomas Zieme"], ["LIMIT", 1]] SQL (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", "Tomas Zieme"], ["name", "Malik Abshire"], ["address", "Billy Miller"], ["created_at", "2018-04-06 16:30:13.292267"], ["updated_at", "2018-04-06 16:30:13.292267"]]  (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", "Tanya Hane"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Tanya Hane"], ["name", "Summer Kutch"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:30:13.297670"], ["updated_at", "2018-04-06 16:30:13.297670"]] 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", 3], ["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", "Tanya Hane"], ["LIMIT", 1]] SQL (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", "Tanya Hane"], ["name", "Summer Kutch"], ["description", "Default bundle for service 'Summer Kutch'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-06 16:30:13.303327"], ["updated_at", "2018-04-06 16:30:13.303327"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 3], ["chargeable_service_id", 2]]  (0.5ms) 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", "Ed Homenick"], ["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", "Cassi Spinka"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ed Homenick"], ["name", "Cassi Spinka"], ["created_at", "2018-04-06 16:30:13.314191"], ["updated_at", "2018-04-06 16:30:13.314191"]]  (0.8ms) 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", "Shaquita Dach"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shaquita Dach"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.319695"], ["updated_at", "2018-04-06 16:30:13.319695"]]  (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", "Cordie Reichert"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cordie Reichert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.324682"], ["updated_at", "2018-04-06 16:30:13.324682"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tabitha Keeling"], ["LIMIT", 1]] SQL (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", "Tabitha Keeling"], ["name", "India Wolff"], ["address", "Shery Swaniawski"], ["created_at", "2018-04-06 16:30:13.329326"], ["updated_at", "2018-04-06 16:30:13.329326"]]  (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", "Kimberley Batz"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] SQL (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", "Kimberley Batz"], ["name", "Ervin Marks"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:30:13.334031"], ["updated_at", "2018-04-06 16:30:13.334031"]] 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", 4], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kimberley Batz"], ["LIMIT", 1]] SQL (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", "Kimberley Batz"], ["name", "Ervin Marks"], ["description", "Default bundle for service 'Ervin Marks'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-06 16:30:13.338944"], ["updated_at", "2018-04-06 16:30:13.338944"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 3]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.4ms) 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", 1]]  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.4ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN (1, 2, 3) Mks::Rate::ChargeableService Load (1.5ms) 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", 1]] SQL (2.1ms) 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]] SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 2]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 3]]  (0.6ms) 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", 1], ["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", 1]]  (0.6ms) ROLLBACK  (0.6ms) 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", "Sean Orn"], ["LIMIT", 1]] SQL (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", "Sean Orn"], ["name", "Eun Quigley"], ["address", "Kandace Reilly"], ["created_at", "2018-04-06 16:30:13.392691"], ["updated_at", "2018-04-06 16:30:13.392691"]]  (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", "Roselyn Doyle"], ["LIMIT", 1]] SQL (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", "Roselyn Doyle"], ["name", "Arleen Zemlak"], ["description", "Curtis Morar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 5], ["created_at", "2018-04-06 16:30:13.397064"], ["updated_at", "2018-04-06 16:30:13.397064"]]  (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", "Bula Bradtke"], ["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", "Classie O'Hara"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bula Bradtke"], ["name", "Classie O'Hara"], ["created_at", "2018-04-06 16:30:13.404134"], ["updated_at", "2018-04-06 16:30:13.404134"]]  (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", "Jacinto Larson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacinto Larson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.408861"], ["updated_at", "2018-04-06 16:30:13.408861"]]  (0.9ms) 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", "Bill Luettgen"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bill Luettgen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.414416"], ["updated_at", "2018-04-06 16:30:13.414416"]]  (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", "Gillian Pacocha"], ["LIMIT", 1]] SQL (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", "Gillian Pacocha"], ["name", "Elinor Emard"], ["address", "Elisabeth Brakus"], ["created_at", "2018-04-06 16:30:13.418976"], ["updated_at", "2018-04-06 16:30:13.418976"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Alice Durgan"], ["service_delivery_unit_id", 6], ["LIMIT", 1]] SQL (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", "Alice Durgan"], ["name", "Zana Beier"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 16:30:13.425271"], ["updated_at", "2018-04-06 16:30:13.425271"]] 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", 6], ["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", "Alice Durgan"], ["LIMIT", 1]] SQL (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", "Alice Durgan"], ["name", "Zana Beier"], ["description", "Default bundle for service 'Zana Beier'"], ["service_delivery_unit_id", 6], ["created_at", "2018-04-06 16:30:13.432447"], ["updated_at", "2018-04-06 16:30:13.432447"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 4]]  (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", "Stella Brekke"], ["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", "Kari Langworth"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Stella Brekke"], ["name", "Kari Langworth"], ["created_at", "2018-04-06 16:30:13.445371"], ["updated_at", "2018-04-06 16:30:13.445371"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Bobbie Brekke"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bobbie Brekke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.452695"], ["updated_at", "2018-04-06 16:30:13.452695"]]  (0.7ms) 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", "Jenise Von"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jenise Von"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.460185"], ["updated_at", "2018-04-06 16:30:13.460185"]]  (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", "Ariana Runte"], ["LIMIT", 1]] SQL (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", "Ariana Runte"], ["name", "Elton Johns"], ["address", "Sunni Botsford"], ["created_at", "2018-04-06 16:30:13.467518"], ["updated_at", "2018-04-06 16:30:13.467518"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Angelo Windler"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Angelo Windler"], ["name", "Elvera Corwin"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 16:30:13.475789"], ["updated_at", "2018-04-06 16:30:13.475789"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Angelo Windler"], ["LIMIT", 1]] SQL (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", "Angelo Windler"], ["name", "Elvera Corwin"], ["description", "Default bundle for service 'Elvera Corwin'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-06 16:30:13.482882"], ["updated_at", "2018-04-06 16:30:13.482882"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 7], ["chargeable_service_id", 5]]  (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", "Milagros Leuschke"], ["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", "Elsie Witting"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Milagros Leuschke"], ["name", "Elsie Witting"], ["created_at", "2018-04-06 16:30:13.492692"], ["updated_at", "2018-04-06 16:30:13.492692"]]  (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", "Cherly Jast"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cherly Jast"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.497750"], ["updated_at", "2018-04-06 16:30:13.497750"]]  (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", "Lara Jacobson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lara Jacobson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.503372"], ["updated_at", "2018-04-06 16:30:13.503372"]]  (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", "Guadalupe Donnelly"], ["LIMIT", 1]] SQL (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", "Guadalupe Donnelly"], ["name", "Garnett Wolff"], ["address", "Lauren Feil"], ["created_at", "2018-04-06 16:30:13.508083"], ["updated_at", "2018-04-06 16:30:13.508083"]]  (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", "Donna VonRueden"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Donna VonRueden"], ["name", "Andrew Bosco"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 16:30:13.513018"], ["updated_at", "2018-04-06 16:30:13.513018"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Donna VonRueden"], ["LIMIT", 1]] SQL (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", "Donna VonRueden"], ["name", "Andrew Bosco"], ["description", "Default bundle for service 'Andrew Bosco'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-06 16:30:13.518711"], ["updated_at", "2018-04-06 16:30:13.518711"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 8], ["chargeable_service_id", 6]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 4]] SQL (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]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 6]]  (0.5ms) 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", 5]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = 6 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", 5]] SQL (1.0ms) 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 (4, 5) [["service_bundle_id", 5]]  (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", 5], ["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", 5]] Mks::Rate::ChargeableService Load (1.3ms) 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", 5]]  (1.4ms) ROLLBACK  (0.6ms) BEGIN  (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", "Cordell Halvorson"], ["LIMIT", 1]] SQL (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", "Cordell Halvorson"], ["name", "Venice Johns"], ["address", "Dale Murphy"], ["created_at", "2018-04-06 16:30:13.561329"], ["updated_at", "2018-04-06 16:30:13.561329"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Mellissa Medhurst"], ["LIMIT", 1]] SQL (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", "Mellissa Medhurst"], ["name", "Dedra Koelpin"], ["description", "Drew Sipes"], ["percent_discount", 100.0], ["service_delivery_unit_id", 9], ["created_at", "2018-04-06 16:30:13.568631"], ["updated_at", "2018-04-06 16:30:13.568631"]]  (0.7ms) 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", "Nancee Kuhlman"], ["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", "Melodie Nader"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nancee Kuhlman"], ["name", "Melodie Nader"], ["created_at", "2018-04-06 16:30:13.583303"], ["updated_at", "2018-04-06 16:30:13.583303"]]  (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", "Carina Bode"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carina Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.588401"], ["updated_at", "2018-04-06 16:30:13.588401"]]  (0.6ms) 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", "Jacelyn Mertz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacelyn Mertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.595519"], ["updated_at", "2018-04-06 16:30:13.595519"]]  (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", "Takako Becker"], ["LIMIT", 1]] SQL (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", "Takako Becker"], ["name", "Bobbi Koss"], ["address", "Quiana Tremblay"], ["created_at", "2018-04-06 16:30:13.602603"], ["updated_at", "2018-04-06 16:30:13.602603"]]  (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", "Nelda Toy"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] SQL (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", "Nelda Toy"], ["name", "Kamilah Stiedemann"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 16:30:13.608953"], ["updated_at", "2018-04-06 16:30:13.608953"]] 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", 10], ["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", "Nelda Toy"], ["LIMIT", 1]] SQL (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", "Nelda Toy"], ["name", "Kamilah Stiedemann"], ["description", "Default bundle for service 'Kamilah Stiedemann'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-06 16:30:13.615033"], ["updated_at", "2018-04-06 16:30:13.615033"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 10], ["chargeable_service_id", 7]]  (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", "Vanessa Heaney"], ["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", "Simone Schneider"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vanessa Heaney"], ["name", "Simone Schneider"], ["created_at", "2018-04-06 16:30:13.625932"], ["updated_at", "2018-04-06 16:30:13.625932"]]  (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", "Reid Nikolaus"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Reid Nikolaus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.630432"], ["updated_at", "2018-04-06 16:30:13.630432"]]  (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", "Valrie Schaefer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Valrie Schaefer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.635803"], ["updated_at", "2018-04-06 16:30:13.635803"]]  (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", "Vanna Satterfield"], ["LIMIT", 1]] SQL (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", "Vanna Satterfield"], ["name", "Thomasine Robel"], ["address", "Renae Dickinson"], ["created_at", "2018-04-06 16:30:13.640263"], ["updated_at", "2018-04-06 16:30:13.640263"]]  (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", "Daniela Hackett"], ["service_delivery_unit_id", 11], ["LIMIT", 1]] SQL (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", "Daniela Hackett"], ["name", "Dannie Brown"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 11], ["created_at", "2018-04-06 16:30:13.645393"], ["updated_at", "2018-04-06 16:30:13.645393"]] 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", 11], ["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", "Daniela Hackett"], ["LIMIT", 1]] SQL (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", "Daniela Hackett"], ["name", "Dannie Brown"], ["description", "Default bundle for service 'Dannie Brown'"], ["service_delivery_unit_id", 11], ["created_at", "2018-04-06 16:30:13.651640"], ["updated_at", "2018-04-06 16:30:13.651640"]] SQL (1.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 11], ["chargeable_service_id", 8]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Darci Pfannerstill"], ["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", "Cassey Labadie"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Darci Pfannerstill"], ["name", "Cassey Labadie"], ["created_at", "2018-04-06 16:30:13.670015"], ["updated_at", "2018-04-06 16:30:13.670015"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Logan Pacocha"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Logan Pacocha"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.677535"], ["updated_at", "2018-04-06 16:30:13.677535"]]  (0.7ms) 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", "Donn Hoeger"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Donn Hoeger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.684623"], ["updated_at", "2018-04-06 16:30:13.684623"]]  (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", "Henry Marvin"], ["LIMIT", 1]] SQL (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", "Henry Marvin"], ["name", "Libby Harris"], ["address", "Dania Hilpert"], ["created_at", "2018-04-06 16:30:13.689289"], ["updated_at", "2018-04-06 16:30:13.689289"]]  (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", "Alycia Stark"], ["service_delivery_unit_id", 12], ["LIMIT", 1]] SQL (0.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", "Alycia Stark"], ["name", "Meta Beier"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 16:30:13.693863"], ["updated_at", "2018-04-06 16:30:13.693863"]] 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", "Alycia Stark"], ["LIMIT", 1]] SQL (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", "Alycia Stark"], ["name", "Meta Beier"], ["description", "Default bundle for service 'Meta Beier'"], ["service_delivery_unit_id", 12], ["created_at", "2018-04-06 16:30:13.698863"], ["updated_at", "2018-04-06 16:30:13.698863"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 12], ["chargeable_service_id", 9]]  (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", "Danyell Harvey"], ["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", "Dottie Ferry"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Danyell Harvey"], ["name", "Dottie Ferry"], ["created_at", "2018-04-06 16:30:13.709126"], ["updated_at", "2018-04-06 16:30:13.709126"]]  (0.7ms) 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", "Elsie Langosh"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elsie Langosh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.714801"], ["updated_at", "2018-04-06 16:30:13.714801"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Frank Legros"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Frank Legros"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-06 16:30:13.719158"], ["updated_at", "2018-04-06 16:30:13.719158"]]  (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", "Kim VonRueden"], ["LIMIT", 1]] SQL (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", "Kim VonRueden"], ["name", "Osvaldo Mertz"], ["address", "Natasha Medhurst"], ["created_at", "2018-04-06 16:30:13.724089"], ["updated_at", "2018-04-06 16:30:13.724089"]]  (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", "Mayola Volkman"], ["service_delivery_unit_id", 13], ["LIMIT", 1]] SQL (0.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", "Mayola Volkman"], ["name", "Sydney Veum"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 16:30:13.729056"], ["updated_at", "2018-04-06 16:30:13.729056"]] 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", 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", "Mayola Volkman"], ["LIMIT", 1]] SQL (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", "Mayola Volkman"], ["name", "Sydney Veum"], ["description", "Default bundle for service 'Sydney Veum'"], ["service_delivery_unit_id", 13], ["created_at", "2018-04-06 16:30:13.734973"], ["updated_at", "2018-04-06 16:30:13.734973"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 13], ["chargeable_service_id", 10]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 9], ["chargeable_service_id", 7]] SQL (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", 8]]  (0.7ms) 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", 9]]  (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" IN (8, 9, 10) 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", 9]] SQL (1.2ms) 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" = 7 [["service_bundle_id", 9]] SQL (1.6ms) 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]] SQL (1.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", 10]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]  (1.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", 9]] Mks::Rate::ChargeableService Exists (1.5ms) 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", 9], ["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.4ms) 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", 9]]  (0.7ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (1.4ms) 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", "norma@rolfson.info"], ["LIMIT", 1]] SQL (4.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", "Loyd Leannon"], ["last_name", "Velia Quigley"], ["email", "norma@rolfson.info"], ["password_digest", "$2a$04$IjcsWpzIsVUXJj9MDXYdieH06zZQkIqyxSlsc448Q2BEnccUllb02"], ["created_at", "2018-04-07 03:59:13.807177"], ["updated_at", "2018-04-07 03:59:13.807177"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Cheree Walker"], ["LIMIT", 1]] SQL (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", "Cheree Walker"], ["name", "Dorian Boyer"], ["address", "Cammie Heidenreich"], ["created_at", "2018-04-07 03:59:13.891495"], ["updated_at", "2018-04-07 03:59:13.891495"]]  (0.6ms) 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", "Clemmie Gusikowski"], ["LIMIT", 1]] SQL (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", "Clemmie Gusikowski"], ["name", "Edward Johnson"], ["description", "Leonie Rippin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 1], ["created_at", "2018-04-07 03:59:13.904744"], ["updated_at", "2018-04-07 03:59:13.904744"]]  (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", "Ernesto D'Amore"], ["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", "Clare Feil"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ernesto D'Amore"], ["name", "Clare Feil"], ["created_at", "2018-04-07 03:59:13.954569"], ["updated_at", "2018-04-07 03:59:13.954569"]]  (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", "Cleta Collier"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cleta Collier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:13.972650"], ["updated_at", "2018-04-07 03:59:13.972650"]]  (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", "Wai Schowalter"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wai Schowalter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:13.979476"], ["updated_at", "2018-04-07 03:59:13.979476"]]  (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", "Lieselotte Rodriguez"], ["LIMIT", 1]] SQL (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", "Lieselotte Rodriguez"], ["name", "Christi Bartoletti"], ["address", "Yi Kassulke"], ["created_at", "2018-04-07 03:59:13.990380"], ["updated_at", "2018-04-07 03:59:13.990380"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Travis Bailey"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Travis Bailey"], ["name", "Georgiann Erdman"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 2], ["created_at", "2018-04-07 03:59:13.997828"], ["updated_at", "2018-04-07 03:59:13.997828"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Travis Bailey"], ["LIMIT", 1]] SQL (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", "Travis Bailey"], ["name", "Georgiann Erdman"], ["description", "Default bundle for service 'Georgiann Erdman'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-07 03:59:14.013470"], ["updated_at", "2018-04-07 03:59:14.013470"]] SQL (2.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 1]]  (0.6ms) 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", 1]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["1"], "id"=>"1"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["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", 1], ["LIMIT", 1]] Unpermitted parameter: :id 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 17ms (Views: 8.2ms | ActiveRecord: 3.0ms)  (0.9ms) ROLLBACK  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (1.1ms) 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", "mavis.gislason@pfeffer.biz"], ["LIMIT", 1]] SQL (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", "Mabelle Okuneva"], ["last_name", "Kevin King"], ["email", "mavis.gislason@pfeffer.biz"], ["password_digest", "$2a$04$EhV5xVOlzslQor.P.jUg1uUZKJE6XmSi20zApTy8SUjvLBZOQVSgq"], ["created_at", "2018-04-07 03:59:26.736969"], ["updated_at", "2018-04-07 03:59:26.736969"]]  (0.5ms) 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", "Ivory Hayes"], ["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", "Marisha Sawayn"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ivory Hayes"], ["name", "Marisha Sawayn"], ["created_at", "2018-04-07 03:59:26.769910"], ["updated_at", "2018-04-07 03:59:26.769910"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Ellis Goodwin"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ellis Goodwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:26.798479"], ["updated_at", "2018-04-07 03:59:26.798479"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Juliana Daniel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Juliana Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:26.805374"], ["updated_at", "2018-04-07 03:59:26.805374"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Mckenzie Fay"], ["LIMIT", 1]] SQL (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", "Mckenzie Fay"], ["name", "Leigha Koelpin"], ["address", "Natisha Effertz"], ["created_at", "2018-04-07 03:59:26.826289"], ["updated_at", "2018-04-07 03:59:26.826289"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Gale Lehner"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (2.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", "Gale Lehner"], ["name", "Jan Bode"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-04-07 03:59:26.837862"], ["updated_at", "2018-04-07 03:59:26.837862"]] 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", 1], ["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", "Gale Lehner"], ["LIMIT", 1]] SQL (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", "Gale Lehner"], ["name", "Jan Bode"], ["description", "Default bundle for service 'Jan Bode'"], ["service_delivery_unit_id", 1], ["created_at", "2018-04-07 03:59:26.868771"], ["updated_at", "2018-04-07 03:59:26.868771"]] SQL (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", "Tammie Kreiger"], ["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", "Christiana Williamson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tammie Kreiger"], ["name", "Christiana Williamson"], ["created_at", "2018-04-07 03:59:26.895194"], ["updated_at", "2018-04-07 03:59:26.895194"]]  (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", "Karey Collier"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Karey Collier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:26.899941"], ["updated_at", "2018-04-07 03:59:26.899941"]]  (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", "Theda Satterfield"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Theda Satterfield"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:26.904100"], ["updated_at", "2018-04-07 03:59:26.904100"]]  (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", "Tracey Hyatt"], ["LIMIT", 1]] SQL (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", "Tracey Hyatt"], ["name", "Sha Koelpin"], ["address", "Garland Walter"], ["created_at", "2018-04-07 03:59:26.908482"], ["updated_at", "2018-04-07 03:59:26.908482"]]  (0.4ms) 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", "Ervin DuBuque"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Ervin DuBuque"], ["name", "Harold Shanahan"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-04-07 03:59:26.913081"], ["updated_at", "2018-04-07 03:59:26.913081"]] 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", 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", "Ervin DuBuque"], ["LIMIT", 1]] SQL (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", "Ervin DuBuque"], ["name", "Harold Shanahan"], ["description", "Default bundle for service 'Harold Shanahan'"], ["service_delivery_unit_id", 2], ["created_at", "2018-04-07 03:59:26.919678"], ["updated_at", "2018-04-07 03:59:26.919678"]] SQL (1.3ms) 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.9ms) 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", "Cecelia Roob"], ["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", "Jed Gibson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cecelia Roob"], ["name", "Jed Gibson"], ["created_at", "2018-04-07 03:59:26.933440"], ["updated_at", "2018-04-07 03:59:26.933440"]]  (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", "Tamala Zboncak"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tamala Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:26.939252"], ["updated_at", "2018-04-07 03:59:26.939252"]]  (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", "Kermit Armstrong"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kermit Armstrong"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:26.945954"], ["updated_at", "2018-04-07 03:59:26.945954"]]  (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", "Felton O'Kon"], ["LIMIT", 1]] SQL (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", "Felton O'Kon"], ["name", "Vicenta Carroll"], ["address", "Violette Ebert"], ["created_at", "2018-04-07 03:59:26.951749"], ["updated_at", "2018-04-07 03:59:26.951749"]]  (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", "Kathrin Fay"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Kathrin Fay"], ["name", "Sook Little"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-04-07 03:59:26.956304"], ["updated_at", "2018-04-07 03:59:26.956304"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kathrin Fay"], ["LIMIT", 1]] SQL (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", "Kathrin Fay"], ["name", "Sook Little"], ["description", "Default bundle for service 'Sook Little'"], ["service_delivery_unit_id", 3], ["created_at", "2018-04-07 03:59:26.961325"], ["updated_at", "2018-04-07 03:59:26.961325"]] SQL (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.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 1], ["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", 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 (2, 1, 3) [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", 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.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.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.7ms) 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] 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.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.8ms) 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 (18.1ms) Completed 200 OK in 54ms (Views: 40.6ms | ActiveRecord: 11.0ms)  (1.0ms) 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", "gaylene.crona@abbott.ca"], ["LIMIT", 1]] SQL (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", "Contessa Ryan"], ["last_name", "Serina Purdy"], ["email", "gaylene.crona@abbott.ca"], ["password_digest", "$2a$04$OITVwzHc0PKg5GpM8I0NJOmbd9lLx8a8ndw9RT.EjtjRk9yeqUjO."], ["created_at", "2018-04-07 03:59:27.036477"], ["updated_at", "2018-04-07 03:59:27.036477"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", "Candance Bailey"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Candance Bailey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.051072"], ["updated_at", "2018-04-07 03:59:27.051072"]]  (0.6ms) 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", "Sharon Collins"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sharon Collins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.056091"], ["updated_at", "2018-04-07 03:59:27.056091"]]  (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", "Sharita Adams"], ["LIMIT", 1]] SQL (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", "Sharita Adams"], ["name", "Maybell Fritsch"], ["address", "Danae Kilback"], ["created_at", "2018-04-07 03:59:27.060671"], ["updated_at", "2018-04-07 03:59:27.060671"]]  (0.8ms) 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", "Gemma Hermann"], ["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", "Christi Kertzmann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gemma Hermann"], ["name", "Christi Kertzmann"], ["created_at", "2018-04-07 03:59:27.068046"], ["updated_at", "2018-04-07 03:59:27.068046"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Shalonda Rogahn", "name"=>"Diann McKenzie", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 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", "Shalonda Rogahn"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.0ms) 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.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]] SQL (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", "Shalonda Rogahn"], ["name", "Diann McKenzie"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-04-07 03:59:27.088798"], ["updated_at", "2018-04-07 03:59:27.088798"]] 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", "Shalonda Rogahn"], ["LIMIT", 1]] SQL (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", "Shalonda Rogahn"], ["name", "Diann McKenzie"], ["description", "Default bundle for service 'Diann McKenzie'"], ["service_delivery_unit_id", 4], ["created_at", "2018-04-07 03:59:27.094263"], ["updated_at", "2018-04-07 03:59:27.094263"]] SQL (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.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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.49ms) Completed 200 OK in 33ms (Views: 9.4ms | ActiveRecord: 11.4ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.2ms) 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", "shaquana@larson.com"], ["LIMIT", 1]] SQL (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", "Tasha Borer"], ["last_name", "Denis Vandervort"], ["email", "shaquana@larson.com"], ["password_digest", "$2a$04$24PTkFHPiRVXJ5fQf2.CiuaBwZeHjZAEdwhG/P24yy16y9kgaFAty"], ["created_at", "2018-04-07 03:59:27.119468"], ["updated_at", "2018-04-07 03:59:27.119468"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rudolph Gaylord"], ["LIMIT", 1]] SQL (2.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rudolph Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.126306"], ["updated_at", "2018-04-07 03:59:27.126306"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Marvella Stanton"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marvella Stanton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.136605"], ["updated_at", "2018-04-07 03:59:27.136605"]]  (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", "Kevin Ryan"], ["LIMIT", 1]] SQL (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", "Kevin Ryan"], ["name", "Gerard Kovacek"], ["address", "Darlene Marquardt"], ["created_at", "2018-04-07 03:59:27.142990"], ["updated_at", "2018-04-07 03:59:27.142990"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Twana Bauch"], ["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", "Yolande Hagenes"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Twana Bauch"], ["name", "Yolande Hagenes"], ["created_at", "2018-04-07 03:59:27.150487"], ["updated_at", "2018-04-07 03:59:27.150487"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Jan Stokes", "name"=>"Elvina Hackett", "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.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", "Jan Stokes"], ["service_delivery_unit_id", 5], ["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", 5], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (1.4ms) 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 (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", 5], ["LIMIT", 1]] SQL (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", "Jan Stokes"], ["name", "Elvina Hackett"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-04-07 03:59:27.165531"], ["updated_at", "2018-04-07 03:59:27.165531"]] 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", 5], ["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", "Jan Stokes"], ["LIMIT", 1]] SQL (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", "Jan Stokes"], ["name", "Elvina Hackett"], ["description", "Default bundle for service 'Elvina Hackett'"], ["service_delivery_unit_id", 5], ["created_at", "2018-04-07 03:59:27.176274"], ["updated_at", "2018-04-07 03:59:27.176274"]] SQL (0.9ms) 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 Mks::Auth::User Load (0.6ms) 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.36ms) Completed 200 OK in 30ms (Views: 1.3ms | ActiveRecord: 11.4ms)  (0.6ms) 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", "xuan@eichmann.us"], ["LIMIT", 1]] SQL (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", "Kaylee Kohler"], ["last_name", "Sheilah Bailey"], ["email", "xuan@eichmann.us"], ["password_digest", "$2a$04$bZEIMV2i8d3cTWz0KkGofunqf7yX6hnz7eSdD8nkBsJeTrwG2ez7u"], ["created_at", "2018-04-07 03:59:27.191338"], ["updated_at", "2018-04-07 03:59:27.191338"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Aaron Hermann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Aaron Hermann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.195742"], ["updated_at", "2018-04-07 03:59:27.195742"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Noble Moen"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Noble Moen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.199720"], ["updated_at", "2018-04-07 03:59:27.199720"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Diego Klocko"], ["LIMIT", 1]] SQL (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", "Diego Klocko"], ["name", "Ollie Dickens"], ["address", "Peggy O'Conner"], ["created_at", "2018-04-07 03:59:27.203726"], ["updated_at", "2018-04-07 03:59:27.203726"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Rosalinda Watsica"], ["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", "Lucrecia Shields"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rosalinda Watsica"], ["name", "Lucrecia Shields"], ["created_at", "2018-04-07 03:59:27.208713"], ["updated_at", "2018-04-07 03:59:27.208713"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Stephen Lowe", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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.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 (1.8ms) 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.9ms) 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.8ms) 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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 422 Unprocessable Entity in 43ms (Views: 6.5ms | ActiveRecord: 11.4ms)  (0.8ms) 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", "kristina@fadel.biz"], ["LIMIT", 1]] SQL (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", "Carlotta Green"], ["last_name", "Adrienne Kohler"], ["email", "kristina@fadel.biz"], ["password_digest", "$2a$04$NKqode6yFW090XrRf1QhGuhh1Tpzzx3fdDmb8kCR.WRrrZr0npJuq"], ["created_at", "2018-04-07 03:59:27.262707"], ["updated_at", "2018-04-07 03:59:27.262707"]]  (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", "Dannielle Vandervort"], ["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", "Eugena Dooley"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dannielle Vandervort"], ["name", "Eugena Dooley"], ["created_at", "2018-04-07 03:59:27.268682"], ["updated_at", "2018-04-07 03:59:27.268682"]]  (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", "Meta Schinner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Meta Schinner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.273300"], ["updated_at", "2018-04-07 03:59:27.273300"]]  (0.5ms) 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", "Vicki Batz"], ["LIMIT", 1]] SQL (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 Batz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.277924"], ["updated_at", "2018-04-07 03:59:27.277924"]]  (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", "Vonnie Ernser"], ["LIMIT", 1]] SQL (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", "Vonnie Ernser"], ["name", "Conchita Prohaska"], ["address", "Detra Moore"], ["created_at", "2018-04-07 03:59:27.282636"], ["updated_at", "2018-04-07 03:59:27.282636"]]  (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", "Giovanni Jewess"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Giovanni Jewess"], ["name", "Lynwood Quigley"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-04-07 03:59:27.287039"], ["updated_at", "2018-04-07 03:59:27.287039"]] 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", "Giovanni Jewess"], ["LIMIT", 1]] SQL (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", "Giovanni Jewess"], ["name", "Lynwood Quigley"], ["description", "Default bundle for service 'Lynwood Quigley'"], ["service_delivery_unit_id", 7], ["created_at", "2018-04-07 03:59:27.292857"], ["updated_at", "2018-04-07 03:59:27.292857"]] SQL (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.6ms) 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.6ms) 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.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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Giovanni Jewess"], ["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.9ms) 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 (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", 7], ["LIMIT", 1]] SQL (1.5ms) 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-04-07 03:59:27.313676"], ["id", 6]] 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", 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", "Giovanni Jewess"], ["LIMIT", 1]]  (0.8ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 25ms (Views: 1.3ms | ActiveRecord: 10.8ms) 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.7ms) ROLLBACK  (0.8ms) BEGIN  (1.3ms) 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", "gianna@goyette.co.uk"], ["LIMIT", 1]] SQL (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", "Carleen Cormier"], ["last_name", "Donnetta Bergnaum"], ["email", "gianna@goyette.co.uk"], ["password_digest", "$2a$04$qtBpCQ9EaxbuWtmy3lu5l.LSEbICVcBg2pddF/QFnDiITm/XKloVa"], ["created_at", "2018-04-07 03:59:27.340469"], ["updated_at", "2018-04-07 03:59:27.340469"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Thora Walter"], ["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", "Daisey Schmitt"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Thora Walter"], ["name", "Daisey Schmitt"], ["created_at", "2018-04-07 03:59:27.351500"], ["updated_at", "2018-04-07 03:59:27.351500"]]  (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", "Miranda Emard"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Miranda Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.357708"], ["updated_at", "2018-04-07 03:59:27.357708"]]  (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", "Opal Kulas"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Opal Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.362822"], ["updated_at", "2018-04-07 03:59:27.362822"]]  (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", "Deloras Grimes"], ["LIMIT", 1]] SQL (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", "Deloras Grimes"], ["name", "Alyssa Leannon"], ["address", "Josefa Hoppe"], ["created_at", "2018-04-07 03:59:27.367418"], ["updated_at", "2018-04-07 03:59:27.367418"]]  (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", "Doria Rath"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (0.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", "Doria Rath"], ["name", "Stefany Altenwerth"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-04-07 03:59:27.371838"], ["updated_at", "2018-04-07 03:59:27.371838"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Doria Rath"], ["LIMIT", 1]] SQL (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", "Doria Rath"], ["name", "Stefany Altenwerth"], ["description", "Default bundle for service 'Stefany Altenwerth'"], ["service_delivery_unit_id", 8], ["created_at", "2018-04-07 03:59:27.376672"], ["updated_at", "2018-04-07 03:59:27.376672"]] SQL (0.8ms) 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.6ms) 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", "Doria Rath"], ["id", 7], ["service_delivery_unit_id", 8], ["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", 8], ["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", 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.3ms)  (0.6ms) 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", "mora.langosh@reinger.biz"], ["LIMIT", 1]] SQL (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", "Pamela Turner"], ["last_name", "Garnet Shanahan"], ["email", "mora.langosh@reinger.biz"], ["password_digest", "$2a$04$AO3B4ZZKoo2Ho9D0Btkoh.KUw9kiCn6dRpL.wLOmRqPq.yIExDgKe"], ["created_at", "2018-04-07 03:59:27.403866"], ["updated_at", "2018-04-07 03:59:27.403866"]]  (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", "Rocco Bauch"], ["LIMIT", 1]] SQL (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", "Rocco Bauch"], ["name", "Maud Stiedemann"], ["address", "Monnie Gulgowski"], ["created_at", "2018-04-07 03:59:27.408648"], ["updated_at", "2018-04-07 03:59:27.408648"]]  (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", "Shannon Brakus"], ["LIMIT", 1]] SQL (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", "Shannon Brakus"], ["name", "Aaron Kiehn"], ["address", "Patricia Hackett"], ["created_at", "2018-04-07 03:59:27.413335"], ["updated_at", "2018-04-07 03:59:27.413335"]]  (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", "Irmgard Frami"], ["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", "Nam Mraz"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Irmgard Frami"], ["name", "Nam Mraz"], ["created_at", "2018-04-07 03:59:27.418847"], ["updated_at", "2018-04-07 03:59:27.418847"]]  (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", "Bernardina Schinner"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bernardina Schinner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.423224"], ["updated_at", "2018-04-07 03:59:27.423224"]]  (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 Douglas"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bertha Douglas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.427642"], ["updated_at", "2018-04-07 03:59:27.427642"]]  (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", "Stephine Smith"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["LIMIT", 1]] SQL (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", "Stephine Smith"], ["name", "Tammi Kuphal"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-04-07 03:59:27.435084"], ["updated_at", "2018-04-07 03:59:27.435084"]] 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", 9], ["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", "Stephine Smith"], ["LIMIT", 1]] SQL (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", "Stephine Smith"], ["name", "Tammi Kuphal"], ["description", "Default bundle for service 'Tammi Kuphal'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-07 03:59:27.444009"], ["updated_at", "2018-04-07 03:59:27.444009"]] SQL (2.1ms) 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.9ms) 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", "Venessa Ullrich"], ["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", "Jennine Kshlerin"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Venessa Ullrich"], ["name", "Jennine Kshlerin"], ["created_at", "2018-04-07 03:59:27.462029"], ["updated_at", "2018-04-07 03:59:27.462029"]]  (0.7ms) 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", "Alysia Padberg"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alysia Padberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.468794"], ["updated_at", "2018-04-07 03:59:27.468794"]]  (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", "Randy Gusikowski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Randy Gusikowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.473315"], ["updated_at", "2018-04-07 03:59:27.473315"]]  (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", "Louie Bashirian"], ["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]] SQL (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", "Louie Bashirian"], ["name", "Ute Abernathy"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-04-07 03:59:27.479320"], ["updated_at", "2018-04-07 03:59:27.479320"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Louie Bashirian"], ["LIMIT", 1]] SQL (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", "Louie Bashirian"], ["name", "Ute Abernathy"], ["description", "Default bundle for service 'Ute Abernathy'"], ["service_delivery_unit_id", 9], ["created_at", "2018-04-07 03:59:27.484397"], ["updated_at", "2018-04-07 03:59:27.484397"]] SQL (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.6ms) 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", "Lulu Schaden"], ["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", "Ester Eichmann"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lulu Schaden"], ["name", "Ester Eichmann"], ["created_at", "2018-04-07 03:59:27.493326"], ["updated_at", "2018-04-07 03:59:27.493326"]]  (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", "Janette Ryan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janette Ryan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.498869"], ["updated_at", "2018-04-07 03:59:27.498869"]]  (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", "Chery Greenfelder"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chery Greenfelder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.503268"], ["updated_at", "2018-04-07 03:59:27.503268"]]  (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", "Pia Glover"], ["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]] SQL (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", "Pia Glover"], ["name", "Jefferey Prohaska"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-04-07 03:59:27.509263"], ["updated_at", "2018-04-07 03:59:27.509263"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Pia Glover"], ["LIMIT", 1]] SQL (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", "Pia Glover"], ["name", "Jefferey Prohaska"], ["description", "Default bundle for service 'Jefferey Prohaska'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-07 03:59:27.514239"], ["updated_at", "2018-04-07 03:59:27.514239"]] SQL (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.5ms) 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", "Veronique Lockman"], ["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", "Loise Wisoky"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Veronique Lockman"], ["name", "Loise Wisoky"], ["created_at", "2018-04-07 03:59:27.523171"], ["updated_at", "2018-04-07 03:59:27.523171"]]  (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", "Kathryne McLaughlin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kathryne McLaughlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.527639"], ["updated_at", "2018-04-07 03:59:27.527639"]]  (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", "Jazmin Lemke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jazmin Lemke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:27.531852"], ["updated_at", "2018-04-07 03:59:27.531852"]]  (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", "Madie Mann"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] 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", 10], ["LIMIT", 1]] SQL (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", "Madie Mann"], ["name", "Berta Williamson"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-04-07 03:59:27.538996"], ["updated_at", "2018-04-07 03:59:27.538996"]] 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::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Madie Mann"], ["LIMIT", 1]] SQL (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", "Madie Mann"], ["name", "Berta Williamson"], ["description", "Default bundle for service 'Berta Williamson'"], ["service_delivery_unit_id", 10], ["created_at", "2018-04-07 03:59:27.546500"], ["updated_at", "2018-04-07 03:59:27.546500"]] SQL (1.1ms) 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.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (0.9ms) 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.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.0ms) 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.5ms) 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.5ms) 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.6ms) 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.5ms) 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 (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", 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 (12.14ms) Completed 200 OK in 20ms (Views: 10.5ms | ActiveRecord: 8.1ms)  (0.7ms) ROLLBACK  (0.6ms) 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", "shanti_tremblay@hegmann.us"], ["LIMIT", 1]] SQL (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", "Tuan Halvorson"], ["last_name", "Hector Lubowitz"], ["email", "shanti_tremblay@hegmann.us"], ["password_digest", "$2a$04$gYXp5BDvnvAwqVcmsauKWeCi1npBsYW8ThebNXUh6sZrO0KqbqM2e"], ["created_at", "2018-04-07 03:59:27.584321"], ["updated_at", "2018-04-07 03:59:27.584321"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "hugo.mayert@donnelly.biz"], ["LIMIT", 1]] SQL (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", "Shanelle Runolfsson"], ["last_name", "Zoila Altenwerth"], ["email", "hugo.mayert@donnelly.biz"], ["password_digest", "$2a$04$rzySer.oUs3oE8c/YO/JfuTBpcUC/9P0y6qK2pCKugdNQsIUf.PyO"], ["created_at", "2018-04-07 03:59:27.596962"], ["updated_at", "2018-04-07 03:59:27.596962"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "mafalda@conn.info"], ["LIMIT", 1]] SQL (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", "Cole Gutmann"], ["last_name", "Denese O'Connell"], ["email", "mafalda@conn.info"], ["password_digest", "$2a$04$E6bSInthltYFCkxZQ1d/KOPG4doVGhZhBsIscHhO.xIXLvianCteK"], ["created_at", "2018-04-07 03:59:27.606629"], ["updated_at", "2018-04-07 03:59:27.606629"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.9ms) ROLLBACK  (0.7ms) 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", "milo@block.info"], ["LIMIT", 1]] SQL (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", "Kindra Hansen"], ["last_name", "Rebbeca Emmerich"], ["email", "milo@block.info"], ["password_digest", "$2a$04$lMZUs7xUTFmgsaq0J7uG/O2o6RDc6XvkiQoC/baeXSWKJnUW2dCKe"], ["created_at", "2018-04-07 03:59:27.622934"], ["updated_at", "2018-04-07 03:59:27.622934"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.6ms) 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", "boyce@dickinson.us"], ["LIMIT", 1]] SQL (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", "Erinn Daniel"], ["last_name", "Flavia Steuber"], ["email", "boyce@dickinson.us"], ["password_digest", "$2a$04$hB8yjjgMh2OZYdobZvjBveQgg1DO/BLpTGoSzuZdc1prsDyRLL5zS"], ["created_at", "2018-04-07 03:59:27.634723"], ["updated_at", "2018-04-07 03:59:27.634723"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "bulah_ebert@ankunding.us"], ["LIMIT", 1]] SQL (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", "Yahaira Schaefer"], ["last_name", "Fabiola Bode"], ["email", "bulah_ebert@ankunding.us"], ["password_digest", "$2a$04$AoaVpXfiVfecHshqroR4DuoZE/ZjimZNYGaFQGR5455HBYz72TiZS"], ["created_at", "2018-04-07 03:59:27.646265"], ["updated_at", "2018-04-07 03:59:27.646265"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (1.0ms) 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", "juliane@roob.info"], ["LIMIT", 1]] SQL (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", "Lanell Gottlieb"], ["last_name", "Kelle Rosenbaum"], ["email", "juliane@roob.info"], ["password_digest", "$2a$04$KuFukFbpkXqePYooeTSrBOKonS5VtjTKVcSQwlIfcJP3PMyRowSqa"], ["created_at", "2018-04-07 03:59:27.660945"], ["updated_at", "2018-04-07 03:59:27.660945"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "albina@orn.ca"], ["LIMIT", 1]] SQL (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", "Jackson Legros"], ["last_name", "Parthenia Mertz"], ["email", "albina@orn.ca"], ["password_digest", "$2a$04$dvCVUcuP7cZpNe3O4A9IhO4ngu4YQ/n.jOfO9G.8LM.tstu21aFCq"], ["created_at", "2018-04-07 03:59:27.672050"], ["updated_at", "2018-04-07 03:59:27.672050"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "cierra@conroy.name"], ["LIMIT", 1]] SQL (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", "Rhona Predovic"], ["last_name", "Burma Welch"], ["email", "cierra@conroy.name"], ["password_digest", "$2a$04$yrX9GTwLz0IhZWejPsBsaOh75R.Z60ioo.UryE1O1EVlZJe2mk20S"], ["created_at", "2018-04-07 03:59:27.683202"], ["updated_at", "2018-04-07 03:59:27.683202"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "evie.wiegand@rutherford.co.uk"], ["LIMIT", 1]] SQL (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", "Santiago Bernhard"], ["last_name", "Hui Davis"], ["email", "evie.wiegand@rutherford.co.uk"], ["password_digest", "$2a$04$e58tcQeuptrWFClNgU8o8ube0FJ9s5ZL2q3AE5B9Ttu0Qex8ICYL."], ["created_at", "2018-04-07 03:59:27.693456"], ["updated_at", "2018-04-07 03:59:27.693456"]]  (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", "Allen Beer"], ["LIMIT", 1]] SQL (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", "Allen Beer"], ["name", "Stevie Lockman"], ["address", "Angela Murazik"], ["created_at", "2018-04-07 03:59:27.698976"], ["updated_at", "2018-04-07 03:59:27.698976"]]  (0.7ms) 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", "Marybeth Howe"], ["LIMIT", 1]] SQL (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", "Marybeth Howe"], ["name", "Germaine Boyer"], ["description", "Keli Ullrich"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-04-07 03:59:27.704132"], ["updated_at", "2018-04-07 03:59:27.704132"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 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]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.31ms) Completed 200 OK in 18ms (Views: 13.1ms | ActiveRecord: 4.0ms)  (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", "henry.erdman@schmelermarvin.co.uk"], ["LIMIT", 1]] SQL (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", "Lashawnda Powlowski"], ["last_name", "Bernardina Bogan"], ["email", "henry.erdman@schmelermarvin.co.uk"], ["password_digest", "$2a$04$YXEwyV0LB.BlZOOIWlXvQOm.IvF/FXt/G.I0rSF/47lhuhLMD78v6"], ["created_at", "2018-04-07 03:59:27.734612"], ["updated_at", "2018-04-07 03:59:27.734612"]]  (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", "Page Bernier"], ["LIMIT", 1]] SQL (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", "Page Bernier"], ["name", "Joan Rath"], ["address", "Nichole Hickle"], ["created_at", "2018-04-07 03:59:27.739586"], ["updated_at", "2018-04-07 03:59:27.739586"]]  (0.8ms) 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", "Gregory Stoltenberg"], ["LIMIT", 1]] SQL (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", "Gregory Stoltenberg"], ["name", "Sydney Wolff"], ["description", "Jessenia Paucek"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-07 03:59:27.745823"], ["updated_at", "2018-04-07 03:59:27.745823"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Mary Crona"], ["LIMIT", 1]] SQL (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", "Mary Crona"], ["name", "Cathi Daugherty"], ["description", "Melva Howe"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-07 03:59:27.753025"], ["updated_at", "2018-04-07 03:59:27.753025"]]  (0.7ms) 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", "Charlotte Vandervort"], ["LIMIT", 1]] SQL (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", "Charlotte Vandervort"], ["name", "Arletha Yundt"], ["description", "Brendan Feil"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-04-07 03:59:27.760515"], ["updated_at", "2018-04-07 03:59:27.760515"]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"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", 18], ["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", 18], ["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", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.43ms) Completed 200 OK in 12ms (Views: 5.9ms | ActiveRecord: 4.8ms)  (0.8ms) 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", "ashley_donnelly@collier.ca"], ["LIMIT", 1]] SQL (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", "Alline Konopelski"], ["last_name", "Laurette Wyman"], ["email", "ashley_donnelly@collier.ca"], ["password_digest", "$2a$04$U2SSLGCnG4HlmLwwc.UBDOfx7JiiDJixsOLdhf/DygC0Dju4mCp32"], ["created_at", "2018-04-07 03:59:27.787423"], ["updated_at", "2018-04-07 03:59:27.787423"]]  (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", "Sam Pouros"], ["LIMIT", 1]] SQL (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", "Sam Pouros"], ["name", "Lekisha Strosin"], ["address", "Elliot Feil"], ["created_at", "2018-04-07 03:59:27.792496"], ["updated_at", "2018-04-07 03:59:27.792496"]]  (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", "Alton Homenick"], ["LIMIT", 1]] SQL (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", "Alton Homenick"], ["name", "Wendy Hintz"], ["description", "Marlene Turcotte"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-07 03:59:27.798082"], ["updated_at", "2018-04-07 03:59:27.798082"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Arlie Aufderhar"], ["LIMIT", 1]] SQL (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", "Arlie Aufderhar"], ["name", "Jesus Johnson"], ["description", "Margurite Jakubowski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-07 03:59:27.803980"], ["updated_at", "2018-04-07 03:59:27.803980"]]  (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", "Bernardina Kuphal"], ["LIMIT", 1]] SQL (0.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", "Bernardina Kuphal"], ["name", "Tillie Fay"], ["description", "Deeanna Kiehn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-04-07 03:59:27.808976"], ["updated_at", "2018-04-07 03:59:27.808976"]]  (0.4ms) 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", "Celeste Robel"], ["LIMIT", 1]] SQL (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", "Celeste Robel"], ["name", "Candi Maggio"], ["address", "Cassaundra Cummerata"], ["created_at", "2018-04-07 03:59:27.813730"], ["updated_at", "2018-04-07 03:59:27.813730"]]  (0.7ms) 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", "Willetta Gibson"], ["LIMIT", 1]] SQL (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", "Willetta Gibson"], ["name", "Mickey Murray"], ["description", "Evelia King"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-04-07 03:59:27.819001"], ["updated_at", "2018-04-07 03:59:27.819001"]]  (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", "Verline Conroy"], ["LIMIT", 1]] SQL (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", "Verline Conroy"], ["name", "Audrey Leannon"], ["address", "Denita Ruecker"], ["created_at", "2018-04-07 03:59:27.824684"], ["updated_at", "2018-04-07 03:59:27.824684"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Leon Bahringer"], ["LIMIT", 1]] SQL (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", "Leon Bahringer"], ["name", "Genaro Lesch"], ["description", "Floria Erdman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-04-07 03:59:27.830948"], ["updated_at", "2018-04-07 03:59:27.830948"]]  (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", "John Rau"], ["LIMIT", 1]] SQL (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", "John Rau"], ["name", "Nenita Murray"], ["address", "Corey Goyette"], ["created_at", "2018-04-07 03:59:27.836384"], ["updated_at", "2018-04-07 03:59:27.836384"]]  (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", "Richard Schultz"], ["LIMIT", 1]] SQL (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", "Richard Schultz"], ["name", "Julius Mertz"], ["description", "Hwa Rolfson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-04-07 03:59:27.840688"], ["updated_at", "2018-04-07 03:59:27.840688"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.12ms) Completed 200 OK in 11ms (Views: 6.1ms | ActiveRecord: 4.4ms)  (0.9ms) ROLLBACK  (0.6ms) 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", "lacey_macejkovic@mclaughlinwiegand.co.uk"], ["LIMIT", 1]] SQL (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", "Tenesha O'Kon"], ["last_name", "Saundra Collier"], ["email", "lacey_macejkovic@mclaughlinwiegand.co.uk"], ["password_digest", "$2a$04$oDnTijmeuyL9aXCZ3VUe3uAcfyJ5cWzcSyK9GK.f3N6rJveCZ35gO"], ["created_at", "2018-04-07 03:59:27.865179"], ["updated_at", "2018-04-07 03:59:27.865179"]]  (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", "Starr Cummings"], ["LIMIT", 1]] SQL (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", "Starr Cummings"], ["name", "Fermin Batz"], ["address", "Spring Bosco"], ["created_at", "2018-04-07 03:59:27.872294"], ["updated_at", "2018-04-07 03:59:27.872294"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Paulene Heller"], ["LIMIT", 1]] SQL (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", "Paulene Heller"], ["name", "Eulalia King"], ["description", "Lael Braun"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-04-07 03:59:27.877815"], ["updated_at", "2018-04-07 03:59:27.877815"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 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", 22], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.47ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 2.1ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "damian@damore.com"], ["LIMIT", 1]] SQL (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", "Sunday Luettgen"], ["last_name", "Williams Donnelly"], ["email", "damian@damore.com"], ["password_digest", "$2a$04$sCwBdOmiAgMlIDOIcTC54uAGacIpkWjsEfA2b2oVEpFFYXJdl/7/2"], ["created_at", "2018-04-07 03:59:27.894255"], ["updated_at", "2018-04-07 03:59:27.894255"]]  (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", "Desirae Zieme"], ["LIMIT", 1]] SQL (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", "Desirae Zieme"], ["name", "Geralyn Thiel"], ["address", "Eleonor Crist"], ["created_at", "2018-04-07 03:59:27.900121"], ["updated_at", "2018-04-07 03:59:27.900121"]]  (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", "Loan Brekke"], ["LIMIT", 1]] SQL (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", "Loan Brekke"], ["name", "First Service Bundle"], ["description", "Carmella Gutmann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-04-07 03:59:27.904745"], ["updated_at", "2018-04-07 03:59:27.904745"]]  (0.4ms) 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", "Taylor Stehr"], ["LIMIT", 1]] SQL (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", "Taylor Stehr"], ["name", "Donnette Hirthe"], ["address", "Israel Bode"], ["created_at", "2018-04-07 03:59:27.910145"], ["updated_at", "2018-04-07 03:59:27.910145"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Alva VonRueden"], ["LIMIT", 1]] SQL (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", "Alva VonRueden"], ["name", "Second Service Bundle"], ["description", "Bud Thiel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-04-07 03:59:27.916081"], ["updated_at", "2018-04-07 03:59:27.916081"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["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 (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", 18], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (1.77ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 3.2ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["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 '%service%') [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", 18], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.2ms) Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 7.1ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "dewey_leffler@nitzschehodkiewicz.com"], ["LIMIT", 1]] SQL (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", "Yoko Pollich"], ["last_name", "Virginia Gislason"], ["email", "dewey_leffler@nitzschehodkiewicz.com"], ["password_digest", "$2a$04$dZsn9eMZqOqj8zxTEMEEH.ry87WNdv4WIJ33vmIjZVZt611MgAqem"], ["created_at", "2018-04-07 03:59:27.941964"], ["updated_at", "2018-04-07 03:59:27.941964"]]  (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", "Brandi Stiedemann"], ["LIMIT", 1]] SQL (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", "Brandi Stiedemann"], ["name", "Dori Osinski"], ["address", "Meta Cruickshank"], ["created_at", "2018-04-07 03:59:27.946908"], ["updated_at", "2018-04-07 03:59:27.946908"]]  (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", "Mabelle Schoen"], ["LIMIT", 1]] SQL (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", "Mabelle Schoen"], ["name", "FIRst Service Bundle"], ["description", "Elvera Wehner"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-04-07 03:59:27.952183"], ["updated_at", "2018-04-07 03:59:27.952183"]]  (0.7ms) 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", "Vernon Weissnat"], ["LIMIT", 1]] SQL (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", "Vernon Weissnat"], ["name", "Beverley Huel"], ["address", "Jeff Leuschke"], ["created_at", "2018-04-07 03:59:27.959114"], ["updated_at", "2018-04-07 03:59:27.959114"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Pasquale Langosh"], ["LIMIT", 1]] SQL (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", "Pasquale Langosh"], ["name", "Second Service Bundle for the firST time"], ["description", "Ronald Stiedemann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-04-07 03:59:27.965672"], ["updated_at", "2018-04-07 03:59:27.965672"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["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", 22], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.3ms) 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.9ms) 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]] [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 (3.68ms) Completed 200 OK in 13ms (Views: 4.6ms | ActiveRecord: 6.9ms)  (0.6ms) 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", "nestor.morar@howe.com"], ["LIMIT", 1]] SQL (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", "Laticia Ledner"], ["last_name", "Tracey Lynch"], ["email", "nestor.morar@howe.com"], ["password_digest", "$2a$04$K4p022nYFz6ldWj48KMP4OzQuHhKPCnTf2iPJNLVLYyyr8ScgpPQi"], ["created_at", "2018-04-07 03:59:27.991012"], ["updated_at", "2018-04-07 03:59:27.991012"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Harriett Corkery"], ["LIMIT", 1]] SQL (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", "Harriett Corkery"], ["name", "Jetta Wolf"], ["address", "Rozanne Rohan"], ["created_at", "2018-04-07 03:59:27.999433"], ["updated_at", "2018-04-07 03:59:27.999433"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Dong Turner", "description"=>"Andreas Wiza", "name"=>"Sharita Hilll", "service_delivery_unit_id"=>"22"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]  (0.6ms) 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", 22], ["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", "Dong Turner"], ["LIMIT", 1]] SQL (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", "Dong Turner"], ["name", "Sharita Hilll"], ["description", "Andreas Wiza"], ["service_delivery_unit_id", 22], ["created_at", "2018-04-07 03:59:28.008324"], ["updated_at", "2018-04-07 03:59:28.008324"]]  (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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 11ms (Views: 1.9ms | ActiveRecord: 5.0ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.5ms) ROLLBACK  (0.4ms) 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", "connie@simonismonahan.biz"], ["LIMIT", 1]] SQL (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", "Hildegard Kuhn"], ["last_name", "Janae Beahan"], ["email", "connie@simonismonahan.biz"], ["password_digest", "$2a$04$wGah874XAe84nPa0PDTsD.0nLo4PX0d4s7Ax/552Q1P6X3HV1t2Iq"], ["created_at", "2018-04-07 03:59:28.023387"], ["updated_at", "2018-04-07 03:59:28.023387"]]  (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", "Dollie Spinka"], ["LIMIT", 1]] SQL (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", "Dollie Spinka"], ["name", "Tandy Mitchell"], ["address", "Susanna Welch"], ["created_at", "2018-04-07 03:59:28.029679"], ["updated_at", "2018-04-07 03:59:28.029679"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Sherise Ortiz", "description"=>"Rachelle Kutch", "name"=>"Jama Lakin", "service_delivery_unit_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", 24], ["LIMIT", 1]]  (0.6ms) 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", 23], ["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", "Sherise Ortiz"], ["LIMIT", 1]] SQL (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", "Sherise Ortiz"], ["name", "Jama Lakin"], ["description", "Rachelle Kutch"], ["service_delivery_unit_id", 23], ["created_at", "2018-04-07 03:59:28.038334"], ["updated_at", "2018-04-07 03:59:28.038334"]]  (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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.25ms) Completed 201 Created in 14ms (Views: 2.3ms | ActiveRecord: 5.3ms) Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.8ms) 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", "sherron_waelchi@rogahn.com"], ["LIMIT", 1]] SQL (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", "Nancey Watsica"], ["last_name", "Sandy Reinger"], ["email", "sherron_waelchi@rogahn.com"], ["password_digest", "$2a$04$xFpC/Hg87OSfce9FjE5Ph.I5UX9.1IgfrzVN/SL1X1LGK1XvkecL2"], ["created_at", "2018-04-07 03:59:28.061804"], ["updated_at", "2018-04-07 03:59:28.061804"]]  (0.6ms) 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", "Kerri Bode"], ["LIMIT", 1]] SQL (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", "Kerri Bode"], ["name", "Alva Ritchie"], ["address", "Clementina Hagenes"], ["created_at", "2018-04-07 03:59:28.068482"], ["updated_at", "2018-04-07 03:59:28.068482"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Shanita Hintz", "name"=>"Linette Lindgren", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.6ms) 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", 24], ["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", ""], ["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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.12ms) Completed 422 Unprocessable Entity in 14ms (Views: 4.7ms | ActiveRecord: 4.3ms)  (1.0ms) ROLLBACK  (3.1ms) 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", "kara.bode@boehm.us"], ["LIMIT", 1]] SQL (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", "Hanh Schaefer"], ["last_name", "Trula Ruecker"], ["email", "kara.bode@boehm.us"], ["password_digest", "$2a$04$./J4j8rsjdWrI1bcNeBEiuFkcZ6Knzb2/hYGaCLk226oON7hS.126"], ["created_at", "2018-04-07 03:59:28.099204"], ["updated_at", "2018-04-07 03:59:28.099204"]]  (0.6ms) 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", "Kathyrn Zemlak"], ["LIMIT", 1]] SQL (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", "Kathyrn Zemlak"], ["name", "Mazie Hilpert"], ["address", "Audrea Toy"], ["created_at", "2018-04-07 03:59:28.114186"], ["updated_at", "2018-04-07 03:59:28.114186"]]  (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", "Galen Emard"], ["LIMIT", 1]] SQL (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", "Galen Emard"], ["name", "Raquel Lebsack"], ["description", "Kitty Howell"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-04-07 03:59:28.119003"], ["updated_at", "2018-04-07 03:59:28.119003"]]  (0.6ms) 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", "Cherly Zboncak"], ["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", "Noma Gerhold"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cherly Zboncak"], ["name", "Noma Gerhold"], ["created_at", "2018-04-07 03:59:28.125229"], ["updated_at", "2018-04-07 03:59:28.125229"]]  (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", "Pasty Oga"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pasty Oga"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:28.131510"], ["updated_at", "2018-04-07 03:59:28.131510"]]  (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", "Charmaine Cassin"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charmaine Cassin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:28.137101"], ["updated_at", "2018-04-07 03:59:28.137101"]]  (0.4ms) 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", "Clarissa Koepp"], ["LIMIT", 1]] SQL (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", "Clarissa Koepp"], ["name", "Joselyn Keebler"], ["address", "Tilda Rolfson"], ["created_at", "2018-04-07 03:59:28.142257"], ["updated_at", "2018-04-07 03:59:28.142257"]]  (0.6ms) 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", "Felicita Cruickshank"], ["service_delivery_unit_id", 26], ["LIMIT", 1]] SQL (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", "Felicita Cruickshank"], ["name", "Sha Wisoky"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-04-07 03:59:28.149066"], ["updated_at", "2018-04-07 03:59:28.149066"]] 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", 26], ["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", "Felicita Cruickshank"], ["LIMIT", 1]] SQL (1.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", "Felicita Cruickshank"], ["name", "Sha Wisoky"], ["description", "Default bundle for service 'Sha Wisoky'"], ["service_delivery_unit_id", 26], ["created_at", "2018-04-07 03:59:28.156816"], ["updated_at", "2018-04-07 03:59:28.156816"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 30], ["chargeable_service_id", 12]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 29], ["LIMIT", 1]] Unpermitted parameter: :id 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 2.4ms)  (0.9ms) 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", "ingrid@schadenblick.com"], ["LIMIT", 1]] SQL (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", "Pinkie Grimes"], ["last_name", "Concha Crona"], ["email", "ingrid@schadenblick.com"], ["password_digest", "$2a$04$VMKwLkEbnXzQLTLmBcCdCe1bl.7gmKw246hlFqCYgYLBn6rz4W9R."], ["created_at", "2018-04-07 03:59:28.192033"], ["updated_at", "2018-04-07 03:59:28.192033"]]  (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", "Dee Dooley"], ["LIMIT", 1]] SQL (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", "Dee Dooley"], ["name", "Ena Brakus"], ["address", "Letisha Effertz"], ["created_at", "2018-04-07 03:59:28.197073"], ["updated_at", "2018-04-07 03:59:28.197073"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Edith Klocko"], ["LIMIT", 1]] SQL (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", "Edith Klocko"], ["name", "Timika O'Conner"], ["description", "Pasquale Borer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-04-07 03:59:28.201257"], ["updated_at", "2018-04-07 03:59:28.201257"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Gil Little"}, "id"=>"31"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 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", 31], ["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", 27], ["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", "Edith Klocko"], ["id", 31], ["LIMIT", 1]] SQL (0.8ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Gil Little"], ["updated_at", "2018-04-07 03:59:28.211800"], ["id", 31]]  (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", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.23ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.0ms) 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", 31], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) 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", "sherril_mckenzie@haley.co.uk"], ["LIMIT", 1]] SQL (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", "Rick Beatty"], ["last_name", "Dede Keebler"], ["email", "sherril_mckenzie@haley.co.uk"], ["password_digest", "$2a$04$QWDOW3VNX6W.KsFj.v0Dk.YPU0Hatxyn3QG3gxvIjSTFWH30vI96S"], ["created_at", "2018-04-07 03:59:28.226009"], ["updated_at", "2018-04-07 03:59:28.226009"]]  (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", "Margeret Hickle"], ["LIMIT", 1]] SQL (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", "Margeret Hickle"], ["name", "Sheila Ankunding"], ["address", "Jamey Fritsch"], ["created_at", "2018-04-07 03:59:28.231790"], ["updated_at", "2018-04-07 03:59:28.231790"]]  (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", "Issac Weber"], ["LIMIT", 1]] SQL (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", "Issac Weber"], ["name", "Josephina Conroy"], ["description", "Carline Mertz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-04-07 03:59:28.236249"], ["updated_at", "2018-04-07 03:59:28.236249"]]  (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", "Dwana Feil"], ["LIMIT", 1]] SQL (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", "Dwana Feil"], ["name", "Brynn Carter"], ["address", "Antonette Stoltenberg"], ["created_at", "2018-04-07 03:59:28.240794"], ["updated_at", "2018-04-07 03:59:28.240794"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Teodora Hettinger", "description"=>"Alex Ritchie", "name"=>"Denita Fay", "service_delivery_unit_id"=>"29"}, "id"=>"32"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["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]]  (0.6ms) 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", 29], ["LIMIT", 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", "Teodora Hettinger"], ["id", 32], ["LIMIT", 1]] SQL (1.3ms) 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", "Teodora Hettinger"], ["name", "Denita Fay"], ["description", "Alex Ritchie"], ["service_delivery_unit_id", 29], ["updated_at", "2018-04-07 03:59:28.253225"], ["id", 32]]  (0.7ms) 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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.34ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 6.9ms)  (0.8ms) ROLLBACK  (0.7ms) 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", "kati.bechtelar@pouros.ca"], ["LIMIT", 1]] SQL (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", "Hildred Casper"], ["last_name", "Rosie Cremin"], ["email", "kati.bechtelar@pouros.ca"], ["password_digest", "$2a$04$J6Vk8N2syioEiaK3jXTa9eSGJqBA4xUP9.SsOWTOrtqSamubIfERG"], ["created_at", "2018-04-07 03:59:28.270054"], ["updated_at", "2018-04-07 03:59:28.270054"]]  (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", "Theodora Greenholt"], ["LIMIT", 1]] SQL (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", "Theodora Greenholt"], ["name", "Refugia Bednar"], ["address", "Sherwood Ankunding"], ["created_at", "2018-04-07 03:59:28.277414"], ["updated_at", "2018-04-07 03:59:28.277414"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Eileen Yundt"], ["LIMIT", 1]] SQL (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", "Eileen Yundt"], ["name", "Latisha Adams"], ["description", "Clementine Jerde"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-04-07 03:59:28.282480"], ["updated_at", "2018-04-07 03:59:28.282480"]]  (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", "Casimira Herman"], ["LIMIT", 1]] SQL (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", "Casimira Herman"], ["name", "Bettie Nader"], ["address", "Truman Gutkowski"], ["created_at", "2018-04-07 03:59:28.286991"], ["updated_at", "2018-04-07 03:59:28.286991"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Sina O'Hara", "name"=>"Buck Labadie", "service_delivery_unit_id"=>"31"}, "id"=>"33"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["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", 33], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 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", 31], ["LIMIT", 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", ""], ["id", 33], ["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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.1ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 4.8ms)  (1.4ms) ROLLBACK  (0.4ms) 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", "kareen.weissnat@powlowski.name"], ["LIMIT", 1]] SQL (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", "Babette Reichert"], ["last_name", "Janie Schamberger"], ["email", "kareen.weissnat@powlowski.name"], ["password_digest", "$2a$04$211f8oDQSAVrIydwjeYtRuc7zqIcmDJ/GI6b2EK7.OFMlmzNWEDLu"], ["created_at", "2018-04-07 03:59:28.311271"], ["updated_at", "2018-04-07 03:59:28.311271"]]  (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", "Jodee Turcotte"], ["LIMIT", 1]] SQL (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", "Jodee Turcotte"], ["name", "Norbert Hyatt"], ["address", "Jeanette White"], ["created_at", "2018-04-07 03:59:28.317159"], ["updated_at", "2018-04-07 03:59:28.317159"]]  (0.5ms) 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", "Jean Jacobs"], ["LIMIT", 1]] SQL (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", "Jean Jacobs"], ["name", "Justa Welch"], ["address", "Virgina Cassin"], ["created_at", "2018-04-07 03:59:28.321533"], ["updated_at", "2018-04-07 03:59:28.321533"]]  (0.4ms) 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", "Leonel Lehner"], ["LIMIT", 1]] SQL (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", "Leonel Lehner"], ["name", "Tameka Hauck"], ["address", "Stacee Swift"], ["created_at", "2018-04-07 03:59:28.326759"], ["updated_at", "2018-04-07 03:59:28.326759"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.5ms) 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.63ms) Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 1.6ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "lory.medhurst@daugherty.co.uk"], ["LIMIT", 1]] SQL (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", "Carmella Collins"], ["last_name", "Stacy Lemke"], ["email", "lory.medhurst@daugherty.co.uk"], ["password_digest", "$2a$04$CubS9z0O.bmdu9DVW7bYMOWjaXlNkBKezUvDCOH/Oc8HHFJFxtjv2"], ["created_at", "2018-04-07 03:59:28.352931"], ["updated_at", "2018-04-07 03:59:28.352931"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Noah Koch", "code"=>"Deetta Douglas", "name"=>"Pansy Koch"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (0.9ms) 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", "Deetta Douglas"], ["LIMIT", 1]] SQL (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", "Deetta Douglas"], ["name", "Pansy Koch"], ["address", "Noah Koch"], ["created_at", "2018-04-07 03:59:28.368093"], ["updated_at", "2018-04-07 03:59:28.368093"]]  (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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.54ms) Completed 200 OK in 12ms (Views: 2.1ms | ActiveRecord: 5.2ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.6ms) 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", "maragaret.eichmann@yundt.com"], ["LIMIT", 1]] SQL (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", "Kassandra Skiles"], ["last_name", "Jacalyn Shields"], ["email", "maragaret.eichmann@yundt.com"], ["password_digest", "$2a$04$BBxxmc886m4Bc6ARJaEXye4WQFBhC/xGQ4nfTmkjVpgDirioxqG4C"], ["created_at", "2018-04-07 03:59:28.384452"], ["updated_at", "2018-04-07 03:59:28.384452"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Madelene Koch", "code"=>"Cristopher Jacobi", "name"=>"Angelique Gerlach"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]]  (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", "Cristopher Jacobi"], ["LIMIT", 1]] SQL (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", "Cristopher Jacobi"], ["name", "Angelique Gerlach"], ["address", "Madelene Koch"], ["created_at", "2018-04-07 03:59:28.394039"], ["updated_at", "2018-04-07 03:59:28.394039"]]  (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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.48ms) Completed 200 OK in 10ms (Views: 1.7ms | ActiveRecord: 4.6ms)  (0.6ms) 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", "kisha@jenkins.name"], ["LIMIT", 1]] SQL (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", "Jarred Purdy"], ["last_name", "Sang Rice"], ["email", "kisha@jenkins.name"], ["password_digest", "$2a$04$f9qAkD1jvmpj7.0wkMTQreMYMh3OKrIAcNI16o3UKS9BOEryK4ROC"], ["created_at", "2018-04-07 03:59:28.406530"], ["updated_at", "2018-04-07 03:59:28.406530"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Keneth Rempel", "code"=>"", "name"=>"Lesley Carroll"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["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", ""], ["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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.0ms | ActiveRecord: 3.2ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "reynalda@raynorbergstrom.name"], ["LIMIT", 1]] SQL (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", "Sheryl Price"], ["last_name", "Fred Vandervort"], ["email", "reynalda@raynorbergstrom.name"], ["password_digest", "$2a$04$hgy9oESARa7ozUXAoLw3SOTxMi7Cj9blsPXSpxrj2APU818FUXv8e"], ["created_at", "2018-04-07 03:59:28.428125"], ["updated_at", "2018-04-07 03:59:28.428125"]]  (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", "Oswaldo McCullough"], ["LIMIT", 1]] SQL (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", "Oswaldo McCullough"], ["name", "Sylvester Corwin"], ["address", "Laquita Mueller"], ["created_at", "2018-04-07 03:59:28.433469"], ["updated_at", "2018-04-07 03:59:28.433469"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 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]]  (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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Oswaldo McCullough"], ["id", 37], ["LIMIT", 1]] SQL (0.7ms) 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-04-07 03:59:28.443936"], ["id", 37]]  (0.4ms) 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", 34], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 4.8ms) 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", 37], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "kayleen_rogahn@fritschcormier.com"], ["LIMIT", 1]] SQL (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", "Moshe Sanford"], ["last_name", "Ernest Robel"], ["email", "kayleen_rogahn@fritschcormier.com"], ["password_digest", "$2a$04$NvNxC5Zp1i58igUv2rj4h.sRUbTP5VvnGbNC91tw4.OLwSAws8.uu"], ["created_at", "2018-04-07 03:59:28.457663"], ["updated_at", "2018-04-07 03:59:28.457663"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Tamesha Zieme"], ["LIMIT", 1]] SQL (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", "Tamesha Zieme"], ["name", "Marielle Simonis"], ["address", "Ignacia Stoltenberg"], ["created_at", "2018-04-07 03:59:28.466784"], ["updated_at", "2018-04-07 03:59:28.466784"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["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", 38], ["LIMIT", 1]]  (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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Tamesha Zieme"], ["id", 38], ["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", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.17ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.6ms | ActiveRecord: 4.7ms)  (0.9ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) 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", "jayson@leannon.com"], ["LIMIT", 1]] SQL (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", "Clarissa Bartoletti"], ["last_name", "Guy Effertz"], ["email", "jayson@leannon.com"], ["password_digest", "$2a$04$nZ0IR3pHYIR7Gg1fvK2Kt.t5WsJx/N3fdsCDqakna4TAFV90Mo.J2"], ["created_at", "2018-04-07 03:59:28.494837"], ["updated_at", "2018-04-07 03:59:28.494837"]]  (0.7ms) 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", "Sonia Wisozk"], ["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", "Monserrate Reynolds"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sonia Wisozk"], ["name", "Monserrate Reynolds"], ["description", "Beatae autem qui rem molestias velit et. Dicta consequuntur dolore error fugit. In delectus similique numquam officia laudantium ipsa ex eum. Recusandae esse iste eum est quod et alias impedit. Tempora optio rem ab provident laborum hic veniam."], ["created_at", "2018-04-07 03:59:28.616058"], ["updated_at", "2018-04-07 03:59:28.616058"]]  (0.5ms) 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", "Wm Bashirian"], ["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", "Marietta Konopelski"], ["LIMIT", 1]] SQL (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", "Wm Bashirian"], ["name", "Marietta Konopelski"], ["description", "Ad unde omnis quae in quia voluptatem eveniet facilis. Consequuntur praesentium ipsa magnam quisquam perferendis incidunt. Hic cumque voluptate doloremque aspernatur totam dolor debitis dolore. Voluptas ullam in ut nihil."], ["equipment_type_id", 1], ["created_at", "2018-04-07 03:59:28.624566"], ["updated_at", "2018-04-07 03:59:28.624566"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Carmine Kunde"], ["LIMIT", 1]] SQL (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", "Carmine Kunde"], ["name", "Kraig Stanton"], ["description", "Fern King"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-04-07 03:59:28.631971"], ["updated_at", "2018-04-07 03:59:28.631971"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Krystle Macejkovic"], ["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", "Demarcus Jacobson"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Krystle Macejkovic"], ["name", "Demarcus Jacobson"], ["description", "Hester Simonis"], ["created_at", "2018-04-07 03:59:28.678319"], ["updated_at", "2018-04-07 03:59:28.678319"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Pasty D'Amore"], ["LIMIT", 1]] SQL (1.4ms) 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", "Pasty D'Amore"], ["name", "Nicholle Hahn"], ["location_type_id", 1], ["description", "Moira Harvey"], ["address", "Jill Collins"], ["created_at", "2018-04-07 03:59:28.688471"], ["updated_at", "2018-04-07 03:59:28.688471"]]  (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", "Marylou McKenzie"], ["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", "Lavera Herzog"], ["LIMIT", 1]] SQL (2.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", "Marylou McKenzie"], ["name", "Erinn Bernhard"], ["description", "Torri Kohler"], ["serial_number", "Lavera Herzog"], ["brand", "Delfina Weissnat"], ["item_model", "Christopher Turcotte"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-04-07 03:59:28.698430"], ["updated_at", "2018-04-07 03:59:28.698430"]]  (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", "Necole Erdman"], ["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", "Yuonne Bednar"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Necole Erdman"], ["name", "Yuonne Bednar"], ["created_at", "2018-04-07 03:59:28.712129"], ["updated_at", "2018-04-07 03:59:28.712129"]]  (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", "Penney Bauch"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Penney Bauch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:28.721270"], ["updated_at", "2018-04-07 03:59:28.721270"]]  (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", "Yen Fahey"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yen Fahey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:28.726537"], ["updated_at", "2018-04-07 03:59:28.726537"]]  (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", "Sol Schinner"], ["LIMIT", 1]] SQL (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", "Sol Schinner"], ["name", "Winston Klocko"], ["address", "Floyd Crist"], ["created_at", "2018-04-07 03:59:28.731249"], ["updated_at", "2018-04-07 03:59:28.731249"]]  (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", "Blythe Volkman"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Blythe Volkman"], ["name", "Melody Harvey"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-04-07 03:59:28.735667"], ["updated_at", "2018-04-07 03:59:28.735667"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Blythe Volkman"], ["LIMIT", 1]] SQL (1.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", "Blythe Volkman"], ["name", "Melody Harvey"], ["description", "Default bundle for service 'Melody Harvey'"], ["service_delivery_unit_id", 39], ["created_at", "2018-04-07 03:59:28.740651"], ["updated_at", "2018-04-07 03:59:28.740651"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 34], ["chargeable_service_id", 13]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 1], ["created_at", "2018-04-07 03:59:28.749085"], ["updated_at", "2018-04-07 03:59:28.749085"]]  (0.5ms) 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", "Breann Reinger"], ["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", "Jaleesa Eichmann"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Breann Reinger"], ["name", "Jaleesa Eichmann"], ["description", "Minima ipsa amet officiis incidunt repellendus facere. Eligendi facere et accusantium odio. Quae eveniet rerum deserunt ea in eius molestias. Iste sit eum enim hic ipsum."], ["created_at", "2018-04-07 03:59:28.757086"], ["updated_at", "2018-04-07 03:59:28.757086"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Emiko Tillman"], ["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", "Britt Aufderhar"], ["LIMIT", 1]] SQL (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", "Emiko Tillman"], ["name", "Britt Aufderhar"], ["description", "Iusto ad voluptates sequi nulla. Ea et asperiores saepe dolorum earum commodi. Quia dolores eveniet sapiente doloribus et. Quasi alias repudiandae reprehenderit temporibus excepturi."], ["equipment_type_id", 2], ["created_at", "2018-04-07 03:59:28.764314"], ["updated_at", "2018-04-07 03:59:28.764314"]]  (0.5ms) 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", "Demetria Raynor"], ["LIMIT", 1]] SQL (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", "Demetria Raynor"], ["name", "Janie Kulas"], ["description", "Landon Wisozk"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-04-07 03:59:28.769807"], ["updated_at", "2018-04-07 03:59:28.769807"]]  (0.7ms) 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", "Eunice Howell"], ["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", "Christin Swaniawski"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eunice Howell"], ["name", "Christin Swaniawski"], ["description", "Kenna Cartwright"], ["created_at", "2018-04-07 03:59:28.777323"], ["updated_at", "2018-04-07 03:59:28.777323"]]  (0.6ms) 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", "Janelle Emmerich"], ["LIMIT", 1]] SQL (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", "Janelle Emmerich"], ["name", "Leandra Jaskolski"], ["location_type_id", 2], ["description", "Jackie Parisian"], ["address", "Sirena McKenzie"], ["created_at", "2018-04-07 03:59:28.782738"], ["updated_at", "2018-04-07 03:59:28.782738"]]  (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", "Lacey Hane"], ["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", "Elton Kunze"], ["LIMIT", 1]] SQL (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", "Lacey Hane"], ["name", "Carmina Kuphal"], ["description", "Latosha Rolfson"], ["serial_number", "Elton Kunze"], ["brand", "Darlena Swaniawski"], ["item_model", "Terrell Mann"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-04-07 03:59:28.789899"], ["updated_at", "2018-04-07 03:59:28.789899"]]  (0.7ms) 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", "Kevin Kulas"], ["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", "Traci Kreiger"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kevin Kulas"], ["name", "Traci Kreiger"], ["created_at", "2018-04-07 03:59:28.799092"], ["updated_at", "2018-04-07 03:59:28.799092"]]  (1.1ms) 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", "Ollie Fadel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ollie Fadel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:28.804997"], ["updated_at", "2018-04-07 03:59:28.804997"]]  (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", "Minna Olson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Minna Olson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:28.809716"], ["updated_at", "2018-04-07 03:59:28.809716"]]  (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", "Donella Rath"], ["LIMIT", 1]] SQL (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", "Donella Rath"], ["name", "Bell Kris"], ["address", "Fidelia Nienow"], ["created_at", "2018-04-07 03:59:28.814665"], ["updated_at", "2018-04-07 03:59:28.814665"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Arthur Purdy"], ["service_delivery_unit_id", 40], ["LIMIT", 1]] SQL (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", "Arthur Purdy"], ["name", "Tamera Graham"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-04-07 03:59:28.821111"], ["updated_at", "2018-04-07 03:59:28.821111"]] 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", 40], ["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", "Arthur Purdy"], ["LIMIT", 1]] SQL (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", "Arthur Purdy"], ["name", "Tamera Graham"], ["description", "Default bundle for service 'Tamera Graham'"], ["service_delivery_unit_id", 40], ["created_at", "2018-04-07 03:59:28.827277"], ["updated_at", "2018-04-07 03:59:28.827277"]] SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 35], ["chargeable_service_id", 14]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (1.4ms) 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", 14], ["equipment_item_id", 2], ["created_at", "2018-04-07 03:59:28.837955"], ["updated_at", "2018-04-07 03:59:28.837955"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (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", "Linsey Gerlach"], ["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", "Georgina Hills"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Linsey Gerlach"], ["name", "Georgina Hills"], ["description", "Et molestias corporis odio nihil. Est autem non officia non. Vitae libero voluptas dolor sequi voluptatem dolorem architecto eaque. Sed ex mollitia labore perspiciatis dolore. Voluptates est ipsam odit aut eum asperiores ut voluptas."], ["created_at", "2018-04-07 03:59:28.847336"], ["updated_at", "2018-04-07 03:59:28.847336"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Carissa Emard"], ["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", "Glennis Buckridge"], ["LIMIT", 1]] SQL (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", "Carissa Emard"], ["name", "Glennis Buckridge"], ["description", "Quia occaecati consequatur et ab. Magni sapiente fuga accusamus sunt quam doloribus. Voluptatem enim laudantium non ipsum. Maxime distinctio temporibus voluptatibus sed aut. Ea cumque qui quis ducimus nam quia mollitia quis."], ["equipment_type_id", 3], ["created_at", "2018-04-07 03:59:28.852572"], ["updated_at", "2018-04-07 03:59:28.852572"]]  (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", "Ardelle Cremin"], ["LIMIT", 1]] SQL (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", "Ardelle Cremin"], ["name", "Agustina Nitzsche"], ["description", "Shirly Dooley"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-04-07 03:59:28.857003"], ["updated_at", "2018-04-07 03:59:28.857003"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lawerence Stracke"], ["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", "Reba Pfeffer"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lawerence Stracke"], ["name", "Reba Pfeffer"], ["description", "Alfreda Erdman"], ["created_at", "2018-04-07 03:59:28.863716"], ["updated_at", "2018-04-07 03:59:28.863716"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Jae Marks"], ["LIMIT", 1]] SQL (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", "Jae Marks"], ["name", "Tawnya Schoen"], ["location_type_id", 3], ["description", "Shanel Sipes"], ["address", "Maggie Quitzon"], ["created_at", "2018-04-07 03:59:28.869202"], ["updated_at", "2018-04-07 03:59:28.869202"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (2.1ms) 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", "Regan Corkery"], ["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", "Matthew Littel"], ["LIMIT", 1]] SQL (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", "Regan Corkery"], ["name", "Jenise Nienow"], ["description", "Euna Frami"], ["serial_number", "Matthew Littel"], ["brand", "Bruno Stark"], ["item_model", "Thomasina Grimes"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-04-07 03:59:28.879369"], ["updated_at", "2018-04-07 03:59:28.879369"]]  (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", "Nickie Sipes"], ["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", "Felicidad Brakus"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nickie Sipes"], ["name", "Felicidad Brakus"], ["created_at", "2018-04-07 03:59:28.889929"], ["updated_at", "2018-04-07 03:59:28.889929"]]  (1.0ms) 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", "Leonard Schmeler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Leonard Schmeler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:28.897397"], ["updated_at", "2018-04-07 03:59:28.897397"]]  (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", "Liza Balistreri"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Liza Balistreri"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:28.901829"], ["updated_at", "2018-04-07 03:59:28.901829"]]  (0.4ms) 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", "Esteban Rice"], ["LIMIT", 1]] SQL (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", "Esteban Rice"], ["name", "Theda Crist"], ["address", "Alycia Langosh"], ["created_at", "2018-04-07 03:59:28.906352"], ["updated_at", "2018-04-07 03:59:28.906352"]]  (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", "Tambra Wisoky"], ["service_delivery_unit_id", 41], ["LIMIT", 1]] SQL (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", "Tambra Wisoky"], ["name", "Oscar Greenfelder"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-04-07 03:59:28.911778"], ["updated_at", "2018-04-07 03:59:28.911778"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tambra Wisoky"], ["LIMIT", 1]] SQL (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", "Tambra Wisoky"], ["name", "Oscar Greenfelder"], ["description", "Default bundle for service 'Oscar Greenfelder'"], ["service_delivery_unit_id", 41], ["created_at", "2018-04-07 03:59:28.916822"], ["updated_at", "2018-04-07 03:59:28.916822"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 36], ["chargeable_service_id", 15]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 15], ["equipment_item_id", 3], ["created_at", "2018-04-07 03:59:28.923332"], ["updated_at", "2018-04-07 03:59:28.923332"]]  (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", 36], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 13], ["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", 1], ["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", 14], ["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", 2], ["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", 15], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.59ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 7.1ms)  (1.0ms) 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", "jimmie_mraz@corkeryoga.com"], ["LIMIT", 1]] SQL (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", "Mike Dietrich"], ["last_name", "Ute Johnson"], ["email", "jimmie_mraz@corkeryoga.com"], ["password_digest", "$2a$04$J0EcONeq38FRtBelSs/0fefdvmnwD1UsOMrd9zhnqVdnSYFOvetrm"], ["created_at", "2018-04-07 03:59:28.954173"], ["updated_at", "2018-04-07 03:59:28.954173"]]  (0.7ms) 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", "Nicky Feeney"], ["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", "Seth Kris"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nicky Feeney"], ["name", "Seth Kris"], ["description", "Sed et officiis aliquid aut sit praesentium soluta. Vel fuga sed maxime nostrum ut quo. Dolor voluptatem itaque quae tenetur tempore inventore mollitia. Alias adipisci sit placeat laboriosam voluptatem fugiat quo quia. Sint praesentium quas earum itaque tempore."], ["created_at", "2018-04-07 03:59:28.962746"], ["updated_at", "2018-04-07 03:59:28.962746"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Tasia Satterfield"], ["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", "Gary Hessel"], ["LIMIT", 1]] SQL (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", "Tasia Satterfield"], ["name", "Gary Hessel"], ["description", "Perferendis minus quas officia delectus. Magni hic explicabo quia commodi voluptatibus non. Iste totam qui libero repudiandae sunt. Nostrum sunt deleniti repellendus labore. Repellendus libero aut sapiente tenetur."], ["equipment_type_id", 4], ["created_at", "2018-04-07 03:59:28.971023"], ["updated_at", "2018-04-07 03:59:28.971023"]]  (1.1ms) 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", "Guy Hauck"], ["LIMIT", 1]] SQL (2.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", "Guy Hauck"], ["name", "Johnny O'Connell"], ["description", "Christia Witting"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-04-07 03:59:28.978901"], ["updated_at", "2018-04-07 03:59:28.978901"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (2.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Merri Kuhn"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jetta Gerhold"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Merri Kuhn"], ["name", "Jetta Gerhold"], ["description", "Tatyana Lesch"], ["created_at", "2018-04-07 03:59:28.994615"], ["updated_at", "2018-04-07 03:59:28.994615"]]  (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", "Annabel Hodkiewicz"], ["LIMIT", 1]] SQL (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", "Annabel Hodkiewicz"], ["name", "Connie Goyette"], ["location_type_id", 4], ["description", "Brigida Grant"], ["address", "Alvina Larkin"], ["created_at", "2018-04-07 03:59:29.000010"], ["updated_at", "2018-04-07 03:59:29.000010"]]  (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", "Nick Crist"], ["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", "Johnson Brown"], ["LIMIT", 1]] SQL (1.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", "Nick Crist"], ["name", "Fermin Mayer"], ["description", "Tam Welch"], ["serial_number", "Johnson Brown"], ["brand", "Filiberto Feest"], ["item_model", "Alexander Koch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-04-07 03:59:29.006118"], ["updated_at", "2018-04-07 03:59:29.006118"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Juan Cassin"], ["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", "Florentina Little"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Juan Cassin"], ["name", "Florentina Little"], ["created_at", "2018-04-07 03:59:29.015916"], ["updated_at", "2018-04-07 03:59:29.015916"]]  (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", "Barbara Hammes"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Barbara Hammes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.020782"], ["updated_at", "2018-04-07 03:59:29.020782"]]  (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", "Salvador Hahn"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Salvador Hahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.025441"], ["updated_at", "2018-04-07 03:59:29.025441"]]  (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", "Vernita Kassulke"], ["LIMIT", 1]] SQL (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", "Vernita Kassulke"], ["name", "Jacelyn Kling"], ["address", "Gerald Yost"], ["created_at", "2018-04-07 03:59:29.030126"], ["updated_at", "2018-04-07 03:59:29.030126"]]  (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", "Elwood Johnson"], ["service_delivery_unit_id", 42], ["LIMIT", 1]] SQL (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", "Elwood Johnson"], ["name", "Brandee Swaniawski"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-04-07 03:59:29.034680"], ["updated_at", "2018-04-07 03:59:29.034680"]] 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", 42], ["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", "Elwood Johnson"], ["LIMIT", 1]] SQL (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", "Elwood Johnson"], ["name", "Brandee Swaniawski"], ["description", "Default bundle for service 'Brandee Swaniawski'"], ["service_delivery_unit_id", 42], ["created_at", "2018-04-07 03:59:29.039834"], ["updated_at", "2018-04-07 03:59:29.039834"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 37], ["chargeable_service_id", 16]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 16], ["equipment_item_id", 4], ["created_at", "2018-04-07 03:59:29.046579"], ["updated_at", "2018-04-07 03:59:29.046579"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Shea Weissnat"], ["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", "Zack Heller"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shea Weissnat"], ["name", "Zack Heller"], ["description", "Itaque atque fuga beatae possimus ullam. Aut esse consectetur quidem eligendi. Officiis blanditiis omnis eaque laboriosam qui. Quia consequatur eaque ducimus explicabo saepe. Expedita distinctio quia consequatur nesciunt occaecati possimus."], ["created_at", "2018-04-07 03:59:29.053600"], ["updated_at", "2018-04-07 03:59:29.053600"]]  (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", "Gidget Pfeffer"], ["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", "Lamonica Windler"], ["LIMIT", 1]] SQL (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", "Gidget Pfeffer"], ["name", "Lamonica Windler"], ["description", "Perferendis assumenda numquam reiciendis sed modi. Asperiores aut omnis quae aperiam. Commodi veritatis omnis harum amet nihil autem inventore."], ["equipment_type_id", 5], ["created_at", "2018-04-07 03:59:29.060159"], ["updated_at", "2018-04-07 03:59:29.060159"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Tempie Carroll"], ["LIMIT", 1]] SQL (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", "Tempie Carroll"], ["name", "Lacie West"], ["description", "Jennine Marvin"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-04-07 03:59:29.064717"], ["updated_at", "2018-04-07 03:59:29.064717"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Emerson Gottlieb"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Belinda Armstrong"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Emerson Gottlieb"], ["name", "Belinda Armstrong"], ["description", "Gale Renner"], ["created_at", "2018-04-07 03:59:29.072285"], ["updated_at", "2018-04-07 03:59:29.072285"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Martina Morar"], ["LIMIT", 1]] SQL (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", "Martina Morar"], ["name", "Genaro Gerhold"], ["location_type_id", 5], ["description", "Soo Lebsack"], ["address", "Orlando Jerde"], ["created_at", "2018-04-07 03:59:29.079816"], ["updated_at", "2018-04-07 03:59:29.079816"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Lynda Jenkins"], ["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", "Rosaria Gutmann"], ["LIMIT", 1]] SQL (2.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", "Lynda Jenkins"], ["name", "Yaeko Green"], ["description", "Clorinda Muller"], ["serial_number", "Rosaria Gutmann"], ["brand", "Latrisha Mitchell"], ["item_model", "Ray Volkman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-04-07 03:59:29.088581"], ["updated_at", "2018-04-07 03:59:29.088581"]]  (1.0ms) 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", "Brandon Brekke"], ["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", "Elba Abernathy"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Brandon Brekke"], ["name", "Elba Abernathy"], ["created_at", "2018-04-07 03:59:29.100896"], ["updated_at", "2018-04-07 03:59:29.100896"]]  (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", "Eileen Effertz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eileen Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.106548"], ["updated_at", "2018-04-07 03:59:29.106548"]]  (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", "Oma Rodriguez"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oma Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.112267"], ["updated_at", "2018-04-07 03:59:29.112267"]]  (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", "Lila Maggio"], ["LIMIT", 1]] SQL (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", "Lila Maggio"], ["name", "Jessica Boehm"], ["address", "Emelia Wiegand"], ["created_at", "2018-04-07 03:59:29.117009"], ["updated_at", "2018-04-07 03:59:29.117009"]]  (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", "Ilda Bernhard"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Ilda Bernhard"], ["name", "Elena Bailey"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-04-07 03:59:29.121779"], ["updated_at", "2018-04-07 03:59:29.121779"]] 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", 43], ["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", "Ilda Bernhard"], ["LIMIT", 1]] SQL (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", "Ilda Bernhard"], ["name", "Elena Bailey"], ["description", "Default bundle for service 'Elena Bailey'"], ["service_delivery_unit_id", 43], ["created_at", "2018-04-07 03:59:29.130269"], ["updated_at", "2018-04-07 03:59:29.130269"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 38], ["chargeable_service_id", 17]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 17], ["equipment_item_id", 5], ["created_at", "2018-04-07 03:59:29.137036"], ["updated_at", "2018-04-07 03:59:29.137036"]]  (0.5ms) 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", "Angelic Kuhn"], ["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", "Jerold Klocko"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Angelic Kuhn"], ["name", "Jerold Klocko"], ["description", "Pariatur eum eos laudantium reprehenderit aspernatur nam. Corrupti non quis totam ad voluptates ut ea. Blanditiis sed enim dolorem repellat aut dolores deserunt. Dolorem sed est quod tenetur enim odit dignissimos. Reiciendis vero illum quis at."], ["created_at", "2018-04-07 03:59:29.144103"], ["updated_at", "2018-04-07 03:59:29.144103"]]  (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", "Bee Armstrong"], ["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", "Mattie Klein"], ["LIMIT", 1]] SQL (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", "Bee Armstrong"], ["name", "Mattie Klein"], ["description", "Voluptate non et ea est temporibus pariatur sint. Aliquam amet repudiandae optio rerum dolores velit. Officiis sint laboriosam rerum beatae harum illo voluptas."], ["equipment_type_id", 6], ["created_at", "2018-04-07 03:59:29.149724"], ["updated_at", "2018-04-07 03:59:29.149724"]]  (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", "Berna Corkery"], ["LIMIT", 1]] SQL (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", "Berna Corkery"], ["name", "Dorathy Predovic"], ["description", "Stephenie Okuneva"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-04-07 03:59:29.154063"], ["updated_at", "2018-04-07 03:59:29.154063"]]  (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", "Kerstin Hirthe"], ["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", "Cecila Gislason"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kerstin Hirthe"], ["name", "Cecila Gislason"], ["description", "Federico Reichert"], ["created_at", "2018-04-07 03:59:29.160240"], ["updated_at", "2018-04-07 03:59:29.160240"]]  (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", "Yolanda Stark"], ["LIMIT", 1]] SQL (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", "Yolanda Stark"], ["name", "Warren Hills"], ["location_type_id", 6], ["description", "Sharyl Sawayn"], ["address", "Virginia O'Keefe"], ["created_at", "2018-04-07 03:59:29.164821"], ["updated_at", "2018-04-07 03:59:29.164821"]]  (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", "Twanda 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", "Dreama Miller"], ["LIMIT", 1]] SQL (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", "Twanda Simonis"], ["name", "Jeanne Skiles"], ["description", "Sofia Nienow"], ["serial_number", "Dreama Miller"], ["brand", "Lakendra Hickle"], ["item_model", "Shon Dare"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-04-07 03:59:29.170369"], ["updated_at", "2018-04-07 03:59:29.170369"]]  (0.9ms) 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", "Richard Weimann"], ["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", "Yuette DuBuque"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Richard Weimann"], ["name", "Yuette DuBuque"], ["created_at", "2018-04-07 03:59:29.181390"], ["updated_at", "2018-04-07 03:59:29.181390"]]  (0.9ms) 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", "Laverne Price"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laverne Price"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.189517"], ["updated_at", "2018-04-07 03:59:29.189517"]]  (0.8ms) 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", "Lorean Emmerich"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lorean Emmerich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.197448"], ["updated_at", "2018-04-07 03:59:29.197448"]]  (1.0ms) 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", "Alida Von"], ["LIMIT", 1]] SQL (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", "Alida Von"], ["name", "Nathalie Nikolaus"], ["address", "Heidy Feeney"], ["created_at", "2018-04-07 03:59:29.204541"], ["updated_at", "2018-04-07 03:59:29.204541"]]  (0.7ms) RELEASE SAVEPOINT active_record_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", "Verlie Jacobi"], ["service_delivery_unit_id", 44], ["LIMIT", 1]] SQL (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", "Verlie Jacobi"], ["name", "Maritza VonRueden"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-04-07 03:59:29.210202"], ["updated_at", "2018-04-07 03:59:29.210202"]] 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", 44], ["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", "Verlie Jacobi"], ["LIMIT", 1]] SQL (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", "Verlie Jacobi"], ["name", "Maritza VonRueden"], ["description", "Default bundle for service 'Maritza VonRueden'"], ["service_delivery_unit_id", 44], ["created_at", "2018-04-07 03:59:29.215237"], ["updated_at", "2018-04-07 03:59:29.215237"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 39], ["chargeable_service_id", 18]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (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", 18], ["equipment_item_id", 6], ["created_at", "2018-04-07 03:59:29.221795"], ["updated_at", "2018-04-07 03:59:29.221795"]]  (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", 37], ["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", 37], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 16], ["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", 4], ["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", 42], ["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", 17], ["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", 5], ["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", 43], ["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", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (13.06ms) Completed 200 OK in 20ms (Views: 8.9ms | ActiveRecord: 8.1ms)  (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", "huong.boyer@goldnerchamplin.us"], ["LIMIT", 1]] SQL (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", "Vernon Mayer"], ["last_name", "Julienne Von"], ["email", "huong.boyer@goldnerchamplin.us"], ["password_digest", "$2a$04$U9lZkNv1Gd.RjeRqDOnfXOGPLEJOzqeAODcnVSK2Ao2oVg9GZjexO"], ["created_at", "2018-04-07 03:59:29.252917"], ["updated_at", "2018-04-07 03:59:29.252917"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Shera Kozey"], ["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", "Ben Okuneva"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shera Kozey"], ["name", "Ben Okuneva"], ["created_at", "2018-04-07 03:59:29.259567"], ["updated_at", "2018-04-07 03:59:29.259567"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#index as HTML 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.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.6ms) 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.25ms) Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 1.7ms)  (0.8ms) ROLLBACK  (0.7ms) 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", "randa_bartell@schadenmcglynn.us"], ["LIMIT", 1]] SQL (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", "Cory Gibson"], ["last_name", "Breann Little"], ["email", "randa_bartell@schadenmcglynn.us"], ["password_digest", "$2a$04$z6FOUE.BOKMAE1ehpE7PT.tG/zh9GBLnnUlmLF9LX37mkz7Th9dVG"], ["created_at", "2018-04-07 03:59:29.282624"], ["updated_at", "2018-04-07 03:59:29.282624"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Kizzie Brakus"], ["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", "Kina Torphy"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kizzie Brakus"], ["name", "Kina Torphy"], ["created_at", "2018-04-07 03:59:29.293572"], ["updated_at", "2018-04-07 03:59:29.293572"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.3ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 21], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.33ms) Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 2.7ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (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", "farah.robel@denesik.info"], ["LIMIT", 1]] SQL (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", "Krystal Hoeger"], ["last_name", "Ramonita Legros"], ["email", "farah.robel@denesik.info"], ["password_digest", "$2a$04$99AbYlB/epprnaJAWGS51un88rArlPypNtLQj4WWRCv646gbUzNXC"], ["created_at", "2018-04-07 03:59:29.314943"], ["updated_at", "2018-04-07 03:59:29.314943"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Malcolm Prosacco", "name"=>"Celina Pacocha"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 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", "Malcolm Prosacco"], ["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", "Celina Pacocha"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Malcolm Prosacco"], ["name", "Celina Pacocha"], ["created_at", "2018-04-07 03:59:29.326412"], ["updated_at", "2018-04-07 03:59:29.326412"]]  (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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.28ms) Completed 201 Created in 11ms (Views: 2.2ms | ActiveRecord: 5.3ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (1.0ms) 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", "jenifer@morissette.ca"], ["LIMIT", 1]] SQL (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", "Oleta McDermott"], ["last_name", "Veola Anderson"], ["email", "jenifer@morissette.ca"], ["password_digest", "$2a$04$RA7bT5745ZpMLxvFxQj8CO6BKSu0dGLWyyQ.J1hLv/KOqzTkCu43O"], ["created_at", "2018-04-07 03:59:29.342320"], ["updated_at", "2018-04-07 03:59:29.342320"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Deann Little", "name"=>"Roselia O'Conner"}} 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]]  (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", "Deann Little"], ["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", "Roselia O'Conner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deann Little"], ["name", "Roselia O'Conner"], ["created_at", "2018-04-07 03:59:29.351048"], ["updated_at", "2018-04-07 03:59:29.351048"]]  (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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.46ms) Completed 201 Created in 10ms (Views: 2.2ms | ActiveRecord: 4.6ms) Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (1.3ms) 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", "na_braun@dickens.us"], ["LIMIT", 1]] SQL (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", "Kami Ullrich"], ["last_name", "Vada Ankunding"], ["email", "na_braun@dickens.us"], ["password_digest", "$2a$04$sIRYKnUdVEpM/FQViEND7OBVIcdHDlW75Fh7goHJDC39r3EwuCPT."], ["created_at", "2018-04-07 03:59:29.368772"], ["updated_at", "2018-04-07 03:59:29.368772"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Denisse Wiegand"}} 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]]  (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", ""], ["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", "Denisse Wiegand"], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.12ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.5ms | ActiveRecord: 6.2ms)  (0.8ms) ROLLBACK  (1.3ms) 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", "gertrud@hagenes.biz"], ["LIMIT", 1]] SQL (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", "Fredda Fritsch"], ["last_name", "Tashina Leuschke"], ["email", "gertrud@hagenes.biz"], ["password_digest", "$2a$04$7/dcSkL5rVHZpIy.b2gIC.gUoV0E2F9.cgTXwA9a0RnIP0lsBz3h."], ["created_at", "2018-04-07 03:59:29.398410"], ["updated_at", "2018-04-07 03:59:29.398410"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Allen Carter"], ["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", "Sonja Johnson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Allen Carter"], ["name", "Sonja Johnson"], ["created_at", "2018-04-07 03:59:29.408004"], ["updated_at", "2018-04-07 03:59:29.408004"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Ashli Bins"}, "id"=>"24"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.4ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "Allen Carter"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Ashli Bins"], ["id", 24], ["LIMIT", 1]] SQL (0.7ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Ashli Bins"], ["updated_at", "2018-04-07 03:59:29.416839"], ["id", 24]]  (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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.27ms) Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 4.6ms) 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", 24], ["LIMIT", 1]]  (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", "claudie_crist@schuppebednar.us"], ["LIMIT", 1]] SQL (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", "Maurice Hills"], ["last_name", "Lynn Marvin"], ["email", "claudie_crist@schuppebednar.us"], ["password_digest", "$2a$04$Wgwm99cZvq6bx96zT/Vz9e8NjYag83o4xd8kb3q0EPVkZF/vZ3RhC"], ["created_at", "2018-04-07 03:59:29.431000"], ["updated_at", "2018-04-07 03:59:29.431000"]]  (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", "Tonette Padberg"], ["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", "Rosita Labadie"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tonette Padberg"], ["name", "Rosita Labadie"], ["created_at", "2018-04-07 03:59:29.436837"], ["updated_at", "2018-04-07 03:59:29.436837"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Carolyne Kozey", "name"=>"Eric Gislason"}, "id"=>"25"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["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", 25], ["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", "Carolyne Kozey"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Eric Gislason"], ["id", 25], ["LIMIT", 1]] SQL (0.8ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Carolyne Kozey"], ["name", "Eric Gislason"], ["updated_at", "2018-04-07 03:59:29.448309"], ["id", 25]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.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 Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.6ms)  (0.9ms) 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", "garret.grimes@wunschherman.com"], ["LIMIT", 1]] SQL (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", "Gwenn Ortiz"], ["last_name", "Cristopher Carroll"], ["email", "garret.grimes@wunschherman.com"], ["password_digest", "$2a$04$cak8MjgLYGnn8r9FhDxqB.ZjUkkEQ4G4kMr3m19ylm0fubo21XCmm"], ["created_at", "2018-04-07 03:59:29.459869"], ["updated_at", "2018-04-07 03:59:29.459869"]]  (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", "Joye Corkery"], ["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", "Sherwood Zemlak"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joye Corkery"], ["name", "Sherwood Zemlak"], ["created_at", "2018-04-07 03:59:29.466983"], ["updated_at", "2018-04-07 03:59:29.466983"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Marybelle Dare"}, "id"=>"26"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.0ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 26], ["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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", ""], ["id", 26], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) 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", "Marybelle Dare"], ["id", 26], ["LIMIT", 1]]  (0.6ms) 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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.14ms) Completed 422 Unprocessable Entity in 14ms (Views: 1.6ms | ActiveRecord: 7.2ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.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", "leila@wunsch.co.uk"], ["LIMIT", 1]] SQL (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", "Lilliana Hoeger"], ["last_name", "Xuan Reynolds"], ["email", "leila@wunsch.co.uk"], ["password_digest", "$2a$04$WE3X0uWrgWvRRl2pVFmG5.l1Rb0CUlPEp.mE.QG1LpkDy/7PRTHhC"], ["created_at", "2018-04-07 03:59:29.500497"], ["updated_at", "2018-04-07 03:59:29.500497"]]  (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", "Cedric Witting"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cedric Witting"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.507634"], ["updated_at", "2018-04-07 03:59:29.507634"]]  (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", "Marcell Miller"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marcell Miller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.512379"], ["updated_at", "2018-04-07 03:59:29.512379"]]  (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", "Arnette Bode"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Arnette Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.516821"], ["updated_at", "2018-04-07 03:59:29.516821"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#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", 46], ["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", 46], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (2.36ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 2.8ms)  (0.9ms) ROLLBACK  (0.5ms) 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", "Destiny Bednar"], ["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", "Digna Kerluke"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Destiny Bednar"], ["name", "Digna Kerluke"], ["created_at", "2018-04-07 03:59:29.534702"], ["updated_at", "2018-04-07 03:59:29.534702"]]  (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", "Gladis Bins"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gladis Bins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.540139"], ["updated_at", "2018-04-07 03:59:29.540139"]]  (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", "Toni Schaefer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Toni Schaefer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.546612"], ["updated_at", "2018-04-07 03:59:29.546612"]]  (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", "Erika McGlynn"], ["LIMIT", 1]] SQL (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", "Erika McGlynn"], ["name", "Tressa Wintheiser"], ["address", "Lessie Buckridge"], ["created_at", "2018-04-07 03:59:29.551334"], ["updated_at", "2018-04-07 03:59:29.551334"]]  (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", "Christian Boyle"], ["service_delivery_unit_id", 45], ["LIMIT", 1]] SQL (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", "Christian Boyle"], ["name", "Lani McLaughlin"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-04-07 03:59:29.556222"], ["updated_at", "2018-04-07 03:59:29.556222"]] 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", 45], ["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", "Christian Boyle"], ["LIMIT", 1]] SQL (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", "Christian Boyle"], ["name", "Lani McLaughlin"], ["description", "Default bundle for service 'Lani McLaughlin'"], ["service_delivery_unit_id", 45], ["created_at", "2018-04-07 03:59:29.561070"], ["updated_at", "2018-04-07 03:59:29.561070"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 40], ["chargeable_service_id", 19]]  (0.7ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Christian Boyle"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (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", "Retta Auer"], ["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", "Twanna Koch"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Retta Auer"], ["name", "Twanna Koch"], ["created_at", "2018-04-07 03:59:29.580089"], ["updated_at", "2018-04-07 03:59:29.580089"]]  (0.7ms) 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", "Noah Greenfelder"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Noah Greenfelder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.587347"], ["updated_at", "2018-04-07 03:59:29.587347"]]  (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", "Meryl Farrell"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Meryl Farrell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.595165"], ["updated_at", "2018-04-07 03:59:29.595165"]]  (0.8ms) 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", "Jaunita Ratke"], ["LIMIT", 1]] SQL (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", "Jaunita Ratke"], ["name", "Fern Hayes"], ["address", "Dora Mayert"], ["created_at", "2018-04-07 03:59:29.602091"], ["updated_at", "2018-04-07 03:59:29.602091"]]  (0.7ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) BEGIN  (0.9ms) 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", "Shiloh Raynor"], ["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", "Dorinda Weissnat"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shiloh Raynor"], ["name", "Dorinda Weissnat"], ["created_at", "2018-04-07 03:59:29.616431"], ["updated_at", "2018-04-07 03:59:29.616431"]]  (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", "Holley Pagac"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Holley Pagac"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.621050"], ["updated_at", "2018-04-07 03:59:29.621050"]]  (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", "Annabell Labadie"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Annabell Labadie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.627825"], ["updated_at", "2018-04-07 03:59:29.627825"]]  (0.5ms) 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", "Maybelle Glover"], ["LIMIT", 1]] SQL (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", "Maybelle Glover"], ["name", "Danette Schmeler"], ["address", "Alexander Greenfelder"], ["created_at", "2018-04-07 03:59:29.632619"], ["updated_at", "2018-04-07 03:59:29.632619"]]  (0.5ms) 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", "Marceline Weber"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) 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", "Lyda Funk"], ["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", "Margareta Daniel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lyda Funk"], ["name", "Margareta Daniel"], ["created_at", "2018-04-07 03:59:29.643112"], ["updated_at", "2018-04-07 03:59:29.643112"]]  (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", "Sammie Tillman"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sammie Tillman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.648249"], ["updated_at", "2018-04-07 03:59:29.648249"]]  (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", "Bertram Treutel"], ["LIMIT", 1]] SQL (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", "Bertram Treutel"], ["name", "Alvin Mosciski"], ["address", "Lynette Gislason"], ["created_at", "2018-04-07 03:59:29.654412"], ["updated_at", "2018-04-07 03:59:29.654412"]]  (0.7ms) 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", "Lane Lindgren"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.7ms) 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", "Jae Zemlak"], ["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", "Garth Boehm"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jae Zemlak"], ["name", "Garth Boehm"], ["created_at", "2018-04-07 03:59:29.667419"], ["updated_at", "2018-04-07 03:59:29.667419"]]  (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", "Billy Gottlieb"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Billy Gottlieb"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.672230"], ["updated_at", "2018-04-07 03:59:29.672230"]]  (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", "Kayleen Lemke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kayleen Lemke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.676615"], ["updated_at", "2018-04-07 03:59:29.676615"]]  (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" IS NULL LIMIT $2 [["code", "Lynetta Roob"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (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", "Lilliam Cole"], ["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", "Nicole Stanton"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lilliam Cole"], ["name", "Nicole Stanton"], ["created_at", "2018-04-07 03:59:29.690274"], ["updated_at", "2018-04-07 03:59:29.690274"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Jon Kub"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jon Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.697656"], ["updated_at", "2018-04-07 03:59:29.697656"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Jama Kautzer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jama Kautzer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.706190"], ["updated_at", "2018-04-07 03:59:29.706190"]]  (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", "Patrina Friesen"], ["LIMIT", 1]] SQL (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", "Patrina Friesen"], ["name", "Temika Barrows"], ["address", "Jene O'Reilly"], ["created_at", "2018-04-07 03:59:29.710931"], ["updated_at", "2018-04-07 03:59:29.710931"]]  (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", "Siobhan Ruecker"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] SQL (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", "Siobhan Ruecker"], ["name", "Moises Goyette"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-04-07 03:59:29.715685"], ["updated_at", "2018-04-07 03:59:29.715685"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Siobhan Ruecker"], ["LIMIT", 1]] SQL (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", "Siobhan Ruecker"], ["name", "Moises Goyette"], ["description", "Default bundle for service 'Moises Goyette'"], ["service_delivery_unit_id", 49], ["created_at", "2018-04-07 03:59:29.720573"], ["updated_at", "2018-04-07 03:59:29.720573"]] SQL (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 41], ["chargeable_service_id", 20]]  (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", "Candice Kuhlman"], ["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", "Felicia Rath"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Candice Kuhlman"], ["name", "Felicia Rath"], ["created_at", "2018-04-07 03:59:29.732867"], ["updated_at", "2018-04-07 03:59:29.732867"]]  (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", "Odette Rippin"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Odette Rippin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.737804"], ["updated_at", "2018-04-07 03:59:29.737804"]]  (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", "Edmund Stoltenberg"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Edmund Stoltenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.743290"], ["updated_at", "2018-04-07 03:59:29.743290"]]  (0.4ms) 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", "Siobhan Ruecker"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Bethany Medhurst"], ["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", "Loise Marvin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bethany Medhurst"], ["name", "Loise Marvin"], ["created_at", "2018-04-07 03:59:29.755130"], ["updated_at", "2018-04-07 03:59:29.755130"]]  (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", "Lianne Little"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lianne Little"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.759681"], ["updated_at", "2018-04-07 03:59:29.759681"]]  (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", "Song Heller"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Song Heller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:29.764167"], ["updated_at", "2018-04-07 03:59:29.764167"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Linnie Lindgren"], ["LIMIT", 1]] SQL (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", "Linnie Lindgren"], ["name", "Gretta Grady"], ["address", "Dean Williamson"], ["created_at", "2018-04-07 03:59:29.768474"], ["updated_at", "2018-04-07 03:59:29.768474"]]  (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", "Jerrica Orn"], ["service_delivery_unit_id", 50], ["LIMIT", 1]] SQL (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", "Jerrica Orn"], ["name", "Jacqualine Crona"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-04-07 03:59:29.772591"], ["updated_at", "2018-04-07 03:59:29.772591"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jerrica Orn"], ["LIMIT", 1]] SQL (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", "Jerrica Orn"], ["name", "Jacqualine Crona"], ["description", "Default bundle for service 'Jacqualine Crona'"], ["service_delivery_unit_id", 50], ["created_at", "2018-04-07 03:59:29.777436"], ["updated_at", "2018-04-07 03:59:29.777436"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 42], ["chargeable_service_id", 21]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (1.4ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 1]]  (2.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", 42]]  (0.9ms) 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", "tamatha@hoppewilderman.us"], ["LIMIT", 1]] SQL (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", "Brittney Bogan"], ["last_name", "Katelin Gleichner"], ["email", "tamatha@hoppewilderman.us"], ["password_digest", "$2a$04$1bxAuUwMtvG9OTWGBI9iD.9PkwyjiMkH.vUV.HhgwOYqj7MqNJ0VC"], ["created_at", "2018-04-07 03:59:29.822301"], ["updated_at", "2018-04-07 03:59:29.822301"]]  (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", "beata_bartoletti@gaylord.biz"], ["LIMIT", 1]] SQL (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", "Casey Wunsch"], ["last_name", "Tony Abernathy"], ["email", "beata_bartoletti@gaylord.biz"], ["password_digest", "$2a$04$RmObJp.YcyC5lfCX94KF4OflC0MnjGgXE.XM0ceCNHpLLLNFAi.X6"], ["created_at", "2018-04-07 03:59:29.831973"], ["updated_at", "2018-04-07 03:59:29.831973"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kyoko Kuphal"], ["LIMIT", 1]] SQL (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", "Kyoko Kuphal"], ["authorized_by", "Jaime Lueilwitz"], ["effective_on", "2018-04-07"], ["authorized_on", "2018-04-07"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 47], ["approved_by_id", 48], ["created_at", "2018-04-07 03:59:29.839120"], ["updated_at", "2018-04-07 03:59:29.839120"]]  (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", "Kyoko Kuphal"], ["id", 1], ["LIMIT", 1]]  (0.5ms) 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", "mandy_lowe@mckenzieharvey.us"], ["LIMIT", 1]] SQL (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", "Tracey Wolff"], ["last_name", "Theo Ruecker"], ["email", "mandy_lowe@mckenzieharvey.us"], ["password_digest", "$2a$04$m59CL4dQbD45wbnJUnuKPeUWOoqoOYbYdY0ert0Yl7lIwdXoAQklW"], ["created_at", "2018-04-07 03:59:29.856741"], ["updated_at", "2018-04-07 03:59:29.856741"]]  (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", "mozelle_carroll@collins.co.uk"], ["LIMIT", 1]] SQL (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", "Shari Jacobs"], ["last_name", "Cinda Klocko"], ["email", "mozelle_carroll@collins.co.uk"], ["password_digest", "$2a$04$ARUrKdOkZIuwmAok7BJlDebUmTdet8.4evaVmAoDB0PkoN9ggMQGa"], ["created_at", "2018-04-07 03:59:29.863476"], ["updated_at", "2018-04-07 03:59:29.863476"]]  (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", "Krista Orn"], ["LIMIT", 1]]  (0.6ms) 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", "jesse.moen@hodkiewiczhaley.ca"], ["LIMIT", 1]] SQL (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", "Wilburn Considine"], ["last_name", "Penelope Borer"], ["email", "jesse.moen@hodkiewiczhaley.ca"], ["password_digest", "$2a$04$35BYJlHpPidelzSdZWCA8.LmLJL6HQeDhGoYhgGAklj43WgzuCK.W"], ["created_at", "2018-04-07 03:59:29.875337"], ["updated_at", "2018-04-07 03:59:29.875337"]]  (0.4ms) 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", "conrad.schoen@weimann.com"], ["LIMIT", 1]] SQL (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", "Donna Flatley"], ["last_name", "Stephanie Kihn"], ["email", "conrad.schoen@weimann.com"], ["password_digest", "$2a$04$/1J9TSHSF7/vzpa2Vod7vu3doh7ZX.qp0pbjxZckUOL3rxgg9oYLO"], ["created_at", "2018-04-07 03:59:29.881557"], ["updated_at", "2018-04-07 03:59:29.881557"]]  (0.8ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (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", "micah@dickinson.com"], ["LIMIT", 1]] SQL (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", "Lucilla Grimes"], ["last_name", "Jacki Luettgen"], ["email", "micah@dickinson.com"], ["password_digest", "$2a$04$KqBXOAogEUOtk.xsvbDZNehXLBqGdjMIelHvDjocyP9CdyhbTHLaG"], ["created_at", "2018-04-07 03:59:29.898024"], ["updated_at", "2018-04-07 03:59:29.898024"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "wenona@oreilly.biz"], ["LIMIT", 1]] SQL (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", "Talia Terry"], ["last_name", "Jayme Fahey"], ["email", "wenona@oreilly.biz"], ["password_digest", "$2a$04$XEcsrzPa/AFM8fZw1gBLdeCfSmE9TJ4Nq.2YVdu8FqM6vpxvD1yCy"], ["created_at", "2018-04-07 03:59:29.907695"], ["updated_at", "2018-04-07 03:59:29.907695"]]  (0.8ms) 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 LIMIT $2 [["reference_number", "Darla Turcotte"], ["LIMIT", 1]] SQL (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", "Darla Turcotte"], ["authorized_by", "Felipe McDermott"], ["effective_on", "2018-04-07"], ["authorized_on", "2018-04-07"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 53], ["approved_by_id", 54], ["created_at", "2018-04-07 03:59:29.914923"], ["updated_at", "2018-04-07 03:59:29.914923"]]  (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", "lennie@goyettetorphy.info"], ["LIMIT", 1]] SQL (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", "Edda Hintz"], ["last_name", "Kum Parker"], ["email", "lennie@goyettetorphy.info"], ["password_digest", "$2a$04$zQhfdKz7mNyN9R.3TkYbfODkHqHKNsW4pfeA6WgfxTmHHfJytp/9m"], ["created_at", "2018-04-07 03:59:29.923071"], ["updated_at", "2018-04-07 03:59:29.923071"]]  (0.7ms) 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", "marsha_heathcote@mitchelldickinson.us"], ["LIMIT", 1]] SQL (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", "Lamont Fadel"], ["last_name", "Arie Jerde"], ["email", "marsha_heathcote@mitchelldickinson.us"], ["password_digest", "$2a$04$CosoB4frxdYe0nyYg9LbT.xOvqzXW5N5e1kvTOfOqPO6HuWGADjk6"], ["created_at", "2018-04-07 03:59:29.930956"], ["updated_at", "2018-04-07 03:59:29.930956"]]  (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 LIMIT $2 [["reference_number", "Darla Turcotte"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.2ms) 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", "siobhan_jones@dietrichbartoletti.co.uk"], ["LIMIT", 1]] SQL (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", "Eleonor Tromp"], ["last_name", "Celestina Buckridge"], ["email", "siobhan_jones@dietrichbartoletti.co.uk"], ["password_digest", "$2a$04$vwdH0GKWbTwr55Byr9aCJO4PB3c/GGfnkB6ok5Va16rvZ98N9klGe"], ["created_at", "2018-04-07 03:59:29.944930"], ["updated_at", "2018-04-07 03:59:29.944930"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "marilyn.trantow@damore.us"], ["LIMIT", 1]] SQL (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", "Pearlene Abernathy"], ["last_name", "Carlena Torphy"], ["email", "marilyn.trantow@damore.us"], ["password_digest", "$2a$04$GGd1pNGa7rdFBlz.RQDrT.ohrQIoNO5j/mWl8R0BFajxfwPIRACdC"], ["created_at", "2018-04-07 03:59:29.951299"], ["updated_at", "2018-04-07 03:59:29.951299"]]  (0.5ms) 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" = $1 LIMIT $2 [["reference_number", "Cory Becker"], ["LIMIT", 1]]  (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", "tommie@adams.us"], ["LIMIT", 1]] SQL (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", "Carlena Wuckert"], ["last_name", "Lane Schinner"], ["email", "tommie@adams.us"], ["password_digest", "$2a$04$KzyablfJ8Xr/QLwsO9nTdObrxS4JEAO69JNd1qukPsDP8vemG6JDy"], ["created_at", "2018-04-07 03:59:29.963299"], ["updated_at", "2018-04-07 03:59:29.963299"]]  (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", "tuyet@jacobsonhammes.biz"], ["LIMIT", 1]] SQL (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", "Tori Hammes"], ["last_name", "Saturnina Kautzer"], ["email", "tuyet@jacobsonhammes.biz"], ["password_digest", "$2a$04$suX9Gl9s0gIwMiwhYWnDgeMsshqBbvdaDYryecM/XTYKj/PZM.KQS"], ["created_at", "2018-04-07 03:59:29.969180"], ["updated_at", "2018-04-07 03:59:29.969180"]]  (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" = $1 LIMIT $2 [["reference_number", "Laree Moen"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) 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", "bonnie@prohaska.com"], ["LIMIT", 1]] SQL (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", "Sherlyn Hagenes"], ["last_name", "Dimple Lueilwitz"], ["email", "bonnie@prohaska.com"], ["password_digest", "$2a$04$8Ush0/Kiy3b7nDUM9dJGAOEWaJ283vCB.4ZbVKgr79PqMfjWWYjf."], ["created_at", "2018-04-07 03:59:29.982127"], ["updated_at", "2018-04-07 03:59:29.982127"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "aracely_torp@witting.co.uk"], ["LIMIT", 1]] SQL (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", "Marsha Reichert"], ["last_name", "Jordon Schuster"], ["email", "aracely_torp@witting.co.uk"], ["password_digest", "$2a$04$5SghNDOas9oBLpG5o5qZK.m7UwspK1NgSk8zsc3R6DzZhHQ2wOQXi"], ["created_at", "2018-04-07 03:59:29.989890"], ["updated_at", "2018-04-07 03:59:29.989890"]]  (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", "Tommye Pfeffer"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (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", "aline.blick@grimes.info"], ["LIMIT", 1]] SQL (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", "Yolonda Kunde"], ["last_name", "Scott Marks"], ["email", "aline.blick@grimes.info"], ["password_digest", "$2a$04$SjrXKW.IphRRI37805l80.bvyEjeztDDCzosJAbvwzphsLNkqml6O"], ["created_at", "2018-04-07 03:59:30.007466"], ["updated_at", "2018-04-07 03:59:30.007466"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (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", "porfirio@koepptowne.name"], ["LIMIT", 1]] SQL (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", "Marisela Rath"], ["last_name", "Marlo Hirthe"], ["email", "porfirio@koepptowne.name"], ["password_digest", "$2a$04$q0H09D7Vkwp6Q4gIYXSWWulHIK56ox1W6XV6hOEJrJtEYlGC7sjKC"], ["created_at", "2018-04-07 03:59:30.016666"], ["updated_at", "2018-04-07 03:59:30.016666"]]  (0.6ms) 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", "Steve Gorczany"], ["LIMIT", 1]]  (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", "olene@von.info"], ["LIMIT", 1]] SQL (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", "Luisa Terry"], ["last_name", "Junie Ryan"], ["email", "olene@von.info"], ["password_digest", "$2a$04$gy4M8sQQxm26LYv8xMJq1OWzLRtH/3MSZziddHIU5/dWY6mrB2Lt2"], ["created_at", "2018-04-07 03:59:30.031243"], ["updated_at", "2018-04-07 03:59:30.031243"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Renata Langworth"], ["LIMIT", 1]] SQL (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", "Renata Langworth"], ["authorized_by", "Alleen Bosco"], ["effective_on", "2018-04-07"], ["authorized_on", "2018-04-07"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 65], ["created_at", "2018-04-07 03:59:30.036348"], ["updated_at", "2018-04-07 03:59:30.036348"]]  (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", "Renata Langworth"], ["id", 3], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Tenisha Stark"], ["LIMIT", 1]] SQL (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", "Tenisha Stark"], ["name", "Shondra Abernathy"], ["address", "Berta Smith"], ["created_at", "2018-04-07 03:59:30.047034"], ["updated_at", "2018-04-07 03:59:30.047034"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Beatriz Schmeler"], ["LIMIT", 1]] SQL (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", "Beatriz Schmeler"], ["name", "Janis Johnson"], ["description", "Rickie Muller"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-04-07 03:59:30.051225"], ["updated_at", "2018-04-07 03:59:30.051225"]]  (0.5ms) 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 AND ("mks_rate_service_bundles"."id" != $2) LIMIT $3 [["code", "Beatriz Schmeler"], ["id", 43], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Perry Lemke"], ["LIMIT", 1]] SQL (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", "Perry Lemke"], ["name", "Paul Cole"], ["address", "Mikki Dicki"], ["created_at", "2018-04-07 03:59:30.060525"], ["updated_at", "2018-04-07 03:59:30.060525"]]  (0.7ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) 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", "Kendrick Smith"], ["LIMIT", 1]] SQL (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", "Kendrick Smith"], ["name", "Deedee Renner"], ["address", "Lakiesha Walsh"], ["created_at", "2018-04-07 03:59:30.072371"], ["updated_at", "2018-04-07 03:59:30.072371"]]  (0.6ms) RELEASE 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", "Tomi Schultz"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Ossie Hyatt"], ["LIMIT", 1]] SQL (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", "Ossie Hyatt"], ["name", "Valeria Murazik"], ["address", "Vonnie Stark"], ["created_at", "2018-04-07 03:59:30.083089"], ["updated_at", "2018-04-07 03:59:30.083089"]]  (0.5ms) 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", "Chantel Cassin"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Maybelle Bradtke"], ["LIMIT", 1]] SQL (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", "Maybelle Bradtke"], ["name", "Hope Hane"], ["address", "Lawrence Koss"], ["created_at", "2018-04-07 03:59:30.093224"], ["updated_at", "2018-04-07 03:59:30.093224"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Lorna McLaughlin"], ["LIMIT", 1]] SQL (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", "Lorna McLaughlin"], ["name", "Markus Lindgren"], ["description", "Yvonne Hartmann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-04-07 03:59:30.099316"], ["updated_at", "2018-04-07 03:59:30.099316"]]  (1.1ms) 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", "Ilene Bins"], ["LIMIT", 1]] SQL (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", "Ilene Bins"], ["name", "Roy Hoeger"], ["address", "Brant Swaniawski"], ["created_at", "2018-04-07 03:59:30.108435"], ["updated_at", "2018-04-07 03:59:30.108435"]]  (0.7ms) RELEASE 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", "Lorna McLaughlin"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lyla Armstrong"], ["LIMIT", 1]] SQL (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", "Lyla Armstrong"], ["name", "Janita Heaney"], ["address", "Eddy Gleichner"], ["created_at", "2018-04-07 03:59:30.122428"], ["updated_at", "2018-04-07 03:59:30.122428"]]  (0.7ms) RELEASE 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Lyla Armstrong"], ["id", 57], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lorina Boyer"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "Pamella Daniel"], ["LIMIT", 1]] SQL (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", "Pamella Daniel"], ["name", "Jeni Farrell"], ["address", "Leena Kohler"], ["created_at", "2018-04-07 03:59:30.142243"], ["updated_at", "2018-04-07 03:59:30.142243"]]  (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 LIMIT $2 [["code", "Pamella Daniel"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Fae Huels"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Catalina Jenkins"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Fae Huels"], ["name", "Catalina Jenkins"], ["description", "Fugiat atque neque cupiditate fuga labore temporibus. Mollitia veniam non quas aut culpa. Voluptatem velit et voluptas voluptatem."], ["created_at", "2018-04-07 03:59:30.155771"], ["updated_at", "2018-04-07 03:59:30.155771"]]  (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", "Patria Brekke"], ["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", "Margery Leffler"], ["LIMIT", 1]] SQL (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", "Patria Brekke"], ["name", "Margery Leffler"], ["description", "Perspiciatis ex aut voluptatem est veniam. Laudantium totam nobis nam et non impedit quia magni. Ab ut voluptas voluptas aut non assumenda quo dolor. Ipsam ea quam enim aut odit."], ["equipment_type_id", 7], ["created_at", "2018-04-07 03:59:30.161798"], ["updated_at", "2018-04-07 03:59:30.161798"]]  (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", "Jeff Brown"], ["LIMIT", 1]] SQL (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", "Jeff Brown"], ["name", "Whitney Konopelski"], ["description", "Marti Metz"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-04-07 03:59:30.166361"], ["updated_at", "2018-04-07 03:59:30.166361"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Jovita Hettinger"], ["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", "Ming Mraz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jovita Hettinger"], ["name", "Ming Mraz"], ["description", "Marisol Jacobs"], ["created_at", "2018-04-07 03:59:30.174293"], ["updated_at", "2018-04-07 03:59:30.174293"]]  (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", "Anya Kihn"], ["LIMIT", 1]] SQL (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", "Anya Kihn"], ["name", "Rosalee Beier"], ["location_type_id", 7], ["description", "Sarita Gutmann"], ["address", "Merlene Lynch"], ["created_at", "2018-04-07 03:59:30.179611"], ["updated_at", "2018-04-07 03:59:30.179611"]]  (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", "Anitra Marks"], ["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", "Delia Haley"], ["LIMIT", 1]] SQL (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", "Anitra Marks"], ["name", "Rafaela Bartell"], ["description", "Shira Schaefer"], ["serial_number", "Delia Haley"], ["brand", "Kelsi Runolfsson"], ["item_model", "Kymberly Walker"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-04-07 03:59:30.185411"], ["updated_at", "2018-04-07 03:59:30.185411"]]  (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", "Raul Grady"], ["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", "Rosaria Jaskolski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Raul Grady"], ["name", "Rosaria Jaskolski"], ["created_at", "2018-04-07 03:59:30.191727"], ["updated_at", "2018-04-07 03:59:30.191727"]]  (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", "Minh Collins"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Minh Collins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.196984"], ["updated_at", "2018-04-07 03:59:30.196984"]]  (0.6ms) 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", "Lynetta Koss"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lynetta Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.203299"], ["updated_at", "2018-04-07 03:59:30.203299"]]  (0.7ms) 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", "Maggie Casper"], ["LIMIT", 1]] SQL (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", "Maggie Casper"], ["name", "Inell Eichmann"], ["address", "Devon Kling"], ["created_at", "2018-04-07 03:59:30.210145"], ["updated_at", "2018-04-07 03:59:30.210145"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Domonique Schmitt"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] SQL (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", "Domonique Schmitt"], ["name", "Darrick Russel"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-04-07 03:59:30.217366"], ["updated_at", "2018-04-07 03:59:30.217366"]] 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", 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", "Domonique Schmitt"], ["LIMIT", 1]] SQL (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", "Domonique Schmitt"], ["name", "Darrick Russel"], ["description", "Default bundle for service 'Darrick Russel'"], ["service_delivery_unit_id", 59], ["created_at", "2018-04-07 03:59:30.224839"], ["updated_at", "2018-04-07 03:59:30.224839"]] SQL (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", 22]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (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", 22], ["equipment_item_id", 7], ["created_at", "2018-04-07 03:59:30.231349"], ["updated_at", "2018-04-07 03:59:30.231349"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "Tana Morar"], ["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", "Somer Gutmann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tana Morar"], ["name", "Somer Gutmann"], ["description", "Quia earum voluptates aut sit sit eaque corrupti illum. Odio est et ducimus autem culpa atque odit. Quo at vero omnis ullam fugiat veritatis."], ["created_at", "2018-04-07 03:59:30.243987"], ["updated_at", "2018-04-07 03:59:30.243987"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Margarette Lemke"], ["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", "Nohemi Murray"], ["LIMIT", 1]] SQL (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", "Margarette Lemke"], ["name", "Nohemi Murray"], ["description", "Aspernatur magnam quod aut pariatur quidem eligendi id repellendus. Sunt saepe quia error ex est iste. Sint sapiente aut deserunt occaecati et et eos cumque. Atque tenetur cumque et non velit. Et quaerat sit amet id voluptatem accusamus."], ["equipment_type_id", 8], ["created_at", "2018-04-07 03:59:30.249373"], ["updated_at", "2018-04-07 03:59:30.249373"]]  (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", "Nathanial Wiegand"], ["LIMIT", 1]] SQL (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", "Nathanial Wiegand"], ["name", "Ermelinda Nienow"], ["description", "Naoma Marquardt"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-04-07 03:59:30.253742"], ["updated_at", "2018-04-07 03:59:30.253742"]]  (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", "Sabrina Lebsack"], ["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", "Tyisha Paucek"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sabrina Lebsack"], ["name", "Tyisha Paucek"], ["description", "Myong Lockman"], ["created_at", "2018-04-07 03:59:30.260958"], ["updated_at", "2018-04-07 03:59:30.260958"]]  (0.4ms) 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", "Daren Bogisich"], ["LIMIT", 1]] SQL (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", "Daren Bogisich"], ["name", "Wava Volkman"], ["location_type_id", 8], ["description", "Lyda Crist"], ["address", "Nella Wiza"], ["created_at", "2018-04-07 03:59:30.265265"], ["updated_at", "2018-04-07 03:59:30.265265"]]  (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", "Colin Walker"], ["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", "Tim Terry"], ["LIMIT", 1]] SQL (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", "Colin Walker"], ["name", "Germaine Cummings"], ["description", "Mac Gutmann"], ["serial_number", "Tim Terry"], ["brand", "Dorian Nitzsche"], ["item_model", "Rosina Dare"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-04-07 03:59:30.270893"], ["updated_at", "2018-04-07 03:59:30.270893"]]  (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", "Melodi Hamill"], ["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", "Reid Fadel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Melodi Hamill"], ["name", "Reid Fadel"], ["created_at", "2018-04-07 03:59:30.279423"], ["updated_at", "2018-04-07 03:59:30.279423"]]  (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", "Kasandra Sauer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kasandra Sauer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.284430"], ["updated_at", "2018-04-07 03:59:30.284430"]]  (0.5ms) 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", "Magaly Hilll"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Magaly Hilll"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.290329"], ["updated_at", "2018-04-07 03:59:30.290329"]]  (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", "Clemmie Gaylord"], ["LIMIT", 1]] SQL (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", "Clemmie Gaylord"], ["name", "Loris Keeling"], ["address", "Karena Howe"], ["created_at", "2018-04-07 03:59:30.296318"], ["updated_at", "2018-04-07 03:59:30.296318"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Bruna Auer"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] SQL (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", "Bruna Auer"], ["name", "Jung Frami"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-04-07 03:59:30.302977"], ["updated_at", "2018-04-07 03:59:30.302977"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Bruna Auer"], ["LIMIT", 1]] SQL (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", "Bruna Auer"], ["name", "Jung Frami"], ["description", "Default bundle for service 'Jung Frami'"], ["service_delivery_unit_id", 60], ["created_at", "2018-04-07 03:59:30.310735"], ["updated_at", "2018-04-07 03:59:30.310735"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 46], ["chargeable_service_id", 23]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "Penni Haley"], ["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", "Hulda Schiller"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Penni Haley"], ["name", "Hulda Schiller"], ["description", "Molestias qui rerum voluptatibus eligendi in. Totam repellendus libero qui id aut voluptatem et. Dolor ut ipsam minima voluptatem est perferendis ut. Officiis et ut fuga molestias est tempora perferendis. Qui veniam sit aperiam quia facilis."], ["created_at", "2018-04-07 03:59:30.330653"], ["updated_at", "2018-04-07 03:59:30.330653"]]  (0.7ms) 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", "Chance Toy"], ["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", "Mallie Breitenberg"], ["LIMIT", 1]] SQL (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", "Chance Toy"], ["name", "Mallie Breitenberg"], ["description", "Inventore saepe ipsa consectetur alias. Aliquam dignissimos impedit non odit. Illo eos dolores quod reiciendis. Dignissimos qui non eaque sequi. Magnam consequatur dolorem et expedita voluptas voluptas velit."], ["equipment_type_id", 9], ["created_at", "2018-04-07 03:59:30.338362"], ["updated_at", "2018-04-07 03:59:30.338362"]]  (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", "Rod Beahan"], ["LIMIT", 1]] SQL (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", "Rod Beahan"], ["name", "Magdalen McKenzie"], ["description", "Ester O'Hara"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-04-07 03:59:30.342995"], ["updated_at", "2018-04-07 03:59:30.342995"]]  (0.6ms) 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", "Sigrid Mante"], ["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", "Fredda Spencer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sigrid Mante"], ["name", "Fredda Spencer"], ["description", "Johana Huel"], ["created_at", "2018-04-07 03:59:30.349056"], ["updated_at", "2018-04-07 03:59:30.349056"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Morton Herman"], ["LIMIT", 1]] SQL (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", "Morton Herman"], ["name", "Mohamed Sanford"], ["location_type_id", 9], ["description", "Rickie Price"], ["address", "Kathlyn Leffler"], ["created_at", "2018-04-07 03:59:30.353594"], ["updated_at", "2018-04-07 03:59:30.353594"]]  (0.7ms) 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", "Andrew Jacobson"], ["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", "Danielle Rice"], ["LIMIT", 1]] SQL (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", "Andrew Jacobson"], ["name", "Kati Wintheiser"], ["description", "Lonna White"], ["serial_number", "Danielle Rice"], ["brand", "Kareem Denesik"], ["item_model", "Sherrell Gulgowski"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-04-07 03:59:30.361815"], ["updated_at", "2018-04-07 03:59:30.361815"]]  (0.6ms) 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", "Selma McKenzie"], ["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", "Devon Dooley"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Selma McKenzie"], ["name", "Devon Dooley"], ["created_at", "2018-04-07 03:59:30.368725"], ["updated_at", "2018-04-07 03:59:30.368725"]]  (0.8ms) 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", "Sherrie Jacobson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sherrie Jacobson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.374238"], ["updated_at", "2018-04-07 03:59:30.374238"]]  (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", "Rochelle Thiel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rochelle Thiel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.378771"], ["updated_at", "2018-04-07 03:59:30.378771"]]  (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", "Bong Fay"], ["LIMIT", 1]] SQL (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", "Bong Fay"], ["name", "Kimberly Walsh"], ["address", "Isaura Lowe"], ["created_at", "2018-04-07 03:59:30.383333"], ["updated_at", "2018-04-07 03:59:30.383333"]]  (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", "See Reichert"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] SQL (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", "See Reichert"], ["name", "Michel Okuneva"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-04-07 03:59:30.387967"], ["updated_at", "2018-04-07 03:59:30.387967"]] 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", 61], ["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", "See Reichert"], ["LIMIT", 1]] SQL (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", "See Reichert"], ["name", "Michel Okuneva"], ["description", "Default bundle for service 'Michel Okuneva'"], ["service_delivery_unit_id", 61], ["created_at", "2018-04-07 03:59:30.393395"], ["updated_at", "2018-04-07 03:59:30.393395"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 47], ["chargeable_service_id", 24]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) 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", "Micheline Hand"], ["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", "Davis Hane"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Micheline Hand"], ["name", "Davis Hane"], ["description", "Est incidunt minus tempore officiis sit. Iure adipisci deleniti autem eaque. Tempora dolores dolorum dolore eos veniam quia. Illum voluptas ipsum quae quia. Eveniet omnis esse officiis velit nostrum voluptatibus dicta aliquid."], ["created_at", "2018-04-07 03:59:30.410750"], ["updated_at", "2018-04-07 03:59:30.410750"]]  (0.7ms) 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", "Lynsey Weimann"], ["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", "Quinn Schneider"], ["LIMIT", 1]] SQL (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", "Lynsey Weimann"], ["name", "Quinn Schneider"], ["description", "Omnis dolor et itaque sunt. Accusantium mollitia assumenda cupiditate omnis ut quae ipsa enim. Unde aliquam nostrum possimus aspernatur occaecati nihil. Eveniet non occaecati dolorum velit praesentium ut voluptatibus."], ["equipment_type_id", 10], ["created_at", "2018-04-07 03:59:30.420407"], ["updated_at", "2018-04-07 03:59:30.420407"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Sheldon Rogahn"], ["LIMIT", 1]] SQL (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", "Sheldon Rogahn"], ["name", "Lynetta Kovacek"], ["description", "Richie Hintz"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-04-07 03:59:30.427533"], ["updated_at", "2018-04-07 03:59:30.427533"]]  (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", "Benny Blanda"], ["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", "Elvina McCullough"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Benny Blanda"], ["name", "Elvina McCullough"], ["description", "Ja Schmitt"], ["created_at", "2018-04-07 03:59:30.436205"], ["updated_at", "2018-04-07 03:59:30.436205"]]  (0.6ms) 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", "Britney King"], ["LIMIT", 1]] SQL (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", "Britney King"], ["name", "Lawerence Will"], ["location_type_id", 10], ["description", "Elena Bartoletti"], ["address", "Nestor Raynor"], ["created_at", "2018-04-07 03:59:30.442731"], ["updated_at", "2018-04-07 03:59:30.442731"]]  (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", "Abbie Donnelly"], ["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", "Buster Witting"], ["LIMIT", 1]] SQL (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", "Abbie Donnelly"], ["name", "June Johnston"], ["description", "Maryjo McKenzie"], ["serial_number", "Buster Witting"], ["brand", "Dorie Connelly"], ["item_model", "Larisa Boyer"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-04-07 03:59:30.449192"], ["updated_at", "2018-04-07 03:59:30.449192"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) ROLLBACK  (0.6ms) 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", "Verdie Stoltenberg"], ["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", "Devorah Keebler"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Verdie Stoltenberg"], ["name", "Devorah Keebler"], ["created_at", "2018-04-07 03:59:30.463680"], ["updated_at", "2018-04-07 03:59:30.463680"]]  (0.5ms) 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", "Verdie Stoltenberg"], ["id", 38], ["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", "Devorah Keebler"], ["id", 38], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceType Exists (0.7ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Coralee Kerluke"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN 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", "Macy Berge"], ["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.4ms) ROLLBACK  (0.4ms) BEGIN  (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", "Chang Hermiston"], ["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", "Markita Kub"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chang Hermiston"], ["name", "Markita Kub"], ["created_at", "2018-04-07 03:59:30.489387"], ["updated_at", "2018-04-07 03:59:30.489387"]]  (0.6ms) 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", "Chang Hermiston"], ["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", "Eva Lemke"], ["LIMIT", 1]]  (0.6ms) 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", "Maddie Jacobi"], ["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", "Beaulah Hessel"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maddie Jacobi"], ["name", "Beaulah Hessel"], ["created_at", "2018-04-07 03:59:30.505364"], ["updated_at", "2018-04-07 03:59:30.505364"]]  (0.7ms) 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", "Brett Kling"], ["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", "Beaulah Hessel"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN 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", "Elva Hermiston"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) 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.6ms) ROLLBACK  (0.6ms) 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", "Glenn Daugherty"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Evelina Friesen"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Evelina Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.543992"], ["updated_at", "2018-04-07 03:59:30.543992"]]  (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", "Evelina Friesen"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (4.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Shasta Jacobi"], ["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", "Pennie Terry"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shasta Jacobi"], ["name", "Pennie Terry"], ["created_at", "2018-04-07 03:59:30.563184"], ["updated_at", "2018-04-07 03:59:30.563184"]]  (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", "Lady Wisozk"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lady Wisozk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.569128"], ["updated_at", "2018-04-07 03:59:30.569128"]]  (3.2ms) 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", "Cristopher Murphy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cristopher Murphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.578703"], ["updated_at", "2018-04-07 03:59:30.578703"]]  (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", "Jennette Morar"], ["LIMIT", 1]] SQL (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", "Jennette Morar"], ["name", "Julio Effertz"], ["address", "Bonita Wolff"], ["created_at", "2018-04-07 03:59:30.584685"], ["updated_at", "2018-04-07 03:59:30.584685"]]  (0.8ms) 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", "Isaac Borer"], ["service_delivery_unit_id", 62], ["LIMIT", 1]] SQL (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", "Isaac Borer"], ["name", "Cathern Maggio"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-04-07 03:59:30.591593"], ["updated_at", "2018-04-07 03:59:30.591593"]] 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", 62], ["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", "Isaac Borer"], ["LIMIT", 1]] SQL (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", "Isaac Borer"], ["name", "Cathern Maggio"], ["description", "Default bundle for service 'Cathern Maggio'"], ["service_delivery_unit_id", 62], ["created_at", "2018-04-07 03:59:30.598183"], ["updated_at", "2018-04-07 03:59:30.598183"]] SQL (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", 25]]  (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", "Lizabeth Gusikowski"], ["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", "Bonita Quitzon"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lizabeth Gusikowski"], ["name", "Bonita Quitzon"], ["created_at", "2018-04-07 03:59:30.611120"], ["updated_at", "2018-04-07 03:59:30.611120"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Robin Hessel"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Robin Hessel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.619530"], ["updated_at", "2018-04-07 03:59:30.619530"]]  (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", "Hortense Kuvalis"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hortense Kuvalis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.628101"], ["updated_at", "2018-04-07 03:59:30.628101"]]  (0.7ms) 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", "Edris Dare"], ["LIMIT", 1]] SQL (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", "Edris Dare"], ["name", "Shaunte Boyle"], ["address", "Juan Medhurst"], ["created_at", "2018-04-07 03:59:30.635774"], ["updated_at", "2018-04-07 03:59:30.635774"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Martin Langosh"], ["service_delivery_unit_id", 63], ["LIMIT", 1]] SQL (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", "Martin Langosh"], ["name", "Rey Swift"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-04-07 03:59:30.640792"], ["updated_at", "2018-04-07 03:59:30.640792"]] 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", 63], ["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", "Martin Langosh"], ["LIMIT", 1]] SQL (0.7ms) 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", "Martin Langosh"], ["name", "Rey Swift"], ["description", "Default bundle for service 'Rey Swift'"], ["service_delivery_unit_id", 63], ["created_at", "2018-04-07 03:59:30.646297"], ["updated_at", "2018-04-07 03:59:30.646297"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 49], ["chargeable_service_id", 26]]  (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", "Arleen Hintz"], ["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", "Leann Wehner"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Arleen Hintz"], ["name", "Leann Wehner"], ["created_at", "2018-04-07 03:59:30.663525"], ["updated_at", "2018-04-07 03:59:30.663525"]]  (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", "Jong Bechtelar"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jong Bechtelar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.668502"], ["updated_at", "2018-04-07 03:59:30.668502"]]  (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", "Jayne Hudson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jayne Hudson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.674082"], ["updated_at", "2018-04-07 03:59:30.674082"]]  (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", "Virgilio Gorczany"], ["LIMIT", 1]] SQL (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", "Virgilio Gorczany"], ["name", "Marie Rowe"], ["address", "Jonnie Funk"], ["created_at", "2018-04-07 03:59:30.678680"], ["updated_at", "2018-04-07 03:59:30.678680"]]  (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", "Brenna D'Amore"], ["service_delivery_unit_id", 64], ["LIMIT", 1]] SQL (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", "Brenna D'Amore"], ["name", "Vasiliki Cassin"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-04-07 03:59:30.682906"], ["updated_at", "2018-04-07 03:59:30.682906"]] 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", 64], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Brenna D'Amore"], ["LIMIT", 1]] SQL (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", "Brenna D'Amore"], ["name", "Vasiliki Cassin"], ["description", "Default bundle for service 'Vasiliki Cassin'"], ["service_delivery_unit_id", 64], ["created_at", "2018-04-07 03:59:30.687566"], ["updated_at", "2018-04-07 03:59:30.687566"]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 50], ["chargeable_service_id", 27]]  (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", 25], ["LIMIT", 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", 26], ["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", 25], ["LIMIT", 1]] SQL (0.8ms) 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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-04-07 03:59:30.698399"], ["updated_at", "2018-04-07 03:59:30.698399"]] 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]] SQL (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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-04-07 03:59:30.701460"], ["updated_at", "2018-04-07 03:59:30.701460"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) 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", "Marielle Beer"], ["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", "Demetrice Smitham"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marielle Beer"], ["name", "Demetrice Smitham"], ["created_at", "2018-04-07 03:59:30.711794"], ["updated_at", "2018-04-07 03:59:30.711794"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jesenia Boehm"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jesenia Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.719138"], ["updated_at", "2018-04-07 03:59:30.719138"]]  (0.7ms) 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", "Tamela Hackett"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tamela Hackett"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.726163"], ["updated_at", "2018-04-07 03:59:30.726163"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.4ms) 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", "Hugo Schimmel"], ["LIMIT", 1]] SQL (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", "Hugo Schimmel"], ["name", "Krystal Leuschke"], ["address", "Youlanda Jacobs"], ["created_at", "2018-04-07 03:59:30.734697"], ["updated_at", "2018-04-07 03:59:30.734697"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Dona Dach"], ["service_delivery_unit_id", 65], ["LIMIT", 1]] SQL (2.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", "Dona Dach"], ["name", "Clotilde Wilkinson"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-04-07 03:59:30.741649"], ["updated_at", "2018-04-07 03:59:30.741649"]] 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", 65], ["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", "Dona Dach"], ["LIMIT", 1]] SQL (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", "Dona Dach"], ["name", "Clotilde Wilkinson"], ["description", "Default bundle for service 'Clotilde Wilkinson'"], ["service_delivery_unit_id", 65], ["created_at", "2018-04-07 03:59:30.749327"], ["updated_at", "2018-04-07 03:59:30.749327"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 51], ["chargeable_service_id", 28]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (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", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-04-07 03:59:30.758640"], ["updated_at", "2018-04-07 03:59:30.758640"]]  (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", 28], ["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", 28], ["LIMIT", 1]] SQL (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-04-07 03:59:30.764894"], ["id", 10]]  (0.8ms) 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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.5ms) 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", "siu@daniel.info"], ["LIMIT", 1]] SQL (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", "Imelda Pagac"], ["last_name", "Sanda Wilderman"], ["email", "siu@daniel.info"], ["password_digest", "$2a$04$hNU9fpcejFwOpamM1wAG7eDECtBxn5WhzRwCWvBWcYzTlyzcajoU2"], ["created_at", "2018-04-07 03:59:30.777749"], ["updated_at", "2018-04-07 03:59:30.777749"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "china.kunde@aufderhar.biz"], ["LIMIT", 1]] SQL (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", "Marlin Dietrich"], ["last_name", "Maryjane Auer"], ["email", "china.kunde@aufderhar.biz"], ["password_digest", "$2a$04$2.yw4tBRsEkKqwMub23GeO1a3BexkkR1hwlAOrEjVbGJ.ZLsqqTMW"], ["created_at", "2018-04-07 03:59:30.784662"], ["updated_at", "2018-04-07 03:59:30.784662"]]  (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", "eleanor@yost.com"], ["LIMIT", 1]] SQL (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", "Lynetta Weimann"], ["last_name", "Santos Dooley"], ["email", "eleanor@yost.com"], ["password_digest", "$2a$04$mYN3gaG1ffcKOkBo5E9/DOlnDnUf5Hv9.H/c14avhv2iTTOZ6n5ZW"], ["created_at", "2018-04-07 03:59:30.791861"], ["updated_at", "2018-04-07 03:59:30.791861"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Leeanna Kris"], ["LIMIT", 1]] SQL (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", "Leeanna Kris"], ["authorized_by", "Britteny Kunze"], ["effective_on", "2018-04-07"], ["authorized_on", "2018-04-07"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 67], ["approved_by_id", 68], ["created_at", "2018-04-07 03:59:30.796327"], ["updated_at", "2018-04-07 03:59:30.796327"]]  (0.9ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Leeanna Kris"], ["id", 4], ["LIMIT", 1]] SQL (0.9ms) 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", 66], ["updated_at", "2018-04-07 03:59:30.802442"], ["id", 4]]  (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", 4], ["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", 66], ["LIMIT", 1]]  (0.6ms) 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", "Shanta Gutkowski"], ["LIMIT", 1]] SQL (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", "Shanta Gutkowski"], ["name", "April Hane"], ["address", "Kandy Hartmann"], ["created_at", "2018-04-07 03:59:30.815937"], ["updated_at", "2018-04-07 03:59:30.815937"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Lisbeth Effertz"], ["LIMIT", 1]] SQL (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", "Lisbeth Effertz"], ["name", "Gena Ernser"], ["description", "Yaeko Halvorson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-04-07 03:59:30.823891"], ["updated_at", "2018-04-07 03:59:30.823891"]]  (0.8ms) 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", "Sanjuanita McKenzie"], ["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", "Sherri Marquardt"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sanjuanita McKenzie"], ["name", "Sherri Marquardt"], ["created_at", "2018-04-07 03:59:30.833701"], ["updated_at", "2018-04-07 03:59:30.833701"]]  (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", "Jannie Reynolds"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jannie Reynolds"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.840262"], ["updated_at", "2018-04-07 03:59:30.840262"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Morton Oberbrunner"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Morton Oberbrunner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.848098"], ["updated_at", "2018-04-07 03:59:30.848098"]]  (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", "Reagan Tromp"], ["LIMIT", 1]] SQL (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", "Reagan Tromp"], ["name", "Vanessa Hilpert"], ["address", "Jennette Nolan"], ["created_at", "2018-04-07 03:59:30.855688"], ["updated_at", "2018-04-07 03:59:30.855688"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Shirlee Pagac"], ["service_delivery_unit_id", 67], ["LIMIT", 1]] SQL (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", "Shirlee Pagac"], ["name", "Joycelyn Kovacek"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-04-07 03:59:30.861442"], ["updated_at", "2018-04-07 03:59:30.861442"]] 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", 67], ["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", "Shirlee Pagac"], ["LIMIT", 1]] SQL (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", "Shirlee Pagac"], ["name", "Joycelyn Kovacek"], ["description", "Default bundle for service 'Joycelyn Kovacek'"], ["service_delivery_unit_id", 67], ["created_at", "2018-04-07 03:59:30.866530"], ["updated_at", "2018-04-07 03:59:30.866530"]] SQL (4.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 53], ["chargeable_service_id", 29]]  (0.7ms) 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", "Alba Kuvalis"], ["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", "Araceli Nikolaus"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alba Kuvalis"], ["name", "Araceli Nikolaus"], ["created_at", "2018-04-07 03:59:30.881286"], ["updated_at", "2018-04-07 03:59:30.881286"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Tracie Erdman"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tracie Erdman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.886889"], ["updated_at", "2018-04-07 03:59:30.886889"]]  (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", "Annelle Brakus"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Annelle Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.891730"], ["updated_at", "2018-04-07 03:59:30.891730"]]  (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", "Jannet Grant"], ["LIMIT", 1]] SQL (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", "Jannet Grant"], ["name", "Katy Aufderhar"], ["address", "Lan Funk"], ["created_at", "2018-04-07 03:59:30.896152"], ["updated_at", "2018-04-07 03:59:30.896152"]]  (0.4ms) 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", "Casey Mueller"], ["service_delivery_unit_id", 68], ["LIMIT", 1]] SQL (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", "Casey Mueller"], ["name", "Lorrine Koepp"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-04-07 03:59:30.900573"], ["updated_at", "2018-04-07 03:59:30.900573"]] 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", 68], ["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", "Casey Mueller"], ["LIMIT", 1]] SQL (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", "Casey Mueller"], ["name", "Lorrine Koepp"], ["description", "Default bundle for service 'Lorrine Koepp'"], ["service_delivery_unit_id", 68], ["created_at", "2018-04-07 03:59:30.906606"], ["updated_at", "2018-04-07 03:59:30.906606"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 54], ["chargeable_service_id", 30]]  (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", "Kimbery Ernser"], ["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", "Ardith Hahn"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kimbery Ernser"], ["name", "Ardith Hahn"], ["created_at", "2018-04-07 03:59:30.916961"], ["updated_at", "2018-04-07 03:59:30.916961"]]  (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", "Carson Macejkovic"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carson Macejkovic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.923011"], ["updated_at", "2018-04-07 03:59:30.923011"]]  (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", "Sheilah Gislason"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sheilah Gislason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:30.928202"], ["updated_at", "2018-04-07 03:59:30.928202"]]  (0.6ms) 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", "Karena Simonis"], ["LIMIT", 1]] SQL (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", "Karena Simonis"], ["name", "Drew Stoltenberg"], ["address", "Ara Kuhic"], ["created_at", "2018-04-07 03:59:30.933742"], ["updated_at", "2018-04-07 03:59:30.933742"]]  (0.9ms) 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", "Roseann Carter"], ["service_delivery_unit_id", 69], ["LIMIT", 1]] SQL (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", "Roseann Carter"], ["name", "Karrie Kohler"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-04-07 03:59:30.940163"], ["updated_at", "2018-04-07 03:59:30.940163"]] 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 (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Roseann Carter"], ["LIMIT", 1]] SQL (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", "Roseann Carter"], ["name", "Karrie Kohler"], ["description", "Default bundle for service 'Karrie Kohler'"], ["service_delivery_unit_id", 69], ["created_at", "2018-04-07 03:59:30.946987"], ["updated_at", "2018-04-07 03:59:30.946987"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 55], ["chargeable_service_id", 31]]  (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", 52]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN (29, 30, 31) 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", 52]] SQL (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", 29]] SQL (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", 30]] SQL (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.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", 52], ["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.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", "Cornelius Sanford"], ["LIMIT", 1]] SQL (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", "Cornelius Sanford"], ["name", "Preston Reinger"], ["address", "Sharyn Graham"], ["created_at", "2018-04-07 03:59:30.981233"], ["updated_at", "2018-04-07 03:59:30.981233"]]  (0.8ms) 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", "Lucille Ward"], ["LIMIT", 1]] SQL (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", "Lucille Ward"], ["name", "Tasha Eichmann"], ["description", "Adriane Ward"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-04-07 03:59:30.986800"], ["updated_at", "2018-04-07 03:59:30.986800"]]  (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", "Myra Rippin"], ["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", "Damaris Funk"], ["LIMIT", 1]] SQL (2.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myra Rippin"], ["name", "Damaris Funk"], ["created_at", "2018-04-07 03:59:30.993167"], ["updated_at", "2018-04-07 03:59:30.993167"]]  (0.9ms) 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", "Ismael Collins"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ismael Collins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.000684"], ["updated_at", "2018-04-07 03:59:31.000684"]]  (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", "Sharie Mraz"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sharie Mraz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.006570"], ["updated_at", "2018-04-07 03:59:31.006570"]]  (4.3ms) 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", "Luciano Russel"], ["LIMIT", 1]] SQL (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", "Luciano Russel"], ["name", "Adriane Baumbach"], ["address", "Oscar Johnson"], ["created_at", "2018-04-07 03:59:31.016472"], ["updated_at", "2018-04-07 03:59:31.016472"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Monique Davis"], ["service_delivery_unit_id", 71], ["LIMIT", 1]] SQL (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", "Monique Davis"], ["name", "Frida Gutmann"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-04-07 03:59:31.022815"], ["updated_at", "2018-04-07 03:59:31.022815"]] 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", 71], ["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", "Monique Davis"], ["LIMIT", 1]] SQL (4.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", "Monique Davis"], ["name", "Frida Gutmann"], ["description", "Default bundle for service 'Frida Gutmann'"], ["service_delivery_unit_id", 71], ["created_at", "2018-04-07 03:59:31.031446"], ["updated_at", "2018-04-07 03:59:31.031446"]] SQL (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 57], ["chargeable_service_id", 32]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rozella Pagac"], ["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", "Shanelle Stehr"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rozella Pagac"], ["name", "Shanelle Stehr"], ["created_at", "2018-04-07 03:59:31.052518"], ["updated_at", "2018-04-07 03:59:31.052518"]]  (0.6ms) 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", "Earlean Howell"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Earlean Howell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.060355"], ["updated_at", "2018-04-07 03:59:31.060355"]]  (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", "Dorotha Bernhard"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dorotha Bernhard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.064818"], ["updated_at", "2018-04-07 03:59:31.064818"]]  (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", "Fermin Hand"], ["LIMIT", 1]] SQL (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", "Fermin Hand"], ["name", "Lavern Champlin"], ["address", "Jodee Conn"], ["created_at", "2018-04-07 03:59:31.068989"], ["updated_at", "2018-04-07 03:59:31.068989"]]  (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", "Hilton Bosco"], ["service_delivery_unit_id", 72], ["LIMIT", 1]] SQL (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", "Hilton Bosco"], ["name", "Joe Kemmer"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-04-07 03:59:31.073494"], ["updated_at", "2018-04-07 03:59:31.073494"]] 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", "Hilton Bosco"], ["LIMIT", 1]] SQL (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", "Hilton Bosco"], ["name", "Joe Kemmer"], ["description", "Default bundle for service 'Joe Kemmer'"], ["service_delivery_unit_id", 72], ["created_at", "2018-04-07 03:59:31.078476"], ["updated_at", "2018-04-07 03:59:31.078476"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 58], ["chargeable_service_id", 33]]  (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", "Cherry 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", "Nelia Upton"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cherry Haag"], ["name", "Nelia Upton"], ["created_at", "2018-04-07 03:59:31.089221"], ["updated_at", "2018-04-07 03:59:31.089221"]]  (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", "Earnestine Connelly"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Earnestine Connelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.093741"], ["updated_at", "2018-04-07 03:59:31.093741"]]  (0.4ms) 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", "Gilberto Torp"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gilberto Torp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.098250"], ["updated_at", "2018-04-07 03:59:31.098250"]]  (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", "Darcy Boyle"], ["LIMIT", 1]] SQL (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", "Darcy Boyle"], ["name", "Merilyn Beer"], ["address", "Breann Hudson"], ["created_at", "2018-04-07 03:59:31.102582"], ["updated_at", "2018-04-07 03:59:31.102582"]]  (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", "Selena Hermiston"], ["service_delivery_unit_id", 73], ["LIMIT", 1]] SQL (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", "Selena Hermiston"], ["name", "Jeanna Pagac"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-04-07 03:59:31.107074"], ["updated_at", "2018-04-07 03:59:31.107074"]] 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", "Selena Hermiston"], ["LIMIT", 1]] SQL (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", "Selena Hermiston"], ["name", "Jeanna Pagac"], ["description", "Default bundle for service 'Jeanna Pagac'"], ["service_delivery_unit_id", 73], ["created_at", "2018-04-07 03:59:31.111972"], ["updated_at", "2018-04-07 03:59:31.111972"]] SQL (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", 34]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (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", 32]] SQL (0.8ms) 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]] SQL (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 56], ["chargeable_service_id", 34]]  (0.9ms) 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", 56]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = 34 Mks::Rate::ChargeableService Load (1.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", 56]] SQL (3.2ms) 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 (32, 33) [["service_bundle_id", 56]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]]  (4.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", 56]] Mks::Rate::ChargeableService Load (1.1ms) 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", 56]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Kristine Ryan"], ["LIMIT", 1]] SQL (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", "Kristine Ryan"], ["name", "Rivka Crona"], ["address", "Jeanine Schaefer"], ["created_at", "2018-04-07 03:59:31.162639"], ["updated_at", "2018-04-07 03:59:31.162639"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cecily Koss"], ["LIMIT", 1]] SQL (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", "Cecily Koss"], ["name", "Olga Stiedemann"], ["description", "Marquetta Mraz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-04-07 03:59:31.167148"], ["updated_at", "2018-04-07 03:59:31.167148"]]  (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", "Jerry Wilkinson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Teressa McGlynn"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jerry Wilkinson"], ["name", "Teressa McGlynn"], ["created_at", "2018-04-07 03:59:31.172999"], ["updated_at", "2018-04-07 03:59:31.172999"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Ignacia Fay"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ignacia Fay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.177337"], ["updated_at", "2018-04-07 03:59:31.177337"]]  (0.4ms) 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", "Kiera Smitham"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kiera Smitham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.181511"], ["updated_at", "2018-04-07 03:59:31.181511"]]  (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", "Shaunte Ortiz"], ["LIMIT", 1]] SQL (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", "Shaunte Ortiz"], ["name", "Bryant Satterfield"], ["address", "Lilli Kuhn"], ["created_at", "2018-04-07 03:59:31.185731"], ["updated_at", "2018-04-07 03:59:31.185731"]]  (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", "Debby O'Reilly"], ["service_delivery_unit_id", 75], ["LIMIT", 1]] SQL (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", "Debby O'Reilly"], ["name", "Eun Kuvalis"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-04-07 03:59:31.190132"], ["updated_at", "2018-04-07 03:59:31.190132"]] 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", 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", "Debby O'Reilly"], ["LIMIT", 1]] SQL (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", "Debby O'Reilly"], ["name", "Eun Kuvalis"], ["description", "Default bundle for service 'Eun Kuvalis'"], ["service_delivery_unit_id", 75], ["created_at", "2018-04-07 03:59:31.195464"], ["updated_at", "2018-04-07 03:59:31.195464"]] SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 61], ["chargeable_service_id", 35]]  (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", "Yong Hettinger"], ["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", "Buck Hermiston"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yong Hettinger"], ["name", "Buck Hermiston"], ["created_at", "2018-04-07 03:59:31.208036"], ["updated_at", "2018-04-07 03:59:31.208036"]]  (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", "Vincenza West"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vincenza West"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.212917"], ["updated_at", "2018-04-07 03:59:31.212917"]]  (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", "Greta Williamson"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Greta Williamson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.217432"], ["updated_at", "2018-04-07 03:59:31.217432"]]  (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", "Karla Armstrong"], ["LIMIT", 1]] SQL (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", "Karla Armstrong"], ["name", "Bernardine Bechtelar"], ["address", "Genie Breitenberg"], ["created_at", "2018-04-07 03:59:31.222847"], ["updated_at", "2018-04-07 03:59:31.222847"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Darleen Kuphal"], ["service_delivery_unit_id", 76], ["LIMIT", 1]] SQL (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", "Darleen Kuphal"], ["name", "Normand Rohan"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-04-07 03:59:31.227335"], ["updated_at", "2018-04-07 03:59:31.227335"]] 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", 76], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (3.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Darleen Kuphal"], ["LIMIT", 1]] SQL (1.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", "Darleen Kuphal"], ["name", "Normand Rohan"], ["description", "Default bundle for service 'Normand Rohan'"], ["service_delivery_unit_id", 76], ["created_at", "2018-04-07 03:59:31.238702"], ["updated_at", "2018-04-07 03:59:31.238702"]] SQL (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 36]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Myles 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", "Hermina Cole"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myles Dach"], ["name", "Hermina Cole"], ["created_at", "2018-04-07 03:59:31.254477"], ["updated_at", "2018-04-07 03:59:31.254477"]]  (0.7ms) 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", "Lettie Luettgen"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lettie Luettgen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.260583"], ["updated_at", "2018-04-07 03:59:31.260583"]]  (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", "Elease VonRueden"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elease VonRueden"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.265304"], ["updated_at", "2018-04-07 03:59:31.265304"]]  (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", "Krysten Satterfield"], ["LIMIT", 1]] SQL (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", "Krysten Satterfield"], ["name", "Marci Lynch"], ["address", "Lorine Moen"], ["created_at", "2018-04-07 03:59:31.269608"], ["updated_at", "2018-04-07 03:59:31.269608"]]  (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", "Josie Ratke"], ["service_delivery_unit_id", 77], ["LIMIT", 1]] SQL (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", "Josie Ratke"], ["name", "Raguel Kulas"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-04-07 03:59:31.274174"], ["updated_at", "2018-04-07 03:59:31.274174"]] 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", 77], ["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", "Josie Ratke"], ["LIMIT", 1]] SQL (0.7ms) 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", "Josie Ratke"], ["name", "Raguel Kulas"], ["description", "Default bundle for service 'Raguel Kulas'"], ["service_delivery_unit_id", 77], ["created_at", "2018-04-07 03:59:31.278914"], ["updated_at", "2018-04-07 03:59:31.278914"]] SQL (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 63], ["chargeable_service_id", 37]]  (0.6ms) 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", "Shirlene Schaden"], ["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", "Kristel Herzog"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shirlene Schaden"], ["name", "Kristel Herzog"], ["created_at", "2018-04-07 03:59:31.287383"], ["updated_at", "2018-04-07 03:59:31.287383"]]  (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", "Anne Kohler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Anne Kohler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.291910"], ["updated_at", "2018-04-07 03:59:31.291910"]]  (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", "Nichole Reilly"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nichole Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-04-07 03:59:31.296537"], ["updated_at", "2018-04-07 03:59:31.296537"]]  (0.5ms) 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", "Otha Orn"], ["LIMIT", 1]] SQL (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", "Otha Orn"], ["name", "Susanne Ankunding"], ["address", "Rosio McClure"], ["created_at", "2018-04-07 03:59:31.302712"], ["updated_at", "2018-04-07 03:59:31.302712"]]  (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", "Marry Turcotte"], ["service_delivery_unit_id", 78], ["LIMIT", 1]] SQL (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", "Marry Turcotte"], ["name", "Lionel Skiles"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-04-07 03:59:31.307607"], ["updated_at", "2018-04-07 03:59:31.307607"]] 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", 78], ["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", "Marry Turcotte"], ["LIMIT", 1]] SQL (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", "Marry Turcotte"], ["name", "Lionel Skiles"], ["description", "Default bundle for service 'Lionel Skiles'"], ["service_delivery_unit_id", 78], ["created_at", "2018-04-07 03:59:31.312541"], ["updated_at", "2018-04-07 03:59:31.312541"]] SQL (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", 38]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 35]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 36]]  (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", 60]]  (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" IN (36, 37, 38) 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", 60]] SQL (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" = 35 [["service_bundle_id", 60]] SQL (2.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]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 38]]  (0.9ms) 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", 60], ["LIMIT", 1]]  (1.4ms) 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", 60]] 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", 60], ["id", 35], ["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", 60]]  (0.7ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.1ms) BEGIN  (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", "jodee.harvey@becker.biz"], ["LIMIT", 1]] SQL (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", "Lakita Thiel"], ["last_name", "Ammie Zieme"], ["email", "jodee.harvey@becker.biz"], ["password_digest", "$2a$04$FRInhINiQRzxxg1yYzRqV.UHS25di8oyJBORIXBXfp5QjQjtHJy6m"], ["created_at", "2018-09-05 05:11:31.111262"], ["updated_at", "2018-09-05 05:11:31.111262"]]  (0.5ms) 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", "Amparo Farrell"], ["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", "Octavio Gibson"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Amparo Farrell"], ["name", "Octavio Gibson"], ["created_at", "2018-09-05 05:11:31.141896"], ["updated_at", "2018-09-05 05:11:31.141896"]]  (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", "Heide Leuschke"], ["LIMIT", 1]] SQL (12.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Heide Leuschke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.165152"], ["updated_at", "2018-09-05 05:11:31.165152"]]  (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", "Devin Schaefer"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Devin Schaefer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.183742"], ["updated_at", "2018-09-05 05:11:31.183742"]]  (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", "Roy Homenick"], ["LIMIT", 1]] SQL (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", "Roy Homenick"], ["name", "Keneth Kuhn"], ["address", "Jerrica Wehner"], ["created_at", "2018-09-05 05:11:31.199508"], ["updated_at", "2018-09-05 05:11:31.199508"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Briana Lockman"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] SQL (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", "Briana Lockman"], ["name", "Grazyna Kulas"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:11:31.206570"], ["updated_at", "2018-09-05 05:11:31.206570"]] 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", 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", "Briana Lockman"], ["LIMIT", 1]] SQL (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", "Briana Lockman"], ["name", "Grazyna Kulas"], ["description", "Default bundle for service 'Grazyna Kulas'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:11:31.235536"], ["updated_at", "2018-09-05 05:11:31.235536"]] SQL (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.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", "Elli Botsford"], ["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", "Dion Lubowitz"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Elli Botsford"], ["name", "Dion Lubowitz"], ["created_at", "2018-09-05 05:11:31.265083"], ["updated_at", "2018-09-05 05:11:31.265083"]]  (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", "Delinda Balistreri"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delinda Balistreri"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.269945"], ["updated_at", "2018-09-05 05:11:31.269945"]]  (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", "Ashton Emard"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ashton Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.274329"], ["updated_at", "2018-09-05 05:11:31.274329"]]  (0.6ms) 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", "Shayna Homenick"], ["LIMIT", 1]] SQL (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", "Shayna Homenick"], ["name", "Casey Murray"], ["address", "Jon Kub"], ["created_at", "2018-09-05 05:11:31.279134"], ["updated_at", "2018-09-05 05:11:31.279134"]]  (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", "Caryl Weissnat"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] SQL (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", "Caryl Weissnat"], ["name", "Rachal Mills"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:11:31.283750"], ["updated_at", "2018-09-05 05:11:31.283750"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Caryl Weissnat"], ["LIMIT", 1]] SQL (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", "Caryl Weissnat"], ["name", "Rachal Mills"], ["description", "Default bundle for service 'Rachal Mills'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:11:31.288887"], ["updated_at", "2018-09-05 05:11:31.288887"]] SQL (1.0ms) 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.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", "Oma O'Reilly"], ["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", "Rhona Keebler"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Oma O'Reilly"], ["name", "Rhona Keebler"], ["created_at", "2018-09-05 05:11:31.297961"], ["updated_at", "2018-09-05 05:11:31.297961"]]  (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", "Anissa Breitenberg"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Anissa Breitenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.302544"], ["updated_at", "2018-09-05 05:11:31.302544"]]  (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", "Ingeborg Witting"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ingeborg Witting"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.307119"], ["updated_at", "2018-09-05 05:11:31.307119"]]  (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", "Maria Rau"], ["LIMIT", 1]] SQL (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", "Maria Rau"], ["name", "Armandina Dickinson"], ["address", "Alyce Runolfsdottir"], ["created_at", "2018-09-05 05:11:31.311908"], ["updated_at", "2018-09-05 05:11:31.311908"]]  (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", "Alta Considine"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] SQL (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", "Alta Considine"], ["name", "Caitlin Hermann"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:11:31.316470"], ["updated_at", "2018-09-05 05:11:31.316470"]] 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", 3], ["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 Considine"], ["LIMIT", 1]] SQL (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", "Alta Considine"], ["name", "Caitlin Hermann"], ["description", "Default bundle for service 'Caitlin Hermann'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:11:31.323611"], ["updated_at", "2018-09-05 05:11:31.323611"]] SQL (1.2ms) 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.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 1], ["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", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.1ms) 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 (3, 1, 2) [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", 5], ["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", 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] 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.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", 3], ["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", 4], ["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", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (16.98ms) Completed 200 OK in 53ms (Views: 41.3ms | ActiveRecord: 10.0ms)  (0.8ms) 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", "hyman@wunsch.biz"], ["LIMIT", 1]] SQL (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", "Dollie Dicki"], ["last_name", "Jannet Beer"], ["email", "hyman@wunsch.biz"], ["password_digest", "$2a$04$2vE2haCP9dQKgYpA.u/n4ObFOJ/ADeT6n19.5tnyVybRr1hrUQLhC"], ["created_at", "2018-09-05 05:11:31.395262"], ["updated_at", "2018-09-05 05:11:31.395262"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Shirlene Mann"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shirlene Mann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.409598"], ["updated_at", "2018-09-05 05:11:31.409598"]]  (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", "Criselda Schultz"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Criselda Schultz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.415711"], ["updated_at", "2018-09-05 05:11:31.415711"]]  (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", "Johanne Littel"], ["LIMIT", 1]] SQL (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", "Johanne Littel"], ["name", "Scott Pouros"], ["address", "Breanne Glover"], ["created_at", "2018-09-05 05:11:31.425796"], ["updated_at", "2018-09-05 05:11:31.425796"]]  (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", "Ronald 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", "Christian Smitham"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ronald Tillman"], ["name", "Christian Smitham"], ["created_at", "2018-09-05 05:11:31.432415"], ["updated_at", "2018-09-05 05:11:31.432415"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Pok Schinner", "name"=>"Athena Braun", "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.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", "Pok Schinner"], ["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.8ms) 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]] SQL (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", "Pok Schinner"], ["name", "Athena Braun"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:11:31.451610"], ["updated_at", "2018-09-05 05:11:31.451610"]] 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", 4], ["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", "Pok Schinner"], ["LIMIT", 1]] SQL (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", "Pok Schinner"], ["name", "Athena Braun"], ["description", "Default bundle for service 'Athena Braun'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:11:31.458462"], ["updated_at", "2018-09-05 05:11:31.458462"]] SQL (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 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.48ms) Completed 200 OK in 34ms (Views: 10.4ms | ActiveRecord: 12.0ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.4ms) ROLLBACK  (0.7ms) 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", "cordelia_paucek@feeneywindler.com"], ["LIMIT", 1]] SQL (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", "Nakita Lesch"], ["last_name", "Christeen Rolfson"], ["email", "cordelia_paucek@feeneywindler.com"], ["password_digest", "$2a$04$/zeQKrKZsD0d6PqGui1aY.LAFp8cYoO/3r.P/bwNUjLBUxoJvBLXi"], ["created_at", "2018-09-05 05:11:31.485712"], ["updated_at", "2018-09-05 05:11:31.485712"]]  (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", "Kelvin Hermiston"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kelvin Hermiston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.491693"], ["updated_at", "2018-09-05 05:11:31.491693"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Roseanne Schneider"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roseanne Schneider"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.498076"], ["updated_at", "2018-09-05 05:11:31.498076"]]  (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", "Natashia Rau"], ["LIMIT", 1]] SQL (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", "Natashia Rau"], ["name", "Seth Adams"], ["address", "Toby Rogahn"], ["created_at", "2018-09-05 05:11:31.503852"], ["updated_at", "2018-09-05 05:11:31.503852"]]  (0.7ms) 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", "Alyse Kiehn"], ["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", "Isreal Purdy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alyse Kiehn"], ["name", "Isreal Purdy"], ["created_at", "2018-09-05 05:11:31.511106"], ["updated_at", "2018-09-05 05:11:31.511106"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Augustus Renner", "name"=>"Lionel Corkery", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.6ms) 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 (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", "Augustus Renner"], ["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]] SQL (2.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", "Augustus Renner"], ["name", "Lionel Corkery"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:11:31.525060"], ["updated_at", "2018-09-05 05:11:31.525060"]] 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 (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Augustus Renner"], ["LIMIT", 1]] SQL (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", "Augustus Renner"], ["name", "Lionel Corkery"], ["description", "Default bundle for service 'Lionel Corkery'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:11:31.533463"], ["updated_at", "2018-09-05 05:11:31.533463"]] SQL (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 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 (0.39ms) Completed 200 OK in 27ms (Views: 1.4ms | ActiveRecord: 13.6ms)  (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", "kenton@ankunding.com"], ["LIMIT", 1]] SQL (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", "Claretta Harber"], ["last_name", "Margo Treutel"], ["email", "kenton@ankunding.com"], ["password_digest", "$2a$04$6JgKL4.UOwBZIj.EvUFkpejMlPg5B.FTgZAMgSgI8rB8BPDq/wNZK"], ["created_at", "2018-09-05 05:11:31.550125"], ["updated_at", "2018-09-05 05:11:31.550125"]]  (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", "Kyoko Wiegand"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kyoko Wiegand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.555133"], ["updated_at", "2018-09-05 05:11:31.555133"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Loris Reinger"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Loris Reinger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.562084"], ["updated_at", "2018-09-05 05:11:31.562084"]]  (0.8ms) 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", "Harriett Mohr"], ["LIMIT", 1]] SQL (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", "Harriett Mohr"], ["name", "Elyse Hackett"], ["address", "Elouise Dickens"], ["created_at", "2018-09-05 05:11:31.568763"], ["updated_at", "2018-09-05 05:11:31.568763"]]  (0.7ms) 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", "Jacquelyne Schultz"], ["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", "Terrance Shanahan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jacquelyne Schultz"], ["name", "Terrance Shanahan"], ["created_at", "2018-09-05 05:11:31.575632"], ["updated_at", "2018-09-05 05:11:31.575632"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Delta Hamill", "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.6ms) 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", ""], ["service_delivery_unit_id", 6], ["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", 6], ["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", 11], ["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", 6], ["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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 21ms (Views: 4.2ms | ActiveRecord: 6.2ms)  (0.9ms) 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", "sarah@wunsch.ca"], ["LIMIT", 1]] SQL (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", "Alane Koss"], ["last_name", "Maybelle Zulauf"], ["email", "sarah@wunsch.ca"], ["password_digest", "$2a$04$Ym.lSt1mhf9XRfatJT6EseRJvELpjtDYxLN4cQmoxzf8LPzbxjvg6"], ["created_at", "2018-09-05 05:11:31.608262"], ["updated_at", "2018-09-05 05:11:31.608262"]]  (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", "Sheilah Beahan"], ["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", "Tonia Mitchell"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sheilah Beahan"], ["name", "Tonia Mitchell"], ["created_at", "2018-09-05 05:11:31.614546"], ["updated_at", "2018-09-05 05:11:31.614546"]]  (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", "Kimberley Zboncak"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kimberley Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.619052"], ["updated_at", "2018-09-05 05:11:31.619052"]]  (3.9ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Caron Heidenreich"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Caron Heidenreich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.629278"], ["updated_at", "2018-09-05 05:11:31.629278"]]  (0.6ms) 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", "Sharyn Rodriguez"], ["LIMIT", 1]] SQL (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", "Sharyn Rodriguez"], ["name", "Teresia Weber"], ["address", "Dell Weber"], ["created_at", "2018-09-05 05:11:31.636583"], ["updated_at", "2018-09-05 05:11:31.636583"]]  (0.8ms) 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", "Phyllis Effertz"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] SQL (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", "Phyllis Effertz"], ["name", "Lou Douglas"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:11:31.643103"], ["updated_at", "2018-09-05 05:11:31.643103"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Phyllis Effertz"], ["LIMIT", 1]] SQL (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", "Phyllis Effertz"], ["name", "Lou Douglas"], ["description", "Default bundle for service 'Lou Douglas'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:11:31.649388"], ["updated_at", "2018-09-05 05:11:31.649388"]] SQL (1.1ms) 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.5ms) 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.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Phyllis Effertz"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 7], ["LIMIT", 1]] 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", 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]] SQL (6.0ms) 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 05:11:31.665423"], ["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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Phyllis Effertz"], ["LIMIT", 1]]  (0.8ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.33ms) Completed 200 OK in 25ms (Views: 1.2ms | ActiveRecord: 13.2ms) 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.5ms) 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", "nedra@fadelborer.co.uk"], ["LIMIT", 1]] SQL (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", "Daryl Prosacco"], ["last_name", "Arnita Wisoky"], ["email", "nedra@fadelborer.co.uk"], ["password_digest", "$2a$04$dZD7X71Er2u.t511Mroyh.YSqFtdM6yr7CkhnQWJPD5L.eFfliFHK"], ["created_at", "2018-09-05 05:11:31.689650"], ["updated_at", "2018-09-05 05:11:31.689650"]]  (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", "Garry Sipes"], ["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", "Malka Stracke"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Garry Sipes"], ["name", "Malka Stracke"], ["created_at", "2018-09-05 05:11:31.696523"], ["updated_at", "2018-09-05 05:11:31.696523"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Taylor Lehner"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Taylor Lehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.702777"], ["updated_at", "2018-09-05 05:11:31.702777"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Shelby Hodkiewicz"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shelby Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.710367"], ["updated_at", "2018-09-05 05:11:31.710367"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Yasuko Bode"], ["LIMIT", 1]] SQL (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", "Yasuko Bode"], ["name", "Patria Johns"], ["address", "Amira Flatley"], ["created_at", "2018-09-05 05:11:31.718321"], ["updated_at", "2018-09-05 05:11:31.718321"]]  (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", "Eleni Schamberger"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] SQL (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", "Eleni Schamberger"], ["name", "Sammie Schinner"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:11:31.723200"], ["updated_at", "2018-09-05 05:11:31.723200"]] 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", "Eleni Schamberger"], ["LIMIT", 1]] SQL (0.7ms) 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", "Eleni Schamberger"], ["name", "Sammie Schinner"], ["description", "Default bundle for service 'Sammie Schinner'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:11:31.728155"], ["updated_at", "2018-09-05 05:11:31.728155"]] SQL (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.8ms) 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", "Eleni Schamberger"], ["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.6ms) 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 (1.0ms) 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.3ms | ActiveRecord: 6.6ms)  (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", "chris@osinski.biz"], ["LIMIT", 1]] SQL (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", "Allyn Durgan"], ["last_name", "Verlie Durgan"], ["email", "chris@osinski.biz"], ["password_digest", "$2a$04$rPtT2Nz3PjdNeKGEVKyieelcgjdyjli.cA9UTXr0ziLse82Reg.iO"], ["created_at", "2018-09-05 05:11:31.755471"], ["updated_at", "2018-09-05 05:11:31.755471"]]  (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", "Roxanna Conn"], ["LIMIT", 1]] SQL (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", "Roxanna Conn"], ["name", "Julissa White"], ["address", "Alma Padberg"], ["created_at", "2018-09-05 05:11:31.760303"], ["updated_at", "2018-09-05 05:11:31.760303"]]  (0.5ms) 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", "Tran Reichel"], ["LIMIT", 1]] SQL (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", "Tran Reichel"], ["name", "Maris Feeney"], ["address", "Vickie Sauer"], ["created_at", "2018-09-05 05:11:31.765582"], ["updated_at", "2018-09-05 05:11:31.765582"]]  (0.6ms) 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", "Yong Hirthe"], ["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", "Bettie Swaniawski"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yong Hirthe"], ["name", "Bettie Swaniawski"], ["created_at", "2018-09-05 05:11:31.775047"], ["updated_at", "2018-09-05 05:11:31.775047"]]  (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", "Amee Ullrich"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Amee Ullrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.779723"], ["updated_at", "2018-09-05 05:11:31.779723"]]  (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", "Juan Streich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Juan Streich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.788281"], ["updated_at", "2018-09-05 05:11:31.788281"]]  (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", "Candelaria Champlin"], ["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]] SQL (0.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", "Candelaria Champlin"], ["name", "Wilburn Kulas"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:11:31.794218"], ["updated_at", "2018-09-05 05:11:31.794218"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Candelaria Champlin"], ["LIMIT", 1]] SQL (1.4ms) 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", "Candelaria Champlin"], ["name", "Wilburn Kulas"], ["description", "Default bundle for service 'Wilburn Kulas'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:11:31.799728"], ["updated_at", "2018-09-05 05:11:31.799728"]] SQL (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.6ms) 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", "Joana Goodwin"], ["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", "Lola Trantow"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joana Goodwin"], ["name", "Lola Trantow"], ["created_at", "2018-09-05 05:11:31.811199"], ["updated_at", "2018-09-05 05:11:31.811199"]]  (0.4ms) 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", "Petronila Kuhic"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Petronila Kuhic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.815697"], ["updated_at", "2018-09-05 05:11:31.815697"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Nam Rohan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nam Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.819894"], ["updated_at", "2018-09-05 05:11:31.819894"]]  (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", "Marcelina Wunsch"], ["service_delivery_unit_id", 9], ["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", 9], ["LIMIT", 1]] SQL (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", "Marcelina Wunsch"], ["name", "Audry Runolfsson"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:11:31.825444"], ["updated_at", "2018-09-05 05:11:31.825444"]] 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", "Marcelina Wunsch"], ["LIMIT", 1]] SQL (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", "Marcelina Wunsch"], ["name", "Audry Runolfsson"], ["description", "Default bundle for service 'Audry Runolfsson'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:11:31.830206"], ["updated_at", "2018-09-05 05:11:31.830206"]] SQL (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.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Cassy Okuneva"], ["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", "Ezequiel Kovacek"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cassy Okuneva"], ["name", "Ezequiel Kovacek"], ["created_at", "2018-09-05 05:11:31.838371"], ["updated_at", "2018-09-05 05:11:31.838371"]]  (0.5ms) 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", "Tuan Powlowski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tuan Powlowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.844193"], ["updated_at", "2018-09-05 05:11:31.844193"]]  (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", "Shani Weber"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shani Weber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.848756"], ["updated_at", "2018-09-05 05:11:31.848756"]]  (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", "Noriko Stiedemann"], ["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]] SQL (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", "Noriko Stiedemann"], ["name", "Phyllis Cruickshank"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:11:31.854905"], ["updated_at", "2018-09-05 05:11:31.854905"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Noriko Stiedemann"], ["LIMIT", 1]] SQL (0.7ms) 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", "Noriko Stiedemann"], ["name", "Phyllis Cruickshank"], ["description", "Default bundle for service 'Phyllis Cruickshank'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:11:31.859631"], ["updated_at", "2018-09-05 05:11:31.859631"]] SQL (0.7ms) 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.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", "Ivory Macejkovic"], ["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", "Kena Kovacek"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ivory Macejkovic"], ["name", "Kena Kovacek"], ["created_at", "2018-09-05 05:11:31.868270"], ["updated_at", "2018-09-05 05:11:31.868270"]]  (0.4ms) 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", "Blythe Considine"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Blythe Considine"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.872388"], ["updated_at", "2018-09-05 05:11:31.872388"]]  (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", "Christiana Champlin"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Christiana Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:31.876569"], ["updated_at", "2018-09-05 05:11:31.876569"]]  (0.4ms) 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", "Miriam Crist"], ["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]] SQL (0.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", "Miriam Crist"], ["name", "Raleigh Doyle"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:11:31.882634"], ["updated_at", "2018-09-05 05:11:31.882634"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Miriam Crist"], ["LIMIT", 1]] SQL (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", "Miriam Crist"], ["name", "Raleigh Doyle"], ["description", "Default bundle for service 'Raleigh Doyle'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:11:31.887430"], ["updated_at", "2018-09-05 05:11:31.887430"]] SQL (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.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (0.6ms) 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.5ms) 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.5ms) 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.5ms) 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.5ms) 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.6ms) 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.12ms) Completed 200 OK in 15ms (Views: 7.7ms | ActiveRecord: 6.2ms)  (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", "pierre@webergaylord.us"], ["LIMIT", 1]] SQL (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", "Trisha Monahan"], ["last_name", "Jimmie Connelly"], ["email", "pierre@webergaylord.us"], ["password_digest", "$2a$04$MuDYKNfkAOK1.MFYnJT9L./jd56fpYGVEMb84FPHxljR5yQfaZCBK"], ["created_at", "2018-09-05 05:11:31.916979"], ["updated_at", "2018-09-05 05:11:31.916979"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.6ms) 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", "beatrice@balistreribatz.name"], ["LIMIT", 1]] SQL (2.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", "Lorretta Friesen"], ["last_name", "Trinity Bashirian"], ["email", "beatrice@balistreribatz.name"], ["password_digest", "$2a$04$HI1tkTtJzxiXWHG8WMH4Pu4jFnKbnwkM/Q2m9o9n57isaultZqTce"], ["created_at", "2018-09-05 05:11:31.929790"], ["updated_at", "2018-09-05 05:11:31.929790"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (1.3ms) 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", "christopher@corkery.biz"], ["LIMIT", 1]] SQL (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", "Martine Hyatt"], ["last_name", "Prudence Erdman"], ["email", "christopher@corkery.biz"], ["password_digest", "$2a$04$uaL9BZe8iEQxLm9mfHmmxO0UDB3WFBVaJJEuW7R1V2wze69ngh/Hi"], ["created_at", "2018-09-05 05:11:31.943198"], ["updated_at", "2018-09-05 05:11:31.943198"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.4ms) ROLLBACK  (0.6ms) 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", "federico_volkman@turcotte.ca"], ["LIMIT", 1]] SQL (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", "Francine Harris"], ["last_name", "Gretchen Schuppe"], ["email", "federico_volkman@turcotte.ca"], ["password_digest", "$2a$04$0MQMLZ2co8wHKP/APO9zfeh1RM1Kp6hrGagYDsBSAGKbjE2zCdnri"], ["created_at", "2018-09-05 05:11:31.962437"], ["updated_at", "2018-09-05 05:11:31.962437"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "mohammed.windler@fadel.name"], ["LIMIT", 1]] SQL (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", "Edmond Fisher"], ["last_name", "Justina Gottlieb"], ["email", "mohammed.windler@fadel.name"], ["password_digest", "$2a$04$QvNGanTKfADlPRsyljMEVOH0Nhl10e8sp/gCF/gp8XPH5EcI/LcCC"], ["created_at", "2018-09-05 05:11:31.972612"], ["updated_at", "2018-09-05 05:11:31.972612"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (1.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", "anisa@beattyhermann.co.uk"], ["LIMIT", 1]] SQL (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", "Hilary Reichel"], ["last_name", "Cecilia Torp"], ["email", "anisa@beattyhermann.co.uk"], ["password_digest", "$2a$04$KfYVqgBzlee3zo7WiUyA5OytJ4Dr3zRkhuFCswvHDHjzNEgBGErmW"], ["created_at", "2018-09-05 05:11:31.985896"], ["updated_at", "2018-09-05 05:11:31.985896"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "trisha@witting.info"], ["LIMIT", 1]] SQL (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", "Ami Cruickshank"], ["last_name", "Rosanne Wunsch"], ["email", "trisha@witting.info"], ["password_digest", "$2a$04$Vdyd8CbaRqJw10juVmmp6e2xoU3buCbvQqZvH..PbJZkllyYjPuha"], ["created_at", "2018-09-05 05:11:31.999231"], ["updated_at", "2018-09-05 05:11:31.999231"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.8ms) 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", "keiko@yundt.com"], ["LIMIT", 1]] SQL (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", "Jami Altenwerth"], ["last_name", "Arline Ryan"], ["email", "keiko@yundt.com"], ["password_digest", "$2a$04$1yZYFbYrrCB9j6./98HMKu7STIs7k2xXQ0tzzWbFRBrfJmOtV2rBy"], ["created_at", "2018-09-05 05:11:32.011195"], ["updated_at", "2018-09-05 05:11:32.011195"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "eldridge.jast@metzwiegand.name"], ["LIMIT", 1]] SQL (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", "Lowell Bernhard"], ["last_name", "Romona Yost"], ["email", "eldridge.jast@metzwiegand.name"], ["password_digest", "$2a$04$pidUt/CDslB0fO.0YTp/EOZoAqcO2DPKzcYSjr041AffpkCXZ5I/C"], ["created_at", "2018-09-05 05:11:32.022550"], ["updated_at", "2018-09-05 05:11:32.022550"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (1.3ms) 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", "darrin@eichmann.ca"], ["LIMIT", 1]] SQL (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", "Houston Huels"], ["last_name", "Helaine VonRueden"], ["email", "darrin@eichmann.ca"], ["password_digest", "$2a$04$7WSZx3Wo636lm4c3AaVbCuZ2wmoJ6BqP2AdueYYYf9quxvZKbkqgW"], ["created_at", "2018-09-05 05:11:32.034797"], ["updated_at", "2018-09-05 05:11:32.034797"]]  (1.5ms) 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", "Glenn Rogahn"], ["LIMIT", 1]] SQL (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", "Glenn Rogahn"], ["name", "Sonja Kutch"], ["address", "Coreen Runolfsdottir"], ["created_at", "2018-09-05 05:11:32.043434"], ["updated_at", "2018-09-05 05:11:32.043434"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lacresha Kling"], ["LIMIT", 1]] SQL (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", "Lacresha Kling"], ["name", "Neta Johnson"], ["description", "Vicki Mante"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:11:32.048931"], ["updated_at", "2018-09-05 05:11:32.048931"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 17], ["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", 17], ["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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.21ms) Completed 200 OK in 17ms (Views: 12.4ms | ActiveRecord: 3.6ms)  (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", "voncile@corkerywehner.biz"], ["LIMIT", 1]] SQL (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", "Savanna Johns"], ["last_name", "Shawn Koch"], ["email", "voncile@corkerywehner.biz"], ["password_digest", "$2a$04$ftphsDCh4qmtICWPQWhVh.RXChg0bfSmXOPdp7T1eqz8Jkf6OmO4K"], ["created_at", "2018-09-05 05:11:32.078751"], ["updated_at", "2018-09-05 05:11:32.078751"]]  (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", "Taunya Gottlieb"], ["LIMIT", 1]] SQL (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", "Taunya Gottlieb"], ["name", "Kirstin Emmerich"], ["address", "Dewayne Ruecker"], ["created_at", "2018-09-05 05:11:32.083768"], ["updated_at", "2018-09-05 05:11:32.083768"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Stephnie Jacobi"], ["LIMIT", 1]] SQL (2.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", "Stephnie Jacobi"], ["name", "Ligia Heaney"], ["description", "Virgilio Shanahan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:11:32.090815"], ["updated_at", "2018-09-05 05:11:32.090815"]]  (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", "Amanda Fadel"], ["LIMIT", 1]] SQL (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", "Amanda Fadel"], ["name", "Roma Donnelly"], ["description", "Rosenda Cassin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:11:32.098107"], ["updated_at", "2018-09-05 05:11:32.098107"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Hugo Pollich"], ["LIMIT", 1]] SQL (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", "Hugo Pollich"], ["name", "Donnette Halvorson"], ["description", "Carol Gaylord"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:11:32.103374"], ["updated_at", "2018-09-05 05:11:32.103374"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"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", 18], ["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", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.41ms) Completed 200 OK in 10ms (Views: 4.5ms | ActiveRecord: 4.1ms)  (0.5ms) 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", "fritz@veumcartwright.name"], ["LIMIT", 1]] SQL (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", "Tamica Legros"], ["last_name", "Jeanne Steuber"], ["email", "fritz@veumcartwright.name"], ["password_digest", "$2a$04$b0ktmtr1j8wihBD8gQq/dO3W7n2R97cWmruuZw.ZUqhqJSWSImZu."], ["created_at", "2018-09-05 05:11:32.124211"], ["updated_at", "2018-09-05 05:11:32.124211"]]  (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", "Chieko Hessel"], ["LIMIT", 1]] SQL (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", "Chieko Hessel"], ["name", "Cordell Schuster"], ["address", "Shonna Berge"], ["created_at", "2018-09-05 05:11:32.128930"], ["updated_at", "2018-09-05 05:11:32.128930"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Von Champlin"], ["LIMIT", 1]] SQL (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", "Von Champlin"], ["name", "Barrett Pouros"], ["description", "Fern Gutmann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:11:32.136352"], ["updated_at", "2018-09-05 05:11:32.136352"]]  (0.9ms) 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", "Giuseppina Bergnaum"], ["LIMIT", 1]] SQL (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", "Giuseppina Bergnaum"], ["name", "Clayton Koelpin"], ["description", "Rosemary Mann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:11:32.143637"], ["updated_at", "2018-09-05 05:11:32.143637"]]  (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", "Ivory Murphy"], ["LIMIT", 1]] SQL (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", "Ivory Murphy"], ["name", "Joel Cronin"], ["description", "Kent Swaniawski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:11:32.150176"], ["updated_at", "2018-09-05 05:11:32.150176"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Arden Nitzsche"], ["LIMIT", 1]] SQL (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", "Arden Nitzsche"], ["name", "Kristopher Tromp"], ["address", "Willie Glover"], ["created_at", "2018-09-05 05:11:32.157023"], ["updated_at", "2018-09-05 05:11:32.157023"]]  (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", "Noe Adams"], ["LIMIT", 1]] SQL (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", "Noe Adams"], ["name", "Nobuko Halvorson"], ["description", "Chelsie Beer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:11:32.161501"], ["updated_at", "2018-09-05 05:11:32.161501"]]  (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", "Gabriel Johnston"], ["LIMIT", 1]] SQL (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", "Gabriel Johnston"], ["name", "Dannette Hartmann"], ["address", "Bonnie Pacocha"], ["created_at", "2018-09-05 05:11:32.166375"], ["updated_at", "2018-09-05 05:11:32.166375"]]  (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", "Violette White"], ["LIMIT", 1]] SQL (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", "Violette White"], ["name", "Chuck Yost"], ["description", "Ronald D'Amore"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:11:32.170621"], ["updated_at", "2018-09-05 05:11:32.170621"]]  (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", "Lakeshia Boyle"], ["LIMIT", 1]] SQL (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", "Lakeshia Boyle"], ["name", "Nolan Zieme"], ["address", "Nan Cronin"], ["created_at", "2018-09-05 05:11:32.175370"], ["updated_at", "2018-09-05 05:11:32.175370"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Renna Jacobi"], ["LIMIT", 1]] SQL (1.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", "Renna Jacobi"], ["name", "Mila Moen"], ["description", "Yelena Okuneva"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:11:32.182960"], ["updated_at", "2018-09-05 05:11:32.182960"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.48ms) Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 3.7ms)  (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", "jerry@franeckibeatty.name"], ["LIMIT", 1]] SQL (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", "Beth Dietrich"], ["last_name", "Winston Weber"], ["email", "jerry@franeckibeatty.name"], ["password_digest", "$2a$04$MswDmgCtf7vY3NEbEuzoLuFhs/usc962kusLF.xoFQ6z7E.2CzHgS"], ["created_at", "2018-09-05 05:11:32.203916"], ["updated_at", "2018-09-05 05:11:32.203916"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 LIMIT $2 [["code", "Dan Sipes"], ["LIMIT", 1]] SQL (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", "Dan Sipes"], ["name", "Wendy Hettinger"], ["address", "Linnie Friesen"], ["created_at", "2018-09-05 05:11:32.211710"], ["updated_at", "2018-09-05 05:11:32.211710"]]  (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", "Richard Kihn"], ["LIMIT", 1]] SQL (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", "Richard Kihn"], ["name", "Lane Schumm"], ["description", "Laraine Marks"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:11:32.216436"], ["updated_at", "2018-09-05 05:11:32.216436"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show 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", 20], ["LIMIT", 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", 22], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.7ms) Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 3.0ms)  (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", "sheron@considine.biz"], ["LIMIT", 1]] SQL (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", "Leighann Wunsch"], ["last_name", "Alisia D'Amore"], ["email", "sheron@considine.biz"], ["password_digest", "$2a$04$I9zO0H6M/FF0K/m5MvgnBOBJypT0FM3/ok6ZBVYwQ9QweWs0vLGPO"], ["created_at", "2018-09-05 05:11:32.235121"], ["updated_at", "2018-09-05 05:11:32.235121"]]  (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", "Reba Paucek"], ["LIMIT", 1]] SQL (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", "Reba Paucek"], ["name", "Jay Nikolaus"], ["address", "Hayley Morar"], ["created_at", "2018-09-05 05:11:32.241299"], ["updated_at", "2018-09-05 05:11:32.241299"]]  (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", "Lexie O'Connell"], ["LIMIT", 1]] SQL (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", "Lexie O'Connell"], ["name", "First Service Bundle"], ["description", "Catrina Weissnat"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:11:32.246025"], ["updated_at", "2018-09-05 05:11:32.246025"]]  (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", "Jane Gleason"], ["LIMIT", 1]] SQL (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", "Jane Gleason"], ["name", "Latina Hermiston"], ["address", "Chuck Fadel"], ["created_at", "2018-09-05 05:11:32.253481"], ["updated_at", "2018-09-05 05:11:32.253481"]]  (0.5ms) 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", "Karine O'Conner"], ["LIMIT", 1]] SQL (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", "Karine O'Conner"], ["name", "Second Service Bundle"], ["description", "Griselda Cummerata"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:11:32.259649"], ["updated_at", "2018-09-05 05:11:32.259649"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["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 (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", 18], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.43ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 3.3ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) 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 (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", 18], ["LIMIT", 1]] [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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.36ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 8.2ms)  (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", "elyse@kassulkegraham.name"], ["LIMIT", 1]] SQL (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", "Brenton Pfannerstill"], ["last_name", "Rachelle Greenholt"], ["email", "elyse@kassulkegraham.name"], ["password_digest", "$2a$04$NJbV0ZsJOhlNEJnks.h9PuRdAPa5WpjyyuOsimmexTMb11yNKBu9W"], ["created_at", "2018-09-05 05:11:32.288936"], ["updated_at", "2018-09-05 05:11:32.288936"]]  (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", "Marry Cole"], ["LIMIT", 1]] SQL (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", "Marry Cole"], ["name", "Karl West"], ["address", "Janean Jewess"], ["created_at", "2018-09-05 05:11:32.294508"], ["updated_at", "2018-09-05 05:11:32.294508"]]  (0.6ms) 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", "Winfred Fay"], ["LIMIT", 1]] SQL (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", "Winfred Fay"], ["name", "FIRst Service Bundle"], ["description", "Thelma Kertzmann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:11:32.300421"], ["updated_at", "2018-09-05 05:11:32.300421"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Shondra Blanda"], ["LIMIT", 1]] SQL (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", "Shondra Blanda"], ["name", "Prudence Lindgren"], ["address", "Wilhemina Nikolaus"], ["created_at", "2018-09-05 05:11:32.308501"], ["updated_at", "2018-09-05 05:11:32.308501"]]  (0.8ms) 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", "Debbie Olson"], ["LIMIT", 1]] SQL (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", "Debbie Olson"], ["name", "Second Service Bundle for the firST time"], ["description", "Cary Rowe"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:11:32.313911"], ["updated_at", "2018-09-05 05:11:32.313911"]]  (0.6ms) 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", 22], ["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", 22], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.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 (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", 20], ["LIMIT", 1]] [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 (3.62ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 4.2ms)  (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", "felica.bosco@prohaskagrady.ca"], ["LIMIT", 1]] SQL (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", "Ebonie Kessler"], ["last_name", "Zoraida Goodwin"], ["email", "felica.bosco@prohaskagrady.ca"], ["password_digest", "$2a$04$qxEkirkb065usgzARE5v5uaAsy0EvBD48ASNEuso5VcXhTBMS/w1a"], ["created_at", "2018-09-05 05:11:32.333717"], ["updated_at", "2018-09-05 05:11:32.333717"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Ardath Muller"], ["LIMIT", 1]] SQL (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", "Ardath Muller"], ["name", "Kerry Hermann"], ["address", "Lashell Jewess"], ["created_at", "2018-09-05 05:11:32.339878"], ["updated_at", "2018-09-05 05:11:32.339878"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Jacelyn Heaney", "description"=>"Audrey Schmeler", "name"=>"Paul Stoltenberg", "service_delivery_unit_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", 23], ["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", 22], ["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", "Jacelyn Heaney"], ["LIMIT", 1]] SQL (1.4ms) 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", "Jacelyn Heaney"], ["name", "Paul Stoltenberg"], ["description", "Audrey Schmeler"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:11:32.351230"], ["updated_at", "2018-09-05 05:11:32.351230"]]  (0.7ms) 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.22ms) Completed 201 Created in 14ms (Views: 1.8ms | ActiveRecord: 6.5ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.5ms) 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", "young@spinkawelch.com"], ["LIMIT", 1]] SQL (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", "Angelita Collins"], ["last_name", "Lee Williamson"], ["email", "young@spinkawelch.com"], ["password_digest", "$2a$04$W2OMaKoeTGujtV7cl5A2beS2Vb8DmdUG/umv.cEDNbn0LrS6vFEqW"], ["created_at", "2018-09-05 05:11:32.367113"], ["updated_at", "2018-09-05 05:11:32.367113"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Eldridge Eichmann"], ["LIMIT", 1]] SQL (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", "Eldridge Eichmann"], ["name", "Fermin Will"], ["address", "Roxy Corkery"], ["created_at", "2018-09-05 05:11:32.373650"], ["updated_at", "2018-09-05 05:11:32.373650"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Willette Deckow", "description"=>"Rhett Stamm", "name"=>"Paola Runte", "service_delivery_unit_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", 24], ["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", 23], ["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", "Willette Deckow"], ["LIMIT", 1]] SQL (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", "Willette Deckow"], ["name", "Paola Runte"], ["description", "Rhett Stamm"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:11:32.383057"], ["updated_at", "2018-09-05 05:11:32.383057"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 201 Created in 12ms (Views: 2.0ms | ActiveRecord: 5.7ms) 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.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", "rochelle_nienow@bruen.ca"], ["LIMIT", 1]] SQL (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", "Belkis Gibson"], ["last_name", "Sari Gibson"], ["email", "rochelle_nienow@bruen.ca"], ["password_digest", "$2a$04$we5qNxBV7fsmX.yvhYC1Iu95nXHWxEOI4rzDel5UPKzeuef4ecCh2"], ["created_at", "2018-09-05 05:11:32.400566"], ["updated_at", "2018-09-05 05:11:32.400566"]]  (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", "Thanh Walker"], ["LIMIT", 1]] SQL (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", "Thanh Walker"], ["name", "Leona Kiehn"], ["address", "Lillia Price"], ["created_at", "2018-09-05 05:11:32.405861"], ["updated_at", "2018-09-05 05:11:32.405861"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Shawnda Medhurst", "name"=>"Bill Treutel", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.9ms) 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", 24], ["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", ""], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.1ms) Completed 422 Unprocessable Entity in 16ms (Views: 5.7ms | ActiveRecord: 5.3ms)  (1.1ms) 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", "britt.kiehn@dubuqueswaniawski.name"], ["LIMIT", 1]] SQL (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", "Karri Barrows"], ["last_name", "Gwyneth Murphy"], ["email", "britt.kiehn@dubuqueswaniawski.name"], ["password_digest", "$2a$04$PsAev0cmdAG1ThQc6OxckuOFDSnsRWcHGJaGrDI3bOKVuKXJ8.MhO"], ["created_at", "2018-09-05 05:11:32.433225"], ["updated_at", "2018-09-05 05:11:32.433225"]]  (0.6ms) 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", "Hans Friesen"], ["LIMIT", 1]] SQL (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", "Hans Friesen"], ["name", "Wesley Rohan"], ["address", "Ina Raynor"], ["created_at", "2018-09-05 05:11:32.453074"], ["updated_at", "2018-09-05 05:11:32.453074"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Paula Heaney"], ["LIMIT", 1]] SQL (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", "Paula Heaney"], ["name", "Ebony Medhurst"], ["description", "Mirian Mohr"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:11:32.458807"], ["updated_at", "2018-09-05 05:11:32.458807"]]  (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", "Josie Miller"], ["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", "Rozella Lebsack"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Josie Miller"], ["name", "Rozella Lebsack"], ["created_at", "2018-09-05 05:11:32.464883"], ["updated_at", "2018-09-05 05:11:32.464883"]]  (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", "Janee Kovacek"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janee Kovacek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:32.469787"], ["updated_at", "2018-09-05 05:11:32.469787"]]  (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", "Donette Wiza"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Donette Wiza"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:32.474424"], ["updated_at", "2018-09-05 05:11:32.474424"]]  (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", "Penny Powlowski"], ["LIMIT", 1]] SQL (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", "Penny Powlowski"], ["name", "Brittney Turner"], ["address", "Latricia Cassin"], ["created_at", "2018-09-05 05:11:32.478839"], ["updated_at", "2018-09-05 05:11:32.478839"]]  (0.4ms) 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", "Kandice Keeling"], ["service_delivery_unit_id", 26], ["LIMIT", 1]] SQL (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", "Kandice Keeling"], ["name", "Tamra Erdman"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:11:32.483413"], ["updated_at", "2018-09-05 05:11:32.483413"]] 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", 26], ["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", "Kandice Keeling"], ["LIMIT", 1]] SQL (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", "Kandice Keeling"], ["name", "Tamra Erdman"], ["description", "Default bundle for service 'Tamra Erdman'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:11:32.488389"], ["updated_at", "2018-09-05 05:11:32.488389"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 30], ["chargeable_service_id", 12]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 29], ["LIMIT", 1]] Unpermitted parameter: :id 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 2.4ms)  (0.9ms) 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", "domonique@stammzulauf.info"], ["LIMIT", 1]] SQL (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", "Todd Lindgren"], ["last_name", "Francisco Conn"], ["email", "domonique@stammzulauf.info"], ["password_digest", "$2a$04$MFqJAZjQE27YY1sOeYxtEuoVzD.qcPUxR2c8uXfaGjcvlXJb7GvHi"], ["created_at", "2018-09-05 05:11:32.516823"], ["updated_at", "2018-09-05 05:11:32.516823"]]  (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", "Everette Bahringer"], ["LIMIT", 1]] SQL (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", "Everette Bahringer"], ["name", "Maira Weber"], ["address", "Shizue Quitzon"], ["created_at", "2018-09-05 05:11:32.521886"], ["updated_at", "2018-09-05 05:11:32.521886"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jospeh Runolfsdottir"], ["LIMIT", 1]] SQL (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", "Jospeh Runolfsdottir"], ["name", "Amira Zulauf"], ["description", "Herman Koelpin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:11:32.527371"], ["updated_at", "2018-09-05 05:11:32.527371"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Lashay Hegmann"}, "id"=>"31"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["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", 31], ["LIMIT", 1]]  (0.7ms) 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", 27], ["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", "Jospeh Runolfsdottir"], ["id", 31], ["LIMIT", 1]] SQL (0.9ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Lashay Hegmann"], ["updated_at", "2018-09-05 05:11:32.542025"], ["id", 31]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 5.5ms) Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (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", "katia_greenfelder@jacobson.ca"], ["LIMIT", 1]] SQL (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", "Linda Carroll"], ["last_name", "Adelaide Reichel"], ["email", "katia_greenfelder@jacobson.ca"], ["password_digest", "$2a$04$LF53Bt0TBL8mE5.4PwMcIeSezaKSa5.ruSBNUdm5k.54exMKI87lq"], ["created_at", "2018-09-05 05:11:32.554907"], ["updated_at", "2018-09-05 05:11:32.554907"]]  (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", "Alvin Rogahn"], ["LIMIT", 1]] SQL (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", "Alvin Rogahn"], ["name", "Gerald Hamill"], ["address", "Julissa Gislason"], ["created_at", "2018-09-05 05:11:32.559920"], ["updated_at", "2018-09-05 05:11:32.559920"]]  (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", "Stella Sanford"], ["LIMIT", 1]] SQL (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", "Stella Sanford"], ["name", "Jim Kilback"], ["description", "Miles Barrows"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:11:32.564236"], ["updated_at", "2018-09-05 05:11:32.564236"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jamar Mayert"], ["LIMIT", 1]] SQL (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", "Jamar Mayert"], ["name", "Jaime Block"], ["address", "Harriet Jacobi"], ["created_at", "2018-09-05 05:11:32.568566"], ["updated_at", "2018-09-05 05:11:32.568566"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Alec Zboncak", "description"=>"Kristina Casper", "name"=>"Bell Witting", "service_delivery_unit_id"=>"29"}, "id"=>"32"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.7ms) 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", 29], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.2ms) 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", "Alec Zboncak"], ["id", 32], ["LIMIT", 1]] SQL (1.2ms) 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", "Alec Zboncak"], ["name", "Bell Witting"], ["description", "Kristina Casper"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:11:32.581282"], ["id", 32]]  (0.7ms) 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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.28ms) Completed 200 OK in 16ms (Views: 1.6ms | ActiveRecord: 7.4ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "rolando@kuhlmanhand.us"], ["LIMIT", 1]] SQL (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 Feest"], ["last_name", "Erika Moore"], ["email", "rolando@kuhlmanhand.us"], ["password_digest", "$2a$04$LgdLqwcZzMQEbSmiJr1dLuHbod0jJjnAK32H4TE5mS4M7gSt8dxm."], ["created_at", "2018-09-05 05:11:32.596262"], ["updated_at", "2018-09-05 05:11:32.596262"]]  (0.6ms) 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", "Ling Hand"], ["LIMIT", 1]] SQL (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", "Ling Hand"], ["name", "Wai Tromp"], ["address", "Claudine Stracke"], ["created_at", "2018-09-05 05:11:32.602408"], ["updated_at", "2018-09-05 05:11:32.602408"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Verena Funk"], ["LIMIT", 1]] SQL (0.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", "Verena Funk"], ["name", "Chieko Murazik"], ["description", "Cher Larkin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:11:32.608219"], ["updated_at", "2018-09-05 05:11:32.608219"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Glenn Gutmann"], ["LIMIT", 1]] SQL (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", "Glenn Gutmann"], ["name", "Magaly Price"], ["address", "Moon Hansen"], ["created_at", "2018-09-05 05:11:32.612358"], ["updated_at", "2018-09-05 05:11:32.612358"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Elodia Douglas", "name"=>"Kizzie Bernier", "service_delivery_unit_id"=>"31"}, "id"=>"33"} 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::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.5ms) 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", 31], ["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", ""], ["id", 33], ["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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.1ms | ActiveRecord: 4.5ms)  (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", "marketta_dare@pagac.us"], ["LIMIT", 1]] SQL (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", "Mattie Considine"], ["last_name", "Dwain Ryan"], ["email", "marketta_dare@pagac.us"], ["password_digest", "$2a$04$5d.XS86DqOWsLWEapqIQ4OPyfXczwRV2ut2Zbr75pYoVwty7i7QPO"], ["created_at", "2018-09-05 05:11:32.632735"], ["updated_at", "2018-09-05 05:11:32.632735"]]  (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", "Nannie Kemmer"], ["LIMIT", 1]] SQL (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", "Nannie Kemmer"], ["name", "Marietta Borer"], ["address", "Geri Weissnat"], ["created_at", "2018-09-05 05:11:32.637450"], ["updated_at", "2018-09-05 05:11:32.637450"]]  (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", "Codi Turcotte"], ["LIMIT", 1]] SQL (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", "Codi Turcotte"], ["name", "Stacey Larkin"], ["address", "Berneice Bartoletti"], ["created_at", "2018-09-05 05:11:32.641882"], ["updated_at", "2018-09-05 05:11:32.641882"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.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", "Robbin Nicolas"], ["LIMIT", 1]] SQL (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", "Robbin Nicolas"], ["name", "Scarlet Connelly"], ["address", "Dan Dare"], ["created_at", "2018-09-05 05:11:32.648816"], ["updated_at", "2018-09-05 05:11:32.648816"]]  (0.8ms) 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", 30], ["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", 30], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) 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.57ms) Completed 200 OK in 15ms (Views: 11.3ms | ActiveRecord: 2.1ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "kandace@cronin.co.uk"], ["LIMIT", 1]] SQL (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", "Alton Conn"], ["last_name", "Amado Wunsch"], ["email", "kandace@cronin.co.uk"], ["password_digest", "$2a$04$QSZuvddCtAGckP6X8ERkuupxZzTN4I37.FyOH2A3ZxvR.cSm3d2lO"], ["created_at", "2018-09-05 05:11:32.675754"], ["updated_at", "2018-09-05 05:11:32.675754"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Veronica Harvey", "code"=>"Zoila Boehm", "name"=>"Tobie Ruecker"}} 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]]  (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", "Zoila Boehm"], ["LIMIT", 1]] SQL (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", "Zoila Boehm"], ["name", "Tobie Ruecker"], ["address", "Veronica Harvey"], ["created_at", "2018-09-05 05:11:32.685549"], ["updated_at", "2018-09-05 05:11:32.685549"]]  (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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 4.4ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (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", "nicol_mosciski@gibson.us"], ["LIMIT", 1]] SQL (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", "Daryl Rau"], ["last_name", "Nancey Waters"], ["email", "nicol_mosciski@gibson.us"], ["password_digest", "$2a$04$wvxNAOVYSbJR6fqZnIqfi./znE49KohHXCVKH0LZEWZ5NCQoiHq3K"], ["created_at", "2018-09-05 05:11:32.699730"], ["updated_at", "2018-09-05 05:11:32.699730"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Jin Zulauf", "code"=>"Jammie Conroy", "name"=>"Jacklyn Smitham"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 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", "Jammie Conroy"], ["LIMIT", 1]] SQL (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", "Jammie Conroy"], ["name", "Jacklyn Smitham"], ["address", "Jin Zulauf"], ["created_at", "2018-09-05 05:11:32.708440"], ["updated_at", "2018-09-05 05:11:32.708440"]]  (3.2ms) RELEASE 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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.56ms) Completed 200 OK in 14ms (Views: 2.5ms | ActiveRecord: 8.2ms)  (1.5ms) 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", "renae@connhintz.co.uk"], ["LIMIT", 1]] SQL (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", "Lucio Gutkowski"], ["last_name", "Vita Reichel"], ["email", "renae@connhintz.co.uk"], ["password_digest", "$2a$04$kfhMpqTE2fu4bQ5zEXH0oeOqrZCAxokYGtXDRN32ncqPTn63qfNJa"], ["created_at", "2018-09-05 05:11:32.727777"], ["updated_at", "2018-09-05 05:11:32.727777"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Tandra Grimes", "code"=>"", "name"=>"Brinda Marks"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 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", ""], ["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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 4.3ms)  (0.6ms) ROLLBACK  (0.7ms) 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", "donetta@kessler.ca"], ["LIMIT", 1]] SQL (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", "George Ernser"], ["last_name", "Roger Beatty"], ["email", "donetta@kessler.ca"], ["password_digest", "$2a$04$R8Q2qoPmqfIHy8mGtm9U6upDBsQ0cuyS3k2efE2za2VLSy.zMwKxe"], ["created_at", "2018-09-05 05:11:32.748602"], ["updated_at", "2018-09-05 05:11:32.748602"]]  (0.7ms) 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", "Kasi Yost"], ["LIMIT", 1]] SQL (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", "Kasi Yost"], ["name", "Son Lubowitz"], ["address", "Lyle Carroll"], ["created_at", "2018-09-05 05:11:32.754353"], ["updated_at", "2018-09-05 05:11:32.754353"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} 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]] 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]]  (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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Kasi Yost"], ["id", 37], ["LIMIT", 1]] SQL (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 05:11:32.764245"], ["id", 37]]  (0.8ms) 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", 34], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.4ms) Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 6.1ms) 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", 37], ["LIMIT", 1]]  (0.6ms) 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", "bernie_marvin@gibson.name"], ["LIMIT", 1]] SQL (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", "Roseanne Sauer"], ["last_name", "Marget Rogahn"], ["email", "bernie_marvin@gibson.name"], ["password_digest", "$2a$04$XxSGOtvYCXWYHWeB9uxPBu8DaBpyAa3cyS/67VtXLXMRn.TIAfcRe"], ["created_at", "2018-09-05 05:11:32.778974"], ["updated_at", "2018-09-05 05:11:32.778974"]]  (1.1ms) 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", "Monika Ferry"], ["LIMIT", 1]] SQL (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", "Monika Ferry"], ["name", "Bruno Hudson"], ["address", "Leon Rohan"], ["created_at", "2018-09-05 05:11:32.787442"], ["updated_at", "2018-09-05 05:11:32.787442"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["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", 38], ["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", "Monika Ferry"], ["id", 38], ["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", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.0ms | ActiveRecord: 4.0ms)  (0.6ms) ROLLBACK  (0.5ms) 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", "fernande_kuvalis@starkoconnell.us"], ["LIMIT", 1]] SQL (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", "Aaron Towne"], ["last_name", "Tory Schimmel"], ["email", "fernande_kuvalis@starkoconnell.us"], ["password_digest", "$2a$04$CHb2KAiyQx5AlM52kj3WWuTLO42i.BTa51jV5ws3aGcI3N1lYaYcC"], ["created_at", "2018-09-05 05:11:32.807976"], ["updated_at", "2018-09-05 05:11:32.807976"]]  (0.7ms) 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", "Jon Wilkinson"], ["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", "Marlen Schaefer"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jon Wilkinson"], ["name", "Marlen Schaefer"], ["description", "Dolorem delectus quam iusto numquam rerum. Omnis et neque sunt totam earum natus asperiores eos. Et et placeat magnam voluptas architecto sed sit. Aspernatur optio illum natus qui."], ["created_at", "2018-09-05 05:11:32.913385"], ["updated_at", "2018-09-05 05:11:32.913385"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Levi Herzog"], ["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", "Antonio Shields"], ["LIMIT", 1]] SQL (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", "Levi Herzog"], ["name", "Antonio Shields"], ["description", "Tenetur in placeat voluptates aliquam accusamus. Voluptatem rerum ut aspernatur iusto voluptas saepe. Eveniet voluptate enim labore officiis deserunt iusto et quis."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:11:32.921346"], ["updated_at", "2018-09-05 05:11:32.921346"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Eliana Hilll"], ["LIMIT", 1]] SQL (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", "Eliana Hilll"], ["name", "Nelson Luettgen"], ["description", "Myrta Veum"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:11:32.928192"], ["updated_at", "2018-09-05 05:11:32.928192"]]  (0.6ms) 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", "Clotilde O'Keefe"], ["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", "Shin Kerluke"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Clotilde O'Keefe"], ["name", "Shin Kerluke"], ["description", "Randall Emmerich"], ["created_at", "2018-09-05 05:11:32.963736"], ["updated_at", "2018-09-05 05:11:32.963736"]]  (0.5ms) 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", "Lakiesha Altenwerth"], ["LIMIT", 1]] SQL (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", "Lakiesha Altenwerth"], ["name", "Kristofer Gerlach"], ["location_type_id", 1], ["description", "Margarito Altenwerth"], ["address", "Marilyn Larkin"], ["created_at", "2018-09-05 05:11:32.970432"], ["updated_at", "2018-09-05 05:11:32.970432"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Blanca Ruecker"], ["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", "Alexandria Stoltenberg"], ["LIMIT", 1]] SQL (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", "Blanca Ruecker"], ["name", "Riva Rau"], ["description", "Noah Kuvalis"], ["serial_number", "Alexandria Stoltenberg"], ["brand", "Paul Pagac"], ["item_model", "Krystina Streich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:11:32.979674"], ["updated_at", "2018-09-05 05:11:32.979674"]]  (0.6ms) 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", "Lucrecia Effertz"], ["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", "Dreama Dietrich"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lucrecia Effertz"], ["name", "Dreama Dietrich"], ["created_at", "2018-09-05 05:11:32.989592"], ["updated_at", "2018-09-05 05:11:32.989592"]]  (0.7ms) 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", "Tawanna Harber"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tawanna Harber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:32.995920"], ["updated_at", "2018-09-05 05:11:32.995920"]]  (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", "Hallie Wilkinson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hallie Wilkinson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.001534"], ["updated_at", "2018-09-05 05:11:33.001534"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jenni Goldner"], ["LIMIT", 1]] SQL (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", "Jenni Goldner"], ["name", "Cinda Howell"], ["address", "Christel Larkin"], ["created_at", "2018-09-05 05:11:33.006164"], ["updated_at", "2018-09-05 05:11:33.006164"]]  (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", "Carin Keebler"], ["service_delivery_unit_id", 39], ["LIMIT", 1]] SQL (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", "Carin Keebler"], ["name", "Clark Murazik"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:11:33.010626"], ["updated_at", "2018-09-05 05:11:33.010626"]] 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", 39], ["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", "Carin Keebler"], ["LIMIT", 1]] SQL (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", "Carin Keebler"], ["name", "Clark Murazik"], ["description", "Default bundle for service 'Clark Murazik'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:11:33.015529"], ["updated_at", "2018-09-05 05:11:33.015529"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 34], ["chargeable_service_id", 13]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:11:33.023247"], ["updated_at", "2018-09-05 05:11:33.023247"]]  (0.5ms) 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", "Janyce Roberts"], ["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", "Antonia Kassulke"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Janyce Roberts"], ["name", "Antonia Kassulke"], ["description", "Placeat quisquam id atque qui aut velit accusantium consequatur. Iusto magnam exercitationem cumque dolores facilis autem ducimus sed. Quis provident optio et nemo perferendis excepturi qui. Similique quibusdam qui sed reprehenderit magni voluptatibus est. Molestiae aut laboriosam placeat voluptas veritatis cum."], ["created_at", "2018-09-05 05:11:33.031428"], ["updated_at", "2018-09-05 05:11:33.031428"]]  (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", "Yolanda Batz"], ["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", "Carolin Bashirian"], ["LIMIT", 1]] SQL (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", "Yolanda Batz"], ["name", "Carolin Bashirian"], ["description", "Repellendus dolor voluptas fuga quis eos provident. Soluta suscipit et in voluptas. Nesciunt enim architecto nihil et. Consequatur voluptates sunt reiciendis officia mollitia eligendi quo non. Quis possimus at facilis rerum ut excepturi fuga ad."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:11:33.036870"], ["updated_at", "2018-09-05 05:11:33.036870"]]  (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", "Leonor Wyman"], ["LIMIT", 1]] SQL (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", "Leonor Wyman"], ["name", "Chet Christiansen"], ["description", "Sanora Zemlak"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:11:33.041347"], ["updated_at", "2018-09-05 05:11:33.041347"]]  (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", "Frederica Boyer"], ["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", "Agnus Larson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Frederica Boyer"], ["name", "Agnus Larson"], ["description", "Jaymie Mertz"], ["created_at", "2018-09-05 05:11:33.047579"], ["updated_at", "2018-09-05 05:11:33.047579"]]  (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", "Loraine Dach"], ["LIMIT", 1]] SQL (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", "Loraine Dach"], ["name", "Kandis Murazik"], ["location_type_id", 2], ["description", "Alaine Bailey"], ["address", "Leonila Grady"], ["created_at", "2018-09-05 05:11:33.051951"], ["updated_at", "2018-09-05 05:11:33.051951"]]  (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", "Alina Reynolds"], ["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", "Britt Robel"], ["LIMIT", 1]] SQL (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", "Alina Reynolds"], ["name", "Cleta Fadel"], ["description", "Wilfredo Gleichner"], ["serial_number", "Britt Robel"], ["brand", "Dann Hirthe"], ["item_model", "Chastity DuBuque"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:11:33.057518"], ["updated_at", "2018-09-05 05:11:33.057518"]]  (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", "Cheyenne Franecki"], ["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", "Johnathon Will"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cheyenne Franecki"], ["name", "Johnathon Will"], ["created_at", "2018-09-05 05:11:33.064019"], ["updated_at", "2018-09-05 05:11:33.064019"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (4.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lois Okuneva"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lois Okuneva"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.072578"], ["updated_at", "2018-09-05 05:11:33.072578"]]  (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", "Danuta Berge"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Danuta Berge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.077694"], ["updated_at", "2018-09-05 05:11:33.077694"]]  (0.4ms) 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", "Angelyn Jakubowski"], ["LIMIT", 1]] SQL (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", "Angelyn Jakubowski"], ["name", "Tracy Schamberger"], ["address", "Mauricio Hilpert"], ["created_at", "2018-09-05 05:11:33.082199"], ["updated_at", "2018-09-05 05:11:33.082199"]]  (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", "Latrice Orn"], ["service_delivery_unit_id", 40], ["LIMIT", 1]] SQL (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", "Latrice Orn"], ["name", "Hortense Emmerich"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:11:33.087160"], ["updated_at", "2018-09-05 05:11:33.087160"]] 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", 40], ["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", "Latrice Orn"], ["LIMIT", 1]] SQL (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", "Latrice Orn"], ["name", "Hortense Emmerich"], ["description", "Default bundle for service 'Hortense Emmerich'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:11:33.092208"], ["updated_at", "2018-09-05 05:11:33.092208"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 35], ["chargeable_service_id", 14]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:11:33.100306"], ["updated_at", "2018-09-05 05:11:33.100306"]]  (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", "Jonie Hilpert"], ["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", "Maryland Hirthe"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jonie Hilpert"], ["name", "Maryland Hirthe"], ["description", "Qui ut iste maxime et facere. Et aliquid modi quis qui sed id quia. Quos et voluptas sit rerum qui accusamus in rem. Nihil veritatis doloremque nostrum molestias distinctio impedit."], ["created_at", "2018-09-05 05:11:33.108340"], ["updated_at", "2018-09-05 05:11:33.108340"]]  (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", "Kenna Swift"], ["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", "Ross Lubowitz"], ["LIMIT", 1]] SQL (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", "Kenna Swift"], ["name", "Ross Lubowitz"], ["description", "Voluptatem asperiores aspernatur repellat veritatis voluptatem et praesentium velit. Necessitatibus totam nihil optio blanditiis omnis impedit et ipsa. Et modi et culpa ut facere ut. Voluptatum at repellendus laboriosam ea sequi aut sint."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:11:33.113844"], ["updated_at", "2018-09-05 05:11:33.113844"]]  (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", "Conception Ernser"], ["LIMIT", 1]] SQL (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", "Conception Ernser"], ["name", "Lu Block"], ["description", "Maple Lubowitz"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:11:33.118561"], ["updated_at", "2018-09-05 05:11:33.118561"]]  (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", "Velva Kunze"], ["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", "Darius Collier"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Velva Kunze"], ["name", "Darius Collier"], ["description", "Catrice Pfeffer"], ["created_at", "2018-09-05 05:11:33.124948"], ["updated_at", "2018-09-05 05:11:33.124948"]]  (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", "Blanche Spencer"], ["LIMIT", 1]] SQL (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", "Blanche Spencer"], ["name", "Katharyn Bosco"], ["location_type_id", 3], ["description", "Briana Parisian"], ["address", "Jamaal Mayer"], ["created_at", "2018-09-05 05:11:33.129267"], ["updated_at", "2018-09-05 05:11:33.129267"]]  (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", "Sandy Hodkiewicz"], ["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", "Bonny Graham"], ["LIMIT", 1]] SQL (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", "Sandy Hodkiewicz"], ["name", "Florance Watsica"], ["description", "Arlette Cremin"], ["serial_number", "Bonny Graham"], ["brand", "Lanie Harvey"], ["item_model", "Lorri Stokes"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:11:33.135042"], ["updated_at", "2018-09-05 05:11:33.135042"]]  (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", "Alia Bahringer"], ["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", "Krishna Rath"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alia Bahringer"], ["name", "Krishna Rath"], ["created_at", "2018-09-05 05:11:33.141684"], ["updated_at", "2018-09-05 05:11:33.141684"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Enda Littel"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Enda Littel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.147350"], ["updated_at", "2018-09-05 05:11:33.147350"]]  (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", "Loralee Brakus"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Loralee Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.152589"], ["updated_at", "2018-09-05 05:11:33.152589"]]  (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", "Karon Daniel"], ["LIMIT", 1]] SQL (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", "Karon Daniel"], ["name", "Yevette Koepp"], ["address", "Miranda Oga"], ["created_at", "2018-09-05 05:11:33.157912"], ["updated_at", "2018-09-05 05:11:33.157912"]]  (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", "Inocencia Weber"], ["service_delivery_unit_id", 41], ["LIMIT", 1]] SQL (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", "Inocencia Weber"], ["name", "Vickey Dickinson"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:11:33.162842"], ["updated_at", "2018-09-05 05:11:33.162842"]] 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", 41], ["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", "Inocencia Weber"], ["LIMIT", 1]] SQL (0.7ms) 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", "Inocencia Weber"], ["name", "Vickey Dickinson"], ["description", "Default bundle for service 'Vickey Dickinson'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:11:33.167967"], ["updated_at", "2018-09-05 05:11:33.167967"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 36], ["chargeable_service_id", 15]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (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", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:11:33.174366"], ["updated_at", "2018-09-05 05:11:33.174366"]]  (0.6ms) 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", 36], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.8ms) 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", 13], ["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", 1], ["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", 14], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.2ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 2], ["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", 15], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (13.84ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.4ms) Completed 200 OK in 29ms (Views: 1.5ms | ActiveRecord: 7.8ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (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", "shondra@miller.com"], ["LIMIT", 1]] SQL (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", "Britney Jakubowski"], ["last_name", "Armida Homenick"], ["email", "shondra@miller.com"], ["password_digest", "$2a$04$5OrwXSmS/vh5NCfq0Sokk.TbWm6vb6esSueQqTaRU3NpbNLgF9XZu"], ["created_at", "2018-09-05 05:11:33.215648"], ["updated_at", "2018-09-05 05:11:33.215648"]]  (0.5ms) 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", "Lezlie Kunze"], ["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", "Michal Gibson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lezlie Kunze"], ["name", "Michal Gibson"], ["description", "Facilis laboriosam quidem ipsum aut cumque eum occaecati. Distinctio sint omnis pariatur sit omnis qui magnam. Odit hic omnis qui dolores ut ut."], ["created_at", "2018-09-05 05:11:33.223498"], ["updated_at", "2018-09-05 05:11:33.223498"]]  (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", "Jackie Kessler"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Edyth Ullrich"], ["LIMIT", 1]] SQL (1.4ms) 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", "Jackie Kessler"], ["name", "Edyth Ullrich"], ["description", "Eum inventore neque quaerat qui. Et eaque sit natus delectus voluptas. Omnis laboriosam exercitationem voluptatum voluptatibus dolorem ipsa soluta dolores."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:11:33.231908"], ["updated_at", "2018-09-05 05:11:33.231908"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Marty Spinka"], ["LIMIT", 1]] SQL (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", "Marty Spinka"], ["name", "Mila Hamill"], ["description", "Trina Keebler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:11:33.240020"], ["updated_at", "2018-09-05 05:11:33.240020"]]  (0.5ms) 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", "Esmeralda Muller"], ["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", "Deon Beatty"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Esmeralda Muller"], ["name", "Deon Beatty"], ["description", "Kenny Denesik"], ["created_at", "2018-09-05 05:11:33.248588"], ["updated_at", "2018-09-05 05:11:33.248588"]]  (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", "Eura Klocko"], ["LIMIT", 1]] SQL (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", "Eura Klocko"], ["name", "Lashawna Marquardt"], ["location_type_id", 4], ["description", "Eboni Pacocha"], ["address", "Randolph Dickinson"], ["created_at", "2018-09-05 05:11:33.254740"], ["updated_at", "2018-09-05 05:11:33.254740"]]  (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", "Lashell Willms"], ["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", "Salena Hilpert"], ["LIMIT", 1]] SQL (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", "Lashell Willms"], ["name", "Evelina Kulas"], ["description", "Jeniffer Conroy"], ["serial_number", "Salena Hilpert"], ["brand", "Phuong Will"], ["item_model", "Felicidad Toy"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:11:33.261370"], ["updated_at", "2018-09-05 05:11:33.261370"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Chia Franecki"], ["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", "Nancey Hirthe"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chia Franecki"], ["name", "Nancey Hirthe"], ["created_at", "2018-09-05 05:11:33.269450"], ["updated_at", "2018-09-05 05:11:33.269450"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Colette Medhurst"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Colette Medhurst"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.275646"], ["updated_at", "2018-09-05 05:11:33.275646"]]  (0.7ms) 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", "Sydney Schmeler"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sydney Schmeler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.281624"], ["updated_at", "2018-09-05 05:11:33.281624"]]  (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", "Willa Hilpert"], ["LIMIT", 1]] SQL (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", "Willa Hilpert"], ["name", "Concetta Leffler"], ["address", "Lavenia Schultz"], ["created_at", "2018-09-05 05:11:33.286943"], ["updated_at", "2018-09-05 05:11:33.286943"]]  (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", "Sang Deckow"], ["service_delivery_unit_id", 42], ["LIMIT", 1]] SQL (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", "Sang Deckow"], ["name", "Celia Hilll"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:11:33.293010"], ["updated_at", "2018-09-05 05:11:33.293010"]] 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", 42], ["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", "Sang Deckow"], ["LIMIT", 1]] SQL (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", "Sang Deckow"], ["name", "Celia Hilll"], ["description", "Default bundle for service 'Celia Hilll'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:11:33.299096"], ["updated_at", "2018-09-05 05:11:33.299096"]] SQL (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 37], ["chargeable_service_id", 16]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 SQL (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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:11:33.308464"], ["updated_at", "2018-09-05 05:11:33.308464"]]  (0.7ms) 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", "Herlinda Gerlach"], ["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", "Kacie Murray"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Herlinda Gerlach"], ["name", "Kacie Murray"], ["description", "Aut impedit fuga dolores quaerat. Ea libero nihil aliquid quia fugit rerum. Sed architecto quisquam dignissimos totam et repellat omnis."], ["created_at", "2018-09-05 05:11:33.318141"], ["updated_at", "2018-09-05 05:11:33.318141"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Thomas Wolf"], ["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", "Guillermo Ziemann"], ["LIMIT", 1]] SQL (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", "Thomas Wolf"], ["name", "Guillermo Ziemann"], ["description", "Qui sed et ut maxime qui eius est. Voluptatem quibusdam expedita quia sit velit. Veniam labore rerum saepe eaque aspernatur. Modi et quaerat aut corrupti amet quia."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:11:33.324555"], ["updated_at", "2018-09-05 05:11:33.324555"]]  (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", "Cary Carter"], ["LIMIT", 1]] SQL (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", "Cary Carter"], ["name", "Ha Feil"], ["description", "Homer Rempel"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:11:33.330269"], ["updated_at", "2018-09-05 05:11:33.330269"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Yvone Mertz"], ["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", "Ula Armstrong"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yvone Mertz"], ["name", "Ula Armstrong"], ["description", "Sheree Sauer"], ["created_at", "2018-09-05 05:11:33.337969"], ["updated_at", "2018-09-05 05:11:33.337969"]]  (0.6ms) 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", "Carlo Ritchie"], ["LIMIT", 1]] SQL (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", "Carlo Ritchie"], ["name", "Ivette Ruecker"], ["location_type_id", 5], ["description", "Vita Quitzon"], ["address", "Monika Dicki"], ["created_at", "2018-09-05 05:11:33.342950"], ["updated_at", "2018-09-05 05:11:33.342950"]]  (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", "Marisol Murazik"], ["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", "Karena Wyman"], ["LIMIT", 1]] SQL (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", "Marisol Murazik"], ["name", "Hsiu Wilkinson"], ["description", "Karoline Waelchi"], ["serial_number", "Karena Wyman"], ["brand", "Jenell Tremblay"], ["item_model", "Soledad Schaefer"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:11:33.349976"], ["updated_at", "2018-09-05 05:11:33.349976"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Clyde Gerhold"], ["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", "Edwin Keebler"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Clyde Gerhold"], ["name", "Edwin Keebler"], ["created_at", "2018-09-05 05:11:33.357703"], ["updated_at", "2018-09-05 05:11:33.357703"]]  (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", "Sharon Gibson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sharon Gibson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.363718"], ["updated_at", "2018-09-05 05:11:33.363718"]]  (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", "Justina Johns"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Justina Johns"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.369840"], ["updated_at", "2018-09-05 05:11:33.369840"]]  (1.1ms) 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", "Stewart Parker"], ["LIMIT", 1]] SQL (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", "Stewart Parker"], ["name", "Lora Roob"], ["address", "Kasha Sporer"], ["created_at", "2018-09-05 05:11:33.375008"], ["updated_at", "2018-09-05 05:11:33.375008"]]  (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", "Tiffanie Konopelski"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] SQL (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", "Tiffanie Konopelski"], ["name", "Phillip Jacobs"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:11:33.380622"], ["updated_at", "2018-09-05 05:11:33.380622"]] 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", 43], ["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", "Tiffanie Konopelski"], ["LIMIT", 1]] SQL (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", "Tiffanie Konopelski"], ["name", "Phillip Jacobs"], ["description", "Default bundle for service 'Phillip Jacobs'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:11:33.386486"], ["updated_at", "2018-09-05 05:11:33.386486"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 38], ["chargeable_service_id", 17]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:11:33.394807"], ["updated_at", "2018-09-05 05:11:33.394807"]]  (0.5ms) 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", "Brinda Herman"], ["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", "Emery Nikolaus"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Brinda Herman"], ["name", "Emery Nikolaus"], ["description", "Cum ut numquam adipisci esse. Enim animi perferendis esse labore. Quaerat omnis ea sed deleniti rem corrupti."], ["created_at", "2018-09-05 05:11:33.404905"], ["updated_at", "2018-09-05 05:11:33.404905"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Ebony Senger"], ["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", "Ardell Mann"], ["LIMIT", 1]] SQL (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", "Ebony Senger"], ["name", "Ardell Mann"], ["description", "Iste cupiditate error ratione aliquid ut. Voluptate corporis labore eum sunt pariatur vitae. Et eveniet id repellat quam molestiae iste. Minus eum veritatis ratione velit dolorum."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:11:33.413596"], ["updated_at", "2018-09-05 05:11:33.413596"]]  (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", "Cris Carter"], ["LIMIT", 1]] SQL (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", "Cris Carter"], ["name", "Basil Braun"], ["description", "Lacresha Adams"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:11:33.419518"], ["updated_at", "2018-09-05 05:11:33.419518"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Stacee Klocko"], ["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", "Pei Kihn"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Stacee Klocko"], ["name", "Pei Kihn"], ["description", "Lin Watsica"], ["created_at", "2018-09-05 05:11:33.434237"], ["updated_at", "2018-09-05 05:11:33.434237"]]  (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", "Laverna Raynor"], ["LIMIT", 1]] SQL (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", "Laverna Raynor"], ["name", "Veola Stehr"], ["location_type_id", 6], ["description", "Jeane Williamson"], ["address", "Delsie Hammes"], ["created_at", "2018-09-05 05:11:33.438751"], ["updated_at", "2018-09-05 05:11:33.438751"]]  (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", "Ola Metz"], ["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", "Maricruz Lockman"], ["LIMIT", 1]] SQL (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", "Ola Metz"], ["name", "Oswaldo McLaughlin"], ["description", "Terri Parker"], ["serial_number", "Maricruz Lockman"], ["brand", "August Denesik"], ["item_model", "Shirley Spinka"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:11:33.444612"], ["updated_at", "2018-09-05 05:11:33.444612"]]  (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", "Brady Hartmann"], ["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", "Winnie Eichmann"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Brady Hartmann"], ["name", "Winnie Eichmann"], ["created_at", "2018-09-05 05:11:33.450840"], ["updated_at", "2018-09-05 05:11:33.450840"]]  (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", "Darell Streich"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Darell Streich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.455350"], ["updated_at", "2018-09-05 05:11:33.455350"]]  (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", "Tyisha Rogahn"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tyisha Rogahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.459808"], ["updated_at", "2018-09-05 05:11:33.459808"]]  (0.5ms) 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", "Heath Collier"], ["LIMIT", 1]] SQL (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", "Heath Collier"], ["name", "Rona Rolfson"], ["address", "Osvaldo Halvorson"], ["created_at", "2018-09-05 05:11:33.464589"], ["updated_at", "2018-09-05 05:11:33.464589"]]  (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", "Rolf Pagac"], ["service_delivery_unit_id", 44], ["LIMIT", 1]] SQL (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", "Rolf Pagac"], ["name", "Sam Dietrich"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:11:33.469149"], ["updated_at", "2018-09-05 05:11:33.469149"]] 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", 44], ["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", "Rolf Pagac"], ["LIMIT", 1]] SQL (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", "Rolf Pagac"], ["name", "Sam Dietrich"], ["description", "Default bundle for service 'Sam Dietrich'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:11:33.473725"], ["updated_at", "2018-09-05 05:11:33.473725"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 39], ["chargeable_service_id", 18]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:11:33.480050"], ["updated_at", "2018-09-05 05:11:33.480050"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] 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::Rate::ServiceRate Load (0.8ms) 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", 16], ["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", 4], ["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", 42], ["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", 17], ["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", 5], ["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", 43], ["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", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (15.81ms) Completed 200 OK in 30ms (Views: 10.7ms | ActiveRecord: 9.3ms)  (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", "starr@handtromp.info"], ["LIMIT", 1]] SQL (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", "Roosevelt Braun"], ["last_name", "Jason Funk"], ["email", "starr@handtromp.info"], ["password_digest", "$2a$04$aDqqklo9req0sAf8IT.o6e5MwoobKdvJ5UkjaDvnWuyQ9K8kOsKni"], ["created_at", "2018-09-05 05:11:33.521846"], ["updated_at", "2018-09-05 05:11:33.521846"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Josephine Stracke"], ["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", "Alpha Kutch"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Josephine Stracke"], ["name", "Alpha Kutch"], ["created_at", "2018-09-05 05:11:33.530424"], ["updated_at", "2018-09-05 05:11:33.530424"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 38], ["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", 38], ["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.22ms) Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 2.2ms)  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (1.2ms) 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", "bert@bauch.co.uk"], ["LIMIT", 1]] SQL (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", "Therese Schowalter"], ["last_name", "Jude Boehm"], ["email", "bert@bauch.co.uk"], ["password_digest", "$2a$04$Rlw5qH5aVdHthj6XePYx9OzNRQtIBd1vMlC2Hyl47PEiV4XvGwrCu"], ["created_at", "2018-09-05 05:11:33.553909"], ["updated_at", "2018-09-05 05:11:33.553909"]]  (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", "Valery Bogan"], ["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", "Jann Beahan"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Valery Bogan"], ["name", "Jann Beahan"], ["created_at", "2018-09-05 05:11:33.560847"], ["updated_at", "2018-09-05 05:11:33.560847"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["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", 21], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.32ms) Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 2.8ms)  (0.7ms) 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", "tamesha@sporerkuhn.info"], ["LIMIT", 1]] SQL (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", "Magdalena Mohr"], ["last_name", "Jamaal Wyman"], ["email", "tamesha@sporerkuhn.info"], ["password_digest", "$2a$04$POdc4oakWE/arNW/Kvwr.e5aztMwJ06bu4FpA3DW/SfONknGhxbcS"], ["created_at", "2018-09-05 05:11:33.578165"], ["updated_at", "2018-09-05 05:11:33.578165"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Darrel Nader", "name"=>"Daysi Carroll"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["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 LIMIT $2 [["code", "Darrel Nader"], ["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", "Daysi Carroll"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Darrel Nader"], ["name", "Daysi Carroll"], ["created_at", "2018-09-05 05:11:33.590509"], ["updated_at", "2018-09-05 05:11:33.590509"]]  (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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 201 Created in 11ms (Views: 2.1ms | ActiveRecord: 5.2ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (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", "reita@cummerata.info"], ["LIMIT", 1]] SQL (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", "Simonne Kihn"], ["last_name", "Kara Nitzsche"], ["email", "reita@cummerata.info"], ["password_digest", "$2a$04$BHy5x7p/MWMyJDzgzGyvI.Q7ekn2B3JiYwBoB5P5UrnPblNkbQQrS"], ["created_at", "2018-09-05 05:11:33.603652"], ["updated_at", "2018-09-05 05:11:33.603652"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Genevive Lueilwitz", "name"=>"Jaymie Von"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["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 LIMIT $2 [["code", "Genevive Lueilwitz"], ["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", "Jaymie Von"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Genevive Lueilwitz"], ["name", "Jaymie Von"], ["created_at", "2018-09-05 05:11:33.611587"], ["updated_at", "2018-09-05 05:11:33.611587"]]  (0.5ms) 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 201 Created in 9ms (Views: 1.8ms | ActiveRecord: 4.6ms) 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.8ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "debora@fadel.info"], ["LIMIT", 1]] SQL (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", "Fredericka Graham"], ["last_name", "Melva Wiegand"], ["email", "debora@fadel.info"], ["password_digest", "$2a$04$IIQD0h2Z3qpPqTVGcL7x9ePB2LrZYmv1wbWRXvt/1kmXwShwuJebO"], ["created_at", "2018-09-05 05:11:33.629198"], ["updated_at", "2018-09-05 05:11:33.629198"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Joanna Jewess"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["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 LIMIT $2 [["code", ""], ["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", "Joanna Jewess"], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.0ms | ActiveRecord: 4.5ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (1.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", "marivel.deckow@gutkowski.name"], ["LIMIT", 1]] SQL (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", "Ozie Okuneva"], ["last_name", "Audrey Dooley"], ["email", "marivel.deckow@gutkowski.name"], ["password_digest", "$2a$04$C1FjE4D04XXOy0yzdkwlGe1WubBILOoqwcOUBKTnVCKXxEJbgcA5i"], ["created_at", "2018-09-05 05:11:33.650884"], ["updated_at", "2018-09-05 05:11:33.650884"]]  (0.9ms) 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", "Tammie Lind"], ["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", "Bettyann Runolfsson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tammie Lind"], ["name", "Bettyann Runolfsson"], ["created_at", "2018-09-05 05:11:33.658272"], ["updated_at", "2018-09-05 05:11:33.658272"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Jae Mann"}, "id"=>"24"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["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", 24], ["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", "Tammie Lind"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.4ms) 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", "Jae Mann"], ["id", 24], ["LIMIT", 1]] SQL (1.0ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Jae Mann"], ["updated_at", "2018-09-05 05:11:33.668532"], ["id", 24]]  (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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 6.2ms) 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", 24], ["LIMIT", 1]]  (0.5ms) 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", "magda_ritchie@mcclure.info"], ["LIMIT", 1]] SQL (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", "Benedict Cruickshank"], ["last_name", "Rosalina Rowe"], ["email", "magda_ritchie@mcclure.info"], ["password_digest", "$2a$04$RsPPltZz/LRPncRU.dqFa.kIyC9aLm9IsrzMoaUbj5jyU17MjiOqa"], ["created_at", "2018-09-05 05:11:33.681520"], ["updated_at", "2018-09-05 05:11:33.681520"]]  (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", "Shirley Spinka"], ["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", "Nereida Swaniawski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shirley Spinka"], ["name", "Nereida Swaniawski"], ["created_at", "2018-09-05 05:11:33.687397"], ["updated_at", "2018-09-05 05:11:33.687397"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"January Koss", "name"=>"Marilyn Cole"}, "id"=>"25"} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.0ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.7ms) 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 AND ("mks_rate_service_types"."id" != $2) LIMIT $3 [["code", "January Koss"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.4ms) 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", "Marilyn Cole"], ["id", 25], ["LIMIT", 1]] SQL (1.2ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "January Koss"], ["name", "Marilyn Cole"], ["updated_at", "2018-09-05 05:11:33.702677"], ["id", 25]]  (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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 16ms (Views: 1.4ms | ActiveRecord: 8.7ms)  (1.0ms) 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", "florine.oga@johnson.biz"], ["LIMIT", 1]] SQL (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", "Alina Russel"], ["last_name", "Bobbye Parisian"], ["email", "florine.oga@johnson.biz"], ["password_digest", "$2a$04$sHpSsI3kH748e/fFpHkFEet5xu/eUTkYhD7uZRxLeD0I1xxjz1qLe"], ["created_at", "2018-09-05 05:11:33.716661"], ["updated_at", "2018-09-05 05:11:33.716661"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Kathleen Predovic"], ["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", "Theresia Wisozk"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kathleen Predovic"], ["name", "Theresia Wisozk"], ["created_at", "2018-09-05 05:11:33.726492"], ["updated_at", "2018-09-05 05:11:33.726492"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Billie Anderson"}, "id"=>"26"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["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", 26], ["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", ""], ["id", 26], ["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", "Billie Anderson"], ["id", 26], ["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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.09ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 5.7ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (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", "eldora@bernhardemmerich.biz"], ["LIMIT", 1]] SQL (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", "George Durgan"], ["last_name", "Josefina Murray"], ["email", "eldora@bernhardemmerich.biz"], ["password_digest", "$2a$04$Np4md11hO6UyfGRBvAcYHednuc.ugYrrRAdKr7upH9CfxaTWkfJLW"], ["created_at", "2018-09-05 05:11:33.752281"], ["updated_at", "2018-09-05 05:11:33.752281"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Delinda Dietrich"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delinda Dietrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.758908"], ["updated_at", "2018-09-05 05:11:33.758908"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Lisandra Swift"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lisandra Swift"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.768925"], ["updated_at", "2018-09-05 05:11:33.768925"]]  (0.5ms) 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", "Bernardine Wehner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bernardine Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.773591"], ["updated_at", "2018-09-05 05:11:33.773591"]]  (0.5ms) 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", 46], ["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", 46], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.98ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 2.1ms)  (0.8ms) ROLLBACK  (0.5ms) 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", "Bettina Armstrong"], ["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", "Beulah Schmitt"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bettina Armstrong"], ["name", "Beulah Schmitt"], ["created_at", "2018-09-05 05:11:33.788632"], ["updated_at", "2018-09-05 05:11:33.788632"]]  (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", "Setsuko Doyle"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Setsuko Doyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.793395"], ["updated_at", "2018-09-05 05:11:33.793395"]]  (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", "Isadora Leannon"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Isadora Leannon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.797864"], ["updated_at", "2018-09-05 05:11:33.797864"]]  (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", "Floyd Flatley"], ["LIMIT", 1]] SQL (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", "Floyd Flatley"], ["name", "Eryn Glover"], ["address", "Evita Carroll"], ["created_at", "2018-09-05 05:11:33.802130"], ["updated_at", "2018-09-05 05:11:33.802130"]]  (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", "Glenn Metz"], ["service_delivery_unit_id", 45], ["LIMIT", 1]] SQL (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", "Glenn Metz"], ["name", "Willian Kilback"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:11:33.806814"], ["updated_at", "2018-09-05 05:11:33.806814"]] 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", 45], ["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", "Glenn Metz"], ["LIMIT", 1]] SQL (1.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", "Glenn Metz"], ["name", "Willian Kilback"], ["description", "Default bundle for service 'Willian Kilback'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:11:33.813336"], ["updated_at", "2018-09-05 05:11:33.813336"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 40], ["chargeable_service_id", 19]]  (0.5ms) 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"."id" != $2) AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Glenn Metz"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) 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", "Mercy McDermott"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (9.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tierra Keeling"], ["LIMIT", 1]] SQL (2.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mercy McDermott"], ["name", "Tierra Keeling"], ["created_at", "2018-09-05 05:11:33.839021"], ["updated_at", "2018-09-05 05:11:33.839021"]]  (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", "Mason Kulas"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mason Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.846142"], ["updated_at", "2018-09-05 05:11:33.846142"]]  (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", "Loura Nolan"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Loura Nolan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.852128"], ["updated_at", "2018-09-05 05:11:33.852128"]]  (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", "Dian Kshlerin"], ["LIMIT", 1]] SQL (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", "Dian Kshlerin"], ["name", "Christian Berge"], ["address", "Rosalia Stanton"], ["created_at", "2018-09-05 05:11:33.856746"], ["updated_at", "2018-09-05 05:11:33.856746"]]  (0.4ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Zoe Blick"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Hiram Kuphal"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Zoe Blick"], ["name", "Hiram Kuphal"], ["created_at", "2018-09-05 05:11:33.866803"], ["updated_at", "2018-09-05 05:11:33.866803"]]  (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", "Jame Corkery"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jame Corkery"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.871265"], ["updated_at", "2018-09-05 05:11:33.871265"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Freddie Gibson"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Freddie Gibson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.875525"], ["updated_at", "2018-09-05 05:11:33.875525"]]  (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", "Malcom Steuber"], ["LIMIT", 1]] SQL (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", "Malcom Steuber"], ["name", "Elvia Ankunding"], ["address", "Melaine Upton"], ["created_at", "2018-09-05 05:11:33.880195"], ["updated_at", "2018-09-05 05:11:33.880195"]]  (0.5ms) 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", "Nevada Nicolas"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (1.1ms) 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", "Lindy Mayert"], ["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", "Violet Hoeger"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lindy Mayert"], ["name", "Violet Hoeger"], ["created_at", "2018-09-05 05:11:33.892999"], ["updated_at", "2018-09-05 05:11:33.892999"]]  (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", "Sophie Breitenberg"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sophie Breitenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.897687"], ["updated_at", "2018-09-05 05:11:33.897687"]]  (1.4ms) 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", "Felicia Streich"], ["LIMIT", 1]] SQL (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", "Felicia Streich"], ["name", "Shea Marks"], ["address", "Dionna Smith"], ["created_at", "2018-09-05 05:11:33.905455"], ["updated_at", "2018-09-05 05:11:33.905455"]]  (1.1ms) 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", "Hope Hermiston"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "Chaya Purdy"], ["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", "Karlene Funk"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Chaya Purdy"], ["name", "Karlene Funk"], ["created_at", "2018-09-05 05:11:33.918854"], ["updated_at", "2018-09-05 05:11:33.918854"]]  (0.9ms) 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", "Cleora Walker"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cleora Walker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.924789"], ["updated_at", "2018-09-05 05:11:33.924789"]]  (0.7ms) 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", "Mora Wunsch"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mora Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.932099"], ["updated_at", "2018-09-05 05:11:33.932099"]]  (0.6ms) 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" IS NULL LIMIT $2 [["code", "Garrett Hackett"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Harry Pfeffer"], ["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", "Myles Auer"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Harry Pfeffer"], ["name", "Myles Auer"], ["created_at", "2018-09-05 05:11:33.945241"], ["updated_at", "2018-09-05 05:11:33.945241"]]  (0.6ms) 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", "Kittie Schmitt"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kittie Schmitt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.952091"], ["updated_at", "2018-09-05 05:11:33.952091"]]  (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", "Elijah Ledner"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elijah Ledner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.957280"], ["updated_at", "2018-09-05 05:11:33.957280"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Naida Haag"], ["LIMIT", 1]] SQL (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", "Naida Haag"], ["name", "Prudence Hoeger"], ["address", "Arletha Bogisich"], ["created_at", "2018-09-05 05:11:33.961567"], ["updated_at", "2018-09-05 05:11:33.961567"]]  (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", "Argelia Yost"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] SQL (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", "Argelia Yost"], ["name", "Romana Gerhold"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:11:33.966100"], ["updated_at", "2018-09-05 05:11:33.966100"]] 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", 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", "Argelia Yost"], ["LIMIT", 1]] SQL (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", "Argelia Yost"], ["name", "Romana Gerhold"], ["description", "Default bundle for service 'Romana Gerhold'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:11:33.971143"], ["updated_at", "2018-09-05 05:11:33.971143"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 41], ["chargeable_service_id", 20]]  (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", "Dwain Gutmann"], ["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", "Jame Kilback"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dwain Gutmann"], ["name", "Jame Kilback"], ["created_at", "2018-09-05 05:11:33.980219"], ["updated_at", "2018-09-05 05:11:33.980219"]]  (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", "Kyoko Little"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kyoko Little"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.984503"], ["updated_at", "2018-09-05 05:11:33.984503"]]  (0.4ms) 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", "Scottie Hessel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Scottie Hessel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:33.988806"], ["updated_at", "2018-09-05 05:11:33.988806"]]  (0.5ms) 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", "Argelia Yost"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (0.6ms) 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", "Amalia Fritsch"], ["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", "Rod Dicki"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Amalia Fritsch"], ["name", "Rod Dicki"], ["created_at", "2018-09-05 05:11:34.000770"], ["updated_at", "2018-09-05 05:11:34.000770"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Gisela Deckow"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gisela Deckow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.005517"], ["updated_at", "2018-09-05 05:11:34.005517"]]  (0.4ms) 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", "Avis Hilpert"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Avis Hilpert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.009822"], ["updated_at", "2018-09-05 05:11:34.009822"]]  (0.8ms) 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", "Alicia Bode"], ["LIMIT", 1]] SQL (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", "Alicia Bode"], ["name", "Enoch Wiza"], ["address", "Julian Bechtelar"], ["created_at", "2018-09-05 05:11:34.016784"], ["updated_at", "2018-09-05 05:11:34.016784"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Nichelle Jakubowski"], ["service_delivery_unit_id", 50], ["LIMIT", 1]] SQL (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", "Nichelle Jakubowski"], ["name", "Delphia Rolfson"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:11:34.023306"], ["updated_at", "2018-09-05 05:11:34.023306"]] 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", "Nichelle Jakubowski"], ["LIMIT", 1]] SQL (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", "Nichelle Jakubowski"], ["name", "Delphia Rolfson"], ["description", "Default bundle for service 'Delphia Rolfson'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:11:34.028255"], ["updated_at", "2018-09-05 05:11:34.028255"]] SQL (2.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 42], ["chargeable_service_id", 21]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["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", 42]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (1.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "calandra_mcclure@lowekoelpin.info"], ["LIMIT", 1]] SQL (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", "Hyman Herzog"], ["last_name", "Dallas Gleason"], ["email", "calandra_mcclure@lowekoelpin.info"], ["password_digest", "$2a$04$EhSeRVfNpWYQbkFczP7e/OSfWLyACUCRUGV1NCysIiDcCJ0bNYGkK"], ["created_at", "2018-09-05 05:11:34.064724"], ["updated_at", "2018-09-05 05:11:34.064724"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (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", "mirta.runolfsdottir@leannonrice.us"], ["LIMIT", 1]] SQL (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", "Kori Fritsch"], ["last_name", "Miles Rutherford"], ["email", "mirta.runolfsdottir@leannonrice.us"], ["password_digest", "$2a$04$JyZpa1E/waRsbxEqY6s68.WGE5FeBlTkIVlTaenzDolPAzY80DVGq"], ["created_at", "2018-09-05 05:11:34.078189"], ["updated_at", "2018-09-05 05:11:34.078189"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Lynetta Gusikowski"], ["LIMIT", 1]] SQL (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", "Lynetta Gusikowski"], ["authorized_by", "Leslie Schmitt"], ["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", 47], ["approved_by_id", 48], ["created_at", "2018-09-05 05:11:34.084744"], ["updated_at", "2018-09-05 05:11:34.084744"]]  (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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Lynetta Gusikowski"], ["id", 1], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "nenita_funk@strosin.co.uk"], ["LIMIT", 1]] SQL (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", "Kaci Kihn"], ["last_name", "Pauletta Fahey"], ["email", "nenita_funk@strosin.co.uk"], ["password_digest", "$2a$04$im2bkj4s5p.Uj4mVIwik5.nR8m5F872zHeYg.FMgyMtQ3aaMykmbm"], ["created_at", "2018-09-05 05:11:34.098538"], ["updated_at", "2018-09-05 05:11:34.098538"]]  (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", "yessenia.stanton@roberts.biz"], ["LIMIT", 1]] SQL (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", "Mose Abbott"], ["last_name", "Ward Schaden"], ["email", "yessenia.stanton@roberts.biz"], ["password_digest", "$2a$04$g0QAeRXp9Xo57/Dj8.18aOY01Q0c/Cu3R0lpI4V/ndI/kpczr0GYG"], ["created_at", "2018-09-05 05:11:34.105168"], ["updated_at", "2018-09-05 05:11:34.105168"]]  (0.6ms) 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" = $1 LIMIT $2 [["reference_number", "Luann Trantow"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.0ms) BEGIN  (0.9ms) 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", "elizebeth_hintz@doylehirthe.com"], ["LIMIT", 1]] SQL (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", "Xzbdulia Murphy"], ["last_name", "Austin Schiller"], ["email", "elizebeth_hintz@doylehirthe.com"], ["password_digest", "$2a$04$zfW6eyC6iNfitm6HaLC6QukhaPBNF/rMgDVXJ8ZWr.GauyeQFeahq"], ["created_at", "2018-09-05 05:11:34.120618"], ["updated_at", "2018-09-05 05:11:34.120618"]]  (0.4ms) 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", "janette_borer@sipes.ca"], ["LIMIT", 1]] SQL (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", "Evelina Kassulke"], ["last_name", "Ingrid Koch"], ["email", "janette_borer@sipes.ca"], ["password_digest", "$2a$04$YujlY/lV8XQpYSxWsYIHluMa0fpVYpg68p/rUuRHhhPIOgdtxUNfa"], ["created_at", "2018-09-05 05:11:34.126605"], ["updated_at", "2018-09-05 05:11:34.126605"]]  (1.2ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) 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", "adell.blanda@satterfield.co.uk"], ["LIMIT", 1]] SQL (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", "Larisa Medhurst"], ["last_name", "Kasey Cole"], ["email", "adell.blanda@satterfield.co.uk"], ["password_digest", "$2a$04$Za2kP1z7jbhJmkD8B5k72OY1bG7QAnSJOq5e0X4yTh5PH3vBefqaS"], ["created_at", "2018-09-05 05:11:34.141899"], ["updated_at", "2018-09-05 05:11:34.141899"]]  (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", "reynalda@krajcik.info"], ["LIMIT", 1]] SQL (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", "Rochelle Fritsch"], ["last_name", "Jenniffer Auer"], ["email", "reynalda@krajcik.info"], ["password_digest", "$2a$04$q5tbg5uWYv3jL97FCaKLCuPOyNnqFSELi2FMeApkQzvqGs/HjYdtG"], ["created_at", "2018-09-05 05:11:34.150099"], ["updated_at", "2018-09-05 05:11:34.150099"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Katharine Grimes"], ["LIMIT", 1]] SQL (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", "Katharine Grimes"], ["authorized_by", "Thomasena Lang"], ["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", 53], ["approved_by_id", 54], ["created_at", "2018-09-05 05:11:34.156150"], ["updated_at", "2018-09-05 05:11:34.156150"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (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", "kayleigh.koss@gerhold.biz"], ["LIMIT", 1]] SQL (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", "Lauren Yundt"], ["last_name", "Gregory Stanton"], ["email", "kayleigh.koss@gerhold.biz"], ["password_digest", "$2a$04$GNbN4nIJy7hkZ9EQXf2mXuM3n.9ERH8UwCtWk41RBnLVmksv7hR2y"], ["created_at", "2018-09-05 05:11:34.165641"], ["updated_at", "2018-09-05 05:11:34.165641"]]  (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", "tiffanie.fahey@bednar.us"], ["LIMIT", 1]] SQL (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", "Anh Romaguera"], ["last_name", "Danica Fritsch"], ["email", "tiffanie.fahey@bednar.us"], ["password_digest", "$2a$04$KKhamTNLK3BaGF0/hPFR6.1n1akt4gUMFyco3gApqQ626XaGQnOQC"], ["created_at", "2018-09-05 05:11:34.172817"], ["updated_at", "2018-09-05 05:11:34.172817"]]  (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", "Katharine Grimes"], ["LIMIT", 1]]  (0.6ms) 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", "mai_kerluke@huelwilkinson.com"], ["LIMIT", 1]] SQL (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", "Corrine Gutmann"], ["last_name", "Joya Wisoky"], ["email", "mai_kerluke@huelwilkinson.com"], ["password_digest", "$2a$04$vsqRqV6jgw73sKkaefJQJuP/SXQ40Xdh4p6kdDhhU6gQ45dcCNciq"], ["created_at", "2018-09-05 05:11:34.184809"], ["updated_at", "2018-09-05 05:11:34.184809"]]  (0.6ms) 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", "emile@casper.co.uk"], ["LIMIT", 1]] SQL (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", "Marcell O'Reilly"], ["last_name", "Ashton Schamberger"], ["email", "emile@casper.co.uk"], ["password_digest", "$2a$04$1DysGnOqCMCSM8CfLmfdbe294TntfHhRvnhq3g3RxxAPhbhLk5E.O"], ["created_at", "2018-09-05 05:11:34.191828"], ["updated_at", "2018-09-05 05:11:34.191828"]]  (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", "Kenda Mertz"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.7ms) BEGIN  (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", "loura@harveyleannon.ca"], ["LIMIT", 1]] SQL (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", "Doyle Emmerich"], ["last_name", "Lavinia Kessler"], ["email", "loura@harveyleannon.ca"], ["password_digest", "$2a$04$NKrWlkzObZ0CFKCAIDRYVeSIZLI0ZyvS.QodxuSwUzqoK3MEge7Zy"], ["created_at", "2018-09-05 05:11:34.204978"], ["updated_at", "2018-09-05 05:11:34.204978"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (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", "sueann.collier@hilpertmorar.us"], ["LIMIT", 1]] SQL (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", "Andrea Russel"], ["last_name", "Faith Nienow"], ["email", "sueann.collier@hilpertmorar.us"], ["password_digest", "$2a$04$wpLxknjyZYtNbcqgeqsNWOm/sSCjBdoRNI/C/4/Qzp4FX6.byYWZu"], ["created_at", "2018-09-05 05:11:34.211992"], ["updated_at", "2018-09-05 05:11:34.211992"]]  (0.6ms) 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", "Eleonore Greenfelder"], ["LIMIT", 1]]  (0.8ms) 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", "inga@balistreri.name"], ["LIMIT", 1]] SQL (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", "Margo Runolfsdottir"], ["last_name", "Adelia Jacobs"], ["email", "inga@balistreri.name"], ["password_digest", "$2a$04$YoOms6x9/gCxlPdEnQJdoOWMxIdRyFe09GWu9CxRqO//VtTcJ71Xi"], ["created_at", "2018-09-05 05:11:34.225771"], ["updated_at", "2018-09-05 05:11:34.225771"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (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", "carmine@moore.us"], ["LIMIT", 1]] SQL (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", "Charisse McClure"], ["last_name", "Suzette Mertz"], ["email", "carmine@moore.us"], ["password_digest", "$2a$04$zCGX6UHPThgjwpOmAq.VUu8d3CUbhFe/ZABrB94G2gk1IYu6S5e8C"], ["created_at", "2018-09-05 05:11:34.234137"], ["updated_at", "2018-09-05 05:11:34.234137"]]  (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", "Ellsworth Grady"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "marcie_okon@gorczany.biz"], ["LIMIT", 1]] SQL (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", "Nga Gleason"], ["last_name", "Adella Bradtke"], ["email", "marcie_okon@gorczany.biz"], ["password_digest", "$2a$04$fwAcbAEAGxwh3szyr9rNTu3.vMur28slxmDDz6uLMJm2p/5tv2Xbi"], ["created_at", "2018-09-05 05:11:34.246649"], ["updated_at", "2018-09-05 05:11:34.246649"]]  (1.0ms) 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", "jesse@hillsbailey.us"], ["LIMIT", 1]] SQL (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", "Vernie Kreiger"], ["last_name", "Al Dickinson"], ["email", "jesse@hillsbailey.us"], ["password_digest", "$2a$04$YyJ4ruexRwIGoPNU/jk64eWEXG71gFYv6dIMbSZKOZFOgVMVi2XhK"], ["created_at", "2018-09-05 05:11:34.254837"], ["updated_at", "2018-09-05 05:11:34.254837"]]  (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", "Tabetha Barton"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) 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", "julienne.pacocha@legros.ca"], ["LIMIT", 1]] SQL (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", "Luana Nader"], ["last_name", "Erasmo Mann"], ["email", "julienne.pacocha@legros.ca"], ["password_digest", "$2a$04$jCuGfDqcyn2MPbsL5gl6WuLBSv6SkYXczHnaYb604e56yzHfvMIP."], ["created_at", "2018-09-05 05:11:34.268862"], ["updated_at", "2018-09-05 05:11:34.268862"]]  (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", "Magdalen VonRueden"], ["LIMIT", 1]] SQL (1.9ms) 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", "Magdalen VonRueden"], ["authorized_by", "Wilber O'Keefe"], ["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", 65], ["created_at", "2018-09-05 05:11:34.274760"], ["updated_at", "2018-09-05 05:11:34.274760"]]  (0.6ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Magdalen VonRueden"], ["id", 3], ["LIMIT", 1]]  (0.9ms) 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", "Alia Dicki"], ["LIMIT", 1]] SQL (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", "Alia Dicki"], ["name", "Janise Trantow"], ["address", "Barrett Jacobson"], ["created_at", "2018-09-05 05:11:34.287134"], ["updated_at", "2018-09-05 05:11:34.287134"]]  (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", "Hayley Kling"], ["LIMIT", 1]] SQL (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", "Hayley Kling"], ["name", "Tiffani Durgan"], ["description", "Lidia West"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:11:34.293651"], ["updated_at", "2018-09-05 05:11:34.293651"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) 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", "Hayley Kling"], ["id", 43], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.4ms) 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", "Cammy Emmerich"], ["LIMIT", 1]] SQL (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", "Cammy Emmerich"], ["name", "Isabel Harber"], ["address", "Tommy Koepp"], ["created_at", "2018-09-05 05:11:34.305191"], ["updated_at", "2018-09-05 05:11:34.305191"]]  (0.4ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Lonny Krajcik"], ["LIMIT", 1]] SQL (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", "Lonny Krajcik"], ["name", "Lanelle Reinger"], ["address", "Fleta Goyette"], ["created_at", "2018-09-05 05:11:34.314942"], ["updated_at", "2018-09-05 05:11:34.314942"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Duncan Hoppe"], ["LIMIT", 1]]  (1.0ms) 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", "Dudley Wintheiser"], ["LIMIT", 1]] SQL (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", "Dudley Wintheiser"], ["name", "Gaynelle Beatty"], ["address", "Lorri Aufderhar"], ["created_at", "2018-09-05 05:11:34.326856"], ["updated_at", "2018-09-05 05:11:34.326856"]]  (0.5ms) 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" = $1 LIMIT $2 [["code", "Katharina Little"], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.5ms) 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", "Shawanna Hilpert"], ["LIMIT", 1]] SQL (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", "Shawanna Hilpert"], ["name", "Matha O'Conner"], ["address", "Krysten Blanda"], ["created_at", "2018-09-05 05:11:34.339635"], ["updated_at", "2018-09-05 05:11:34.339635"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sarah Bruen"], ["LIMIT", 1]] SQL (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", "Sarah Bruen"], ["name", "Latonya Russel"], ["description", "Malcom Mohr"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:11:34.345254"], ["updated_at", "2018-09-05 05:11:34.345254"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Britt Bailey"], ["LIMIT", 1]] SQL (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", "Britt Bailey"], ["name", "Violet Cassin"], ["address", "Alvera Schmidt"], ["created_at", "2018-09-05 05:11:34.352684"], ["updated_at", "2018-09-05 05:11:34.352684"]]  (0.5ms) 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", "Sarah Bruen"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Anneliese Ledner"], ["LIMIT", 1]] SQL (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", "Anneliese Ledner"], ["name", "Renee Beahan"], ["address", "Eric Hand"], ["created_at", "2018-09-05 05:11:34.363459"], ["updated_at", "2018-09-05 05:11:34.363459"]]  (1.1ms) RELEASE 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 AND ("mks_rate_service_delivery_units"."id" != $2) LIMIT $3 [["code", "Anneliese Ledner"], ["id", 57], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) 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.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Federico Crooks"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Roxanna Hegmann"], ["LIMIT", 1]] SQL (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", "Roxanna Hegmann"], ["name", "Dorla Harber"], ["address", "Kaycee Bailey"], ["created_at", "2018-09-05 05:11:34.385746"], ["updated_at", "2018-09-05 05:11:34.385746"]]  (0.5ms) 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", "Roxanna Hegmann"], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "Nannette Kub"], ["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", "Tana Kuvalis"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nannette Kub"], ["name", "Tana Kuvalis"], ["description", "Soluta amet dignissimos mollitia consequatur molestias consectetur. Quibusdam qui tenetur perferendis eos nihil ullam adipisci. Eum dolorem qui ut voluptas excepturi iure. Architecto magni dolor ipsam quis."], ["created_at", "2018-09-05 05:11:34.400866"], ["updated_at", "2018-09-05 05:11:34.400866"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Norman Lind"], ["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", "Donnetta Hagenes"], ["LIMIT", 1]] SQL (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", "Norman Lind"], ["name", "Donnetta Hagenes"], ["description", "Eligendi consectetur unde fugiat quaerat provident aperiam ut et. Est omnis a voluptatem odio. Libero exercitationem delectus minima autem sed."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:11:34.408342"], ["updated_at", "2018-09-05 05:11:34.408342"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Silvia Walsh"], ["LIMIT", 1]] SQL (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", "Silvia Walsh"], ["name", "Jarred Armstrong"], ["description", "Jacqueline Gerhold"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:11:34.415889"], ["updated_at", "2018-09-05 05:11:34.415889"]]  (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", "Kyle Bauch"], ["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", "Lucia Howe"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kyle Bauch"], ["name", "Lucia Howe"], ["description", "Dakota Strosin"], ["created_at", "2018-09-05 05:11:34.422260"], ["updated_at", "2018-09-05 05:11:34.422260"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jefferey Romaguera"], ["LIMIT", 1]] SQL (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", "Jefferey Romaguera"], ["name", "Yun Schmitt"], ["location_type_id", 7], ["description", "Jamison Rohan"], ["address", "Genna Champlin"], ["created_at", "2018-09-05 05:11:34.429382"], ["updated_at", "2018-09-05 05:11:34.429382"]]  (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", "Evelin Feest"], ["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", "Victor Schimmel"], ["LIMIT", 1]] SQL (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", "Evelin Feest"], ["name", "Joann Gutmann"], ["description", "Alberta Jenkins"], ["serial_number", "Victor Schimmel"], ["brand", "Benjamin Hills"], ["item_model", "Brent Schiller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:11:34.435063"], ["updated_at", "2018-09-05 05:11:34.435063"]]  (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", "Debbi Paucek"], ["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", "Carolina Homenick"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Debbi Paucek"], ["name", "Carolina Homenick"], ["created_at", "2018-09-05 05:11:34.441235"], ["updated_at", "2018-09-05 05:11:34.441235"]]  (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", "Felisa Cole"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Felisa Cole"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.445747"], ["updated_at", "2018-09-05 05:11:34.445747"]]  (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", "Delinda Bradtke"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delinda Bradtke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.450359"], ["updated_at", "2018-09-05 05:11:34.450359"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Candi Koss"], ["LIMIT", 1]] SQL (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", "Candi Koss"], ["name", "Paz Bailey"], ["address", "Zane Kuvalis"], ["created_at", "2018-09-05 05:11:34.456062"], ["updated_at", "2018-09-05 05:11:34.456062"]]  (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", "Marjorie Considine"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] SQL (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", "Marjorie Considine"], ["name", "Dyan Quigley"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:11:34.460551"], ["updated_at", "2018-09-05 05:11:34.460551"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marjorie Considine"], ["LIMIT", 1]] SQL (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", "Marjorie Considine"], ["name", "Dyan Quigley"], ["description", "Default bundle for service 'Dyan Quigley'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:11:34.465448"], ["updated_at", "2018-09-05 05:11:34.465448"]] SQL (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", 22]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:11:34.471837"], ["updated_at", "2018-09-05 05:11:34.471837"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Darby Bruen"], ["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", "Marlyn Cremin"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Darby Bruen"], ["name", "Marlyn Cremin"], ["description", "Saepe reprehenderit voluptates recusandae eaque et quia voluptas. Pariatur quis non ipsam perspiciatis vel voluptates nam fuga. Aut velit quam enim similique eveniet. Quisquam consequatur repellendus nihil temporibus recusandae magnam minus dicta."], ["created_at", "2018-09-05 05:11:34.481967"], ["updated_at", "2018-09-05 05:11:34.481967"]]  (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", "Nilsa Hane"], ["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", "Flavia Donnelly"], ["LIMIT", 1]] SQL (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", "Nilsa Hane"], ["name", "Flavia Donnelly"], ["description", "Vel dolorem fugiat unde porro eaque debitis. Vero eveniet aspernatur earum quasi ea et tempore suscipit. Voluptatem perferendis vel nisi suscipit quia. Dolorem recusandae ratione modi sequi."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:11:34.487387"], ["updated_at", "2018-09-05 05:11:34.487387"]]  (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", "Eldridge Rogahn"], ["LIMIT", 1]] SQL (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", "Eldridge Rogahn"], ["name", "Cecille Kessler"], ["description", "Monique Stoltenberg"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:11:34.491617"], ["updated_at", "2018-09-05 05:11:34.491617"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Ligia O'Hara"], ["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", "Alisa Cole"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ligia O'Hara"], ["name", "Alisa Cole"], ["description", "Candi Ritchie"], ["created_at", "2018-09-05 05:11:34.499525"], ["updated_at", "2018-09-05 05:11:34.499525"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Glenn Jast"], ["LIMIT", 1]] SQL (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", "Glenn Jast"], ["name", "Ayako Davis"], ["location_type_id", 8], ["description", "Augustina Cremin"], ["address", "Lorrine Collier"], ["created_at", "2018-09-05 05:11:34.505146"], ["updated_at", "2018-09-05 05:11:34.505146"]]  (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", "Particia Kling"], ["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", "Debera Mayer"], ["LIMIT", 1]] SQL (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", "Particia Kling"], ["name", "Dinorah Bechtelar"], ["description", "Bibi Pouros"], ["serial_number", "Debera Mayer"], ["brand", "Marti Will"], ["item_model", "Judi Stroman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:11:34.510566"], ["updated_at", "2018-09-05 05:11:34.510566"]]  (0.6ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["code", "Raymond Kuhlman"], ["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", "Rozanne Murphy"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Raymond Kuhlman"], ["name", "Rozanne Murphy"], ["created_at", "2018-09-05 05:11:34.518937"], ["updated_at", "2018-09-05 05:11:34.518937"]]  (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", "Jana Jakubowski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jana Jakubowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.523537"], ["updated_at", "2018-09-05 05:11:34.523537"]]  (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", "Kiana Osinski"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kiana Osinski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.528079"], ["updated_at", "2018-09-05 05:11:34.528079"]]  (0.4ms) 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", "Virgie Satterfield"], ["LIMIT", 1]] SQL (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", "Virgie Satterfield"], ["name", "Sari Sanford"], ["address", "Vikki Gleichner"], ["created_at", "2018-09-05 05:11:34.532746"], ["updated_at", "2018-09-05 05:11:34.532746"]]  (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", "Eula Emard"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] SQL (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", "Eula Emard"], ["name", "Lea Cronin"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:11:34.537508"], ["updated_at", "2018-09-05 05:11:34.537508"]] 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", 60], ["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", "Eula Emard"], ["LIMIT", 1]] SQL (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", "Eula Emard"], ["name", "Lea Cronin"], ["description", "Default bundle for service 'Lea Cronin'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:11:34.542450"], ["updated_at", "2018-09-05 05:11:34.542450"]] SQL (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 46], ["chargeable_service_id", 23]]  (0.5ms) 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", "Nga Rempel"], ["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", "Shelton Schroeder"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nga Rempel"], ["name", "Shelton Schroeder"], ["description", "Et voluptatibus labore asperiores accusantium. Eos facilis aut sit doloribus ut voluptate distinctio quas. Repellat culpa laudantium asperiores non atque."], ["created_at", "2018-09-05 05:11:34.558044"], ["updated_at", "2018-09-05 05:11:34.558044"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Myrtle Gottlieb"], ["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", "Rupert Konopelski"], ["LIMIT", 1]] SQL (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", "Myrtle Gottlieb"], ["name", "Rupert Konopelski"], ["description", "Consequatur facere est quis rem. Perferendis ab optio aut sapiente consectetur. Quis accusantium eius natus eaque at inventore est."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:11:34.567236"], ["updated_at", "2018-09-05 05:11:34.567236"]]  (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", "Austin Crooks"], ["LIMIT", 1]] SQL (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", "Austin Crooks"], ["name", "Gwyn Rolfson"], ["description", "Taunya Walter"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:11:34.572795"], ["updated_at", "2018-09-05 05:11:34.572795"]]  (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", "Yu Powlowski"], ["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", "Damaris Fisher"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yu Powlowski"], ["name", "Damaris Fisher"], ["description", "Sherley Swaniawski"], ["created_at", "2018-09-05 05:11:34.579227"], ["updated_at", "2018-09-05 05:11:34.579227"]]  (0.4ms) 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", "Jewel Langworth"], ["LIMIT", 1]] SQL (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", "Jewel Langworth"], ["name", "Cordell Grant"], ["location_type_id", 9], ["description", "Stella Zulauf"], ["address", "Alycia Schaefer"], ["created_at", "2018-09-05 05:11:34.583689"], ["updated_at", "2018-09-05 05:11:34.583689"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lindsay Huels"], ["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", "Mendy Mitchell"], ["LIMIT", 1]] SQL (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", "Lindsay Huels"], ["name", "Lanell Toy"], ["description", "Laurene Kirlin"], ["serial_number", "Mendy Mitchell"], ["brand", "Brant Hermann"], ["item_model", "Eddie Herman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:11:34.589622"], ["updated_at", "2018-09-05 05:11:34.589622"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Tawanna Stokes"], ["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", "Gene Ortiz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tawanna Stokes"], ["name", "Gene Ortiz"], ["created_at", "2018-09-05 05:11:34.598109"], ["updated_at", "2018-09-05 05:11:34.598109"]]  (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", "Janett Sauer"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Janett Sauer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.604260"], ["updated_at", "2018-09-05 05:11:34.604260"]]  (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", "Nobuko Fritsch"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nobuko Fritsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.609833"], ["updated_at", "2018-09-05 05:11:34.609833"]]  (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", "Laurice Walsh"], ["LIMIT", 1]] SQL (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", "Laurice Walsh"], ["name", "Tianna Boyle"], ["address", "Darla Toy"], ["created_at", "2018-09-05 05:11:34.615545"], ["updated_at", "2018-09-05 05:11:34.615545"]]  (0.4ms) 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", "Salvador Swaniawski"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] SQL (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", "Salvador Swaniawski"], ["name", "Kennith Kshlerin"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:11:34.620753"], ["updated_at", "2018-09-05 05:11:34.620753"]] 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", 61], ["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", "Salvador Swaniawski"], ["LIMIT", 1]] SQL (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", "Salvador Swaniawski"], ["name", "Kennith Kshlerin"], ["description", "Default bundle for service 'Kennith Kshlerin'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:11:34.626984"], ["updated_at", "2018-09-05 05:11:34.626984"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 47], ["chargeable_service_id", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Nancy Jakubowski"], ["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", "Eunice Dickens"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nancy Jakubowski"], ["name", "Eunice Dickens"], ["description", "Et temporibus quibusdam qui molestias omnis atque fugit. Voluptas ullam et ratione sunt exercitationem. Necessitatibus ipsam voluptatem dolor maiores quasi et assumenda. Adipisci quas id occaecati neque nihil."], ["created_at", "2018-09-05 05:11:34.644107"], ["updated_at", "2018-09-05 05:11:34.644107"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Alanna Lynch"], ["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", "Karima Hermann"], ["LIMIT", 1]] SQL (1.4ms) 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", "Alanna Lynch"], ["name", "Karima Hermann"], ["description", "Vel aliquid doloribus fuga repudiandae. Qui tenetur quam doloremque laudantium asperiores exercitationem. Cupiditate omnis adipisci aut nisi eaque. Rerum libero sit culpa facilis."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:11:34.653031"], ["updated_at", "2018-09-05 05:11:34.653031"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Donita Quitzon"], ["LIMIT", 1]] SQL (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", "Donita Quitzon"], ["name", "Tia Zulauf"], ["description", "Conchita O'Hara"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:11:34.660676"], ["updated_at", "2018-09-05 05:11:34.660676"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Arlette Johns"], ["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", "Jenine Ullrich"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Arlette Johns"], ["name", "Jenine Ullrich"], ["description", "Kaylene Cummerata"], ["created_at", "2018-09-05 05:11:34.671162"], ["updated_at", "2018-09-05 05:11:34.671162"]]  (0.6ms) 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", "Fredericka Von"], ["LIMIT", 1]] SQL (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", "Fredericka Von"], ["name", "Claude Luettgen"], ["location_type_id", 10], ["description", "Horace Bednar"], ["address", "Salvatore Mohr"], ["created_at", "2018-09-05 05:11:34.676320"], ["updated_at", "2018-09-05 05:11:34.676320"]]  (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", "Ignacia Mueller"], ["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", "Tashia Effertz"], ["LIMIT", 1]] SQL (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", "Ignacia Mueller"], ["name", "Shaunda Douglas"], ["description", "Leilani Romaguera"], ["serial_number", "Tashia Effertz"], ["brand", "Georgann Kozey"], ["item_model", "Emil Walker"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:11:34.683057"], ["updated_at", "2018-09-05 05:11:34.683057"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Sherita Carroll"], ["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", "Gertrud Johnson"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sherita Carroll"], ["name", "Gertrud Johnson"], ["created_at", "2018-09-05 05:11:34.695757"], ["updated_at", "2018-09-05 05:11:34.695757"]]  (0.5ms) 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", "Sherita Carroll"], ["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) 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", "Gertrud Johnson"], ["id", 38], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.0ms) BEGIN Mks::Rate::ServiceType Exists (1.1ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Karine Sipes"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN 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", "Emiko Balistreri"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (1.3ms) ROLLBACK  (1.9ms) BEGIN  (1.0ms) 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", "Candra Stark"], ["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", "Mai Romaguera"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Candra Stark"], ["name", "Mai Romaguera"], ["created_at", "2018-09-05 05:11:34.734506"], ["updated_at", "2018-09-05 05:11:34.734506"]]  (0.6ms) RELEASE 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", "Candra Stark"], ["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", "Gordon O'Reilly"], ["LIMIT", 1]]  (0.6ms) 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", "Jammie Sawayn"], ["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", "Jesus Greenfelder"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jammie Sawayn"], ["name", "Jesus Greenfelder"], ["created_at", "2018-09-05 05:11:34.748862"], ["updated_at", "2018-09-05 05:11:34.748862"]]  (0.5ms) RELEASE 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", "Tonda Price"], ["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", "Jesus Greenfelder"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Ivory Kunze"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) 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", "Sacha Wiza"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (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", "Bao Dach"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bao Dach"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.787524"], ["updated_at", "2018-09-05 05:11:34.787524"]]  (0.9ms) RELEASE 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", "Bao Dach"], ["LIMIT", 1]]  (1.0ms) 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", "Kenyatta Stoltenberg"], ["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", "Doreen Ryan"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kenyatta Stoltenberg"], ["name", "Doreen Ryan"], ["created_at", "2018-09-05 05:11:34.811093"], ["updated_at", "2018-09-05 05:11:34.811093"]]  (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", "Enriqueta Rohan"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Enriqueta Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.817822"], ["updated_at", "2018-09-05 05:11:34.817822"]]  (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", "Dyan Oga"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dyan Oga"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.823964"], ["updated_at", "2018-09-05 05:11:34.823964"]]  (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", "Moses Bosco"], ["LIMIT", 1]] SQL (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", "Moses Bosco"], ["name", "Marielle Shanahan"], ["address", "Jordan Effertz"], ["created_at", "2018-09-05 05:11:34.828577"], ["updated_at", "2018-09-05 05:11:34.828577"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Britt Boyer"], ["service_delivery_unit_id", 62], ["LIMIT", 1]] SQL (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", "Britt Boyer"], ["name", "Nieves Skiles"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:11:34.834719"], ["updated_at", "2018-09-05 05:11:34.834719"]] 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", 62], ["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", "Britt Boyer"], ["LIMIT", 1]] SQL (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", "Britt Boyer"], ["name", "Nieves Skiles"], ["description", "Default bundle for service 'Nieves Skiles'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:11:34.840133"], ["updated_at", "2018-09-05 05:11:34.840133"]] SQL (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", 25]]  (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", "Marcelle Boyle"], ["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", "Walter Considine"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marcelle Boyle"], ["name", "Walter Considine"], ["created_at", "2018-09-05 05:11:34.848864"], ["updated_at", "2018-09-05 05:11:34.848864"]]  (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", "Oda Schultz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oda Schultz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.853241"], ["updated_at", "2018-09-05 05:11:34.853241"]]  (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", "Floria Rath"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Floria Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.857670"], ["updated_at", "2018-09-05 05:11:34.857670"]]  (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", "Oliver Toy"], ["LIMIT", 1]] SQL (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", "Oliver Toy"], ["name", "Gita Brakus"], ["address", "Terresa Lindgren"], ["created_at", "2018-09-05 05:11:34.862280"], ["updated_at", "2018-09-05 05:11:34.862280"]]  (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", "Sabrina Carroll"], ["service_delivery_unit_id", 63], ["LIMIT", 1]] SQL (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", "Sabrina Carroll"], ["name", "Arcelia Schowalter"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:11:34.866775"], ["updated_at", "2018-09-05 05:11:34.866775"]] 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", 63], ["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", "Sabrina Carroll"], ["LIMIT", 1]] SQL (1.4ms) 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", "Sabrina Carroll"], ["name", "Arcelia Schowalter"], ["description", "Default bundle for service 'Arcelia Schowalter'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:11:34.871894"], ["updated_at", "2018-09-05 05:11:34.871894"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 49], ["chargeable_service_id", 26]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Elna Smitham"], ["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", "Lynne Nienow"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Elna Smitham"], ["name", "Lynne Nienow"], ["created_at", "2018-09-05 05:11:34.881931"], ["updated_at", "2018-09-05 05:11:34.881931"]]  (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", "Yulanda Kuhic"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yulanda Kuhic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.887009"], ["updated_at", "2018-09-05 05:11:34.887009"]]  (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", "Bee Funk"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bee Funk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.891339"], ["updated_at", "2018-09-05 05:11:34.891339"]]  (0.5ms) 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", "Del Howell"], ["LIMIT", 1]] SQL (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", "Del Howell"], ["name", "Agnes Stokes"], ["address", "Summer Champlin"], ["created_at", "2018-09-05 05:11:34.895648"], ["updated_at", "2018-09-05 05:11:34.895648"]]  (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", "Randi Ferry"], ["service_delivery_unit_id", 64], ["LIMIT", 1]] SQL (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", "Randi Ferry"], ["name", "Lucile Harvey"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:11:34.900274"], ["updated_at", "2018-09-05 05:11:34.900274"]] 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", 64], ["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", "Randi Ferry"], ["LIMIT", 1]] SQL (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", "Randi Ferry"], ["name", "Lucile Harvey"], ["description", "Default bundle for service 'Lucile Harvey'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:11:34.906055"], ["updated_at", "2018-09-05 05:11:34.906055"]] SQL (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", 27]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.5ms) 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", 25], ["LIMIT", 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", 26], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] SQL (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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:11:34.916372"], ["updated_at", "2018-09-05 05:11:34.916372"]] 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]] SQL (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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:11:34.919527"], ["updated_at", "2018-09-05 05:11:34.919527"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.6ms) 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", "Shenita White"], ["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", "Alethea Price"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shenita White"], ["name", "Alethea Price"], ["created_at", "2018-09-05 05:11:34.929551"], ["updated_at", "2018-09-05 05:11:34.929551"]]  (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", "Estrella Wyman"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Estrella Wyman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.935701"], ["updated_at", "2018-09-05 05:11:34.935701"]]  (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", "Darwin Buckridge"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Darwin Buckridge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:34.941291"], ["updated_at", "2018-09-05 05:11:34.941291"]]  (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", "Pablo Gusikowski"], ["LIMIT", 1]] SQL (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", "Pablo Gusikowski"], ["name", "Anamaria Swaniawski"], ["address", "Leandro Hintz"], ["created_at", "2018-09-05 05:11:34.945816"], ["updated_at", "2018-09-05 05:11:34.945816"]]  (1.1ms) 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", "Ramona Waelchi"], ["service_delivery_unit_id", 65], ["LIMIT", 1]] SQL (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", "Ramona Waelchi"], ["name", "Gwenda Fritsch"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:11:34.952140"], ["updated_at", "2018-09-05 05:11:34.952140"]] 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", 65], ["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", "Ramona Waelchi"], ["LIMIT", 1]] SQL (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", "Ramona Waelchi"], ["name", "Gwenda Fritsch"], ["description", "Default bundle for service 'Gwenda Fritsch'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:11:34.957230"], ["updated_at", "2018-09-05 05:11:34.957230"]] SQL (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", 28]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:11:34.963627"], ["updated_at", "2018-09-05 05:11:34.963627"]]  (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", 28], ["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", 28], ["LIMIT", 1]] SQL (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 05:11:34.969266"], ["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.6ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) 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", "elyse_schowalter@bernhard.biz"], ["LIMIT", 1]] SQL (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", "Doreen Homenick"], ["last_name", "Darcy Jewess"], ["email", "elyse_schowalter@bernhard.biz"], ["password_digest", "$2a$04$.3.VBDvkV8SDNFeJ10xDrODmwAyv/gVW06i7/pyVbxyawAn5FWk8e"], ["created_at", "2018-09-05 05:11:34.981164"], ["updated_at", "2018-09-05 05:11:34.981164"]]  (0.4ms) 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", "bronwyn.heaney@tromp.co.uk"], ["LIMIT", 1]] SQL (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", "Omega Rice"], ["last_name", "Joya Wehner"], ["email", "bronwyn.heaney@tromp.co.uk"], ["password_digest", "$2a$04$4At0Fl9ZD8R7X55h/cl4SuNI.2aX5JSFK3LBm03anksfy9zWxMIJS"], ["created_at", "2018-09-05 05:11:34.987742"], ["updated_at", "2018-09-05 05:11:34.987742"]]  (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", "marcie@veum.us"], ["LIMIT", 1]] SQL (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", "Cristen Marvin"], ["last_name", "Maxima Rowe"], ["email", "marcie@veum.us"], ["password_digest", "$2a$04$aCYCbQvdNmcClioITRNQKOlwqGMheAkmy1O2g/Bgxo6RdliPthsaC"], ["created_at", "2018-09-05 05:11:34.993763"], ["updated_at", "2018-09-05 05:11:34.993763"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Eun Hahn"], ["LIMIT", 1]] SQL (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", "Eun Hahn"], ["authorized_by", "Stephanie Altenwerth"], ["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", 67], ["approved_by_id", 68], ["created_at", "2018-09-05 05:11:34.999559"], ["updated_at", "2018-09-05 05:11:34.999559"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 AND ("mks_rate_rate_change_requests"."id" != $2) LIMIT $3 [["reference_number", "Eun Hahn"], ["id", 4], ["LIMIT", 1]] SQL (1.2ms) 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", 66], ["updated_at", "2018-09-05 05:11:35.007156"], ["id", 4]]  (0.5ms) RELEASE SAVEPOINT active_record_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", 4], ["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", 66], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Jettie Bayer"], ["LIMIT", 1]] SQL (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", "Jettie Bayer"], ["name", "Ayako Sauer"], ["address", "Anjanette Cummerata"], ["created_at", "2018-09-05 05:11:35.025081"], ["updated_at", "2018-09-05 05:11:35.025081"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Audra Pagac"], ["LIMIT", 1]] SQL (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", "Audra Pagac"], ["name", "Chanda Hagenes"], ["description", "Raven Dooley"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:11:35.033196"], ["updated_at", "2018-09-05 05:11:35.033196"]]  (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", "Lorette Torphy"], ["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", "Francina Willms"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lorette Torphy"], ["name", "Francina Willms"], ["created_at", "2018-09-05 05:11:35.039933"], ["updated_at", "2018-09-05 05:11:35.039933"]]  (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", "Belinda Hagenes"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Belinda Hagenes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.044963"], ["updated_at", "2018-09-05 05:11:35.044963"]]  (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", "Tisa Reichert"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tisa Reichert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.049691"], ["updated_at", "2018-09-05 05:11:35.049691"]]  (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", "Joannie Mills"], ["LIMIT", 1]] SQL (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", "Joannie Mills"], ["name", "Malika Turner"], ["address", "Earleen Kohler"], ["created_at", "2018-09-05 05:11:35.054314"], ["updated_at", "2018-09-05 05:11:35.054314"]]  (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", "Valentine Schneider"], ["service_delivery_unit_id", 67], ["LIMIT", 1]] SQL (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", "Valentine Schneider"], ["name", "Maxie Bernier"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:11:35.059118"], ["updated_at", "2018-09-05 05:11:35.059118"]] 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", 67], ["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", "Valentine Schneider"], ["LIMIT", 1]] SQL (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", "Valentine Schneider"], ["name", "Maxie Bernier"], ["description", "Default bundle for service 'Maxie Bernier'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:11:35.064341"], ["updated_at", "2018-09-05 05:11:35.064341"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 53], ["chargeable_service_id", 29]]  (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", "Nery Wisoky"], ["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", "Regenia Lesch"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nery Wisoky"], ["name", "Regenia Lesch"], ["created_at", "2018-09-05 05:11:35.073672"], ["updated_at", "2018-09-05 05:11:35.073672"]]  (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", "Conception Dooley"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Conception Dooley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.078313"], ["updated_at", "2018-09-05 05:11:35.078313"]]  (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", "Kathyrn Olson"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kathyrn Olson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.084245"], ["updated_at", "2018-09-05 05:11:35.084245"]]  (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", "Jesenia Okuneva"], ["LIMIT", 1]] SQL (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", "Jesenia Okuneva"], ["name", "Brian Heathcote"], ["address", "Tiffani Schinner"], ["created_at", "2018-09-05 05:11:35.088950"], ["updated_at", "2018-09-05 05:11:35.088950"]]  (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", "Bobbie Medhurst"], ["service_delivery_unit_id", 68], ["LIMIT", 1]] SQL (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", "Bobbie Medhurst"], ["name", "Vannesa Mann"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:11:35.094182"], ["updated_at", "2018-09-05 05:11:35.094182"]] 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", 68], ["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", "Bobbie Medhurst"], ["LIMIT", 1]] SQL (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", "Bobbie Medhurst"], ["name", "Vannesa Mann"], ["description", "Default bundle for service 'Vannesa Mann'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:11:35.099369"], ["updated_at", "2018-09-05 05:11:35.099369"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 54], ["chargeable_service_id", 30]]  (0.5ms) 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", "Laure Heidenreich"], ["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", "Vanessa Bailey"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Laure Heidenreich"], ["name", "Vanessa Bailey"], ["created_at", "2018-09-05 05:11:35.108918"], ["updated_at", "2018-09-05 05:11:35.108918"]]  (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", "Carmella Streich"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carmella Streich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.113814"], ["updated_at", "2018-09-05 05:11:35.113814"]]  (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", "Antone Gottlieb"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Antone Gottlieb"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.121116"], ["updated_at", "2018-09-05 05:11:35.121116"]]  (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", "Fairy Jewess"], ["LIMIT", 1]] SQL (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", "Fairy Jewess"], ["name", "Mabelle Stokes"], ["address", "Paul Senger"], ["created_at", "2018-09-05 05:11:35.125855"], ["updated_at", "2018-09-05 05:11:35.125855"]]  (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", "Dominique Bogisich"], ["service_delivery_unit_id", 69], ["LIMIT", 1]] SQL (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", "Dominique Bogisich"], ["name", "Amada Kulas"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:11:35.130366"], ["updated_at", "2018-09-05 05:11:35.130366"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Dominique Bogisich"], ["LIMIT", 1]] SQL (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", "Dominique Bogisich"], ["name", "Amada Kulas"], ["description", "Default bundle for service 'Amada Kulas'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:11:35.135259"], ["updated_at", "2018-09-05 05:11:35.135259"]] SQL (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", 31]]  (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", 52]]  (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" IN (29, 30, 31) 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", 52]] SQL (1.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 52], ["chargeable_service_id", 29]] SQL (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", 30]] SQL (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 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", 52], ["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.8ms) ROLLBACK  (0.6ms) BEGIN  (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", "Alfonzo Denesik"], ["LIMIT", 1]] SQL (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", "Alfonzo Denesik"], ["name", "Asia Bashirian"], ["address", "Wenona Koelpin"], ["created_at", "2018-09-05 05:11:35.166797"], ["updated_at", "2018-09-05 05:11:35.166797"]]  (0.5ms) 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", "Natisha Kertzmann"], ["LIMIT", 1]] SQL (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", "Natisha Kertzmann"], ["name", "Alison Smith"], ["description", "Ryan O'Reilly"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:11:35.171781"], ["updated_at", "2018-09-05 05:11:35.171781"]]  (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", "Giovanni Gulgowski"], ["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", "Gwyneth Crist"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Giovanni Gulgowski"], ["name", "Gwyneth Crist"], ["created_at", "2018-09-05 05:11:35.177900"], ["updated_at", "2018-09-05 05:11:35.177900"]]  (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", "Brent Witting"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brent Witting"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.182328"], ["updated_at", "2018-09-05 05:11:35.182328"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Bernardina Bergnaum"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bernardina Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.190389"], ["updated_at", "2018-09-05 05:11:35.190389"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Brenton Rosenbaum"], ["LIMIT", 1]] SQL (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", "Brenton Rosenbaum"], ["name", "Sidney Satterfield"], ["address", "Ashley Batz"], ["created_at", "2018-09-05 05:11:35.197712"], ["updated_at", "2018-09-05 05:11:35.197712"]]  (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", "Ha Rath"], ["service_delivery_unit_id", 71], ["LIMIT", 1]] SQL (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", "Ha Rath"], ["name", "Martine Goyette"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:11:35.202462"], ["updated_at", "2018-09-05 05:11:35.202462"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ha Rath"], ["LIMIT", 1]] SQL (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", "Ha Rath"], ["name", "Martine Goyette"], ["description", "Default bundle for service 'Martine Goyette'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:11:35.207968"], ["updated_at", "2018-09-05 05:11:35.207968"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 57], ["chargeable_service_id", 32]]  (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", "Robbi Christiansen"], ["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", "Karl Schimmel"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Robbi Christiansen"], ["name", "Karl Schimmel"], ["created_at", "2018-09-05 05:11:35.217180"], ["updated_at", "2018-09-05 05:11:35.217180"]]  (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", "Valarie Kassulke"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Valarie Kassulke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.221770"], ["updated_at", "2018-09-05 05:11:35.221770"]]  (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", "Shonda Bogan"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shonda Bogan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.226400"], ["updated_at", "2018-09-05 05:11:35.226400"]]  (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", "Lilly Gulgowski"], ["LIMIT", 1]] SQL (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", "Lilly Gulgowski"], ["name", "Madelyn Ernser"], ["address", "Dallas Moore"], ["created_at", "2018-09-05 05:11:35.231155"], ["updated_at", "2018-09-05 05:11:35.231155"]]  (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", "Leeanna Hoeger"], ["service_delivery_unit_id", 72], ["LIMIT", 1]] SQL (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", "Leeanna Hoeger"], ["name", "Isidro Herzog"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:11:35.235713"], ["updated_at", "2018-09-05 05:11:35.235713"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Leeanna Hoeger"], ["LIMIT", 1]] SQL (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", "Leeanna Hoeger"], ["name", "Isidro Herzog"], ["description", "Default bundle for service 'Isidro Herzog'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:11:35.240433"], ["updated_at", "2018-09-05 05:11:35.240433"]] SQL (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", 33]]  (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", "Lavinia Mosciski"], ["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", "Rosario Smith"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lavinia Mosciski"], ["name", "Rosario Smith"], ["created_at", "2018-09-05 05:11:35.249024"], ["updated_at", "2018-09-05 05:11:35.249024"]]  (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", "Socorro Barton"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Socorro Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.253397"], ["updated_at", "2018-09-05 05:11:35.253397"]]  (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", "Lakenya Conroy"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lakenya Conroy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.257847"], ["updated_at", "2018-09-05 05:11:35.257847"]]  (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", "Rosario Balistreri"], ["LIMIT", 1]] SQL (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", "Rosario Balistreri"], ["name", "Anamaria Schamberger"], ["address", "Otha Weissnat"], ["created_at", "2018-09-05 05:11:35.262606"], ["updated_at", "2018-09-05 05:11:35.262606"]]  (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", "Donovan Padberg"], ["service_delivery_unit_id", 73], ["LIMIT", 1]] SQL (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", "Donovan Padberg"], ["name", "Torie Nader"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:11:35.267166"], ["updated_at", "2018-09-05 05:11:35.267166"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Donovan Padberg"], ["LIMIT", 1]] SQL (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", "Donovan Padberg"], ["name", "Torie Nader"], ["description", "Default bundle for service 'Torie Nader'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:11:35.271854"], ["updated_at", "2018-09-05 05:11:35.271854"]] SQL (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 59], ["chargeable_service_id", 34]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (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", 32]] SQL (0.9ms) 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]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 56], ["chargeable_service_id", 34]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", 56]]  (0.8ms) 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" = 34 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", 56]] SQL (1.0ms) 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 (32, 33) [["service_bundle_id", 56]]  (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", 56], ["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", 56]] 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", 56]]  (0.9ms) 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", "Terra Gottlieb"], ["LIMIT", 1]] SQL (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", "Terra Gottlieb"], ["name", "Miles Moen"], ["address", "Jenette Quigley"], ["created_at", "2018-09-05 05:11:35.308629"], ["updated_at", "2018-09-05 05:11:35.308629"]]  (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", "Brice Konopelski"], ["LIMIT", 1]] SQL (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", "Brice Konopelski"], ["name", "Wayne Herman"], ["description", "Anderson Blanda"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:11:35.313680"], ["updated_at", "2018-09-05 05:11:35.313680"]]  (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", "Jinny Rath"], ["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", "Rosario Schultz"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jinny Rath"], ["name", "Rosario Schultz"], ["created_at", "2018-09-05 05:11:35.319656"], ["updated_at", "2018-09-05 05:11:35.319656"]]  (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", "Brandon Ferry"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brandon Ferry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.324732"], ["updated_at", "2018-09-05 05:11:35.324732"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Erin Marvin"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Erin Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.333644"], ["updated_at", "2018-09-05 05:11:35.333644"]]  (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", "Rodger Schultz"], ["LIMIT", 1]] SQL (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", "Rodger Schultz"], ["name", "Hyo Leffler"], ["address", "Arletha Hansen"], ["created_at", "2018-09-05 05:11:35.338792"], ["updated_at", "2018-09-05 05:11:35.338792"]]  (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", "Ivana Daugherty"], ["service_delivery_unit_id", 75], ["LIMIT", 1]] SQL (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", "Ivana Daugherty"], ["name", "Ghislaine Oga"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:11:35.343161"], ["updated_at", "2018-09-05 05:11:35.343161"]] 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", 75], ["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", "Ivana Daugherty"], ["LIMIT", 1]] SQL (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", "Ivana Daugherty"], ["name", "Ghislaine Oga"], ["description", "Default bundle for service 'Ghislaine Oga'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:11:35.348305"], ["updated_at", "2018-09-05 05:11:35.348305"]] SQL (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", 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", "Charlott Kohler"], ["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", "Ashlea Stiedemann"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Charlott Kohler"], ["name", "Ashlea Stiedemann"], ["created_at", "2018-09-05 05:11:35.357206"], ["updated_at", "2018-09-05 05:11:35.357206"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Benedict Hintz"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Benedict Hintz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.361743"], ["updated_at", "2018-09-05 05:11:35.361743"]]  (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", "Wendy Jenkins"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wendy Jenkins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.366207"], ["updated_at", "2018-09-05 05:11:35.366207"]]  (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", "Jettie Turcotte"], ["LIMIT", 1]] SQL (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", "Jettie Turcotte"], ["name", "Jewel Metz"], ["address", "Cheri Bruen"], ["created_at", "2018-09-05 05:11:35.370756"], ["updated_at", "2018-09-05 05:11:35.370756"]]  (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", "Noella Morissette"], ["service_delivery_unit_id", 76], ["LIMIT", 1]] SQL (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", "Noella Morissette"], ["name", "Marisha Watsica"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:11:35.375454"], ["updated_at", "2018-09-05 05:11:35.375454"]] 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", 76], ["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", "Noella Morissette"], ["LIMIT", 1]] SQL (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", "Noella Morissette"], ["name", "Marisha Watsica"], ["description", "Default bundle for service 'Marisha Watsica'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:11:35.380367"], ["updated_at", "2018-09-05 05:11:35.380367"]] SQL (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 36]]  (1.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", "Ronna Breitenberg"], ["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", "Charissa Rau"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ronna Breitenberg"], ["name", "Charissa Rau"], ["created_at", "2018-09-05 05:11:35.391330"], ["updated_at", "2018-09-05 05:11:35.391330"]]  (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", "Corinna Hamill"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Corinna Hamill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.398001"], ["updated_at", "2018-09-05 05:11:35.398001"]]  (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", "Esta Little"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Esta Little"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.402682"], ["updated_at", "2018-09-05 05:11:35.402682"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Hans Emard"], ["LIMIT", 1]] SQL (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", "Hans Emard"], ["name", "Terrell Jacobson"], ["address", "Morgan Mayer"], ["created_at", "2018-09-05 05:11:35.410996"], ["updated_at", "2018-09-05 05:11:35.410996"]]  (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", "Stephen Feest"], ["service_delivery_unit_id", 77], ["LIMIT", 1]] SQL (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", "Stephen Feest"], ["name", "Clementina Auer"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:11:35.416111"], ["updated_at", "2018-09-05 05:11:35.416111"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Stephen Feest"], ["LIMIT", 1]] SQL (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", "Stephen Feest"], ["name", "Clementina Auer"], ["description", "Default bundle for service 'Clementina Auer'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:11:35.421084"], ["updated_at", "2018-09-05 05:11:35.421084"]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 63], ["chargeable_service_id", 37]]  (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", "Angelina Heidenreich"], ["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", "Preston Wisozk"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Angelina Heidenreich"], ["name", "Preston Wisozk"], ["created_at", "2018-09-05 05:11:35.429702"], ["updated_at", "2018-09-05 05:11:35.429702"]]  (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", "Nicolasa Schmidt"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nicolasa Schmidt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.433929"], ["updated_at", "2018-09-05 05:11:35.433929"]]  (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", "Yasmine Zboncak"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yasmine Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:11:35.438369"], ["updated_at", "2018-09-05 05:11:35.438369"]]  (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", "Jeannetta Strosin"], ["LIMIT", 1]] SQL (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", "Jeannetta Strosin"], ["name", "Todd Bergstrom"], ["address", "Everette Carter"], ["created_at", "2018-09-05 05:11:35.442743"], ["updated_at", "2018-09-05 05:11:35.442743"]]  (0.4ms) 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", "Earnestine Hintz"], ["service_delivery_unit_id", 78], ["LIMIT", 1]] SQL (0.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", "Earnestine Hintz"], ["name", "Tracey Sawayn"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:11:35.446895"], ["updated_at", "2018-09-05 05:11:35.446895"]] 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", 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", "Earnestine Hintz"], ["LIMIT", 1]] SQL (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", "Earnestine Hintz"], ["name", "Tracey Sawayn"], ["description", "Default bundle for service 'Tracey Sawayn'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:11:35.451603"], ["updated_at", "2018-09-05 05:11:35.451603"]] SQL (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", 38]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 35]] SQL (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 36]]  (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", 60]]  (0.4ms) 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" IN (36, 37, 38) 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", 60]] SQL (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" = 35 [["service_bundle_id", 60]] SQL (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]] SQL (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", 38]]  (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", 60], ["LIMIT", 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", 60]] 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", 60], ["id", 35], ["LIMIT", 1]] 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", 60]]  (0.6ms) ROLLBACK  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) 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", "joellen@gibsonorn.name"], ["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", "Tasha VonRueden"], ["last_name", "Esmeralda Kessler"], ["email", "joellen@gibsonorn.name"], ["password_digest", "$2a$04$reOFQ1OQcBcFkogJ4WG29.A9MvlIBZPgKmyCEIkm.MveEZsesJjdG"], ["created_at", "2018-09-05 05:36:11.156918"], ["updated_at", "2018-09-05 05:36:11.156918"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Debroah Quigley"], ["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", "Thea Hills"], ["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", "Debroah Quigley"], ["name", "Thea Hills"], ["created_at", "2018-09-05 05:36:11.198567"], ["updated_at", "2018-09-05 05:36:11.198567"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Ralph Kohler"], ["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", "Ralph Kohler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.220527"], ["updated_at", "2018-09-05 05:36:11.220527"]]  (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", "Robbie Grady"], ["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", "Robbie Grady"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.226359"], ["updated_at", "2018-09-05 05:36:11.226359"]]  (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", "Marcel Gulgowski"], ["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", "Marcel Gulgowski"], ["name", "Palma Johns"], ["address", "Latonya Welch"], ["created_at", "2018-09-05 05:36:11.243368"], ["updated_at", "2018-09-05 05:36:11.243368"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Blossom Howell"], ["service_delivery_unit_id", 1], ["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", "Blossom Howell"], ["name", "Kena Turner"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:36:11.250621"], ["updated_at", "2018-09-05 05:36:11.250621"]] 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.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Blossom Howell"], ["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", "Blossom Howell"], ["name", "Kena Turner"], ["description", "Default bundle for service 'Kena Turner'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:36:11.279836"], ["updated_at", "2018-09-05 05:36:11.279836"]] 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", 1], ["chargeable_service_id", 1]]  (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", "Mendy Hahn"], ["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", "Louisa Wiza"], ["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", "Mendy Hahn"], ["name", "Louisa Wiza"], ["created_at", "2018-09-05 05:36:11.321237"], ["updated_at", "2018-09-05 05:36:11.321237"]]  (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", "Claudine Kris"], ["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", "Claudine Kris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.326178"], ["updated_at", "2018-09-05 05:36:11.326178"]]  (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", "Alene Greenfelder"], ["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", "Alene Greenfelder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.330999"], ["updated_at", "2018-09-05 05:36:11.330999"]]  (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", "Kathern Weber"], ["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", "Kathern Weber"], ["name", "Merrie Padberg"], ["address", "Judith Gleason"], ["created_at", "2018-09-05 05:36:11.335880"], ["updated_at", "2018-09-05 05:36:11.335880"]]  (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", "Sherryl Nader"], ["service_delivery_unit_id", 2], ["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", "Sherryl Nader"], ["name", "Tessa Zieme"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:36:11.340918"], ["updated_at", "2018-09-05 05:36:11.340918"]] 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", 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", "Sherryl Nader"], ["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", "Sherryl Nader"], ["name", "Tessa Zieme"], ["description", "Default bundle for service 'Tessa Zieme'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:36:11.346588"], ["updated_at", "2018-09-05 05:36:11.346588"]] 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", 2], ["chargeable_service_id", 2]]  (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", "Maricruz Hane"], ["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", "Brynn Quigley"], ["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", "Maricruz Hane"], ["name", "Brynn Quigley"], ["created_at", "2018-09-05 05:36:11.356577"], ["updated_at", "2018-09-05 05:36:11.356577"]]  (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", "Ileana Torphy"], ["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", "Ileana Torphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.361476"], ["updated_at", "2018-09-05 05:36:11.361476"]]  (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", "Reatha 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", "Reatha Langworth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.366002"], ["updated_at", "2018-09-05 05:36:11.366002"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Nelia Hackett"], ["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", "Nelia Hackett"], ["name", "Shamika Ryan"], ["address", "Georgeanna Pagac"], ["created_at", "2018-09-05 05:36:11.372237"], ["updated_at", "2018-09-05 05:36:11.372237"]]  (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", "Carey Rutherford"], ["service_delivery_unit_id", 3], ["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", "Carey Rutherford"], ["name", "Kimi Murazik"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:36:11.377487"], ["updated_at", "2018-09-05 05:36:11.377487"]] 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", 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", "Carey Rutherford"], ["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", "Carey Rutherford"], ["name", "Kimi Murazik"], ["description", "Default bundle for service 'Kimi Murazik'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:36:11.383317"], ["updated_at", "2018-09-05 05:36:11.383317"]] 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", 3], ["chargeable_service_id", 3]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 1], ["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", 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.3ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN ($1, $2, $3) [["id", 1], ["id", 3], ["id", 2]] [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", 1], ["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", 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] 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", 5], ["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", 6], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.3ms) 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 (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", 3], ["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", 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (18.78ms) Completed 200 OK in 45ms (Views: 31.4ms | ActiveRecord: 10.8ms)  (1.1ms) 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", "mayra_bosco@hammes.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", "Bong Lynch"], ["last_name", "Refugio Greenfelder"], ["email", "mayra_bosco@hammes.us"], ["password_digest", "$2a$04$lPhB15LcroXz8RKLKkGU1uuePBSYghIDGf4vLj.DL0IrYGCvAbY12"], ["created_at", "2018-09-05 05:36:11.453935"], ["updated_at", "2018-09-05 05:36:11.453935"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.2ms) 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", "Cordie Nolan"], ["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", "Cordie Nolan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.467783"], ["updated_at", "2018-09-05 05:36:11.467783"]]  (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", "Song Moore"], ["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", "Song Moore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.474467"], ["updated_at", "2018-09-05 05:36:11.474467"]]  (0.5ms) 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", "Susan Gerlach"], ["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", "Susan Gerlach"], ["name", "Kandy Kuhn"], ["address", "Allen Daugherty"], ["created_at", "2018-09-05 05:36:11.480457"], ["updated_at", "2018-09-05 05:36:11.480457"]]  (0.8ms) 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", "Melissa Franecki"], ["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", "Fabiola Glover"], ["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", "Melissa Franecki"], ["name", "Fabiola Glover"], ["created_at", "2018-09-05 05:36:11.487363"], ["updated_at", "2018-09-05 05:36:11.487363"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Mora Strosin", "name"=>"Terri Mitchell", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.0ms) 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 (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", "Mora Strosin"], ["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.8ms) 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.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", "Mora Strosin"], ["name", "Terri Mitchell"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:36:11.507393"], ["updated_at", "2018-09-05 05:36:11.507393"]] 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", 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", "Mora Strosin"], ["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", "Mora Strosin"], ["name", "Terri Mitchell"], ["description", "Default bundle for service 'Terri Mitchell'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:36:11.513670"], ["updated_at", "2018-09-05 05:36:11.513670"]] 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", 4], ["chargeable_service_id", 4]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 24ms (ActiveRecord: 11.6ms)  (1.1ms) ROLLBACK  (1.0ms) BEGIN  (1.5ms) 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", "ramon@hayestowne.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", "Lauretta Daugherty"], ["last_name", "Martine Ernser"], ["email", "ramon@hayestowne.name"], ["password_digest", "$2a$04$Mqr6BINAWrmFRVcBxVSD1ej4nxsPVSQwHvM9PwBQRE4NaDdcpNh0G"], ["created_at", "2018-09-05 05:36:11.534419"], ["updated_at", "2018-09-05 05:36:11.534419"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Roseann Kerluke"], ["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", "Roseann Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.541004"], ["updated_at", "2018-09-05 05:36:11.541004"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Gennie Harris"], ["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", "Gennie Harris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.547687"], ["updated_at", "2018-09-05 05:36:11.547687"]]  (0.8ms) 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", "Myra Hintz"], ["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", "Myra Hintz"], ["name", "Robbyn Schuppe"], ["address", "Jacquetta Lueilwitz"], ["created_at", "2018-09-05 05:36:11.552869"], ["updated_at", "2018-09-05 05:36:11.552869"]]  (0.4ms) 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", "Wynona Jerde"], ["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", "Kerry Grady"], ["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", "Wynona Jerde"], ["name", "Kerry Grady"], ["created_at", "2018-09-05 05:36:11.558901"], ["updated_at", "2018-09-05 05:36:11.558901"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Iliana Romaguera", "name"=>"Graig Rutherford", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.2ms) 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 (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", "Iliana Romaguera"], ["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 (1.5ms) 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 (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", 5], ["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", "Iliana Romaguera"], ["name", "Graig Rutherford"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:36:11.573415"], ["updated_at", "2018-09-05 05:36:11.573415"]] 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", 5], ["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", "Iliana Romaguera"], ["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", "Iliana Romaguera"], ["name", "Graig Rutherford"], ["description", "Default bundle for service 'Graig Rutherford'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:36:11.580095"], ["updated_at", "2018-09-05 05:36:11.580095"]] 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", 5], ["chargeable_service_id", 5]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 24ms (ActiveRecord: 12.1ms)  (0.9ms) 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", "detra@dubuque.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", "Logan Hammes"], ["last_name", "Lyndsey Williamson"], ["email", "detra@dubuque.info"], ["password_digest", "$2a$04$ZgTlas4cmrc49Oxp5Smv1efWB3cnbn4yQd4MTkTxpAtNFKl.pF1K2"], ["created_at", "2018-09-05 05:36:11.595736"], ["updated_at", "2018-09-05 05:36:11.595736"]]  (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", "Rosie Russel"], ["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", "Rosie Russel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.603625"], ["updated_at", "2018-09-05 05:36:11.603625"]]  (1.0ms) 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", "Elna Hodkiewicz"], ["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", "Elna Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.610648"], ["updated_at", "2018-09-05 05:36:11.610648"]]  (0.5ms) 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", "Telma Abernathy"], ["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", "Telma Abernathy"], ["name", "Jo Hermiston"], ["address", "Allan Huels"], ["created_at", "2018-09-05 05:36:11.617002"], ["updated_at", "2018-09-05 05:36:11.617002"]]  (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", "Will Schamberger"], ["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", "Kristal Corkery"], ["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", "Will Schamberger"], ["name", "Kristal Corkery"], ["created_at", "2018-09-05 05:36:11.624565"], ["updated_at", "2018-09-05 05:36:11.624565"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Louise Beatty", "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]]  (1.3ms) 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", ""], ["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.7ms) 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.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.18ms) Completed 422 Unprocessable Entity in 34ms (Views: 11.7ms | ActiveRecord: 7.7ms)  (0.9ms) 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", "mertie@hirthe.co.uk"], ["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", "Jayne Cole"], ["last_name", "Hoyt Nolan"], ["email", "mertie@hirthe.co.uk"], ["password_digest", "$2a$04$4DmN.qh417UwTskEdTe87eyhlMVa7W1ElAsufHl861g4pLE9NepYK"], ["created_at", "2018-09-05 05:36:11.674317"], ["updated_at", "2018-09-05 05:36:11.674317"]]  (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", "Lady Yost"], ["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", "Joette Schulist"], ["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", "Lady Yost"], ["name", "Joette Schulist"], ["created_at", "2018-09-05 05:36:11.683670"], ["updated_at", "2018-09-05 05:36:11.683670"]]  (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", "Alfonzo Wolff"], ["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", "Alfonzo Wolff"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.690131"], ["updated_at", "2018-09-05 05:36:11.690131"]]  (1.3ms) 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", "Elyse Williamson"], ["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", "Elyse Williamson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.699898"], ["updated_at", "2018-09-05 05:36:11.699898"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.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", "Jason Schaefer"], ["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", "Jason Schaefer"], ["name", "Minta Walker"], ["address", "Dusty Miller"], ["created_at", "2018-09-05 05:36:11.707674"], ["updated_at", "2018-09-05 05:36:11.707674"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kimiko Bins"], ["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", "Kimiko Bins"], ["name", "Bo Conn"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:36:11.714685"], ["updated_at", "2018-09-05 05:36:11.714685"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kimiko Bins"], ["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", "Kimiko Bins"], ["name", "Bo Conn"], ["description", "Default bundle for service 'Bo Conn'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:36:11.721033"], ["updated_at", "2018-09-05 05:36:11.721033"]] 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.7ms) 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.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.8ms) 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", "Kimiko Bins"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 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 (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", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Update (1.4ms) 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 05:36:11.747025"], ["id", 6]] 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", 7], ["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", "Kimiko Bins"], ["LIMIT", 1]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 40ms (ActiveRecord: 12.4ms)  (1.0ms) 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", "eustolia.schaden@klockokrajcik.biz"], ["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", "Iona Gleason"], ["last_name", "Sunni Adams"], ["email", "eustolia.schaden@klockokrajcik.biz"], ["password_digest", "$2a$04$N6nDCifiY.KRvPM6Ifin5eNguItCdmVI7Bk5Sjn7NxsXBB/jSZK9C"], ["created_at", "2018-09-05 05:36:11.779735"], ["updated_at", "2018-09-05 05:36:11.779735"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Rosanne Yundt"], ["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", "Charisse Schaefer"], ["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", "Rosanne Yundt"], ["name", "Charisse Schaefer"], ["created_at", "2018-09-05 05:36:11.790280"], ["updated_at", "2018-09-05 05:36:11.790280"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Consuelo Stokes"], ["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", "Consuelo Stokes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.798503"], ["updated_at", "2018-09-05 05:36:11.798503"]]  (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", "Breann 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", "Breann Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.804701"], ["updated_at", "2018-09-05 05:36:11.804701"]]  (0.7ms) RELEASE SAVEPOINT active_record_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", "Twanna Gusikowski"], ["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", "Twanna Gusikowski"], ["name", "Beaulah Tromp"], ["address", "Ines Abshire"], ["created_at", "2018-09-05 05:36:11.817556"], ["updated_at", "2018-09-05 05:36:11.817556"]]  (0.4ms) 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", "Mitsue Waelchi"], ["service_delivery_unit_id", 8], ["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", "Mitsue Waelchi"], ["name", "Maurine Yundt"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:36:11.822043"], ["updated_at", "2018-09-05 05:36:11.822043"]] 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]] 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", "Mitsue Waelchi"], ["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", "Mitsue Waelchi"], ["name", "Maurine Yundt"], ["description", "Default bundle for service 'Maurine Yundt'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:36:11.827320"], ["updated_at", "2018-09-05 05:36:11.827320"]] 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.6ms) 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 (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", "Mitsue Waelchi"], ["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.7ms) 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.8ms) 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.09ms) Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 6.4ms)  (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", "jewell@mertz.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", "Lyda Mante"], ["last_name", "Cecille Runolfsdottir"], ["email", "jewell@mertz.biz"], ["password_digest", "$2a$04$PE3.rCLU6zIH8gfhr/ApGeOcqcu6DWxto/FWWqonFbo8A/UNC2mwe"], ["created_at", "2018-09-05 05:36:11.854813"], ["updated_at", "2018-09-05 05:36:11.854813"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Rich Dickens"], ["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", "Rich Dickens"], ["name", "Ruth Farrell"], ["address", "Annita Mayer"], ["created_at", "2018-09-05 05:36:11.862566"], ["updated_at", "2018-09-05 05:36:11.862566"]]  (0.6ms) 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", "Daryl McGlynn"], ["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", "Daryl McGlynn"], ["name", "Marlena Hegmann"], ["address", "Noel Klocko"], ["created_at", "2018-09-05 05:36:11.867792"], ["updated_at", "2018-09-05 05:36:11.867792"]]  (0.4ms) 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", "Parker Schimmel"], ["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", "Rosamaria Welch"], ["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", "Parker Schimmel"], ["name", "Rosamaria Welch"], ["created_at", "2018-09-05 05:36:11.873614"], ["updated_at", "2018-09-05 05:36:11.873614"]]  (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", "Penni Johns"], ["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", "Penni Johns"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.878255"], ["updated_at", "2018-09-05 05:36:11.878255"]]  (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", "Renda Friesen"], ["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", "Renda Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.882359"], ["updated_at", "2018-09-05 05:36:11.882359"]]  (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", "Isidra Bednar"], ["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.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", "Isidra Bednar"], ["name", "Etta Terry"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:36:11.888170"], ["updated_at", "2018-09-05 05:36:11.888170"]] 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", 9], ["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", "Isidra Bednar"], ["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", "Isidra Bednar"], ["name", "Etta Terry"], ["description", "Default bundle for service 'Etta Terry'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:36:11.894381"], ["updated_at", "2018-09-05 05:36:11.894381"]] 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.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", "Celesta Runolfsdottir"], ["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", "Celia Kutch"], ["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", "Celesta Runolfsdottir"], ["name", "Celia Kutch"], ["created_at", "2018-09-05 05:36:11.903257"], ["updated_at", "2018-09-05 05:36:11.903257"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Hildegard Senger"], ["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", "Hildegard Senger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.907771"], ["updated_at", "2018-09-05 05:36:11.907771"]]  (0.5ms) 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", "Sage Rosenbaum"], ["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", "Sage Rosenbaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.912692"], ["updated_at", "2018-09-05 05:36:11.912692"]]  (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", "Viviana Schinner"], ["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.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", "Viviana Schinner"], ["name", "Dierdre Herman"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:36:11.918891"], ["updated_at", "2018-09-05 05:36:11.918891"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Viviana Schinner"], ["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", "Viviana Schinner"], ["name", "Dierdre Herman"], ["description", "Default bundle for service 'Dierdre Herman'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:36:11.923952"], ["updated_at", "2018-09-05 05:36:11.923952"]] 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.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", "Beatris Weimann"], ["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", "Lorita Bogisich"], ["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", "Beatris Weimann"], ["name", "Lorita Bogisich"], ["created_at", "2018-09-05 05:36:11.932960"], ["updated_at", "2018-09-05 05:36:11.932960"]]  (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", "Zina Stanton"], ["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", "Zina Stanton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.937683"], ["updated_at", "2018-09-05 05:36:11.937683"]]  (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", "Kendall Kuphal"], ["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", "Kendall Kuphal"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.941995"], ["updated_at", "2018-09-05 05:36:11.941995"]]  (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", "Rhiannon Ullrich"], ["service_delivery_unit_id", 10], ["LIMIT", 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", 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", "Rhiannon Ullrich"], ["name", "Junita Heller"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:36:11.948469"], ["updated_at", "2018-09-05 05:36:11.948469"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rhiannon Ullrich"], ["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", "Rhiannon Ullrich"], ["name", "Junita Heller"], ["description", "Default bundle for service 'Junita Heller'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:36:11.953303"], ["updated_at", "2018-09-05 05:36:11.953303"]] 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", 10], ["chargeable_service_id", 10]]  (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", "Loreen Mitchell"], ["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", "Oralia Champlin"], ["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", "Loreen Mitchell"], ["name", "Oralia Champlin"], ["created_at", "2018-09-05 05:36:11.963043"], ["updated_at", "2018-09-05 05:36:11.963043"]]  (0.6ms) 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", "Gregory Bode"], ["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", "Gregory Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.967810"], ["updated_at", "2018-09-05 05:36:11.967810"]]  (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", "Doretta Dooley"], ["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", "Doretta Dooley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:11.972622"], ["updated_at", "2018-09-05 05:36:11.972622"]]  (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", "Dollie Thompson"], ["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", "Dollie Thompson"], ["name", "Toney Zulauf"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:36:11.978919"], ["updated_at", "2018-09-05 05:36:11.978919"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Dollie Thompson"], ["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", "Dollie Thompson"], ["name", "Toney Zulauf"], ["description", "Default bundle for service 'Toney Zulauf'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:36:11.983609"], ["updated_at", "2018-09-05 05:36:11.983609"]] 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", 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.7ms) 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.9ms) 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 (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", 9], ["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", 17], ["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", 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.5ms) 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.5ms) 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.5ms) 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.6ms) 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.7ms) Completed 200 OK in 18ms (Views: 8.6ms | ActiveRecord: 7.9ms)  (1.1ms) ROLLBACK  (0.7ms) 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", "renata@spencer.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", "Theresia Windler"], ["last_name", "Kendall Wunsch"], ["email", "renata@spencer.info"], ["password_digest", "$2a$04$eeDw1Lk191ySyMMjB3FzRO4aga5RQXZKugC/qvZ5mhyVJBXQBTfKO"], ["created_at", "2018-09-05 05:36:12.019818"], ["updated_at", "2018-09-05 05:36:12.019818"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) 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", "daphne@hirthekassulke.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", "Jason Wolf"], ["last_name", "Margarite Christiansen"], ["email", "daphne@hirthekassulke.com"], ["password_digest", "$2a$04$viR8BqxwXZa9vAXoh45.I.vyV0L/u.7YHmPZVqUAddZZBdiLOqJ/u"], ["created_at", "2018-09-05 05:36:12.033125"], ["updated_at", "2018-09-05 05:36:12.033125"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "shakita.prosacco@donnelly.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", "Jermaine Sawayn"], ["last_name", "Reynalda Emard"], ["email", "shakita.prosacco@donnelly.biz"], ["password_digest", "$2a$04$UVE6URAKv5QqffApyVPFKOBUu7t9gZPEZ5tGm.wPdVNOvdLcJAcCC"], ["created_at", "2018-09-05 05:36:12.046485"], ["updated_at", "2018-09-05 05:36:12.046485"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) 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", "leisha@rogahn.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", "Denver Will"], ["last_name", "Mirtha Nikolaus"], ["email", "leisha@rogahn.com"], ["password_digest", "$2a$04$gAQFcoVZA/8z5a2GagKwHe35.UoljDO4swzjPjZH9G3WyV/xMKvKu"], ["created_at", "2018-09-05 05:36:12.064417"], ["updated_at", "2018-09-05 05:36:12.064417"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (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", "kerrie@stroman.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", "Rachele Gutkowski"], ["last_name", "Corine O'Reilly"], ["email", "kerrie@stroman.biz"], ["password_digest", "$2a$04$DYfkRjIAhMw8sKw9jkqRzOvUTnZi1f/M85jU7VyxjrknjITxvLo3e"], ["created_at", "2018-09-05 05:36:12.077916"], ["updated_at", "2018-09-05 05:36:12.077916"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "kasha@pagac.com"], ["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", "Lawrence Gerlach"], ["last_name", "Jin Bode"], ["email", "kasha@pagac.com"], ["password_digest", "$2a$04$k29jikLgUVdN8KNTi4MBCeVQ2TK.QNdgSqjhOxXCyz9KK7HcqQOh2"], ["created_at", "2018-09-05 05:36:12.091745"], ["updated_at", "2018-09-05 05:36:12.091745"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (1.1ms) 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", "valorie@greenaufderhar.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", "Roxanne Reynolds"], ["last_name", "Ivan Reinger"], ["email", "valorie@greenaufderhar.info"], ["password_digest", "$2a$04$gUQdGt8DNvj9gDFzDVHbD.x8ECzRLAyjDW5kGlDgPwMIGy4OBF0Bu"], ["created_at", "2018-09-05 05:36:12.106828"], ["updated_at", "2018-09-05 05:36:12.106828"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) ROLLBACK  (0.7ms) BEGIN  (1.3ms) 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", "ronda_lindgren@wildermanwolf.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", "Rodrigo Hayes"], ["last_name", "Jarod Kuvalis"], ["email", "ronda_lindgren@wildermanwolf.name"], ["password_digest", "$2a$04$Uf888pLG0yeX46GU1TP2Su/hZvMRfxY//7u0FRzMOSOjSIFuzxN/y"], ["created_at", "2018-09-05 05:36:12.122177"], ["updated_at", "2018-09-05 05:36:12.122177"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (1.1ms) 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", "jayson_cartwright@price.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", "Starr Legros"], ["last_name", "Kecia Mann"], ["email", "jayson_cartwright@price.info"], ["password_digest", "$2a$04$3.s2yH/awBo3XKouAPZHPOqr1xkx/7fEgjRH2hvE40fnAeS2vG582"], ["created_at", "2018-09-05 05:36:12.135359"], ["updated_at", "2018-09-05 05:36:12.135359"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.1ms) 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", "candelaria_kutch@strosin.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", "Estela Larkin"], ["last_name", "Ruthann Metz"], ["email", "candelaria_kutch@strosin.us"], ["password_digest", "$2a$04$VEe8/azXHkwoArD9zZrodO/vhbuG1ozAPDuBHVvCpWRyGMd/vaWpO"], ["created_at", "2018-09-05 05:36:12.148251"], ["updated_at", "2018-09-05 05:36:12.148251"]]  (0.7ms) 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", "Juli Jerde"], ["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", "Juli Jerde"], ["name", "Preston Reynolds"], ["address", "Jessie Franecki"], ["created_at", "2018-09-05 05:36:12.154964"], ["updated_at", "2018-09-05 05:36:12.154964"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Denna Stanton"], ["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", "Denna Stanton"], ["name", "Katharine Grady"], ["description", "Glennie Rath"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:36:12.162583"], ["updated_at", "2018-09-05 05:36:12.162583"]]  (0.7ms) 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", 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]] 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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.09ms) Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 3.3ms)  (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", "bryant@bayer.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", "Thurman Stokes"], ["last_name", "Sidney Waelchi"], ["email", "bryant@bayer.co.uk"], ["password_digest", "$2a$04$qRXkQq5nNdpSie4hDd1F6.9XGthSmfkhAUorn8CpSmNkW1H4Nqk8a"], ["created_at", "2018-09-05 05:36:12.184092"], ["updated_at", "2018-09-05 05:36:12.184092"]]  (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", "Erinn McLaughlin"], ["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", "Erinn McLaughlin"], ["name", "Suk Spencer"], ["address", "Abdul Ernser"], ["created_at", "2018-09-05 05:36:12.189267"], ["updated_at", "2018-09-05 05:36:12.189267"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_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", "Cruz Bruen"], ["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", "Cruz Bruen"], ["name", "Milagros Hermann"], ["description", "Jae Block"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:36:12.195748"], ["updated_at", "2018-09-05 05:36:12.195748"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Cheree Carter"], ["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", "Cheree Carter"], ["name", "Georgia Friesen"], ["description", "Darrell Gerlach"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:36:12.202354"], ["updated_at", "2018-09-05 05:36:12.202354"]]  (1.0ms) 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", "Leroy Bernier"], ["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", "Leroy Bernier"], ["name", "Terresa Hirthe"], ["description", "Sigrid Metz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:36:12.210540"], ["updated_at", "2018-09-05 05:36:12.210540"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (2.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [active_model_serializers] 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", 12], ["LIMIT", 1]] [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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.43ms) Completed 200 OK in 17ms (Views: 7.9ms | ActiveRecord: 8.2ms)  (0.8ms) 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", "bethany@reilly.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", "Ching Kutch"], ["last_name", "Evelyn Morar"], ["email", "bethany@reilly.info"], ["password_digest", "$2a$04$8JhGkltzy4m5zQFIoL5lKuRQY3ztQgkka2B/S28Yp1Ugr8Zt6/b6S"], ["created_at", "2018-09-05 05:36:12.240623"], ["updated_at", "2018-09-05 05:36:12.240623"]]  (0.8ms) 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", "Jacinda Bradtke"], ["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", "Jacinda Bradtke"], ["name", "Ollie Senger"], ["address", "Dominga Mayert"], ["created_at", "2018-09-05 05:36:12.247619"], ["updated_at", "2018-09-05 05:36:12.247619"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Lindsy Rutherford"], ["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", "Lindsy Rutherford"], ["name", "Tonia Johns"], ["description", "Willis Rau"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:36:12.254979"], ["updated_at", "2018-09-05 05:36:12.254979"]]  (0.9ms) 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", "Avril Mraz"], ["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", "Avril Mraz"], ["name", "Modesto Nicolas"], ["description", "Moshe Lockman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:36:12.263245"], ["updated_at", "2018-09-05 05:36:12.263245"]]  (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", "Eulah Schamberger"], ["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", "Eulah Schamberger"], ["name", "Chia Daugherty"], ["description", "Carline Abbott"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:36:12.268369"], ["updated_at", "2018-09-05 05:36:12.268369"]]  (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", "Jessie Padberg"], ["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", "Jessie Padberg"], ["name", "Freeda Rohan"], ["address", "Shanae Jakubowski"], ["created_at", "2018-09-05 05:36:12.273402"], ["updated_at", "2018-09-05 05:36:12.273402"]]  (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", "Anette Morar"], ["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", "Anette Morar"], ["name", "Cody Wiza"], ["description", "Onita Tremblay"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:36:12.277919"], ["updated_at", "2018-09-05 05:36:12.277919"]]  (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", "Madaline 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", "Madaline Price"], ["name", "Jeanelle Lubowitz"], ["address", "Valentine Schaden"], ["created_at", "2018-09-05 05:36:12.282844"], ["updated_at", "2018-09-05 05:36:12.282844"]]  (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", "Launa Dietrich"], ["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", "Launa Dietrich"], ["name", "Allie Olson"], ["description", "Sybil Rogahn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:36:12.287421"], ["updated_at", "2018-09-05 05:36:12.287421"]]  (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", "Laurel Graham"], ["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", "Laurel Graham"], ["name", "Roosevelt Heaney"], ["address", "Yoshiko Gutkowski"], ["created_at", "2018-09-05 05:36:12.292217"], ["updated_at", "2018-09-05 05:36:12.292217"]]  (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", "Christa Lakin"], ["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", "Christa Lakin"], ["name", "Ashleigh Zemlak"], ["description", "Abram Hessel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:36:12.296488"], ["updated_at", "2018-09-05 05:36:12.296488"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.6ms) Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 4.5ms)  (0.9ms) ROLLBACK  (0.6ms) 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", "basilia_crona@considine.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", "Alphonse Abshire"], ["last_name", "Darrell Kozey"], ["email", "basilia_crona@considine.co.uk"], ["password_digest", "$2a$04$7acyXH5qci0BCq8nRVY9MOPTdj7DWoxNrb4Mata4r8pAjEYE747Oy"], ["created_at", "2018-09-05 05:36:12.319294"], ["updated_at", "2018-09-05 05:36:12.319294"]]  (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", "Precious Ziemann"], ["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", "Precious Ziemann"], ["name", "Akilah Feil"], ["address", "Jayson Effertz"], ["created_at", "2018-09-05 05:36:12.324857"], ["updated_at", "2018-09-05 05:36:12.324857"]]  (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", "Claris Boehm"], ["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", "Claris Boehm"], ["name", "Adelaide Mayer"], ["description", "Brianne Hodkiewicz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:36:12.329375"], ["updated_at", "2018-09-05 05:36:12.329375"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show 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", 20], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 22], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.27ms) Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 3.4ms)  (1.1ms) ROLLBACK  (0.6ms) 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", "ashli@abbott.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", "Theo Gerlach"], ["last_name", "Cortez Wunsch"], ["email", "ashli@abbott.us"], ["password_digest", "$2a$04$CIL9X8gy87zn6so/rwILVuCJWOUdNG3WbKj8GDJxL7P/OuAMNuHGm"], ["created_at", "2018-09-05 05:36:12.352340"], ["updated_at", "2018-09-05 05:36:12.352340"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Celena Heller"], ["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", "Celena Heller"], ["name", "Cynthia Thiel"], ["address", "Teresita Gorczany"], ["created_at", "2018-09-05 05:36:12.361703"], ["updated_at", "2018-09-05 05:36:12.361703"]]  (0.6ms) 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", "Elvis Prohaska"], ["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", "Elvis Prohaska"], ["name", "First Service Bundle"], ["description", "Sherry Klocko"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:36:12.367304"], ["updated_at", "2018-09-05 05:36:12.367304"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Merle Dach"], ["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", "Merle Dach"], ["name", "Pearlene Von"], ["address", "Shelton Baumbach"], ["created_at", "2018-09-05 05:36:12.373756"], ["updated_at", "2018-09-05 05:36:12.373756"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Lorelei Littel"], ["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", "Lorelei Littel"], ["name", "Second Service Bundle"], ["description", "Renda Schneider"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:36:12.380016"], ["updated_at", "2018-09-05 05:36:12.380016"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.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 (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", 18], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (1.93ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 3.3ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["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 '%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", 18], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.22ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 7.9ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.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", "shayne_prosacco@fritsch.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", "Herma Ledner"], ["last_name", "Kendall O'Connell"], ["email", "shayne_prosacco@fritsch.info"], ["password_digest", "$2a$04$INe0OUfXWzs1//b0I2GEpe5kZKiHwSSFlXap7L2s2o1WY3aebAvLa"], ["created_at", "2018-09-05 05:36:12.407898"], ["updated_at", "2018-09-05 05:36:12.407898"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Theressa Rice"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Theressa Rice"], ["name", "Tammy Feest"], ["address", "Gayle Mosciski"], ["created_at", "2018-09-05 05:36:12.415252"], ["updated_at", "2018-09-05 05:36:12.415252"]]  (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", "Matilda Okuneva"], ["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", "Matilda Okuneva"], ["name", "FIRst Service Bundle"], ["description", "Marsha Powlowski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:36:12.422805"], ["updated_at", "2018-09-05 05:36:12.422805"]]  (0.9ms) 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", "Theodora Corwin"], ["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", "Theodora Corwin"], ["name", "Arnette Stehr"], ["address", "Nickole Hettinger"], ["created_at", "2018-09-05 05:36:12.429357"], ["updated_at", "2018-09-05 05:36:12.429357"]]  (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", "Noel Pouros"], ["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", "Noel Pouros"], ["name", "Second Service Bundle for the firST time"], ["description", "Peter Stanton"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:36:12.433746"], ["updated_at", "2018-09-05 05:36:12.433746"]]  (0.6ms) 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", 22], ["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", 22], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.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.0ms) 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]] [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 (3.42ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 4.2ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "waldo_kuhlman@friesenkessler.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", "Lacy Corwin"], ["last_name", "Ava Trantow"], ["email", "waldo_kuhlman@friesenkessler.us"], ["password_digest", "$2a$04$Hyd7XCb2ydgh9en8pvUnpONvf.tDBFDc3rcpUbib7PeQ3ZcrTPlX2"], ["created_at", "2018-09-05 05:36:12.454666"], ["updated_at", "2018-09-05 05:36:12.454666"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (1.2ms) 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", "Twyla Walsh"], ["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", "Twyla Walsh"], ["name", "Delpha Zulauf"], ["address", "Carolee Bode"], ["created_at", "2018-09-05 05:36:12.464362"], ["updated_at", "2018-09-05 05:36:12.464362"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Melba Becker", "description"=>"Verdie Murray", "name"=>"Britta Mitchell", "service_delivery_unit_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", 23], ["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", 22], ["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", "Melba Becker"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Melba Becker"], ["name", "Britta Mitchell"], ["description", "Verdie Murray"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:36:12.474802"], ["updated_at", "2018-09-05 05:36:12.474802"]]  (0.7ms) 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.23ms) Completed 201 Created in 12ms (Views: 1.7ms | ActiveRecord: 6.0ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.7ms) 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", "dannette_stoltenberg@rauoreilly.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", "Sibyl Cummerata"], ["last_name", "Tommy Zieme"], ["email", "dannette_stoltenberg@rauoreilly.biz"], ["password_digest", "$2a$04$53qyk.hG.xOOEy9MzGQCfu83wxu1Hfz8Sx9UJcykabJyhL6sf6Jqy"], ["created_at", "2018-09-05 05:36:12.490008"], ["updated_at", "2018-09-05 05:36:12.490008"]]  (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", "Mui Halvorson"], ["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", "Mui Halvorson"], ["name", "Carli Tromp"], ["address", "Tammie Prohaska"], ["created_at", "2018-09-05 05:36:12.495614"], ["updated_at", "2018-09-05 05:36:12.495614"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Peggie Schmidt", "description"=>"Serita Cremin", "name"=>"Dorcas Stehr", "service_delivery_unit_id"=>"23"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.9ms) 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", 23], ["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", "Peggie Schmidt"], ["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", "Peggie Schmidt"], ["name", "Dorcas Stehr"], ["description", "Serita Cremin"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:36:12.507726"], ["updated_at", "2018-09-05 05:36:12.507726"]]  (1.4ms) RELEASE 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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 15ms (Views: 2.2ms | ActiveRecord: 7.9ms) Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (1.3ms) 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", "kerri@bergnaum.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", "Lacresha Beer"], ["last_name", "Britany Spinka"], ["email", "kerri@bergnaum.com"], ["password_digest", "$2a$04$duTE5n99A4sLRm3.pqkbwOJ4JenBOBYA9lAcv8gQq1uZOo342p8ZG"], ["created_at", "2018-09-05 05:36:12.529140"], ["updated_at", "2018-09-05 05:36:12.529140"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Antonetta Dare"], ["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", "Antonetta Dare"], ["name", "Madelaine Greenholt"], ["address", "Elisha Stamm"], ["created_at", "2018-09-05 05:36:12.535634"], ["updated_at", "2018-09-05 05:36:12.535634"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Dwayne Nitzsche", "name"=>"Francine Gutkowski", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 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", 24], ["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", ""], ["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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.1ms) Completed 422 Unprocessable Entity in 14ms (Views: 4.6ms | ActiveRecord: 5.4ms)  (1.1ms) 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", "candice@kilbackstark.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", "Lena Kihn"], ["last_name", "Keitha Volkman"], ["email", "candice@kilbackstark.co.uk"], ["password_digest", "$2a$04$MJJof/m0E2VBvoMZYl0Vve0.TSQckVQ.BmQTfxlPYV/Yxmo1BlPza"], ["created_at", "2018-09-05 05:36:12.561806"], ["updated_at", "2018-09-05 05:36:12.561806"]]  (0.5ms) 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", "Tristan Altenwerth"], ["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", "Tristan Altenwerth"], ["name", "Delfina Frami"], ["address", "Tamala Rowe"], ["created_at", "2018-09-05 05:36:12.591965"], ["updated_at", "2018-09-05 05:36:12.591965"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Scotty Orn"], ["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", "Scotty Orn"], ["name", "Erica Mertz"], ["description", "Azucena Ruecker"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:36:12.597813"], ["updated_at", "2018-09-05 05:36:12.597813"]]  (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", "Lyndon Bogan"], ["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", "Serita Murazik"], ["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", "Lyndon Bogan"], ["name", "Serita Murazik"], ["created_at", "2018-09-05 05:36:12.604203"], ["updated_at", "2018-09-05 05:36:12.604203"]]  (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", "Freeda Hoppe"], ["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", "Freeda Hoppe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:12.608808"], ["updated_at", "2018-09-05 05:36:12.608808"]]  (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", "Carina Hilll"], ["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", "Carina Hilll"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:12.613509"], ["updated_at", "2018-09-05 05:36:12.613509"]]  (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", "Bruna Torphy"], ["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", "Bruna Torphy"], ["name", "Lanell Johnson"], ["address", "Blanche Sawayn"], ["created_at", "2018-09-05 05:36:12.618314"], ["updated_at", "2018-09-05 05:36:12.618314"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Alayna Ruecker"], ["service_delivery_unit_id", 26], ["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", "Alayna Ruecker"], ["name", "Cedric Paucek"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:36:12.624315"], ["updated_at", "2018-09-05 05:36:12.624315"]] 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", 26], ["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", "Alayna Ruecker"], ["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", "Alayna Ruecker"], ["name", "Cedric Paucek"], ["description", "Default bundle for service 'Cedric Paucek'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:36:12.630691"], ["updated_at", "2018-09-05 05:36:12.630691"]] 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", 30], ["chargeable_service_id", 12]]  (0.6ms) 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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 29], ["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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 2.8ms)  (0.9ms) 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", "antonia_schumm@feil.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", "Leora Macejkovic"], ["last_name", "Fanny Bergstrom"], ["email", "antonia_schumm@feil.info"], ["password_digest", "$2a$04$Tjf1zdKN/hnqKeA/tzAF2ukD/094W2oVSlnL2cheHFEuYgpZ7xk96"], ["created_at", "2018-09-05 05:36:12.659199"], ["updated_at", "2018-09-05 05:36:12.659199"]]  (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", "Lindsay Eichmann"], ["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", "Lindsay Eichmann"], ["name", "Alita Tillman"], ["address", "Kyla Harber"], ["created_at", "2018-09-05 05:36:12.665051"], ["updated_at", "2018-09-05 05:36:12.665051"]]  (0.7ms) 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", "Arthur Leannon"], ["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", "Arthur Leannon"], ["name", "Stephine Schmidt"], ["description", "Linsey O'Hara"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:36:12.672812"], ["updated_at", "2018-09-05 05:36:12.672812"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Olinda Skiles"}, "id"=>"31"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["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", 31], ["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", 27], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) 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", "Arthur Leannon"], ["id", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (0.9ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Olinda Skiles"], ["updated_at", "2018-09-05 05:36:12.685062"], ["id", 31]]  (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", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.29ms) Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 5.8ms) Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) 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", "corinne_pacocha@mosciski.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", "Yolande Stoltenberg"], ["last_name", "Delta Schoen"], ["email", "corinne_pacocha@mosciski.ca"], ["password_digest", "$2a$04$n/HUeyxg/4hFlyjplUJkMu6QQAiis1Bzgc9Zwc8a04VG52Zhgooyq"], ["created_at", "2018-09-05 05:36:12.699445"], ["updated_at", "2018-09-05 05:36:12.699445"]]  (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", "Bethel Nader"], ["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", "Bethel Nader"], ["name", "Kimiko Stark"], ["address", "Warren Spencer"], ["created_at", "2018-09-05 05:36:12.705238"], ["updated_at", "2018-09-05 05:36:12.705238"]]  (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", "Dionne Corkery"], ["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", "Dionne Corkery"], ["name", "Lyndsay Rau"], ["description", "Elizebeth Bradtke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:36:12.710220"], ["updated_at", "2018-09-05 05:36:12.710220"]]  (0.6ms) 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", "Bernardo Fadel"], ["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", "Bernardo Fadel"], ["name", "Angelina Boyer"], ["address", "Trena Leffler"], ["created_at", "2018-09-05 05:36:12.716339"], ["updated_at", "2018-09-05 05:36:12.716339"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Edythe Vandervort", "description"=>"Valentine Beer", "name"=>"Nancy Lueilwitz", "service_delivery_unit_id"=>"29"}, "id"=>"32"} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 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", 29], ["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", "Edythe Vandervort"], ["id", 32], ["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", "Edythe Vandervort"], ["name", "Nancy Lueilwitz"], ["description", "Valentine Beer"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:36:12.732224"], ["id", 32]]  (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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 8.1ms)  (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", "rudy.okeefe@konopelski.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", "Keli O'Conner"], ["last_name", "Del Morar"], ["email", "rudy.okeefe@konopelski.biz"], ["password_digest", "$2a$04$JVMAr/XWQk6BnMOVH5d64eeu.clqQj1VhZ3uEP/rjo5n0QbRzjHee"], ["created_at", "2018-09-05 05:36:12.745458"], ["updated_at", "2018-09-05 05:36:12.745458"]]  (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", "Vanita Gottlieb"], ["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", "Vanita Gottlieb"], ["name", "Michal Kunze"], ["address", "Tanna Ruecker"], ["created_at", "2018-09-05 05:36:12.752011"], ["updated_at", "2018-09-05 05:36:12.752011"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Arvilla Paucek"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Arvilla Paucek"], ["name", "Addie Labadie"], ["description", "Fernando Metz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:36:12.757904"], ["updated_at", "2018-09-05 05:36:12.757904"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.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", "Lory Ward"], ["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", "Lory Ward"], ["name", "Blair Quitzon"], ["address", "Kayleigh Doyle"], ["created_at", "2018-09-05 05:36:12.768613"], ["updated_at", "2018-09-05 05:36:12.768613"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Doretta Rosenbaum", "name"=>"Lacresha Sawayn", "service_delivery_unit_id"=>"31"}, "id"=>"33"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]  (1.1ms) 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", 31], ["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", ""], ["id", 33], ["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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.1ms | ActiveRecord: 5.9ms)  (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", "annette_kirlin@goodwin.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", "Dagmar Toy"], ["last_name", "Charlyn Hane"], ["email", "annette_kirlin@goodwin.info"], ["password_digest", "$2a$04$8zzT1VVKA3eVOTT85nGF9.Ue5JsYWpMvvIGM5LJLtPTEMOpGNbzE6"], ["created_at", "2018-09-05 05:36:12.791955"], ["updated_at", "2018-09-05 05:36:12.791955"]]  (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", "Bernice Hand"], ["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", "Bernice Hand"], ["name", "Cherlyn Casper"], ["address", "Renda Ratke"], ["created_at", "2018-09-05 05:36:12.797320"], ["updated_at", "2018-09-05 05:36:12.797320"]]  (0.7ms) 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", "Saundra Berge"], ["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", "Saundra Berge"], ["name", "Rae Graham"], ["address", "Davina Dare"], ["created_at", "2018-09-05 05:36:12.803617"], ["updated_at", "2018-09-05 05:36:12.803617"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mathew Corwin"], ["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", "Mathew Corwin"], ["name", "Alan Roberts"], ["address", "Jannie Altenwerth"], ["created_at", "2018-09-05 05:36:12.809105"], ["updated_at", "2018-09-05 05:36:12.809105"]]  (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", 30], ["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", 30], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) 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.64ms) Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 2.2ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (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", "chery@hudsoncormier.co.uk"], ["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", "Eloisa Farrell"], ["last_name", "Caterina Robel"], ["email", "chery@hudsoncormier.co.uk"], ["password_digest", "$2a$04$Fl2gVsx8GM1vpC9WvQeSxevLjf/ar6GLJaKXeOG2Rpdc5GgpFfRMO"], ["created_at", "2018-09-05 05:36:12.836002"], ["updated_at", "2018-09-05 05:36:12.836002"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Ora Becker", "code"=>"Miguelina Lehner", "name"=>"Eugena Pfeffer"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 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", "Miguelina Lehner"], ["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", "Miguelina Lehner"], ["name", "Eugena Pfeffer"], ["address", "Ora Becker"], ["created_at", "2018-09-05 05:36:12.846000"], ["updated_at", "2018-09-05 05:36:12.846000"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 9ms (ActiveRecord: 5.0ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "afton@bauch.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", "Deanne Nikolaus"], ["last_name", "Brandon Reichel"], ["email", "afton@bauch.name"], ["password_digest", "$2a$04$HezKvlQrIlF4zU6Q0sFpfOj5UMfz8hfu.MrqmVo.ImOfA1Yh4qgSy"], ["created_at", "2018-09-05 05:36:12.860481"], ["updated_at", "2018-09-05 05:36:12.860481"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Phung Conn", "code"=>"Ashlie Rolfson", "name"=>"Myrta Bahringer"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 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", "Ashlie Rolfson"], ["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", "Ashlie Rolfson"], ["name", "Myrta Bahringer"], ["address", "Phung Conn"], ["created_at", "2018-09-05 05:36:12.869655"], ["updated_at", "2018-09-05 05:36:12.869655"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 9ms (ActiveRecord: 5.1ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) 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", "khadijah_schroeder@trantow.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", "Laurena Runolfsson"], ["last_name", "Griselda Collier"], ["email", "khadijah_schroeder@trantow.co.uk"], ["password_digest", "$2a$04$i/lZC.wry0IVIpOqS7SRku3AW3P4mQ5Sf2N/Z/f.S7pDe84ln1Ztq"], ["created_at", "2018-09-05 05:36:12.883453"], ["updated_at", "2018-09-05 05:36:12.883453"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Jamey Cole", "code"=>"", "name"=>"Shayla Keeling"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 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", ""], ["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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 4.7ms)  (0.7ms) 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", "melvin_okon@friesenrippin.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", "Chere Borer"], ["last_name", "Kari Casper"], ["email", "melvin_okon@friesenrippin.us"], ["password_digest", "$2a$04$1J6402j3E/kUfz1CkE9qXOVUkBAPMXH3euhzXf2kaX0ITpGpK1xNS"], ["created_at", "2018-09-05 05:36:12.906029"], ["updated_at", "2018-09-05 05:36:12.906029"]]  (1.4ms) 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", "Yuri Fisher"], ["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", "Yuri Fisher"], ["name", "Beverly Huel"], ["address", "Grayce Kemmer"], ["created_at", "2018-09-05 05:36:12.913079"], ["updated_at", "2018-09-05 05:36:12.913079"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 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]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.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", "Yuri Fisher"], ["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (1.5ms) 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 05:36:12.925171"], ["id", 37]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 11ms (ActiveRecord: 6.3ms)  (2.2ms) ROLLBACK  (0.5ms) 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", "dominque@gaylord.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", "Catheryn Ortiz"], ["last_name", "Linda Braun"], ["email", "dominque@gaylord.name"], ["password_digest", "$2a$04$eC5mlYaG13KWMTYf6v.wdOgkVjW7iyd1ameQLw456kc5VGoePfsgW"], ["created_at", "2018-09-05 05:36:12.940280"], ["updated_at", "2018-09-05 05:36:12.940280"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Maxima Harris"], ["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", "Maxima Harris"], ["name", "Rozella Lynch"], ["address", "Randall Schiller"], ["created_at", "2018-09-05 05:36:12.946553"], ["updated_at", "2018-09-05 05:36:12.946553"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["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", 38], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Maxima Harris"], ["id", 38], ["LIMIT", 1]]  (0.5ms) 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", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.36ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.6ms | ActiveRecord: 4.9ms)  (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", "luana.medhurst@mraz.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", "Nell Buckridge"], ["last_name", "Soledad Bartell"], ["email", "luana.medhurst@mraz.biz"], ["password_digest", "$2a$04$5zVvP5wOlRkwADH.k8UNJ.MJ/ftJsBfed9JR6KY0NvuU1EUgLZ3ru"], ["created_at", "2018-09-05 05:36:12.968491"], ["updated_at", "2018-09-05 05:36:12.968491"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Elisha Jacobi"], ["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", "Michaele Veum"], ["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", "Elisha Jacobi"], ["name", "Michaele Veum"], ["description", "Rerum id autem exercitationem autem libero pariatur aperiam fugit. Eligendi sunt ut deleniti quia. Molestiae voluptates minima quis facere et. Accusantium id numquam ea molestias at laudantium."], ["created_at", "2018-09-05 05:36:13.055640"], ["updated_at", "2018-09-05 05:36:13.055640"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Zona Roob"], ["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", "Callie Schamberger"], ["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", "Zona Roob"], ["name", "Callie Schamberger"], ["description", "Eaque esse rerum unde qui quos blanditiis fugit et. Reprehenderit qui molestiae dignissimos molestiae explicabo dolorum. Sit rerum cum perferendis et. Et non ea perspiciatis totam laborum."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:36:13.063207"], ["updated_at", "2018-09-05 05:36:13.063207"]]  (0.6ms) 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", "Alexa Sauer"], ["LIMIT", 1]] Mks::Edm::Equipment Create (2.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", "Alexa Sauer"], ["name", "Tyisha Koelpin"], ["description", "Kenton Homenick"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:36:13.069831"], ["updated_at", "2018-09-05 05:36:13.069831"]]  (0.5ms) 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", "Jerrell Mante"], ["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", "Kris Kihn"], ["LIMIT", 1]] Mks::Edm::LocationType Create (10.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jerrell Mante"], ["name", "Kris Kihn"], ["description", "Julee Grant"], ["created_at", "2018-09-05 05:36:13.105395"], ["updated_at", "2018-09-05 05:36:13.105395"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Eldon Graham"], ["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", "Eldon Graham"], ["name", "Rosenda Hyatt"], ["location_type_id", 1], ["description", "Lean Nienow"], ["address", "Tianna Effertz"], ["created_at", "2018-09-05 05:36:13.121443"], ["updated_at", "2018-09-05 05:36:13.121443"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Josiah Brekke"], ["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", "Classie Turner"], ["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", "Josiah Brekke"], ["name", "Danna Russel"], ["description", "Maia Stamm"], ["serial_number", "Classie Turner"], ["brand", "Flor McClure"], ["item_model", "Ofelia Conroy"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:36:13.131556"], ["updated_at", "2018-09-05 05:36:13.131556"]]  (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", "Sarina McLaughlin"], ["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", "Herlinda Ryan"], ["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", "Sarina McLaughlin"], ["name", "Herlinda Ryan"], ["created_at", "2018-09-05 05:36:13.141035"], ["updated_at", "2018-09-05 05:36:13.141035"]]  (0.5ms) 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", "Ela Leannon"], ["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", "Ela Leannon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.146986"], ["updated_at", "2018-09-05 05:36:13.146986"]]  (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", "Toni Feest"], ["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", "Toni Feest"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.152727"], ["updated_at", "2018-09-05 05:36:13.152727"]]  (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", "Tonia Kemmer"], ["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", "Tonia Kemmer"], ["name", "Benito Vandervort"], ["address", "Edgardo Mayert"], ["created_at", "2018-09-05 05:36:13.157505"], ["updated_at", "2018-09-05 05:36:13.157505"]]  (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", "Britney Gerhold"], ["service_delivery_unit_id", 39], ["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", "Britney Gerhold"], ["name", "Sherlene Braun"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:36:13.162501"], ["updated_at", "2018-09-05 05:36:13.162501"]] 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 LIMIT $2 [["code", "Britney 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", "Britney Gerhold"], ["name", "Sherlene Braun"], ["description", "Default bundle for service 'Sherlene Braun'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:36:13.167662"], ["updated_at", "2018-09-05 05:36:13.167662"]] 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", 34], ["chargeable_service_id", 13]]  (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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:36:13.175047"], ["updated_at", "2018-09-05 05:36:13.175047"]]  (0.6ms) 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", "Carli Langosh"], ["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", "Venice Littel"], ["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", "Carli Langosh"], ["name", "Venice Littel"], ["description", "Id perferendis non in quam doloribus officia unde. Consectetur eum quasi sed repellendus. Eum recusandae omnis est accusantium nobis fugiat rem. Architecto consectetur rerum veritatis ut numquam saepe id."], ["created_at", "2018-09-05 05:36:13.184015"], ["updated_at", "2018-09-05 05:36:13.184015"]]  (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", "Haydee Cruickshank"], ["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", "Elizbeth Gibson"], ["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", "Haydee Cruickshank"], ["name", "Elizbeth Gibson"], ["description", "Velit minus quisquam vel fugit non qui facere. Eos saepe rerum harum minus autem. Quam quasi omnis rerum quibusdam temporibus porro voluptas beatae."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:36:13.189561"], ["updated_at", "2018-09-05 05:36:13.189561"]]  (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", "Aleshia Zulauf"], ["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", "Aleshia Zulauf"], ["name", "Jung Schamberger"], ["description", "Otelia Kunde"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:36:13.194488"], ["updated_at", "2018-09-05 05:36:13.194488"]]  (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", "Stephanie Glover"], ["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", "Celia Bailey"], ["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", "Stephanie Glover"], ["name", "Celia Bailey"], ["description", "Lillie Fay"], ["created_at", "2018-09-05 05:36:13.200783"], ["updated_at", "2018-09-05 05:36:13.200783"]]  (0.6ms) 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", "Fidela Ankunding"], ["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", "Fidela Ankunding"], ["name", "Will Oberbrunner"], ["location_type_id", 2], ["description", "Gudrun Kozey"], ["address", "Elsa Quitzon"], ["created_at", "2018-09-05 05:36:13.205459"], ["updated_at", "2018-09-05 05:36:13.205459"]]  (0.8ms) 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", "Phebe Volkman"], ["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", "Lashawn Kreiger"], ["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", "Phebe Volkman"], ["name", "Lecia Bauch"], ["description", "Carlena Muller"], ["serial_number", "Lashawn Kreiger"], ["brand", "Mae Bode"], ["item_model", "Jacqueline Wintheiser"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:36:13.211504"], ["updated_at", "2018-09-05 05:36:13.211504"]]  (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", "Andres Rath"], ["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", "Ouida Hickle"], ["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", "Andres Rath"], ["name", "Ouida Hickle"], ["created_at", "2018-09-05 05:36:13.218129"], ["updated_at", "2018-09-05 05:36:13.218129"]]  (0.5ms) 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", "Phillip Hoeger"], ["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", "Phillip Hoeger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.223654"], ["updated_at", "2018-09-05 05:36:13.223654"]]  (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", "Theo 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", "Theo Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.228423"], ["updated_at", "2018-09-05 05:36:13.228423"]]  (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", "Mercedes Goodwin"], ["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", "Mercedes Goodwin"], ["name", "Eva Haag"], ["address", "Garth Larson"], ["created_at", "2018-09-05 05:36:13.233490"], ["updated_at", "2018-09-05 05:36:13.233490"]]  (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", "Maya Hilll"], ["service_delivery_unit_id", 40], ["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", "Maya Hilll"], ["name", "Clint Schowalter"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:36:13.238794"], ["updated_at", "2018-09-05 05:36:13.238794"]] 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", 40], ["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", "Maya Hilll"], ["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", "Maya Hilll"], ["name", "Clint Schowalter"], ["description", "Default bundle for service 'Clint Schowalter'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:36:13.243984"], ["updated_at", "2018-09-05 05:36:13.243984"]] 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", 35], ["chargeable_service_id", 14]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.6ms) 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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:36:13.252689"], ["updated_at", "2018-09-05 05:36:13.252689"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Vance Stiedemann"], ["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", "Salvador Goodwin"], ["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", "Vance Stiedemann"], ["name", "Salvador Goodwin"], ["description", "Odio et sunt deserunt accusamus consequatur rerum ut. Numquam ea tempore dolorum sit. Velit eum perferendis vitae quia aut."], ["created_at", "2018-09-05 05:36:13.262363"], ["updated_at", "2018-09-05 05:36:13.262363"]]  (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", "Peggy Baumbach"], ["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", "Marine Douglas"], ["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", "Peggy Baumbach"], ["name", "Marine Douglas"], ["description", "Earum est odio eligendi culpa tempora. Unde quam error non ut sapiente. Facere dolore ab autem laboriosam nihil aliquam ducimus."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:36:13.268107"], ["updated_at", "2018-09-05 05:36:13.268107"]]  (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", "Lettie Nienow"], ["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", "Lettie Nienow"], ["name", "Alvera Walter"], ["description", "Sunni VonRueden"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:36:13.273375"], ["updated_at", "2018-09-05 05:36:13.273375"]]  (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", "Lavera Labadie"], ["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", "Thresa Smitham"], ["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", "Lavera Labadie"], ["name", "Thresa Smitham"], ["description", "Deon Lang"], ["created_at", "2018-09-05 05:36:13.279906"], ["updated_at", "2018-09-05 05:36:13.279906"]]  (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", "Charlott Bashirian"], ["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", "Charlott Bashirian"], ["name", "Palma Gerlach"], ["location_type_id", 3], ["description", "Thomas Altenwerth"], ["address", "Bridgett Satterfield"], ["created_at", "2018-09-05 05:36:13.284073"], ["updated_at", "2018-09-05 05:36:13.284073"]]  (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", "Carter Ondricka"], ["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", "Candi Langworth"], ["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", "Carter Ondricka"], ["name", "Ellen Ernser"], ["description", "Francis Nader"], ["serial_number", "Candi Langworth"], ["brand", "Rosalia Wisozk"], ["item_model", "Shawnda Dietrich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:36:13.290047"], ["updated_at", "2018-09-05 05:36:13.290047"]]  (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", "Brianne Kozey"], ["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", "Perry Bartoletti"], ["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", "Brianne Kozey"], ["name", "Perry Bartoletti"], ["created_at", "2018-09-05 05:36:13.296801"], ["updated_at", "2018-09-05 05:36:13.296801"]]  (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", "Hal Collier"], ["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 Collier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.301482"], ["updated_at", "2018-09-05 05:36:13.301482"]]  (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", "Arcelia Mosciski"], ["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", "Arcelia Mosciski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.306114"], ["updated_at", "2018-09-05 05:36:13.306114"]]  (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", "Jen Cummings"], ["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", "Jen Cummings"], ["name", "Erlene Prosacco"], ["address", "Enedina Hamill"], ["created_at", "2018-09-05 05:36:13.311162"], ["updated_at", "2018-09-05 05:36:13.311162"]]  (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", "Carman Rosenbaum"], ["service_delivery_unit_id", 41], ["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", "Carman Rosenbaum"], ["name", "Alison Carter"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:36:13.316114"], ["updated_at", "2018-09-05 05:36:13.316114"]] 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", 41], ["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", "Carman Rosenbaum"], ["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", "Carman Rosenbaum"], ["name", "Alison Carter"], ["description", "Default bundle for service 'Alison Carter'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:36:13.320886"], ["updated_at", "2018-09-05 05:36:13.320886"]] 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", 36], ["chargeable_service_id", 15]]  (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", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:36:13.327602"], ["updated_at", "2018-09-05 05:36:13.327602"]]  (0.6ms) 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", 36], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 13], ["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", 1], ["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", 14], ["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", 2], ["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", 15], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (10.6ms) Completed 500 Internal Server Error in 16ms (ActiveRecord: 6.0ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (1.3ms) 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", "cheri@towne.name"], ["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", "Son Kuhn"], ["last_name", "Paula Rau"], ["email", "cheri@towne.name"], ["password_digest", "$2a$04$bdrPyoS6qXzif0UHqA9nceea/5lu84JJk5g0y5Lll4pbMEHkjSwtC"], ["created_at", "2018-09-05 05:36:13.359857"], ["updated_at", "2018-09-05 05:36:13.359857"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Sherise Quigley"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Cyrstal Funk"], ["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", "Sherise Quigley"], ["name", "Cyrstal Funk"], ["description", "Molestiae alias aliquid ipsa nobis nulla soluta. Laborum ratione laudantium eos aspernatur quis dolor suscipit. Aperiam laborum aut at dolor molestias impedit omnis voluptatum. Unde aliquam ut non enim rerum non repellat. Aut dolorum molestiae quis in sit accusantium consequuntur cum."], ["created_at", "2018-09-05 05:36:13.371271"], ["updated_at", "2018-09-05 05:36:13.371271"]]  (0.8ms) 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", "Felipa Feil"], ["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", "Meagan Satterfield"], ["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", "Felipa Feil"], ["name", "Meagan Satterfield"], ["description", "Deleniti autem tenetur nihil magni veniam vel voluptatibus. Dolorem accusantium quibusdam officiis ullam harum. Accusamus harum sed est illo veniam consequatur molestiae inventore. Ut aspernatur eos fugiat quasi. Nulla maxime sint sequi nesciunt a eos."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:36:13.378417"], ["updated_at", "2018-09-05 05:36:13.378417"]]  (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", "Dot Ankunding"], ["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", "Dot Ankunding"], ["name", "Glenda Hegmann"], ["description", "Bettye Bergnaum"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:36:13.382754"], ["updated_at", "2018-09-05 05:36:13.382754"]]  (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", "Louvenia Larson"], ["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", "Tarra White"], ["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", "Louvenia Larson"], ["name", "Tarra White"], ["description", "Nelle Pouros"], ["created_at", "2018-09-05 05:36:13.388810"], ["updated_at", "2018-09-05 05:36:13.388810"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Elma Bradtke"], ["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", "Elma Bradtke"], ["name", "So O'Connell"], ["location_type_id", 4], ["description", "Adah Kub"], ["address", "Gregory Grant"], ["created_at", "2018-09-05 05:36:13.393832"], ["updated_at", "2018-09-05 05:36:13.393832"]]  (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", "Abraham 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", "Tatum Toy"], ["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", "Abraham Ritchie"], ["name", "Francesco Dicki"], ["description", "Paul Zemlak"], ["serial_number", "Tatum Toy"], ["brand", "Cherelle Hessel"], ["item_model", "Lesley Feest"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:36:13.399886"], ["updated_at", "2018-09-05 05:36:13.399886"]]  (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", "Zoraida Ritchie"], ["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", "Sherie DuBuque"], ["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", "Zoraida Ritchie"], ["name", "Sherie DuBuque"], ["created_at", "2018-09-05 05:36:13.406550"], ["updated_at", "2018-09-05 05:36:13.406550"]]  (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", "Rudolf 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", "Rudolf Herzog"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.411240"], ["updated_at", "2018-09-05 05:36:13.411240"]]  (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", "Leora Rau"], ["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", "Leora Rau"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.415823"], ["updated_at", "2018-09-05 05:36:13.415823"]]  (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", "Genevie Leuschke"], ["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", "Genevie Leuschke"], ["name", "Clair Herzog"], ["address", "Carina Stiedemann"], ["created_at", "2018-09-05 05:36:13.420668"], ["updated_at", "2018-09-05 05:36:13.420668"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Bernadine Boyle"], ["service_delivery_unit_id", 42], ["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", "Bernadine Boyle"], ["name", "Arminda Wuckert"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:36:13.427240"], ["updated_at", "2018-09-05 05:36:13.427240"]] 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", 42], ["LIMIT", 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", "Bernadine Boyle"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Bernadine Boyle"], ["name", "Arminda Wuckert"], ["description", "Default bundle for service 'Arminda Wuckert'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:36:13.433838"], ["updated_at", "2018-09-05 05:36:13.433838"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 37], ["chargeable_service_id", 16]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.5ms) 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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:36:13.446506"], ["updated_at", "2018-09-05 05:36:13.446506"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Greta Kub"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Brandee Marvin"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (2.4ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Greta Kub"], ["name", "Brandee Marvin"], ["description", "Sequi et ea aut recusandae dolorum. Officia incidunt quis quaerat vitae qui. Voluptatem molestiae vel saepe quidem alias. Esse placeat vel voluptas occaecati ut. Maxime labore aliquid aut voluptas."], ["created_at", "2018-09-05 05:36:13.456924"], ["updated_at", "2018-09-05 05:36:13.456924"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Brendan Goodwin"], ["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", "Simonne Spencer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.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", "Brendan Goodwin"], ["name", "Simonne Spencer"], ["description", "Quis nam asperiores quibusdam quia aut. Dolor reprehenderit ut error exercitationem quo explicabo in omnis. Repellendus illo amet quaerat quis sunt."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:36:13.468164"], ["updated_at", "2018-09-05 05:36:13.468164"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Sybil Marquardt"], ["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", "Sybil Marquardt"], ["name", "Rosio Olson"], ["description", "Lan Casper"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:36:13.476668"], ["updated_at", "2018-09-05 05:36:13.476668"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (3.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Allena Schmitt"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Laquanda White"], ["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", "Allena Schmitt"], ["name", "Laquanda White"], ["description", "David Howell"], ["created_at", "2018-09-05 05:36:13.489732"], ["updated_at", "2018-09-05 05:36:13.489732"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Evia Effertz"], ["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", "Evia Effertz"], ["name", "Charmain Buckridge"], ["location_type_id", 5], ["description", "Julee Walsh"], ["address", "Jonah Abernathy"], ["created_at", "2018-09-05 05:36:13.496153"], ["updated_at", "2018-09-05 05:36:13.496153"]]  (0.8ms) 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", "Echo Senger"], ["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", "Nathan Eichmann"], ["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", "Echo Senger"], ["name", "Stacy Hettinger"], ["description", "Tabitha Watsica"], ["serial_number", "Nathan Eichmann"], ["brand", "Augustus Kiehn"], ["item_model", "Forrest Wintheiser"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:36:13.506690"], ["updated_at", "2018-09-05 05:36:13.506690"]]  (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", "Nakesha Friesen"], ["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", "Sharron Lockman"], ["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 Friesen"], ["name", "Sharron Lockman"], ["created_at", "2018-09-05 05:36:13.514137"], ["updated_at", "2018-09-05 05:36:13.514137"]]  (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", "Bobbie Fritsch"], ["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", "Bobbie Fritsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.519159"], ["updated_at", "2018-09-05 05:36:13.519159"]]  (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", "Tomi Carroll"], ["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", "Tomi Carroll"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.523995"], ["updated_at", "2018-09-05 05:36:13.523995"]]  (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", "Jerold Smith"], ["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", "Jerold Smith"], ["name", "Porsche Stanton"], ["address", "Latricia Adams"], ["created_at", "2018-09-05 05:36:13.529441"], ["updated_at", "2018-09-05 05:36:13.529441"]]  (0.5ms) 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", "Keri Anderson"], ["service_delivery_unit_id", 43], ["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", "Keri Anderson"], ["name", "Susann Gutmann"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:36:13.535263"], ["updated_at", "2018-09-05 05:36:13.535263"]] 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", 43], ["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", "Keri Anderson"], ["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", "Keri Anderson"], ["name", "Susann Gutmann"], ["description", "Default bundle for service 'Susann Gutmann'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:36:13.540872"], ["updated_at", "2018-09-05 05:36:13.540872"]] 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", 38], ["chargeable_service_id", 17]]  (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", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:36:13.547263"], ["updated_at", "2018-09-05 05:36:13.547263"]]  (0.8ms) 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", "Adeline Glover"], ["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", "Teresia Bins"], ["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", "Adeline Glover"], ["name", "Teresia Bins"], ["description", "Dolor voluptas aut animi voluptas quasi eligendi. Sunt nesciunt et ad et veritatis eum laborum. Pariatur rerum quia cum ipsam unde culpa. Praesentium ut iste ut corporis distinctio."], ["created_at", "2018-09-05 05:36:13.554830"], ["updated_at", "2018-09-05 05:36:13.554830"]]  (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", "Bud Spinka"], ["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", "Cassidy Waters"], ["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", "Bud Spinka"], ["name", "Cassidy Waters"], ["description", "Accusamus cumque ipsam tempore corporis maiores. Beatae eius sit eum consequatur quasi quae inventore non. Deserunt laudantium asperiores ullam qui officia et nulla molestiae. Voluptas dolor eos laboriosam et incidunt sint in esse. Modi qui harum laborum quaerat omnis."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:36:13.560507"], ["updated_at", "2018-09-05 05:36:13.560507"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Gerald Wilkinson"], ["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", "Gerald Wilkinson"], ["name", "Sallie Rodriguez"], ["description", "Terence Swaniawski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:36:13.566814"], ["updated_at", "2018-09-05 05:36:13.566814"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Maurita Blick"], ["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", "Yuki Bergnaum"], ["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", "Maurita Blick"], ["name", "Yuki Bergnaum"], ["description", "Sharen Rau"], ["created_at", "2018-09-05 05:36:13.574229"], ["updated_at", "2018-09-05 05:36:13.574229"]]  (0.6ms) 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", "Dylan Hackett"], ["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", "Dylan Hackett"], ["name", "Bong McClure"], ["location_type_id", 6], ["description", "Tilda Kuhlman"], ["address", "Anja Mohr"], ["created_at", "2018-09-05 05:36:13.579043"], ["updated_at", "2018-09-05 05:36:13.579043"]]  (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", "Kathey Oga"], ["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", "Darby Metz"], ["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", "Kathey Oga"], ["name", "Brandie Greenholt"], ["description", "Brandie Mann"], ["serial_number", "Darby Metz"], ["brand", "Consuela Batz"], ["item_model", "Florence Labadie"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:36:13.584777"], ["updated_at", "2018-09-05 05:36:13.584777"]]  (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", "Maddie Borer"], ["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", "Bebe VonRueden"], ["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", "Maddie Borer"], ["name", "Bebe VonRueden"], ["created_at", "2018-09-05 05:36:13.591813"], ["updated_at", "2018-09-05 05:36:13.591813"]]  (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", "Alphonse Cormier"], ["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", "Alphonse Cormier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.596455"], ["updated_at", "2018-09-05 05:36:13.596455"]]  (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", "Domitila Bogisich"], ["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", "Domitila Bogisich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.601303"], ["updated_at", "2018-09-05 05:36:13.601303"]]  (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", "Eldora Gaylord"], ["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", "Eldora Gaylord"], ["name", "Hettie Heller"], ["address", "Dina Senger"], ["created_at", "2018-09-05 05:36:13.606077"], ["updated_at", "2018-09-05 05:36:13.606077"]]  (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", "Yolando Jacobi"], ["service_delivery_unit_id", 44], ["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", "Yolando Jacobi"], ["name", "Benita Rempel"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:36:13.610861"], ["updated_at", "2018-09-05 05:36:13.610861"]] 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", 44], ["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", "Yolando Jacobi"], ["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", "Yolando Jacobi"], ["name", "Benita Rempel"], ["description", "Default bundle for service 'Benita Rempel'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:36:13.616061"], ["updated_at", "2018-09-05 05:36:13.616061"]] 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", 39], ["chargeable_service_id", 18]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:36:13.622447"], ["updated_at", "2018-09-05 05:36:13.622447"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML Mks::Auth::User Load (0.6ms) 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::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 16], ["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", 4], ["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", 42], ["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", 17], ["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", 5], ["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", 43], ["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", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (13.04ms) Completed 200 OK in 19ms (Views: 8.6ms | ActiveRecord: 8.2ms)  (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", "tommie@hirthe.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", "Augustus Kunze"], ["last_name", "Maire Lowe"], ["email", "tommie@hirthe.name"], ["password_digest", "$2a$04$HplXkB4UsrZ7M9OHy8GS1uH3xgM2ff7EEiDCXdcPzWLLJaheRlJam"], ["created_at", "2018-09-05 05:36:13.653682"], ["updated_at", "2018-09-05 05:36:13.653682"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Johna Gutmann"], ["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", "Madison Ortiz"], ["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", "Johna Gutmann"], ["name", "Madison Ortiz"], ["created_at", "2018-09-05 05:36:13.661600"], ["updated_at", "2018-09-05 05:36:13.661600"]]  (1.0ms) 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", 38], ["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", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.2ms) 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.21ms) Completed 200 OK in 11ms (Views: 6.7ms | ActiveRecord: 3.2ms)  (1.0ms) ROLLBACK  (0.8ms) BEGIN  (0.7ms) 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", "rueben@bergnaum.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", "Tess Braun"], ["last_name", "Ettie Purdy"], ["email", "rueben@bergnaum.info"], ["password_digest", "$2a$04$GVeiRUq331508DTRzQ9ZtOOogb1sxB/BYZiTXrVKL5Q8QBs6eUdJG"], ["created_at", "2018-09-05 05:36:13.690348"], ["updated_at", "2018-09-05 05:36:13.690348"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Irvin McCullough"], ["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", "Mafalda Crooks"], ["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", "Irvin McCullough"], ["name", "Mafalda Crooks"], ["created_at", "2018-09-05 05:36:13.698789"], ["updated_at", "2018-09-05 05:36:13.698789"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["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", 21], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.34ms) Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 3.6ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "iluminada.raynor@daviswalter.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", "Jacob O'Conner"], ["last_name", "Grisel Grimes"], ["email", "iluminada.raynor@daviswalter.biz"], ["password_digest", "$2a$04$gfFawnxsmv8NK1f7jXb8Cu9LYt0EOPpx6n6KU6tD4QnXbIQC3ULl2"], ["created_at", "2018-09-05 05:36:13.719040"], ["updated_at", "2018-09-05 05:36:13.719040"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Ariel Rice", "name"=>"Tamiko Hane"}} 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]]  (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", "Ariel Rice"], ["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", "Tamiko Hane"], ["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", "Ariel Rice"], ["name", "Tamiko Hane"], ["created_at", "2018-09-05 05:36:13.732663"], ["updated_at", "2018-09-05 05:36:13.732663"]]  (1.1ms) 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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.24ms) Completed 201 Created in 15ms (Views: 2.5ms | ActiveRecord: 8.3ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.8ms) ROLLBACK  (1.0ms) BEGIN  (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", "eleonora@millsstehr.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", "Harold Greenholt"], ["last_name", "Melia Nolan"], ["email", "eleonora@millsstehr.name"], ["password_digest", "$2a$04$.XA1SX0342LtOFjUJmGVmOytsXuMjEnCLXFGfiIoIfhI9Co7yegKu"], ["created_at", "2018-09-05 05:36:13.753949"], ["updated_at", "2018-09-05 05:36:13.753949"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Adan Gorczany", "name"=>"Jeni Simonis"}} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (1.0ms) 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", "Adan Gorczany"], ["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", "Jeni Simonis"], ["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", "Adan Gorczany"], ["name", "Jeni Simonis"], ["created_at", "2018-09-05 05:36:13.766369"], ["updated_at", "2018-09-05 05:36:13.766369"]]  (0.6ms) 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.62ms) Completed 201 Created in 14ms (Views: 2.3ms | ActiveRecord: 7.4ms) Mks::Rate::ServiceType Load (1.1ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (1.0ms) 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", "barbar.swift@cassin.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", "Genia Hayes"], ["last_name", "Yevette Gusikowski"], ["email", "barbar.swift@cassin.us"], ["password_digest", "$2a$04$NudhQaIrbhgINUhn7rgiw.v34SFahatkZJrvtF5BQmXj3keDpYvJy"], ["created_at", "2018-09-05 05:36:13.784409"], ["updated_at", "2018-09-05 05:36:13.784409"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Leisa Lehner"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 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", ""], ["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", "Leisa Lehner"], ["LIMIT", 1]]  (0.5ms) 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.1ms | ActiveRecord: 4.3ms)  (0.8ms) ROLLBACK  (0.5ms) 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", "rozanne_wehner@fay.com"], ["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", "Gaylord Oberbrunner"], ["last_name", "Arvilla Nader"], ["email", "rozanne_wehner@fay.com"], ["password_digest", "$2a$04$uA/YJaB6pPkT4gSAeEOhI.USLyMKJLdJ47p4RfAopI1qXT7IU.mX2"], ["created_at", "2018-09-05 05:36:13.806900"], ["updated_at", "2018-09-05 05:36:13.806900"]]  (0.9ms) 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", "Zachariah Roberts"], ["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", "Alise Friesen"], ["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", "Zachariah Roberts"], ["name", "Alise Friesen"], ["created_at", "2018-09-05 05:36:13.815112"], ["updated_at", "2018-09-05 05:36:13.815112"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Odessa Gorczany"}, "id"=>"24"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.4ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (1.0ms) 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Zachariah Roberts"], ["id", 24], ["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", "Odessa Gorczany"], ["id", 24], ["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", "Odessa Gorczany"], ["updated_at", "2018-09-05 05:36:13.827365"], ["id", 24]]  (0.6ms) 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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 7.9ms) 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", 24], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "piper@swaniawski.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", "Jenny Mertz"], ["last_name", "Concetta Hodkiewicz"], ["email", "piper@swaniawski.biz"], ["password_digest", "$2a$04$tLFEq4NLacoH.5pp3URT3.//5ppx6OExz74AKrgZ0C7PnssTHgxZS"], ["created_at", "2018-09-05 05:36:13.842750"], ["updated_at", "2018-09-05 05:36:13.842750"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jennefer Hodkiewicz"], ["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", "Daphne Crooks"], ["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", "Jennefer Hodkiewicz"], ["name", "Daphne Crooks"], ["created_at", "2018-09-05 05:36:13.851260"], ["updated_at", "2018-09-05 05:36:13.851260"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Mi Conroy", "name"=>"Libbie Kunde"}, "id"=>"25"} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["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", 25], ["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", "Mi Conroy"], ["id", 25], ["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", "Libbie Kunde"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Update (1.0ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Mi Conroy"], ["name", "Libbie Kunde"], ["updated_at", "2018-09-05 05:36:13.862866"], ["id", 25]]  (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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.28ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 6.2ms)  (0.9ms) 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", "shayne@bailey.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", "Beverlee Hammes"], ["last_name", "Hallie Gerlach"], ["email", "shayne@bailey.com"], ["password_digest", "$2a$04$30ENL//4uEXDfDcPn51tieVRDsbYuSAMvFC0NrUtw.WJMoiNH0qOe"], ["created_at", "2018-09-05 05:36:13.875592"], ["updated_at", "2018-09-05 05:36:13.875592"]]  (0.9ms) 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", "Ashley Harris"], ["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", "Michel Hoppe"], ["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", "Ashley Harris"], ["name", "Michel Hoppe"], ["created_at", "2018-09-05 05:36:13.882740"], ["updated_at", "2018-09-05 05:36:13.882740"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Dora Feil"}, "id"=>"26"} 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::ServiceType Load (0.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]]  (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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", ""], ["id", 26], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) 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", "Dora Feil"], ["id", 26], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO 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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.13ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.6ms | ActiveRecord: 5.7ms)  (0.9ms) ROLLBACK  (0.5ms) 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", "elnora.steuber@bernierrohan.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", "Alfonso Armstrong"], ["last_name", "Chuck Rempel"], ["email", "elnora.steuber@bernierrohan.ca"], ["password_digest", "$2a$04$9oaGMWKgPfQt3latNtG7quhIbFMPdDfxqxM8lDA.nsMArmmr7S8Xm"], ["created_at", "2018-09-05 05:36:13.907390"], ["updated_at", "2018-09-05 05:36:13.907390"]]  (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", "Porfirio Koss"], ["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", "Porfirio Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.913041"], ["updated_at", "2018-09-05 05:36:13.913041"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Krysta Howe"], ["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", "Krysta Howe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.919070"], ["updated_at", "2018-09-05 05:36:13.919070"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Tiana Harber"], ["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", "Tiana Harber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.926551"], ["updated_at", "2018-09-05 05:36:13.926551"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#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", 46], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" Completed 500 Internal Server Error in 3ms (ActiveRecord: 1.4ms)  (0.7ms) 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", "Azalee Aufderhar"], ["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", "Jazmine Hickle"], ["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", "Azalee Aufderhar"], ["name", "Jazmine Hickle"], ["created_at", "2018-09-05 05:36:13.941036"], ["updated_at", "2018-09-05 05:36:13.941036"]]  (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", "Adrianne Bergstrom"], ["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", "Adrianne Bergstrom"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.945623"], ["updated_at", "2018-09-05 05:36:13.945623"]]  (0.5ms) 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", "Joanna 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", "Joanna Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.950149"], ["updated_at", "2018-09-05 05:36:13.950149"]]  (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", "Chery Crist"], ["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", "Chery Crist"], ["name", "Ahmad Beer"], ["address", "Velma Keebler"], ["created_at", "2018-09-05 05:36:13.954986"], ["updated_at", "2018-09-05 05:36:13.954986"]]  (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", "Mollie Braun"], ["service_delivery_unit_id", 45], ["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", "Mollie Braun"], ["name", "Antonia Schuppe"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:36:13.959804"], ["updated_at", "2018-09-05 05:36:13.959804"]] 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", 45], ["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", "Mollie Braun"], ["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", "Mollie Braun"], ["name", "Antonia Schuppe"], ["description", "Default bundle for service 'Antonia Schuppe'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:36:13.967066"], ["updated_at", "2018-09-05 05:36:13.967066"]] 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", 40], ["chargeable_service_id", 19]]  (1.0ms) 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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Mollie Braun"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Olivia Huels"], ["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", "Judith Kozey"], ["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", "Olivia Huels"], ["name", "Judith Kozey"], ["created_at", "2018-09-05 05:36:13.984075"], ["updated_at", "2018-09-05 05:36:13.984075"]]  (0.8ms) 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", "Denese Welch"], ["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", "Denese Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.990600"], ["updated_at", "2018-09-05 05:36:13.990600"]]  (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", "Vernia Wisoky"], ["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", "Vernia Wisoky"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:13.997239"], ["updated_at", "2018-09-05 05:36:13.997239"]]  (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", "Vanesa Watsica"], ["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", "Vanesa Watsica"], ["name", "Britni Carroll"], ["address", "Olinda Heller"], ["created_at", "2018-09-05 05:36:14.001592"], ["updated_at", "2018-09-05 05:36:14.001592"]]  (0.5ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (0.7ms) 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", "Treva Considine"], ["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", "Murray Bahringer"], ["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", "Treva Considine"], ["name", "Murray Bahringer"], ["created_at", "2018-09-05 05:36:14.013667"], ["updated_at", "2018-09-05 05:36:14.013667"]]  (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", "Wendell Friesen"], ["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", "Wendell Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.018672"], ["updated_at", "2018-09-05 05:36:14.018672"]]  (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", "Amina Monahan"], ["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", "Amina Monahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.023554"], ["updated_at", "2018-09-05 05:36:14.023554"]]  (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", "Carroll Pacocha"], ["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", "Carroll Pacocha"], ["name", "Bernardina VonRueden"], ["address", "Necole Rau"], ["created_at", "2018-09-05 05:36:14.028171"], ["updated_at", "2018-09-05 05:36:14.028171"]]  (0.6ms) RELEASE 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", "Kaley Schroeder"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Tenesha Bradtke"], ["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", "Leida Bogisich"], ["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", "Tenesha Bradtke"], ["name", "Leida Bogisich"], ["created_at", "2018-09-05 05:36:14.043948"], ["updated_at", "2018-09-05 05:36:14.043948"]]  (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", "Tana Stanton"], ["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", "Tana Stanton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.048777"], ["updated_at", "2018-09-05 05:36:14.048777"]]  (0.4ms) 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", "Lori Lockman"], ["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", "Lori Lockman"], ["name", "Kendrick Emard"], ["address", "Nell Goodwin"], ["created_at", "2018-09-05 05:36:14.053265"], ["updated_at", "2018-09-05 05:36:14.053265"]]  (0.5ms) RELEASE 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", "Monserrate Rosenbaum"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.2ms) BEGIN  (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", "Charise Wisoky"], ["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", "Tenesha Walsh"], ["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", "Charise Wisoky"], ["name", "Tenesha Walsh"], ["created_at", "2018-09-05 05:36:14.067272"], ["updated_at", "2018-09-05 05:36:14.067272"]]  (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", "Victorina Braun"], ["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", "Victorina Braun"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.072478"], ["updated_at", "2018-09-05 05:36:14.072478"]]  (0.7ms) 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", "Lindy Hirthe"], ["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", "Lindy Hirthe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.079570"], ["updated_at", "2018-09-05 05:36:14.079570"]]  (0.8ms) 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" IS NULL LIMIT $2 [["code", "Floy Hamill"], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (1.1ms) 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", "Hedy 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", "Reed Bins"], ["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", "Hedy Nicolas"], ["name", "Reed Bins"], ["created_at", "2018-09-05 05:36:14.094203"], ["updated_at", "2018-09-05 05:36:14.094203"]]  (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", "Fermin Hintz"], ["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", "Fermin Hintz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.099032"], ["updated_at", "2018-09-05 05:36:14.099032"]]  (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", "Charlotte Cole"], ["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", "Charlotte Cole"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.104228"], ["updated_at", "2018-09-05 05:36:14.104228"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Ora Casper"], ["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", "Ora Casper"], ["name", "Toshia Denesik"], ["address", "Shanel Harber"], ["created_at", "2018-09-05 05:36:14.111498"], ["updated_at", "2018-09-05 05:36:14.111498"]]  (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", "Moshe Wunsch"], ["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", "Moshe Wunsch"], ["name", "Bev Lockman"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:36:14.116654"], ["updated_at", "2018-09-05 05:36:14.116654"]] 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", 49], ["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", "Moshe Wunsch"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Moshe Wunsch"], ["name", "Bev Lockman"], ["description", "Default bundle for service 'Bev Lockman'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:36:14.122071"], ["updated_at", "2018-09-05 05:36:14.122071"]] 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", 41], ["chargeable_service_id", 20]]  (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", "Jeane Schaefer"], ["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", "Twana Ratke"], ["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", "Jeane Schaefer"], ["name", "Twana Ratke"], ["created_at", "2018-09-05 05:36:14.131553"], ["updated_at", "2018-09-05 05:36:14.131553"]]  (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", "Danna Moore"], ["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", "Danna Moore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.135866"], ["updated_at", "2018-09-05 05:36:14.135866"]]  (0.5ms) 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", "Keely Konopelski"], ["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", "Keely Konopelski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.140700"], ["updated_at", "2018-09-05 05:36:14.140700"]]  (0.5ms) 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", "Moshe Wunsch"], ["service_delivery_unit_id", 49], ["LIMIT", 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", 49], ["LIMIT", 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", "Anastasia Brakus"], ["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", "Sherril Rolfson"], ["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", "Anastasia Brakus"], ["name", "Sherril Rolfson"], ["created_at", "2018-09-05 05:36:14.152910"], ["updated_at", "2018-09-05 05:36:14.152910"]]  (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", "Bobbye 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", "Bobbye Windler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.157363"], ["updated_at", "2018-09-05 05:36:14.157363"]]  (0.7ms) 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", "Celina 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", "Celina Langworth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.162320"], ["updated_at", "2018-09-05 05:36:14.162320"]]  (0.5ms) 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", "Audry Wolf"], ["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", "Audry Wolf"], ["name", "Gwyneth Rosenbaum"], ["address", "Wilfred Reilly"], ["created_at", "2018-09-05 05:36:14.168099"], ["updated_at", "2018-09-05 05:36:14.168099"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Dorcas Conroy"], ["service_delivery_unit_id", 50], ["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", "Dorcas Conroy"], ["name", "Christian Padberg"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:36:14.174747"], ["updated_at", "2018-09-05 05:36:14.174747"]] 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", 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", "Dorcas Conroy"], ["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", "Dorcas Conroy"], ["name", "Christian Padberg"], ["description", "Default bundle for service 'Christian Padberg'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:36:14.181667"], ["updated_at", "2018-09-05 05:36:14.181667"]] 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", 42], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["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", 42]]  (0.7ms) ROLLBACK  (0.4ms) 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", "tashia@sawayn.co.uk"], ["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", "Vernell Ritchie"], ["last_name", "Chance Runolfsson"], ["email", "tashia@sawayn.co.uk"], ["password_digest", "$2a$04$Lb2gHP2rXUtQ7ADugGB8RusQDiWI5hjXI2aIVCqFCNBhaijQJIEuO"], ["created_at", "2018-09-05 05:36:14.215389"], ["updated_at", "2018-09-05 05:36:14.215389"]]  (1.0ms) 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", "lidia.koelpin@reichelmayert.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", "Gwenn McClure"], ["last_name", "Veronica Gleason"], ["email", "lidia.koelpin@reichelmayert.com"], ["password_digest", "$2a$04$IZeM0/P1vUCcUhkDcMdj0.PNWY55WCJjr2bLYGFm3ROC5prUbb9nm"], ["created_at", "2018-09-05 05:36:14.228557"], ["updated_at", "2018-09-05 05:36:14.228557"]]  (0.9ms) 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", "Lee Weissnat"], ["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", "Lee Weissnat"], ["authorized_by", "Catarina Mohr"], ["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", 47], ["approved_by_id", 48], ["created_at", "2018-09-05 05:36:14.235535"], ["updated_at", "2018-09-05 05:36:14.235535"]]  (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", "Lee Weissnat"], ["id", 1], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "cary_greenfelder@kerlukeblick.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", "Roseline Murazik"], ["last_name", "Thalia Bahringer"], ["email", "cary_greenfelder@kerlukeblick.ca"], ["password_digest", "$2a$04$9k4h258Cxsz349s4lze4xesZHM7v.i5.Qd/DOMc6PAfmAOUU6nJDq"], ["created_at", "2018-09-05 05:36:14.249450"], ["updated_at", "2018-09-05 05:36:14.249450"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "emilee@rice.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", "Kimber O'Connell"], ["last_name", "Silas Herman"], ["email", "emilee@rice.co.uk"], ["password_digest", "$2a$04$lzSoyx64dAlp8rhM12uCKOi.Yr.m.Vd6sQebYdlbjOww4XN65NEaO"], ["created_at", "2018-09-05 05:36:14.256753"], ["updated_at", "2018-09-05 05:36:14.256753"]]  (0.6ms) RELEASE 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", "Awilda Barrows"], ["LIMIT", 1]]  (1.3ms) 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", "kasha@rippinoreilly.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", "Ashlie Parisian"], ["last_name", "Casie Cremin"], ["email", "kasha@rippinoreilly.com"], ["password_digest", "$2a$04$uLKMI.kh5LX9cipprgUCX.hlWmDNb00uCkTj4JIHf28QBroV4uMV6"], ["created_at", "2018-09-05 05:36:14.273812"], ["updated_at", "2018-09-05 05:36:14.273812"]]  (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", "rima_ernser@runolfssonpredovic.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", "Elida Murazik"], ["last_name", "Jestine Stamm"], ["email", "rima_ernser@runolfssonpredovic.ca"], ["password_digest", "$2a$04$5vlMWmpown16qJ5Bz/MdIOHkigXWMQ7VwBxjm4izUTmCPWtLrzioy"], ["created_at", "2018-09-05 05:36:14.280509"], ["updated_at", "2018-09-05 05:36:14.280509"]]  (0.6ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "lorraine.windler@damore.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", "Eric Stracke"], ["last_name", "Elwanda Becker"], ["email", "lorraine.windler@damore.co.uk"], ["password_digest", "$2a$04$r3kYwoWP2yIMmpAdsWV12uKGx1hMlCos/HW.U53uct2aCTztTbE6q"], ["created_at", "2018-09-05 05:36:14.296884"], ["updated_at", "2018-09-05 05:36:14.296884"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "candida.dickinson@ziemannkautzer.info"], ["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", "Leland Heidenreich"], ["last_name", "Kimberly Pfannerstill"], ["email", "candida.dickinson@ziemannkautzer.info"], ["password_digest", "$2a$04$PQqs3vYagJnpenwn8gSUqOYxtTumZ5GVRDEVIsMlGQuCIemrLEef2"], ["created_at", "2018-09-05 05:36:14.304255"], ["updated_at", "2018-09-05 05:36:14.304255"]]  (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", "Cecily Auer"], ["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", "Cecily Auer"], ["authorized_by", "Damon Schultz"], ["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", 53], ["approved_by_id", 54], ["created_at", "2018-09-05 05:36:14.310801"], ["updated_at", "2018-09-05 05:36:14.310801"]]  (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", "meda_grady@walker.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", "Cheryll Quigley"], ["last_name", "Margherita Murray"], ["email", "meda_grady@walker.com"], ["password_digest", "$2a$04$A/ta1hS6/cRmPzgOKDYq9O7HR3rz7lXE4.8.TpdDFgnuOBGRiCH56"], ["created_at", "2018-09-05 05:36:14.320108"], ["updated_at", "2018-09-05 05:36:14.320108"]]  (0.6ms) 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", "syble@hagenes.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", "Eliana Barton"], ["last_name", "Robyn Stiedemann"], ["email", "syble@hagenes.ca"], ["password_digest", "$2a$04$YlPMtwJChMqcPVpWJOVJ9..8kmRwVCZrWBbdQhwsXggx9DU07gV0K"], ["created_at", "2018-09-05 05:36:14.327648"], ["updated_at", "2018-09-05 05:36:14.327648"]]  (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", "Cecily Auer"], ["LIMIT", 1]]  (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", "marvel_balistreri@bergnaum.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", "Shala Keeling"], ["last_name", "Shelli Bosco"], ["email", "marvel_balistreri@bergnaum.com"], ["password_digest", "$2a$04$IhkjmQIyONrykzHwCQnj5.VnoD5ontlw.P1Ucx9EhE4WQrGbUq09S"], ["created_at", "2018-09-05 05:36:14.339621"], ["updated_at", "2018-09-05 05:36:14.339621"]]  (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", "tiana_spencer@quigley.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", "Eugenio Herman"], ["last_name", "Elmira Klocko"], ["email", "tiana_spencer@quigley.us"], ["password_digest", "$2a$04$Ffy1V3MqjjFbfkILoEXLYuk/eKs/Wy1yaejZGY80NX7Bcr60jDSES"], ["created_at", "2018-09-05 05:36:14.346160"], ["updated_at", "2018-09-05 05:36:14.346160"]]  (0.5ms) 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", "Nakita Prohaska"], ["LIMIT", 1]]  (1.1ms) 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", "latricia_bauch@oga.biz"], ["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", "Roman Fisher"], ["last_name", "Darrin Williamson"], ["email", "latricia_bauch@oga.biz"], ["password_digest", "$2a$04$y/uPurXTt1FORohqyWXNDu4/TOGp3Kc4pEzFJ4GkroZkLeg7rJ0l2"], ["created_at", "2018-09-05 05:36:14.364222"], ["updated_at", "2018-09-05 05:36:14.364222"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "jack@wunsch.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", "Lanelle Lindgren"], ["last_name", "Cornell Reichert"], ["email", "jack@wunsch.us"], ["password_digest", "$2a$04$UtsDk4URnQ.zRMhOqQ3XB.P6Lyp7ucIH9ne4DlPcIqhniFNFbvlZ6"], ["created_at", "2018-09-05 05:36:14.372197"], ["updated_at", "2018-09-05 05:36:14.372197"]]  (0.6ms) 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" = $1 LIMIT $2 [["reference_number", "Caroll Corwin"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) 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", "chris@weber.us"], ["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", "Martin Smith"], ["last_name", "Keli Willms"], ["email", "chris@weber.us"], ["password_digest", "$2a$04$SLr1IA9OkuZV3VGmxH1kz.0EL4GWWwuClyg.H7Ki1O2VGQtcLvjrW"], ["created_at", "2018-09-05 05:36:14.385990"], ["updated_at", "2018-09-05 05:36:14.385990"]]  (1.3ms) 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", "mauro_wintheiser@gulgowskistracke.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", "Glayds Bradtke"], ["last_name", "Hung Schmeler"], ["email", "mauro_wintheiser@gulgowskistracke.co.uk"], ["password_digest", "$2a$04$a7ZlFKWoiJUoBtfGCv8kWe9YtHo9o/OVXbiCXGlg1GNXqoSC85Y/O"], ["created_at", "2018-09-05 05:36:14.395149"], ["updated_at", "2018-09-05 05:36:14.395149"]]  (0.4ms) 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", "Cayla Block"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) 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", "stepanie_hermann@leannon.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", "Clarence Schneider"], ["last_name", "Sandra Cormier"], ["email", "stepanie_hermann@leannon.us"], ["password_digest", "$2a$04$oD8bV97XD.VawB7KpuszDuRc7pN1CIUc0q5WyefQnybU8tVNfPVBK"], ["created_at", "2018-09-05 05:36:14.410424"], ["updated_at", "2018-09-05 05:36:14.410424"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (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", "ling@robel.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", "Madge Crona"], ["last_name", "Chandra Dickinson"], ["email", "ling@robel.co.uk"], ["password_digest", "$2a$04$X7MxUe5uuWQorEgy1cxrVuSB.UUGx2L8FMOwCFbqE0QcK5rgIJghi"], ["created_at", "2018-09-05 05:36:14.418670"], ["updated_at", "2018-09-05 05:36:14.418670"]]  (0.7ms) RELEASE 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", "Rhonda Gislason"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.1ms) BEGIN  (0.7ms) 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", "dusty@christiansen.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", "Young Fisher"], ["last_name", "Barb Roberts"], ["email", "dusty@christiansen.co.uk"], ["password_digest", "$2a$04$TaXQQ5VequVeu3v.4/xfGeqNmum0RcQcwgmrP.9m5w7NlIh.wl.ki"], ["created_at", "2018-09-05 05:36:14.434135"], ["updated_at", "2018-09-05 05:36:14.434135"]]  (2.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Dixie Konopelski"], ["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", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Dixie Konopelski"], ["authorized_by", "Bev Lind"], ["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", 65], ["created_at", "2018-09-05 05:36:14.441724"], ["updated_at", "2018-09-05 05:36:14.441724"]]  (0.6ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Dixie Konopelski"], ["id", 3], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.7ms) BEGIN  (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", "Jamey Hoeger"], ["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", "Jamey Hoeger"], ["name", "Hubert Kuhlman"], ["address", "Carrol Stiedemann"], ["created_at", "2018-09-05 05:36:14.454194"], ["updated_at", "2018-09-05 05:36:14.454194"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Glady Kuhn"], ["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", "Glady Kuhn"], ["name", "Neil Walter"], ["description", "Deane Goldner"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:36:14.461949"], ["updated_at", "2018-09-05 05:36:14.461949"]]  (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 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Glady Kuhn"], ["id", 43], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Stephnie Kovacek"], ["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", "Stephnie Kovacek"], ["name", "Rosaura Huels"], ["address", "Ardelle Effertz"], ["created_at", "2018-09-05 05:36:14.471394"], ["updated_at", "2018-09-05 05:36:14.471394"]]  (0.7ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Mitchell Kautzer"], ["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", "Mitchell Kautzer"], ["name", "Jeannie Fritsch"], ["address", "Rocco Pfeffer"], ["created_at", "2018-09-05 05:36:14.483843"], ["updated_at", "2018-09-05 05:36:14.483843"]]  (0.5ms) 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" = $1 LIMIT $2 [["code", "Nathanael Kiehn"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (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", "Yolanda Kautzer"], ["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", "Yolanda Kautzer"], ["name", "Pamula Prosacco"], ["address", "Cindi Walsh"], ["created_at", "2018-09-05 05:36:14.495978"], ["updated_at", "2018-09-05 05:36:14.495978"]]  (0.7ms) RELEASE 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", "Simone Smitham"], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (1.1ms) BEGIN  (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", "Rosendo Rogahn"], ["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", "Rosendo Rogahn"], ["name", "Arlette Kohler"], ["address", "Basil Carroll"], ["created_at", "2018-09-05 05:36:14.511507"], ["updated_at", "2018-09-05 05:36:14.511507"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Maurice Bashirian"], ["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", "Maurice Bashirian"], ["name", "Rosalie Schowalter"], ["description", "Tyisha Reilly"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:36:14.518473"], ["updated_at", "2018-09-05 05:36:14.518473"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Petronila Osinski"], ["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", "Petronila Osinski"], ["name", "Aurea Hayes"], ["address", "Tenisha Sipes"], ["created_at", "2018-09-05 05:36:14.528827"], ["updated_at", "2018-09-05 05:36:14.528827"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Maurice Bashirian"], ["LIMIT", 1]]  (2.0ms) ROLLBACK  (0.7ms) BEGIN  (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", "Johnie Bins"], ["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", "Johnie Bins"], ["name", "Nell Huels"], ["address", "Emil Parker"], ["created_at", "2018-09-05 05:36:14.545773"], ["updated_at", "2018-09-05 05:36:14.545773"]]  (0.5ms) RELEASE 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Johnie Bins"], ["id", 57], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.8ms) 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.5ms) ROLLBACK  (0.5ms) BEGIN 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", "Minta Bauch"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (1.2ms) 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", "Madison Monahan"], ["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", "Madison Monahan"], ["name", "Victoria Gleichner"], ["address", "Raylene Kshlerin"], ["created_at", "2018-09-05 05:36:14.568708"], ["updated_at", "2018-09-05 05:36:14.568708"]]  (0.5ms) 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", "Madison Monahan"], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.9ms) BEGIN  (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", "Amee Smith"], ["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", "Miki Wiegand"], ["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", "Amee Smith"], ["name", "Miki Wiegand"], ["description", "Sunt quia quia impedit quibusdam mollitia neque distinctio omnis. Sed beatae quia tempore fugit est. Sit dolorem mollitia illo qui. Aut aut labore similique id nesciunt. Optio et adipisci voluptatem unde corrupti quaerat ut quasi."], ["created_at", "2018-09-05 05:36:14.583851"], ["updated_at", "2018-09-05 05:36:14.583851"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Donna Schroeder"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Lavinia Lind"], ["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", "Donna Schroeder"], ["name", "Lavinia Lind"], ["description", "Rerum enim rem et quae perferendis. Omnis itaque dolorem enim odit voluptatem rerum necessitatibus. Animi et optio velit quam ut et ut. Et dolor sit nam sed necessitatibus aliquam quia quas."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:36:14.592633"], ["updated_at", "2018-09-05 05:36:14.592633"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Agnes Murray"], ["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", "Agnes Murray"], ["name", "Kirby McLaughlin"], ["description", "Laurie Emmerich"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:36:14.600127"], ["updated_at", "2018-09-05 05:36:14.600127"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Nana Rempel"], ["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", "Camilla Kautzer"], ["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", "Nana Rempel"], ["name", "Camilla Kautzer"], ["description", "Marivel Tremblay"], ["created_at", "2018-09-05 05:36:14.607720"], ["updated_at", "2018-09-05 05:36:14.607720"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jude Romaguera"], ["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", "Jude Romaguera"], ["name", "Blossom Goodwin"], ["location_type_id", 7], ["description", "Shamika Cummerata"], ["address", "Myesha Paucek"], ["created_at", "2018-09-05 05:36:14.613569"], ["updated_at", "2018-09-05 05:36:14.613569"]]  (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", "Anja Johnston"], ["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", "Melvin Bauch"], ["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", "Anja Johnston"], ["name", "Edris Herman"], ["description", "Courtney Kohler"], ["serial_number", "Melvin Bauch"], ["brand", "Keesha Morissette"], ["item_model", "Rutha Heathcote"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:36:14.619257"], ["updated_at", "2018-09-05 05:36:14.619257"]]  (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", "Hyacinth Wolf"], ["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", "Ezequiel Ernser"], ["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", "Hyacinth Wolf"], ["name", "Ezequiel Ernser"], ["created_at", "2018-09-05 05:36:14.625775"], ["updated_at", "2018-09-05 05:36:14.625775"]]  (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", "Cassie 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", "Cassie Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.630584"], ["updated_at", "2018-09-05 05:36:14.630584"]]  (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", "Francoise Schamberger"], ["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", "Francoise Schamberger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.635084"], ["updated_at", "2018-09-05 05:36:14.635084"]]  (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", "Otha Hane"], ["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", "Otha Hane"], ["name", "Cecile Kessler"], ["address", "Almeda Reinger"], ["created_at", "2018-09-05 05:36:14.639654"], ["updated_at", "2018-09-05 05:36:14.639654"]]  (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", "Lucilla Parker"], ["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", "Lucilla Parker"], ["name", "Francesca Herzog"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:36:14.644013"], ["updated_at", "2018-09-05 05:36:14.644013"]] 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", 59], ["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", "Lucilla Parker"], ["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", "Lucilla Parker"], ["name", "Francesca Herzog"], ["description", "Default bundle for service 'Francesca Herzog'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:36:14.649307"], ["updated_at", "2018-09-05 05:36:14.649307"]] 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", 45], ["chargeable_service_id", 22]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (0.8ms) 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", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:36:14.655208"], ["updated_at", "2018-09-05 05:36:14.655208"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Odessa Beatty"], ["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", "Debra Emard"], ["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", "Odessa Beatty"], ["name", "Debra Emard"], ["description", "Aut corporis et quos quis dolor numquam repudiandae possimus. Libero nulla esse ut qui quia ut consequatur. Consequatur et omnis numquam tenetur."], ["created_at", "2018-09-05 05:36:14.665015"], ["updated_at", "2018-09-05 05:36:14.665015"]]  (0.4ms) 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", "Johna Powlowski"], ["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", "Moshe Shields"], ["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", "Johna Powlowski"], ["name", "Moshe Shields"], ["description", "A maxime repudiandae dicta sit. Est eligendi adipisci eaque iusto. Quia porro eos dolor aut illum ea sapiente et. Corporis quia dolorum id et non odio sapiente doloribus. Dignissimos ea ex est neque."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:36:14.670806"], ["updated_at", "2018-09-05 05:36:14.670806"]]  (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", "Janeen Goodwin"], ["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", "Janeen Goodwin"], ["name", "Gennie Kessler"], ["description", "Henrietta Berge"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:36:14.675290"], ["updated_at", "2018-09-05 05:36:14.675290"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Else Schaden"], ["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", "Fatima Rogahn"], ["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", "Else Schaden"], ["name", "Fatima Rogahn"], ["description", "Laurine Gaylord"], ["created_at", "2018-09-05 05:36:14.683298"], ["updated_at", "2018-09-05 05:36:14.683298"]]  (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", "Georgia Frami"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.6ms) 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", "Georgia Frami"], ["name", "Mollie Lockman"], ["location_type_id", 8], ["description", "Zenaida Bosco"], ["address", "Brande Bauch"], ["created_at", "2018-09-05 05:36:14.689514"], ["updated_at", "2018-09-05 05:36:14.689514"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Felisa Brown"], ["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", "Ok Reinger"], ["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", "Felisa Brown"], ["name", "Margot Lueilwitz"], ["description", "Cassondra Wisoky"], ["serial_number", "Ok Reinger"], ["brand", "Vinita Schamberger"], ["item_model", "Nakita Bernhard"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:36:14.696281"], ["updated_at", "2018-09-05 05:36:14.696281"]]  (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", "Rasheeda Dickens"], ["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", "Leif 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", "Rasheeda Dickens"], ["name", "Leif Davis"], ["created_at", "2018-09-05 05:36:14.702544"], ["updated_at", "2018-09-05 05:36:14.702544"]]  (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", "Clayton 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", "Clayton Satterfield"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.707511"], ["updated_at", "2018-09-05 05:36:14.707511"]]  (0.5ms) 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", "Glinda Gleason"], ["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", "Glinda Gleason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.712036"], ["updated_at", "2018-09-05 05:36:14.712036"]]  (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", "Margret Wilderman"], ["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", "Margret Wilderman"], ["name", "Monserrate Haley"], ["address", "Luciano Prosacco"], ["created_at", "2018-09-05 05:36:14.718620"], ["updated_at", "2018-09-05 05:36:14.718620"]]  (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", "Rodrigo Douglas"], ["service_delivery_unit_id", 60], ["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", "Rodrigo Douglas"], ["name", "Nicola Davis"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:36:14.723633"], ["updated_at", "2018-09-05 05:36:14.723633"]] 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", 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", "Rodrigo Douglas"], ["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", "Rodrigo Douglas"], ["name", "Nicola Davis"], ["description", "Default bundle for service 'Nicola Davis'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:36:14.728610"], ["updated_at", "2018-09-05 05:36:14.728610"]] 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", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Tanesha Kassulke"], ["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", "Lawanda Witting"], ["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", "Tanesha Kassulke"], ["name", "Lawanda Witting"], ["description", "Iste sed quam quaerat quia eligendi aut maxime. Dolorem est non laudantium et quas magni eum. Ab quisquam quo est non molestiae sint molestiae. Aspernatur et ratione sed esse. Possimus sed nostrum exercitationem ut ipsam modi."], ["created_at", "2018-09-05 05:36:14.742050"], ["updated_at", "2018-09-05 05:36:14.742050"]]  (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", "Clement Dickinson"], ["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", "Kymberly Smitham"], ["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", "Clement Dickinson"], ["name", "Kymberly Smitham"], ["description", "Eaque provident consequuntur deserunt neque excepturi voluptatem porro optio. Quidem quasi autem quo possimus neque reprehenderit nulla. Culpa ipsum iure quibusdam numquam totam ab. Repellendus nihil aut non nisi architecto voluptate provident quibusdam. Commodi vel voluptas dolorem ut molestiae."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:36:14.747803"], ["updated_at", "2018-09-05 05:36:14.747803"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Delisa Spencer"], ["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", "Delisa Spencer"], ["name", "Frida Marvin"], ["description", "Nancy Jacobson"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:36:14.753923"], ["updated_at", "2018-09-05 05:36:14.753923"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Aracely Runolfsdottir"], ["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", "Shery Lowe"], ["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", "Aracely Runolfsdottir"], ["name", "Shery Lowe"], ["description", "Rodolfo D'Amore"], ["created_at", "2018-09-05 05:36:14.761942"], ["updated_at", "2018-09-05 05:36:14.761942"]]  (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", "Troy 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", "Troy Braun"], ["name", "Lecia Steuber"], ["location_type_id", 9], ["description", "Bradly Tillman"], ["address", "Tressie Haley"], ["created_at", "2018-09-05 05:36:14.766529"], ["updated_at", "2018-09-05 05:36:14.766529"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Faith Strosin"], ["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", "Valrie Prosacco"], ["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", "Faith Strosin"], ["name", "Nelia Walker"], ["description", "Colleen Harvey"], ["serial_number", "Valrie Prosacco"], ["brand", "Chung Zulauf"], ["item_model", "Faustino Reynolds"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:36:14.773903"], ["updated_at", "2018-09-05 05:36:14.773903"]]  (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", "Tom Ortiz"], ["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", "Luz Farrell"], ["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", "Tom Ortiz"], ["name", "Luz Farrell"], ["created_at", "2018-09-05 05:36:14.780740"], ["updated_at", "2018-09-05 05:36:14.780740"]]  (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", "Earleen Carroll"], ["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", "Earleen Carroll"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.785291"], ["updated_at", "2018-09-05 05:36:14.785291"]]  (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", "Steven Rodriguez"], ["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", "Steven Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.790299"], ["updated_at", "2018-09-05 05:36:14.790299"]]  (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", "Reuben Cummerata"], ["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", "Reuben Cummerata"], ["name", "Vikki Toy"], ["address", "Odell Russel"], ["created_at", "2018-09-05 05:36:14.794951"], ["updated_at", "2018-09-05 05:36:14.794951"]]  (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", "Magaret Batz"], ["service_delivery_unit_id", 61], ["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", "Magaret Batz"], ["name", "Althea Kerluke"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:36:14.799496"], ["updated_at", "2018-09-05 05:36:14.799496"]] 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", 61], ["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", "Magaret Batz"], ["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", "Magaret Batz"], ["name", "Althea Kerluke"], ["description", "Default bundle for service 'Althea Kerluke'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:36:14.804291"], ["updated_at", "2018-09-05 05:36:14.804291"]] 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", 47], ["chargeable_service_id", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) 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", "Glory Roberts"], ["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", "Jonelle Considine"], ["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", "Glory Roberts"], ["name", "Jonelle Considine"], ["description", "Illo labore laboriosam sit soluta error. Quam sed velit aliquam quae temporibus quasi. Quasi et blanditiis et porro."], ["created_at", "2018-09-05 05:36:14.816837"], ["updated_at", "2018-09-05 05:36:14.816837"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Courtney Gibson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Flo Ebert"], ["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", "Courtney Gibson"], ["name", "Flo Ebert"], ["description", "Animi laudantium sunt ut illum dolor expedita. Veniam tempora eos sit expedita dolorum suscipit itaque. Repellendus voluptas perspiciatis harum nisi id dolorem aperiam."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:36:14.825466"], ["updated_at", "2018-09-05 05:36:14.825466"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Forest Raynor"], ["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", "Forest Raynor"], ["name", "Elnora Bahringer"], ["description", "Nathanial Gerhold"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:36:14.832030"], ["updated_at", "2018-09-05 05:36:14.832030"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Tanesha Leffler"], ["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", "Ilene Padberg"], ["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", "Tanesha Leffler"], ["name", "Ilene Padberg"], ["description", "Sidney Casper"], ["created_at", "2018-09-05 05:36:14.840127"], ["updated_at", "2018-09-05 05:36:14.840127"]]  (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", "Lou Rolfson"], ["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", "Lou Rolfson"], ["name", "Royce Emmerich"], ["location_type_id", 10], ["description", "Carmon Hamill"], ["address", "Claude Davis"], ["created_at", "2018-09-05 05:36:14.844354"], ["updated_at", "2018-09-05 05:36:14.844354"]]  (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", "Odell Bins"], ["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", "Hwa Denesik"], ["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", "Odell Bins"], ["name", "Evangelina Reilly"], ["description", "Queenie Cummerata"], ["serial_number", "Hwa Denesik"], ["brand", "Louis Jacobson"], ["item_model", "Inge Bayer"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:36:14.850168"], ["updated_at", "2018-09-05 05:36:14.850168"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Carlena Rogahn"], ["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", "Myrta Sauer"], ["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", "Carlena Rogahn"], ["name", "Myrta Sauer"], ["created_at", "2018-09-05 05:36:14.860632"], ["updated_at", "2018-09-05 05:36:14.860632"]]  (0.5ms) RELEASE 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Carlena Rogahn"], ["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Myrta Sauer"], ["id", 38], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.9ms) BEGIN Mks::Rate::ServiceType Exists (1.1ms) 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.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Sherell Bins"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN 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", "Babara Douglas"], ["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.4ms) 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", "Hortense Schaden"], ["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", "Margene D'Amore"], ["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", "Hortense Schaden"], ["name", "Margene D'Amore"], ["created_at", "2018-09-05 05:36:14.888824"], ["updated_at", "2018-09-05 05:36:14.888824"]]  (0.6ms) RELEASE 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", "Hortense Schaden"], ["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", "Allen Stoltenberg"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) 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", "Lynetta Pouros"], ["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", "Samuel Lockman"], ["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", "Lynetta Pouros"], ["name", "Samuel Lockman"], ["created_at", "2018-09-05 05:36:14.904414"], ["updated_at", "2018-09-05 05:36:14.904414"]]  (0.5ms) 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", "Danny Rice"], ["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", "Samuel Lockman"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN 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", "Nila Stanton"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["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", "Jerry Bogisich"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Gil Schultz"], ["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", "Gil Schultz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.935155"], ["updated_at", "2018-09-05 05:36:14.935155"]]  (1.1ms) RELEASE 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", "Gil Schultz"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Roni Jakubowski"], ["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", "Audria Leffler"], ["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", "Roni Jakubowski"], ["name", "Audria Leffler"], ["created_at", "2018-09-05 05:36:14.950233"], ["updated_at", "2018-09-05 05:36:14.950233"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Fred Kautzer"], ["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", "Fred Kautzer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.956662"], ["updated_at", "2018-09-05 05:36:14.956662"]]  (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", "Chasity Spencer"], ["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", "Chasity Spencer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.961903"], ["updated_at", "2018-09-05 05:36:14.961903"]]  (0.9ms) 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", "Marcelo Crist"], ["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", "Marcelo Crist"], ["name", "Luci Nikolaus"], ["address", "Reggie Eichmann"], ["created_at", "2018-09-05 05:36:14.968179"], ["updated_at", "2018-09-05 05:36:14.968179"]]  (1.1ms) 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", "Lizzie Wilderman"], ["service_delivery_unit_id", 62], ["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", "Lizzie Wilderman"], ["name", "Erlene Dietrich"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:36:14.975665"], ["updated_at", "2018-09-05 05:36:14.975665"]] 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", 62], ["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", "Lizzie Wilderman"], ["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", "Lizzie Wilderman"], ["name", "Erlene Dietrich"], ["description", "Default bundle for service 'Erlene Dietrich'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:36:14.980589"], ["updated_at", "2018-09-05 05:36:14.980589"]] 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", 25]]  (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", "Mitchel DuBuque"], ["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", "Loree Ruecker"], ["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", "Mitchel DuBuque"], ["name", "Loree Ruecker"], ["created_at", "2018-09-05 05:36:14.989379"], ["updated_at", "2018-09-05 05:36:14.989379"]]  (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", "Lon Oga"], ["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", "Lon Oga"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.993986"], ["updated_at", "2018-09-05 05:36:14.993986"]]  (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", "Natalia Metz"], ["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", "Natalia Metz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:14.998756"], ["updated_at", "2018-09-05 05:36:14.998756"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Roselee 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", "Roselee Bernhard"], ["name", "Jerry Kub"], ["address", "Long Hammes"], ["created_at", "2018-09-05 05:36:15.003289"], ["updated_at", "2018-09-05 05:36:15.003289"]]  (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", "Katheleen Leuschke"], ["service_delivery_unit_id", 63], ["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", "Katheleen Leuschke"], ["name", "Ivey Smitham"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:36:15.008000"], ["updated_at", "2018-09-05 05:36:15.008000"]] 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", 63], ["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", "Katheleen Leuschke"], ["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", "Katheleen Leuschke"], ["name", "Ivey Smitham"], ["description", "Default bundle for service 'Ivey Smitham'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:36:15.012949"], ["updated_at", "2018-09-05 05:36:15.012949"]] 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", 49], ["chargeable_service_id", 26]]  (0.5ms) 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", "Jamal 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", "Jackie Bins"], ["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", "Jamal Mraz"], ["name", "Jackie Bins"], ["created_at", "2018-09-05 05:36:15.022332"], ["updated_at", "2018-09-05 05:36:15.022332"]]  (0.7ms) 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", "Dallas Schowalter"], ["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", "Dallas Schowalter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.028863"], ["updated_at", "2018-09-05 05:36:15.028863"]]  (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", "Kristeen Schaefer"], ["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", "Kristeen Schaefer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.034383"], ["updated_at", "2018-09-05 05:36:15.034383"]]  (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", "Joshua Bartell"], ["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", "Joshua Bartell"], ["name", "Claire McDermott"], ["address", "Jerold Wyman"], ["created_at", "2018-09-05 05:36:15.039915"], ["updated_at", "2018-09-05 05:36:15.039915"]]  (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", "Rosario Legros"], ["service_delivery_unit_id", 64], ["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", "Rosario Legros"], ["name", "Earle Kub"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:36:15.044389"], ["updated_at", "2018-09-05 05:36:15.044389"]] 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", 64], ["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", "Rosario 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", "Rosario Legros"], ["name", "Earle Kub"], ["description", "Default bundle for service 'Earle Kub'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:36:15.049307"], ["updated_at", "2018-09-05 05:36:15.049307"]] 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", 50], ["chargeable_service_id", 27]]  (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", 25], ["LIMIT", 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", 26], ["LIMIT", 1]]  (0.4ms) 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", 25], ["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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:36:15.059608"], ["updated_at", "2018-09-05 05:36:15.059608"]] 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]] 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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:36:15.062752"], ["updated_at", "2018-09-05 05:36:15.062752"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) 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", "Shaquita Kautzer"], ["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", "Marianna Robel"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shaquita Kautzer"], ["name", "Marianna Robel"], ["created_at", "2018-09-05 05:36:15.073351"], ["updated_at", "2018-09-05 05:36:15.073351"]]  (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", "Lavina Gaylord"], ["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", "Lavina Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.081162"], ["updated_at", "2018-09-05 05:36:15.081162"]]  (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", "Dorla Stanton"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dorla Stanton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.087244"], ["updated_at", "2018-09-05 05:36:15.087244"]]  (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", "Felipa Fadel"], ["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", "Felipa Fadel"], ["name", "Theodore Pagac"], ["address", "Jinny Sanford"], ["created_at", "2018-09-05 05:36:15.094333"], ["updated_at", "2018-09-05 05:36:15.094333"]]  (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", "Dionna Parker"], ["service_delivery_unit_id", 65], ["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", "Dionna Parker"], ["name", "Brittney Paucek"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:36:15.098871"], ["updated_at", "2018-09-05 05:36:15.098871"]] 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", 65], ["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", "Dionna Parker"], ["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", "Dionna Parker"], ["name", "Brittney Paucek"], ["description", "Default bundle for service 'Brittney Paucek'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:36:15.104185"], ["updated_at", "2018-09-05 05:36:15.104185"]] 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", 51], ["chargeable_service_id", 28]]  (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", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:36:15.110279"], ["updated_at", "2018-09-05 05:36:15.110279"]]  (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", 28], ["LIMIT", 1]]  (0.6ms) 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", 28], ["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 05:36:15.116525"], ["id", 10]]  (0.6ms) 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  (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", "eleanora@hegmannbogisich.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", "Lani Maggio"], ["last_name", "Dani Jones"], ["email", "eleanora@hegmannbogisich.biz"], ["password_digest", "$2a$04$tWVGTNXo6Hcz3JTuYM8oD.so.p0MwksVwBTwN.X2MSZYHMUWxW7e."], ["created_at", "2018-09-05 05:36:15.130135"], ["updated_at", "2018-09-05 05:36:15.130135"]]  (1.3ms) 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", "afton@harrisskiles.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", "Trisha Grady"], ["last_name", "Krystyna Spencer"], ["email", "afton@harrisskiles.info"], ["password_digest", "$2a$04$1t9GWDB/BZnyEXHy2LuAw.6f5K2JK6Ix.g.xoWNDift4CHmD6Zeoy"], ["created_at", "2018-09-05 05:36:15.140942"], ["updated_at", "2018-09-05 05:36:15.140942"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (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", "burton@emmerich.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", "Albertha Kunde"], ["last_name", "Lesley Bartell"], ["email", "burton@emmerich.name"], ["password_digest", "$2a$04$TVYAu/0qYqUbUg0WPmWrQeuIUEejEEhvaL2PVUEWORclEkYnnmTnO"], ["created_at", "2018-09-05 05:36:15.147380"], ["updated_at", "2018-09-05 05:36:15.147380"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Mathew Erdman"], ["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", "Mathew Erdman"], ["authorized_by", "Pura Kuhn"], ["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", 67], ["approved_by_id", 68], ["created_at", "2018-09-05 05:36:15.151858"], ["updated_at", "2018-09-05 05:36:15.151858"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Mathew Erdman"], ["id", 4], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.1ms) 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", 66], ["updated_at", "2018-09-05 05:36:15.157930"], ["id", 4]]  (0.5ms) RELEASE SAVEPOINT active_record_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", 4], ["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", 66], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Otto Armstrong"], ["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", "Otto Armstrong"], ["name", "Malinda Breitenberg"], ["address", "Dario Ward"], ["created_at", "2018-09-05 05:36:15.170496"], ["updated_at", "2018-09-05 05:36:15.170496"]]  (0.6ms) 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", "Robt Torp"], ["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", "Robt Torp"], ["name", "Jesse Swaniawski"], ["description", "Sha Welch"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:36:15.176987"], ["updated_at", "2018-09-05 05:36:15.176987"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.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", "Vasiliki 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", "Casey Marks"], ["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", "Vasiliki Gerhold"], ["name", "Casey Marks"], ["created_at", "2018-09-05 05:36:15.184768"], ["updated_at", "2018-09-05 05:36:15.184768"]]  (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", "Mikki Simonis"], ["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", "Mikki Simonis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.190671"], ["updated_at", "2018-09-05 05:36:15.190671"]]  (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", "Carola Larson"], ["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", "Carola Larson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.195284"], ["updated_at", "2018-09-05 05:36:15.195284"]]  (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", "Fonda Hettinger"], ["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", "Fonda Hettinger"], ["name", "Dale Collins"], ["address", "Annelle Hoeger"], ["created_at", "2018-09-05 05:36:15.200075"], ["updated_at", "2018-09-05 05:36:15.200075"]]  (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", "Vincenza Jacobi"], ["service_delivery_unit_id", 67], ["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", "Vincenza Jacobi"], ["name", "Myles Luettgen"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:36:15.204995"], ["updated_at", "2018-09-05 05:36:15.204995"]] 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", 67], ["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", "Vincenza Jacobi"], ["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", "Vincenza Jacobi"], ["name", "Myles Luettgen"], ["description", "Default bundle for service 'Myles Luettgen'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:36:15.210153"], ["updated_at", "2018-09-05 05:36:15.210153"]] 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", 53], ["chargeable_service_id", 29]]  (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", "Hollis Bahringer"], ["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", "Madalene White"], ["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", "Hollis Bahringer"], ["name", "Madalene White"], ["created_at", "2018-09-05 05:36:15.218919"], ["updated_at", "2018-09-05 05:36:15.218919"]]  (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", "Leonia Hamill"], ["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", "Leonia Hamill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.223630"], ["updated_at", "2018-09-05 05:36:15.223630"]]  (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", "Kenneth Armstrong"], ["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", "Kenneth Armstrong"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.228275"], ["updated_at", "2018-09-05 05:36:15.228275"]]  (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", "Paula Reilly"], ["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", "Paula Reilly"], ["name", "Marchelle Legros"], ["address", "Lina Schinner"], ["created_at", "2018-09-05 05:36:15.233177"], ["updated_at", "2018-09-05 05:36:15.233177"]]  (0.7ms) 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", "Geoffrey Barton"], ["service_delivery_unit_id", 68], ["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", "Geoffrey Barton"], ["name", "Louvenia Kertzmann"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:36:15.239050"], ["updated_at", "2018-09-05 05:36:15.239050"]] 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", 68], ["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", "Geoffrey Barton"], ["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", "Geoffrey Barton"], ["name", "Louvenia Kertzmann"], ["description", "Default bundle for service 'Louvenia Kertzmann'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:36:15.244233"], ["updated_at", "2018-09-05 05:36:15.244233"]] 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", 54], ["chargeable_service_id", 30]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Joye Carroll"], ["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", "Georgine Stracke"], ["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", "Joye Carroll"], ["name", "Georgine Stracke"], ["created_at", "2018-09-05 05:36:15.257747"], ["updated_at", "2018-09-05 05:36:15.257747"]]  (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", "Carl Rogahn"], ["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", "Carl Rogahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.262578"], ["updated_at", "2018-09-05 05:36:15.262578"]]  (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", "Candie Larkin"], ["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", "Candie Larkin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.267374"], ["updated_at", "2018-09-05 05:36:15.267374"]]  (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", "Pierre 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", "Pierre Zulauf"], ["name", "Cheryl Walsh"], ["address", "Marylynn Bosco"], ["created_at", "2018-09-05 05:36:15.272288"], ["updated_at", "2018-09-05 05:36:15.272288"]]  (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", "Altha Schamberger"], ["service_delivery_unit_id", 69], ["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", "Altha Schamberger"], ["name", "Ressie Gislason"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:36:15.277328"], ["updated_at", "2018-09-05 05:36:15.277328"]] 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", 69], ["LIMIT", 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", "Altha Schamberger"], ["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", "Altha Schamberger"], ["name", "Ressie Gislason"], ["description", "Default bundle for service 'Ressie Gislason'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:36:15.283379"], ["updated_at", "2018-09-05 05:36:15.283379"]] 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", 31]]  (0.5ms) 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", 52]]  (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" IN ($1, $2, $3) [["id", 29], ["id", 30], ["id", 31]] 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", 52]] 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", 52], ["chargeable_service_id", 29]] 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", 30]] 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.5ms) RELEASE SAVEPOINT active_record_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", 52], ["LIMIT", 1]]  (1.4ms) 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.9ms) ROLLBACK  (0.6ms) 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", "Krishna McCullough"], ["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", "Krishna McCullough"], ["name", "Vance Zemlak"], ["address", "Deana Murphy"], ["created_at", "2018-09-05 05:36:15.312622"], ["updated_at", "2018-09-05 05:36:15.312622"]]  (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", "Sharla Gottlieb"], ["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", "Sharla Gottlieb"], ["name", "Noel Reinger"], ["description", "Alisa Kozey"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:36:15.317291"], ["updated_at", "2018-09-05 05:36:15.317291"]]  (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", "Jamison Kuvalis"], ["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", "Harrison Considine"], ["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", "Jamison Kuvalis"], ["name", "Harrison Considine"], ["created_at", "2018-09-05 05:36:15.323759"], ["updated_at", "2018-09-05 05:36:15.323759"]]  (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", "Annette Dietrich"], ["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", "Annette Dietrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.328654"], ["updated_at", "2018-09-05 05:36:15.328654"]]  (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", "Jesus O'Hara"], ["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", "Jesus O'Hara"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.336266"], ["updated_at", "2018-09-05 05:36:15.336266"]]  (0.8ms) 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", "Rory Russel"], ["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", "Rory Russel"], ["name", "Lissette Kozey"], ["address", "Ai Bahringer"], ["created_at", "2018-09-05 05:36:15.343104"], ["updated_at", "2018-09-05 05:36:15.343104"]]  (0.7ms) 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", "Shanita Gusikowski"], ["service_delivery_unit_id", 71], ["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", "Shanita Gusikowski"], ["name", "Darcy O'Kon"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:36:15.348904"], ["updated_at", "2018-09-05 05:36:15.348904"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shanita 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", "Shanita Gusikowski"], ["name", "Darcy O'Kon"], ["description", "Default bundle for service 'Darcy O'Kon'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:36:15.354271"], ["updated_at", "2018-09-05 05:36:15.354271"]] 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", 32]]  (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", "Terrell Rath"], ["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", "Olinda Jenkins"], ["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", "Terrell Rath"], ["name", "Olinda Jenkins"], ["created_at", "2018-09-05 05:36:15.362895"], ["updated_at", "2018-09-05 05:36:15.362895"]]  (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", "Vannesa Pacocha"], ["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", "Vannesa Pacocha"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.367714"], ["updated_at", "2018-09-05 05:36:15.367714"]]  (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", "Jesus Fritsch"], ["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", "Jesus Fritsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.372435"], ["updated_at", "2018-09-05 05:36:15.372435"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (2.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", "Chung Kshlerin"], ["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", "Chung Kshlerin"], ["name", "Trey Wolff"], ["address", "Jina Carter"], ["created_at", "2018-09-05 05:36:15.379803"], ["updated_at", "2018-09-05 05:36:15.379803"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Augusta Paucek"], ["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", "Augusta Paucek"], ["name", "Jenni Kuhlman"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:36:15.384687"], ["updated_at", "2018-09-05 05:36:15.384687"]] 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", 72], ["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", "Augusta Paucek"], ["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", "Augusta Paucek"], ["name", "Jenni Kuhlman"], ["description", "Default bundle for service 'Jenni Kuhlman'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:36:15.390031"], ["updated_at", "2018-09-05 05:36:15.390031"]] 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", 58], ["chargeable_service_id", 33]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Avis Marvin"], ["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", "Alphonso Mayert"], ["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", "Avis Marvin"], ["name", "Alphonso Mayert"], ["created_at", "2018-09-05 05:36:15.401253"], ["updated_at", "2018-09-05 05:36:15.401253"]]  (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", "Karl 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", "Karl Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.405878"], ["updated_at", "2018-09-05 05:36:15.405878"]]  (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", "Edgardo Schaefer"], ["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", "Edgardo Schaefer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.410161"], ["updated_at", "2018-09-05 05:36:15.410161"]]  (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", "Lilli Ryan"], ["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", "Lilli Ryan"], ["name", "Latonia Lehner"], ["address", "Joie Bernier"], ["created_at", "2018-09-05 05:36:15.414720"], ["updated_at", "2018-09-05 05:36:15.414720"]]  (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", "Orlando Glover"], ["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", "Orlando Glover"], ["name", "Selene Davis"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:36:15.419063"], ["updated_at", "2018-09-05 05:36:15.419063"]] 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", 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", "Orlando Glover"], ["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", "Orlando Glover"], ["name", "Selene Davis"], ["description", "Default bundle for service 'Selene Davis'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:36:15.424145"], ["updated_at", "2018-09-05 05:36:15.424145"]] 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", 34]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 56], ["chargeable_service_id", 32]] 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", 56], ["chargeable_service_id", 33]] 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", 56], ["chargeable_service_id", 34]]  (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", 56]]  (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", 34]] 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", 56]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.6ms) 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", 56], ["chargeable_service_id", 32], ["chargeable_service_id", 33]]  (0.8ms) 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", 56], ["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", 56]] 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", 56]]  (0.8ms) ROLLBACK  (0.6ms) 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", "Marquetta Keebler"], ["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", "Marquetta Keebler"], ["name", "Alma Gibson"], ["address", "Benita Heaney"], ["created_at", "2018-09-05 05:36:15.458257"], ["updated_at", "2018-09-05 05:36:15.458257"]]  (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", "Gregoria Miller"], ["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", "Gregoria Miller"], ["name", "Richard Berge"], ["description", "Erline Schmeler"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:36:15.462879"], ["updated_at", "2018-09-05 05:36:15.462879"]]  (0.6ms) 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", "Tabetha Toy"], ["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", "Mallory O'Conner"], ["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", "Tabetha Toy"], ["name", "Mallory O'Conner"], ["created_at", "2018-09-05 05:36:15.469204"], ["updated_at", "2018-09-05 05:36:15.469204"]]  (0.5ms) 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", "Penny Fay"], ["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", "Penny Fay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.475607"], ["updated_at", "2018-09-05 05:36:15.475607"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Clotilde Corwin"], ["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", "Clotilde Corwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.483222"], ["updated_at", "2018-09-05 05:36:15.483222"]]  (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", "Antony Sipes"], ["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", "Antony Sipes"], ["name", "Sherise Ward"], ["address", "Cecila Block"], ["created_at", "2018-09-05 05:36:15.489872"], ["updated_at", "2018-09-05 05:36:15.489872"]]  (0.4ms) 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", "Bernadette Harris"], ["service_delivery_unit_id", 75], ["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", "Bernadette Harris"], ["name", "Leon Osinski"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:36:15.494460"], ["updated_at", "2018-09-05 05:36:15.494460"]] 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", 75], ["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", "Bernadette Harris"], ["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", "Bernadette Harris"], ["name", "Leon Osinski"], ["description", "Default bundle for service 'Leon Osinski'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:36:15.499464"], ["updated_at", "2018-09-05 05:36:15.499464"]] 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", 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", "Stefanie Turcotte"], ["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", "Willia McClure"], ["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", "Stefanie Turcotte"], ["name", "Willia McClure"], ["created_at", "2018-09-05 05:36:15.507977"], ["updated_at", "2018-09-05 05:36:15.507977"]]  (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", "Ricki Kling"], ["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", "Ricki Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.512383"], ["updated_at", "2018-09-05 05:36:15.512383"]]  (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", "Kori Jones"], ["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", "Kori Jones"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.517255"], ["updated_at", "2018-09-05 05:36:15.517255"]]  (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", "Katharina Barton"], ["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", "Katharina Barton"], ["name", "Maura Zboncak"], ["address", "Edra Schimmel"], ["created_at", "2018-09-05 05:36:15.521885"], ["updated_at", "2018-09-05 05:36:15.521885"]]  (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", "Karissa Baumbach"], ["service_delivery_unit_id", 76], ["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", "Karissa Baumbach"], ["name", "Marcelina Romaguera"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:36:15.526811"], ["updated_at", "2018-09-05 05:36:15.526811"]] 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", 76], ["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", "Karissa Baumbach"], ["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", "Karissa Baumbach"], ["name", "Marcelina Romaguera"], ["description", "Default bundle for service 'Marcelina Romaguera'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:36:15.532203"], ["updated_at", "2018-09-05 05:36:15.532203"]] 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", 62], ["chargeable_service_id", 36]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Bok Konopelski"], ["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", "Elia Kuvalis"], ["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", "Bok Konopelski"], ["name", "Elia Kuvalis"], ["created_at", "2018-09-05 05:36:15.548912"], ["updated_at", "2018-09-05 05:36:15.548912"]]  (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", "Gina Brown"], ["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", "Gina Brown"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.554416"], ["updated_at", "2018-09-05 05:36:15.554416"]]  (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", "Evelin Mitchell"], ["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", "Evelin Mitchell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.558859"], ["updated_at", "2018-09-05 05:36:15.558859"]]  (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", "Ranae Lakin"], ["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", "Ranae Lakin"], ["name", "Hollis Towne"], ["address", "Janie Hudson"], ["created_at", "2018-09-05 05:36:15.563523"], ["updated_at", "2018-09-05 05:36:15.563523"]]  (0.4ms) 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", "Alexander Green"], ["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", "Alexander Green"], ["name", "Kaci Lind"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:36:15.568108"], ["updated_at", "2018-09-05 05:36:15.568108"]] 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", "Alexander Green"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Alexander Green"], ["name", "Kaci Lind"], ["description", "Default bundle for service 'Kaci Lind'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:36:15.573690"], ["updated_at", "2018-09-05 05:36:15.573690"]] 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", 37]]  (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", "Abram Prosacco"], ["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", "Gisele 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", "Abram Prosacco"], ["name", "Gisele Gorczany"], ["created_at", "2018-09-05 05:36:15.583592"], ["updated_at", "2018-09-05 05:36:15.583592"]]  (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", "Darron Kris"], ["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", "Darron Kris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.588253"], ["updated_at", "2018-09-05 05:36:15.588253"]]  (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", "Adena Kunde"], ["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", "Adena Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:36:15.593007"], ["updated_at", "2018-09-05 05:36:15.593007"]]  (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", "Janee Hamill"], ["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", "Janee Hamill"], ["name", "Marissa Harvey"], ["address", "Beata Schimmel"], ["created_at", "2018-09-05 05:36:15.597643"], ["updated_at", "2018-09-05 05:36:15.597643"]]  (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", "Rachele Mohr"], ["service_delivery_unit_id", 78], ["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", "Rachele Mohr"], ["name", "Ben Schmeler"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:36:15.602503"], ["updated_at", "2018-09-05 05:36:15.602503"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rachele Mohr"], ["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", "Rachele Mohr"], ["name", "Ben Schmeler"], ["description", "Default bundle for service 'Ben Schmeler'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:36:15.607383"], ["updated_at", "2018-09-05 05:36:15.607383"]] 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", 38]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 36]]  (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", 60]]  (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" IN ($1, $2, $3) [["id", 36], ["id", 37], ["id", 38]] 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", 60]] 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 37]] 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", 38]]  (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", 60], ["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", 60]] Mks::Rate::ChargeableService Exists (1.3ms) 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", 60], ["id", 35], ["LIMIT", 1]] 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", 60]]  (0.6ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (0.8ms) 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", "shaneka@hackettcorwin.co.uk"], ["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", "Ryan Crooks"], ["last_name", "Tamatha Stracke"], ["email", "shaneka@hackettcorwin.co.uk"], ["password_digest", "$2a$04$mco.gMnQTdeXtHUv129xauvy3hE3SNdjUxZJTtRE.x1LNUbyS.qKi"], ["created_at", "2018-09-05 05:37:55.315516"], ["updated_at", "2018-09-05 05:37:55.315516"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Sima Rau"], ["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", "Penney Barrows"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sima Rau"], ["name", "Penney Barrows"], ["created_at", "2018-09-05 05:37:55.363333"], ["updated_at", "2018-09-05 05:37:55.363333"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Donnie McClure"], ["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", "Donnie McClure"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.389594"], ["updated_at", "2018-09-05 05:37:55.389594"]]  (0.5ms) 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", "Bonnie Pouros"], ["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", "Bonnie Pouros"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.395900"], ["updated_at", "2018-09-05 05:37:55.395900"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Heriberto McKenzie"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Heriberto McKenzie"], ["name", "Karena Collins"], ["address", "Devin Lockman"], ["created_at", "2018-09-05 05:37:55.415098"], ["updated_at", "2018-09-05 05:37:55.415098"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Frances Rice"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Frances Rice"], ["name", "Trudy Moen"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:37:55.424927"], ["updated_at", "2018-09-05 05:37:55.424927"]] 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", 1], ["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", "Frances Rice"], ["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", "Frances Rice"], ["name", "Trudy Moen"], ["description", "Default bundle for service 'Trudy Moen'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:37:55.454504"], ["updated_at", "2018-09-05 05:37:55.454504"]] 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", 1], ["chargeable_service_id", 1]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Dorotha Schmitt"], ["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", "Tabatha Denesik"], ["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", "Dorotha Schmitt"], ["name", "Tabatha Denesik"], ["created_at", "2018-09-05 05:37:55.482929"], ["updated_at", "2018-09-05 05:37:55.482929"]]  (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", "Danae Hoeger"], ["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", "Danae Hoeger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.487912"], ["updated_at", "2018-09-05 05:37:55.487912"]]  (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", "Meredith 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", "Meredith Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.492782"], ["updated_at", "2018-09-05 05:37:55.492782"]]  (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", "Tamie Brekke"], ["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", "Tamie Brekke"], ["name", "Neta Labadie"], ["address", "Conchita Dicki"], ["created_at", "2018-09-05 05:37:55.498506"], ["updated_at", "2018-09-05 05:37:55.498506"]]  (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", "Cesar Glover"], ["service_delivery_unit_id", 2], ["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", "Cesar Glover"], ["name", "Johnson Sawayn"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:37:55.503528"], ["updated_at", "2018-09-05 05:37:55.503528"]] 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", 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", "Cesar Glover"], ["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", "Cesar Glover"], ["name", "Johnson Sawayn"], ["description", "Default bundle for service 'Johnson Sawayn'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:37:55.510047"], ["updated_at", "2018-09-05 05:37:55.510047"]] 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", 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", "Oda Effertz"], ["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", "Eustolia Berge"], ["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", "Oda Effertz"], ["name", "Eustolia Berge"], ["created_at", "2018-09-05 05:37:55.520374"], ["updated_at", "2018-09-05 05:37:55.520374"]]  (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", "Harlan 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", "Harlan Langworth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.525176"], ["updated_at", "2018-09-05 05:37:55.525176"]]  (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", "Sharika 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", "Sharika Osinski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.530166"], ["updated_at", "2018-09-05 05:37:55.530166"]]  (0.5ms) 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", "Tameika Abshire"], ["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", "Tameika Abshire"], ["name", "Mariano Oga"], ["address", "Mayola Boyer"], ["created_at", "2018-09-05 05:37:55.535878"], ["updated_at", "2018-09-05 05:37:55.535878"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Tarah Nikolaus"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (3.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", "Tarah Nikolaus"], ["name", "Lavada Rippin"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:37:55.542159"], ["updated_at", "2018-09-05 05:37:55.542159"]] 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", 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", "Tarah Nikolaus"], ["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", "Tarah Nikolaus"], ["name", "Lavada Rippin"], ["description", "Default bundle for service 'Lavada Rippin'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:37:55.551771"], ["updated_at", "2018-09-05 05:37:55.551771"]] 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.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] 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::Rate::ChargeableService Load (1.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN ($1, $2, $3) [["id", 2], ["id", 3], ["id", 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", 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.6ms) 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", 5], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.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 (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", 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (17.67ms) Completed 200 OK in 44ms (Views: 27.8ms | ActiveRecord: 12.9ms)  (1.0ms) ROLLBACK  (0.8ms) 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", "casimira@cummeratajerde.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", "Joselyn Gulgowski"], ["last_name", "Maynard Lesch"], ["email", "casimira@cummeratajerde.ca"], ["password_digest", "$2a$04$.0OnCmxRQKL6kFlaaVe9FurRInnPPyY6yLOpqCt1WQSaxzRUkxUw2"], ["created_at", "2018-09-05 05:37:55.620191"], ["updated_at", "2018-09-05 05:37:55.620191"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.8ms) 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", "Lucy Balistreri"], ["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", "Lucy Balistreri"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.632141"], ["updated_at", "2018-09-05 05:37:55.632141"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rory O'Conner"], ["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", "Rory O'Conner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.638606"], ["updated_at", "2018-09-05 05:37:55.638606"]]  (0.6ms) 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", "Tonita Gaylord"], ["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", "Tonita Gaylord"], ["name", "Delbert Grant"], ["address", "Debi Funk"], ["created_at", "2018-09-05 05:37:55.644467"], ["updated_at", "2018-09-05 05:37:55.644467"]]  (0.9ms) 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", "Elisha Hermiston"], ["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", "Michal Feeney"], ["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", "Elisha Hermiston"], ["name", "Michal Feeney"], ["created_at", "2018-09-05 05:37:55.651238"], ["updated_at", "2018-09-05 05:37:55.651238"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Nestor Medhurst", "name"=>"Marcelina Parisian", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]  (0.8ms) 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", "Nestor Medhurst"], ["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.8ms) 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.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", "Nestor Medhurst"], ["name", "Marcelina Parisian"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:37:55.670706"], ["updated_at", "2018-09-05 05:37:55.670706"]] 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", 4], ["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", "Nestor Medhurst"], ["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", "Nestor Medhurst"], ["name", "Marcelina Parisian"], ["description", "Default bundle for service 'Marcelina Parisian'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:37:55.676897"], ["updated_at", "2018-09-05 05:37:55.676897"]] 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", 4], ["chargeable_service_id", 4]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 25ms (ActiveRecord: 12.2ms)  (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", "felix.lockman@moore.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", "Charlie Gislason"], ["last_name", "Samantha Kessler"], ["email", "felix.lockman@moore.info"], ["password_digest", "$2a$04$jKSFGjZ9Ed23UPmk5pLpgOoZiQioV6yB73.7gEeMJbeOMPrQmKdYq"], ["created_at", "2018-09-05 05:37:55.692815"], ["updated_at", "2018-09-05 05:37:55.692815"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Roy Walter"], ["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", "Roy Walter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.699818"], ["updated_at", "2018-09-05 05:37:55.699818"]]  (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", "Warren Mills"], ["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", "Warren Mills"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.705128"], ["updated_at", "2018-09-05 05:37:55.705128"]]  (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", "Perla Skiles"], ["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", "Perla Skiles"], ["name", "Gita Prosacco"], ["address", "Nelly VonRueden"], ["created_at", "2018-09-05 05:37:55.711400"], ["updated_at", "2018-09-05 05:37:55.711400"]]  (0.6ms) 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", "Catherin Ullrich"], ["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", "Bobby Hettinger"], ["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", "Catherin Ullrich"], ["name", "Bobby Hettinger"], ["created_at", "2018-09-05 05:37:55.719656"], ["updated_at", "2018-09-05 05:37:55.719656"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Valentina West", "name"=>"Sau Schroeder", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.3ms) 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 (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", "Valentina West"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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 (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", 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.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", "Valentina West"], ["name", "Sau Schroeder"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:37:55.733813"], ["updated_at", "2018-09-05 05:37:55.733813"]] 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 (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Valentina West"], ["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", "Valentina West"], ["name", "Sau Schroeder"], ["description", "Default bundle for service 'Sau Schroeder'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:37:55.739244"], ["updated_at", "2018-09-05 05:37:55.739244"]] 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", 5], ["chargeable_service_id", 5]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 23ms (ActiveRecord: 12.1ms)  (1.1ms) ROLLBACK  (0.5ms) 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", "edison.effertz@anderson.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", "Nu Mosciski"], ["last_name", "Odell Trantow"], ["email", "edison.effertz@anderson.info"], ["password_digest", "$2a$04$Pi1ddTX5fv./PChCJKENl.D8tqiIpHAyR6fouz1NnIUo.S5/96Jxq"], ["created_at", "2018-09-05 05:37:55.755608"], ["updated_at", "2018-09-05 05:37:55.755608"]]  (0.5ms) 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", "Jacalyn 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", "Jacalyn Ratke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.761482"], ["updated_at", "2018-09-05 05:37:55.761482"]]  (0.6ms) 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", "Santos Von"], ["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", "Santos Von"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.767363"], ["updated_at", "2018-09-05 05:37:55.767363"]]  (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", "Merilyn Schoen"], ["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", "Merilyn Schoen"], ["name", "Nancy Hegmann"], ["address", "Gwen Eichmann"], ["created_at", "2018-09-05 05:37:55.772601"], ["updated_at", "2018-09-05 05:37:55.772601"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Anna Lowe"], ["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", "Enedina Hahn"], ["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", "Anna Lowe"], ["name", "Enedina Hahn"], ["created_at", "2018-09-05 05:37:55.780336"], ["updated_at", "2018-09-05 05:37:55.780336"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Shae Wiegand", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.0ms) 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.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", ""], ["service_delivery_unit_id", 6], ["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", 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.5ms) 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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 422 Unprocessable Entity in 36ms (Views: 12.2ms | ActiveRecord: 7.1ms)  (0.9ms) ROLLBACK  (0.5ms) 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", "janiece@cremin.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", "Charita Langworth"], ["last_name", "Kendall Corwin"], ["email", "janiece@cremin.name"], ["password_digest", "$2a$04$xa3I06vgnOFMsehFGzG44.hhySyhj/WkhRg6iA3Hwdmzq/aVdDmYy"], ["created_at", "2018-09-05 05:37:55.833011"], ["updated_at", "2018-09-05 05:37:55.833011"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Rudolf Jast"], ["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", "Luana Casper"], ["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", "Rudolf Jast"], ["name", "Luana Casper"], ["created_at", "2018-09-05 05:37:55.840966"], ["updated_at", "2018-09-05 05:37:55.840966"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Sadie Schuster"], ["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", "Sadie Schuster"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.848779"], ["updated_at", "2018-09-05 05:37:55.848779"]]  (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", "Sibyl Schinner"], ["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", "Sibyl Schinner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.854727"], ["updated_at", "2018-09-05 05:37:55.854727"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Santos Trantow"], ["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", "Santos Trantow"], ["name", "Lashanda Gibson"], ["address", "Verline Will"], ["created_at", "2018-09-05 05:37:55.861349"], ["updated_at", "2018-09-05 05:37:55.861349"]]  (0.8ms) 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", "Ailene Wyman"], ["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", "Ailene Wyman"], ["name", "Jacob Emard"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:37:55.867916"], ["updated_at", "2018-09-05 05:37:55.867916"]] 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", 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", "Ailene Wyman"], ["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", "Ailene Wyman"], ["name", "Jacob Emard"], ["description", "Default bundle for service 'Jacob Emard'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:37:55.873998"], ["updated_at", "2018-09-05 05:37:55.873998"]] 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", 6], ["chargeable_service_id", 6]]  (0.8ms) 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.1ms) 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.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Ailene Wyman"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 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 (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", 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 05:37:55.898563"], ["id", 6]] 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", 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", "Ailene Wyman"], ["LIMIT", 1]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 27ms (ActiveRecord: 10.9ms)  (1.2ms) 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", "malissa.gibson@lang.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", "Demarcus Hane"], ["last_name", "Laurice Lesch"], ["email", "malissa.gibson@lang.biz"], ["password_digest", "$2a$04$JMK9CYYVtD/6AOfbOMy/eul0HQKnfR8A4aZhgHwglwi3kIBUnCtoO"], ["created_at", "2018-09-05 05:37:55.922401"], ["updated_at", "2018-09-05 05:37:55.922401"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Bennett Kertzmann"], ["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", "Chery 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", "Bennett Kertzmann"], ["name", "Chery Reilly"], ["created_at", "2018-09-05 05:37:55.933343"], ["updated_at", "2018-09-05 05:37:55.933343"]]  (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", "Soo 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", "Soo Kozey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.938892"], ["updated_at", "2018-09-05 05:37:55.938892"]]  (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", "Lindsy Kunde"], ["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", "Lindsy Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:55.946467"], ["updated_at", "2018-09-05 05:37:55.946467"]]  (1.0ms) 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", "Randolph Stiedemann"], ["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", "Randolph Stiedemann"], ["name", "Arlen Crooks"], ["address", "Fidela Hartmann"], ["created_at", "2018-09-05 05:37:55.959073"], ["updated_at", "2018-09-05 05:37:55.959073"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Carl Schultz"], ["service_delivery_unit_id", 8], ["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", "Carl Schultz"], ["name", "Delmy Ortiz"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:37:55.966074"], ["updated_at", "2018-09-05 05:37:55.966074"]] 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", "Carl Schultz"], ["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", "Carl Schultz"], ["name", "Delmy Ortiz"], ["description", "Default bundle for service 'Delmy Ortiz'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:37:55.971249"], ["updated_at", "2018-09-05 05:37:55.971249"]] 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.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] 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", 7], ["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", "Carl Schultz"], ["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.9ms) 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.8ms) 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 14ms (Views: 1.0ms | ActiveRecord: 7.3ms)  (0.6ms) ROLLBACK  (0.8ms) 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", "bryanna.williamson@will.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", "Jamee Huel"], ["last_name", "Terisa O'Hara"], ["email", "bryanna.williamson@will.info"], ["password_digest", "$2a$04$qQLZ7EV7UfR7upy.vzhPAej9qmiXYfu/YnZxHV96TakthS6UlUNti"], ["created_at", "2018-09-05 05:37:55.999938"], ["updated_at", "2018-09-05 05:37:55.999938"]]  (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", "Cindie Durgan"], ["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", "Cindie Durgan"], ["name", "Marcelina Grant"], ["address", "Olinda Auer"], ["created_at", "2018-09-05 05:37:56.004901"], ["updated_at", "2018-09-05 05:37:56.004901"]]  (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", "Loren Strosin"], ["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", "Loren Strosin"], ["name", "Vernie Dach"], ["address", "Keeley Schumm"], ["created_at", "2018-09-05 05:37:56.009496"], ["updated_at", "2018-09-05 05:37:56.009496"]]  (1.1ms) 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", "Celena Aufderhar"], ["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", "Kandace Bednar"], ["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", "Celena Aufderhar"], ["name", "Kandace Bednar"], ["created_at", "2018-09-05 05:37:56.017666"], ["updated_at", "2018-09-05 05:37:56.017666"]]  (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", "Jacki Hoeger"], ["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", "Jacki Hoeger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.022167"], ["updated_at", "2018-09-05 05:37:56.022167"]]  (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", "Britney Ratke"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Britney Ratke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.026915"], ["updated_at", "2018-09-05 05:37:56.026915"]]  (0.7ms) 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", "Jovita Bode"], ["service_delivery_unit_id", 9], ["LIMIT", 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", 9], ["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", "Jovita Bode"], ["name", "Joeann Ebert"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:37:56.035659"], ["updated_at", "2018-09-05 05:37:56.035659"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jovita Bode"], ["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", "Jovita Bode"], ["name", "Joeann Ebert"], ["description", "Default bundle for service 'Joeann Ebert'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:37:56.040684"], ["updated_at", "2018-09-05 05:37:56.040684"]] 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", 8], ["chargeable_service_id", 8]]  (0.9ms) 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", "Sharika Hyatt"], ["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", "Sonja Senger"], ["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", "Sharika Hyatt"], ["name", "Sonja Senger"], ["created_at", "2018-09-05 05:37:56.050419"], ["updated_at", "2018-09-05 05:37:56.050419"]]  (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", "Lue Kreiger"], ["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", "Lue Kreiger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.054831"], ["updated_at", "2018-09-05 05:37:56.054831"]]  (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", "Margarito Bednar"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Margarito Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.059444"], ["updated_at", "2018-09-05 05:37:56.059444"]]  (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", "Bobette Kertzmann"], ["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.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", "Bobette Kertzmann"], ["name", "Forest Orn"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:37:56.066895"], ["updated_at", "2018-09-05 05:37:56.066895"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Bobette Kertzmann"], ["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", "Bobette Kertzmann"], ["name", "Forest Orn"], ["description", "Default bundle for service 'Forest Orn'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:37:56.072003"], ["updated_at", "2018-09-05 05:37:56.072003"]] 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", 9], ["chargeable_service_id", 9]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Albina Hermann"], ["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", "Tona Feil"], ["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", "Albina Hermann"], ["name", "Tona Feil"], ["created_at", "2018-09-05 05:37:56.082177"], ["updated_at", "2018-09-05 05:37:56.082177"]]  (0.6ms) 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", "Elsy Nader"], ["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", "Elsy Nader"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.086740"], ["updated_at", "2018-09-05 05:37:56.086740"]]  (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", "Willetta Hauck"], ["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", "Willetta Hauck"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.091142"], ["updated_at", "2018-09-05 05:37:56.091142"]]  (0.7ms) 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", "Jaunita Hintz"], ["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", "Jaunita Hintz"], ["name", "Shella Prohaska"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:37:56.099208"], ["updated_at", "2018-09-05 05:37:56.099208"]] 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", 10], ["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", "Jaunita Hintz"], ["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", "Jaunita Hintz"], ["name", "Shella Prohaska"], ["description", "Default bundle for service 'Shella Prohaska'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:37:56.104128"], ["updated_at", "2018-09-05 05:37:56.104128"]] 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", 10], ["chargeable_service_id", 10]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Faith Lynch"], ["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", "Damian Armstrong"], ["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", "Faith Lynch"], ["name", "Damian Armstrong"], ["created_at", "2018-09-05 05:37:56.113966"], ["updated_at", "2018-09-05 05:37:56.113966"]]  (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", "Rodolfo 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", "Rodolfo Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.118689"], ["updated_at", "2018-09-05 05:37:56.118689"]]  (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", "Adele Ferry"], ["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", "Adele Ferry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.122964"], ["updated_at", "2018-09-05 05:37:56.122964"]]  (0.6ms) 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", "Tyree Bechtelar"], ["service_delivery_unit_id", 10], ["LIMIT", 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", 10], ["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", "Tyree Bechtelar"], ["name", "Joan Brakus"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:37:56.129229"], ["updated_at", "2018-09-05 05:37:56.129229"]] 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", "Tyree Bechtelar"], ["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", "Tyree Bechtelar"], ["name", "Joan Brakus"], ["description", "Default bundle for service 'Joan Brakus'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:37:56.135143"], ["updated_at", "2018-09-05 05:37:56.135143"]] 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.9ms) 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.9ms) 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.7ms) 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.8ms) 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.7ms) 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.6ms) 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.13ms) Completed 200 OK in 16ms (Views: 7.3ms | ActiveRecord: 7.9ms)  (1.1ms) ROLLBACK  (1.1ms) 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", "houston.schroeder@shanahan.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", "Zoe Rempel"], ["last_name", "Noelia Skiles"], ["email", "houston.schroeder@shanahan.info"], ["password_digest", "$2a$04$9WKE3/EIIvwAjDn3en9t2OjVEEQuOK1zPTUUihvlh/jjZFLUDn9p6"], ["created_at", "2018-09-05 05:37:56.167600"], ["updated_at", "2018-09-05 05:37:56.167600"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "meghan@tromp.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", "Wilmer Haag"], ["last_name", "Viola Fadel"], ["email", "meghan@tromp.biz"], ["password_digest", "$2a$04$ydqB.U25dUXGfaMFCh1f6O65Ntrzxbk6tVZXAc4HSdOX/Dt5KW2hy"], ["created_at", "2018-09-05 05:37:56.177983"], ["updated_at", "2018-09-05 05:37:56.177983"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "gertude@beahansatterfield.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", "Huey Smith"], ["last_name", "Gertude Blanda"], ["email", "gertude@beahansatterfield.co.uk"], ["password_digest", "$2a$04$8Gc5WTqUoXSeMt3c3B6r7uu5p7RrP9k0PbGEYD3./zMLa6dYf8xA2"], ["created_at", "2018-09-05 05:37:56.189747"], ["updated_at", "2018-09-05 05:37:56.189747"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) ROLLBACK  (0.7ms) 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", "danelle@jewess.ca"], ["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", "Azalee Keebler"], ["last_name", "Madison Bartell"], ["email", "danelle@jewess.ca"], ["password_digest", "$2a$04$gGtcqK5ymc7xNZGDYbsuBuxdyZD9FMRmiOPlHD.fMhic/6PvcsSde"], ["created_at", "2018-09-05 05:37:56.206988"], ["updated_at", "2018-09-05 05:37:56.206988"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "nery.herman@homenick.ca"], ["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", "Carey Stehr"], ["last_name", "Sena Purdy"], ["email", "nery.herman@homenick.ca"], ["password_digest", "$2a$04$ZPhOLfQP86yKefXM5kTjHewMVmPNAAOR.7NnbtM0R2N.R9UXdJlVO"], ["created_at", "2018-09-05 05:37:56.217558"], ["updated_at", "2018-09-05 05:37:56.217558"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "irwin_little@streichmaggio.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", "Joaquin Abernathy"], ["last_name", "Annika Bashirian"], ["email", "irwin_little@streichmaggio.us"], ["password_digest", "$2a$04$I5Nexfudu/J3N/vmfLTycOOLcgQ9i.LlpZgX.Y6G4bxhzaOuRcRBe"], ["created_at", "2018-09-05 05:37:56.228572"], ["updated_at", "2018-09-05 05:37:56.228572"]]  (0.7ms) RELEASE SAVEPOINT active_record_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", "maranda.leannon@haley.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", "Shari Schmitt"], ["last_name", "Scottie Johns"], ["email", "maranda.leannon@haley.info"], ["password_digest", "$2a$04$59oKuhZnlS/6BgkMFsEGsO/EmricVvtc43oRVyECn71PgMiOoX9GS"], ["created_at", "2018-09-05 05:37:56.238950"], ["updated_at", "2018-09-05 05:37:56.238950"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (1.3ms) 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", "ouida@marvin.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", "Raymond VonRueden"], ["last_name", "Andrea Weissnat"], ["email", "ouida@marvin.com"], ["password_digest", "$2a$04$Wja73ydb6S0zQ/YU2VQNTeRvy/sk1d4qRhYf32nh4mPtTb1S8jGcO"], ["created_at", "2018-09-05 05:37:56.251734"], ["updated_at", "2018-09-05 05:37:56.251734"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "tania@klingrussel.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", "Maryellen Mayer"], ["last_name", "Elenora Morar"], ["email", "tania@klingrussel.ca"], ["password_digest", "$2a$04$nJfmXqhUXGiwHjvCq05.7.Ks9z/yOSePMHdNdFvHL.lBsFtvQunhG"], ["created_at", "2018-09-05 05:37:56.262556"], ["updated_at", "2018-09-05 05:37:56.262556"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "alex@nicolas.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", "Wilfredo Crona"], ["last_name", "Israel Herman"], ["email", "alex@nicolas.us"], ["password_digest", "$2a$04$HTF0OSKZMG/9OSLTP2E6B.S12vNf0ZZIk6CGz9OfYs0gdq2r6Btdy"], ["created_at", "2018-09-05 05:37:56.273640"], ["updated_at", "2018-09-05 05:37:56.273640"]]  (0.7ms) 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", "Oretha Labadie"], ["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", "Oretha Labadie"], ["name", "Virgie Abbott"], ["address", "Larissa Bauch"], ["created_at", "2018-09-05 05:37:56.280937"], ["updated_at", "2018-09-05 05:37:56.280937"]]  (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", "Cammy Heidenreich"], ["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", "Cammy Heidenreich"], ["name", "Caryn Waters"], ["description", "Elvin Koss"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:37:56.285356"], ["updated_at", "2018-09-05 05:37:56.285356"]]  (0.7ms) 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", 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]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.44ms) Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 3.3ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) 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", "eldon.fay@pfannerstillmorissette.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", "Kami Kassulke"], ["last_name", "Abram Stanton"], ["email", "eldon.fay@pfannerstillmorissette.us"], ["password_digest", "$2a$04$8XieV.0f9bvNuK8G/1IK1ek43Pf8njs532Qj6sJjGkuojbpBVRLfC"], ["created_at", "2018-09-05 05:37:56.305813"], ["updated_at", "2018-09-05 05:37:56.305813"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Iraida Streich"], ["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", "Iraida Streich"], ["name", "Marin Johnson"], ["address", "Brandie Gottlieb"], ["created_at", "2018-09-05 05:37:56.311791"], ["updated_at", "2018-09-05 05:37:56.311791"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Reggie Crooks"], ["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", "Reggie Crooks"], ["name", "Ezequiel Sanford"], ["description", "Edwina Cole"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:37:56.317752"], ["updated_at", "2018-09-05 05:37:56.317752"]]  (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", "Leeann Prohaska"], ["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", "Leeann Prohaska"], ["name", "Shandra Reilly"], ["description", "Yajaira Lesch"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:37:56.323171"], ["updated_at", "2018-09-05 05:37:56.323171"]]  (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", "Jonas Terry"], ["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", "Jonas Terry"], ["name", "Benedict Welch"], ["description", "Shella Gibson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:37:56.328528"], ["updated_at", "2018-09-05 05:37:56.328528"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"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", 18], ["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", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.27ms) Completed 200 OK in 10ms (Views: 4.3ms | ActiveRecord: 4.1ms)  (1.3ms) 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", "markita.marks@wilkinsonoconnell.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", "Regina Bins"], ["last_name", "Eleanor Russel"], ["email", "markita.marks@wilkinsonoconnell.ca"], ["password_digest", "$2a$04$PRM5PL8jTWSEdlz7PZFf7OB7.DOA5UxMkFR7BUFoRlJWVsuyEDhyG"], ["created_at", "2018-09-05 05:37:56.352145"], ["updated_at", "2018-09-05 05:37:56.352145"]]  (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", "Rayford 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", "Rayford Barton"], ["name", "Susie Fadel"], ["address", "Tonette Mayer"], ["created_at", "2018-09-05 05:37:56.357288"], ["updated_at", "2018-09-05 05:37:56.357288"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Palma Padberg"], ["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", "Palma Padberg"], ["name", "Louvenia Bode"], ["description", "Werner Ondricka"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:37:56.364945"], ["updated_at", "2018-09-05 05:37:56.364945"]]  (0.8ms) 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", "Alyson Donnelly"], ["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", "Alyson Donnelly"], ["name", "Jutta Cassin"], ["description", "Tammera Spinka"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:37:56.370793"], ["updated_at", "2018-09-05 05:37:56.370793"]]  (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", "Forest Monahan"], ["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", "Forest Monahan"], ["name", "Jacalyn Wintheiser"], ["description", "Gerald McKenzie"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:37:56.376323"], ["updated_at", "2018-09-05 05:37:56.376323"]]  (1.0ms) 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", "Miki Parisian"], ["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", "Miki Parisian"], ["name", "Roscoe Wisoky"], ["address", "Jerold DuBuque"], ["created_at", "2018-09-05 05:37:56.382616"], ["updated_at", "2018-09-05 05:37:56.382616"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Noella Upton"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Noella Upton"], ["name", "Page Hamill"], ["description", "Valentina Shanahan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:37:56.388449"], ["updated_at", "2018-09-05 05:37:56.388449"]]  (1.1ms) 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", "Jeanett Beatty"], ["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", "Jeanett Beatty"], ["name", "Renate McCullough"], ["address", "Shirley Murphy"], ["created_at", "2018-09-05 05:37:56.397243"], ["updated_at", "2018-09-05 05:37:56.397243"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lucile Lubowitz"], ["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", "Lucile Lubowitz"], ["name", "Maryland Abshire"], ["description", "Kittie Barton"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:37:56.405706"], ["updated_at", "2018-09-05 05:37:56.405706"]]  (0.5ms) 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", "Carrie Wilkinson"], ["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", "Carrie Wilkinson"], ["name", "Lynwood Schiller"], ["address", "Krysta Frami"], ["created_at", "2018-09-05 05:37:56.411723"], ["updated_at", "2018-09-05 05:37:56.411723"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Penni Schamberger"], ["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", "Penni Schamberger"], ["name", "Chastity Ward"], ["description", "Lourie Friesen"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:37:56.420231"], ["updated_at", "2018-09-05 05:37:56.420231"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [active_model_serializers] 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", 13], ["LIMIT", 1]] [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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.7ms) Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 6.5ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.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", "kirstin@cronin.co.uk"], ["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", "Noma Halvorson"], ["last_name", "Daisey Roob"], ["email", "kirstin@cronin.co.uk"], ["password_digest", "$2a$04$5SZvC3AtkePmP254nL3u7u2SeuxehWTkInFo0xR6GPeWx4H0SPDVq"], ["created_at", "2018-09-05 05:37:56.445560"], ["updated_at", "2018-09-05 05:37:56.445560"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lilliana Waters"], ["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", "Lilliana Waters"], ["name", "Cythia Torp"], ["address", "Cornelius Mills"], ["created_at", "2018-09-05 05:37:56.455749"], ["updated_at", "2018-09-05 05:37:56.455749"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Chantal Dickinson"], ["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", "Chantal Dickinson"], ["name", "Leonel Parisian"], ["description", "Rachael Legros"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:37:56.461895"], ["updated_at", "2018-09-05 05:37:56.461895"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["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", 22], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.44ms) Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 3.2ms)  (1.8ms) ROLLBACK  (1.0ms) 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", "annika.zboncak@lang.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", "Cornelia Boyer"], ["last_name", "Lorilee Boehm"], ["email", "annika.zboncak@lang.co.uk"], ["password_digest", "$2a$04$h7j6zzp3ho2B6oJDXAia3.1uPyJVWV3fOgFhnc2Gu8KTbbboN9RhW"], ["created_at", "2018-09-05 05:37:56.487334"], ["updated_at", "2018-09-05 05:37:56.487334"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Cordelia Cole"], ["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", "Cordelia Cole"], ["name", "Makeda Fisher"], ["address", "Susanna Auer"], ["created_at", "2018-09-05 05:37:56.494901"], ["updated_at", "2018-09-05 05:37:56.494901"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Elfreda Greenfelder"], ["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", "Elfreda Greenfelder"], ["name", "First Service Bundle"], ["description", "Walter Feil"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:37:56.502823"], ["updated_at", "2018-09-05 05:37:56.502823"]]  (0.8ms) 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", "Ivelisse Armstrong"], ["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", "Ivelisse Armstrong"], ["name", "Fletcher Koelpin"], ["address", "Avery Fay"], ["created_at", "2018-09-05 05:37:56.509242"], ["updated_at", "2018-09-05 05:37:56.509242"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Katia Hermiston"], ["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", "Katia Hermiston"], ["name", "Second Service Bundle"], ["description", "Myles Grimes"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:37:56.517503"], ["updated_at", "2018-09-05 05:37:56.517503"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.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.0ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.03ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 3.2ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.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 (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", 18], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.33ms) Completed 200 OK in 10ms (Views: 3.4ms | ActiveRecord: 8.2ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (2.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", "almeda.ernser@johnstonrutherford.name"], ["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", "Loise Turcotte"], ["last_name", "Tory Stamm"], ["email", "almeda.ernser@johnstonrutherford.name"], ["password_digest", "$2a$04$jQYvDUn6hsfoA5larXA7pea3P6Dmwc3h6e3FGy91LpmZPx2imekea"], ["created_at", "2018-09-05 05:37:56.552381"], ["updated_at", "2018-09-05 05:37:56.552381"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Christeen Upton"], ["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", "Christeen Upton"], ["name", "Clinton Tromp"], ["address", "Jerry Runte"], ["created_at", "2018-09-05 05:37:56.563138"], ["updated_at", "2018-09-05 05:37:56.563138"]]  (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", "Irena Bergstrom"], ["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", "Irena Bergstrom"], ["name", "FIRst Service Bundle"], ["description", "Antonio Hermiston"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:37:56.569276"], ["updated_at", "2018-09-05 05:37:56.569276"]]  (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", "Antone Murray"], ["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", "Antone Murray"], ["name", "Effie Rodriguez"], ["address", "Tawny Kovacek"], ["created_at", "2018-09-05 05:37:56.574695"], ["updated_at", "2018-09-05 05:37:56.574695"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nancie Legros"], ["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", "Nancie Legros"], ["name", "Second Service Bundle for the firST time"], ["description", "Frida Rowe"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:37:56.582570"], ["updated_at", "2018-09-05 05:37:56.582570"]]  (0.5ms) 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", 22], ["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", 22], ["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 (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", 20], ["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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.61ms) Completed 200 OK in 9ms (Views: 3.9ms | ActiveRecord: 4.5ms)  (1.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", "blake_fritsch@mcclure.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", "Latashia Hayes"], ["last_name", "Marcela Fadel"], ["email", "blake_fritsch@mcclure.co.uk"], ["password_digest", "$2a$04$bq/63JHqiGjfAy58vlAPI.L/QKegNEVPGVO1EvARAyF75YKir2EXG"], ["created_at", "2018-09-05 05:37:56.605297"], ["updated_at", "2018-09-05 05:37:56.605297"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Yuette Rath"], ["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", "Yuette Rath"], ["name", "Erinn Nicolas"], ["address", "Charolette Olson"], ["created_at", "2018-09-05 05:37:56.612411"], ["updated_at", "2018-09-05 05:37:56.612411"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Emanuel Maggio", "description"=>"Karin Kreiger", "name"=>"Eloy Kunde", "service_delivery_unit_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", 23], ["LIMIT", 1]]  (0.8ms) 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", 22], ["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", "Emanuel Maggio"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Emanuel Maggio"], ["name", "Eloy Kunde"], ["description", "Karin Kreiger"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:37:56.623631"], ["updated_at", "2018-09-05 05:37:56.623631"]]  (1.6ms) 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 15ms (Views: 2.2ms | ActiveRecord: 7.9ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.6ms) ROLLBACK  (0.4ms) 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", "rhoda@grant.biz"], ["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", "Gil Senger"], ["last_name", "Antonia Konopelski"], ["email", "rhoda@grant.biz"], ["password_digest", "$2a$04$rKQDGlbjTiAG03j73I3a/.FN9O4jJHYX./EFZAsLUyAL780FB0Jla"], ["created_at", "2018-09-05 05:37:56.642182"], ["updated_at", "2018-09-05 05:37:56.642182"]]  (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", "Ocie Baumbach"], ["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", "Ocie Baumbach"], ["name", "Liane Reichel"], ["address", "Lola Monahan"], ["created_at", "2018-09-05 05:37:56.649376"], ["updated_at", "2018-09-05 05:37:56.649376"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Fay Bahringer", "description"=>"Jesus Stroman", "name"=>"Annalee Shanahan", "service_delivery_unit_id"=>"23"}} 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]]  (0.6ms) 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", 23], ["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", "Fay Bahringer"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Fay Bahringer"], ["name", "Annalee Shanahan"], ["description", "Jesus Stroman"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:37:56.662071"], ["updated_at", "2018-09-05 05:37:56.662071"]]  (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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.3ms) Completed 201 Created in 14ms (Views: 1.8ms | ActiveRecord: 6.4ms) 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.5ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) 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", "alexa@becker.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", "Donny Gusikowski"], ["last_name", "Anya Hermann"], ["email", "alexa@becker.biz"], ["password_digest", "$2a$04$YuT1uKXrl0J1VL7EQ.pl/Oj/eLZv6Xi1V7o9JKDfgwllCUUvWK.w."], ["created_at", "2018-09-05 05:37:56.680624"], ["updated_at", "2018-09-05 05:37:56.680624"]]  (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", "Yajaira Bogan"], ["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", "Yajaira Bogan"], ["name", "Zada Rice"], ["address", "Stefany Thompson"], ["created_at", "2018-09-05 05:37:56.686107"], ["updated_at", "2018-09-05 05:37:56.686107"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Carol Satterfield", "name"=>"Christi Carroll", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (1.2ms) SAVEPOINT active_record_1 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", 24], ["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", ""], ["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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.09ms) Completed 422 Unprocessable Entity in 16ms (Views: 4.3ms | ActiveRecord: 6.6ms)  (1.2ms) ROLLBACK  (0.8ms) 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", "leora@klingbruen.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", "Kurtis Kemmer"], ["last_name", "Elton Marks"], ["email", "leora@klingbruen.ca"], ["password_digest", "$2a$04$zxLb8g3yScMvfoXUniiXLei/yv.w4NfwT0NcwpUnQlWOm1y3eMxBK"], ["created_at", "2018-09-05 05:37:56.721235"], ["updated_at", "2018-09-05 05:37:56.721235"]]  (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", "Chanelle Price"], ["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", "Chanelle Price"], ["name", "Val Ondricka"], ["address", "Jeri Barton"], ["created_at", "2018-09-05 05:37:56.736901"], ["updated_at", "2018-09-05 05:37:56.736901"]]  (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", "Maybelle Heathcote"], ["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", "Maybelle Heathcote"], ["name", "Iola Jacobson"], ["description", "Taylor Koelpin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:37:56.742229"], ["updated_at", "2018-09-05 05:37:56.742229"]]  (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", "Karima Swaniawski"], ["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", "Shalon Walsh"], ["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", "Karima Swaniawski"], ["name", "Shalon Walsh"], ["created_at", "2018-09-05 05:37:56.749957"], ["updated_at", "2018-09-05 05:37:56.749957"]]  (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", "Barbie Olson"], ["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", "Barbie Olson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.754396"], ["updated_at", "2018-09-05 05:37:56.754396"]]  (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", "Raven Schmidt"], ["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", "Raven Schmidt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:56.759011"], ["updated_at", "2018-09-05 05:37:56.759011"]]  (1.0ms) 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", "Dannie Graham"], ["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", "Dannie Graham"], ["name", "Danita Rippin"], ["address", "Cyrus Littel"], ["created_at", "2018-09-05 05:37:56.764860"], ["updated_at", "2018-09-05 05:37:56.764860"]]  (0.5ms) 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", "Justin Lueilwitz"], ["service_delivery_unit_id", 26], ["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", "Justin Lueilwitz"], ["name", "Taryn Kuhlman"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:37:56.770392"], ["updated_at", "2018-09-05 05:37:56.770392"]] 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", 26], ["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", "Justin Lueilwitz"], ["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", "Justin Lueilwitz"], ["name", "Taryn Kuhlman"], ["description", "Default bundle for service 'Taryn Kuhlman'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:37:56.775427"], ["updated_at", "2018-09-05 05:37:56.775427"]] 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", 30], ["chargeable_service_id", 12]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 29], ["LIMIT", 1]] Unpermitted parameter: :id Mks::Auth::User Load (1.4ms) 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 Hash (0.08ms) Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 3.6ms)  (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", "bernice@reichelkunze.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", "Pearle Ledner"], ["last_name", "Suzette Rowe"], ["email", "bernice@reichelkunze.co.uk"], ["password_digest", "$2a$04$upKpj2QtyILh6FLHpUIvKu7yabozPJ..hf5Zue9PW1JK3ZPA0F/KO"], ["created_at", "2018-09-05 05:37:56.808225"], ["updated_at", "2018-09-05 05:37:56.808225"]]  (0.9ms) 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", "Hsiu Windler"], ["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", "Hsiu Windler"], ["name", "Zonia Nolan"], ["address", "Nickole Brown"], ["created_at", "2018-09-05 05:37:56.814990"], ["updated_at", "2018-09-05 05:37:56.814990"]]  (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", "Lavada Hilll"], ["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", "Lavada Hilll"], ["name", "Bertie Harber"], ["description", "Joesph Konopelski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:37:56.819478"], ["updated_at", "2018-09-05 05:37:56.819478"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Marvella Schaden"}, "id"=>"31"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.3ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (1.9ms) 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]] 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", "Lavada Hilll"], ["id", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.2ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Marvella Schaden"], ["updated_at", "2018-09-05 05:37:56.835145"], ["id", 31]]  (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", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.27ms) Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 8.3ms) 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", 31], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (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", "jessica@roberts.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", "Robert Nader"], ["last_name", "Lashaun Dare"], ["email", "jessica@roberts.com"], ["password_digest", "$2a$04$qUATC3Tuhu35XpHejk/c5eneHBT2f78aq1EXkw.tg.P8W/lVZfKeK"], ["created_at", "2018-09-05 05:37:56.853380"], ["updated_at", "2018-09-05 05:37:56.853380"]]  (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", "Kenyatta Weber"], ["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", "Kenyatta Weber"], ["name", "Regina Runolfsdottir"], ["address", "Latricia Kemmer"], ["created_at", "2018-09-05 05:37:56.860191"], ["updated_at", "2018-09-05 05:37:56.860191"]]  (0.5ms) 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", "Marlena Wintheiser"], ["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", "Marlena Wintheiser"], ["name", "Babette Bosco"], ["description", "Daniel Bergnaum"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:37:56.866563"], ["updated_at", "2018-09-05 05:37:56.866563"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", "Kiana Konopelski"], ["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", "Kiana Konopelski"], ["name", "Raymonde Kovacek"], ["address", "Demetra Auer"], ["created_at", "2018-09-05 05:37:56.891660"], ["updated_at", "2018-09-05 05:37:56.891660"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Verna Hayes", "description"=>"Star Jewess", "name"=>"Lisa Lebsack", "service_delivery_unit_id"=>"29"}, "id"=>"32"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]]  (1.1ms) 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", 29], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.7ms) 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", "Verna Hayes"], ["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.5ms) 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", "Verna Hayes"], ["name", "Lisa Lebsack"], ["description", "Star Jewess"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:37:56.910703"], ["id", 32]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.3ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 10.6ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "bebe.lebsack@greenfelderdickinson.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", "Oliver Witting"], ["last_name", "Wilford Fay"], ["email", "bebe.lebsack@greenfelderdickinson.ca"], ["password_digest", "$2a$04$ZcvcW7uLxV4OmxjnqwwEsOOv3B2tq2t1x/ljM5XFUp1CklrkV1AAu"], ["created_at", "2018-09-05 05:37:56.927913"], ["updated_at", "2018-09-05 05:37:56.927913"]]  (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", "Shaunta Klocko"], ["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", "Shaunta Klocko"], ["name", "Teresita Schaefer"], ["address", "Leda Kiehn"], ["created_at", "2018-09-05 05:37:56.934650"], ["updated_at", "2018-09-05 05:37:56.934650"]]  (0.9ms) 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", "Irene O'Kon"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Irene O'Kon"], ["name", "Alecia Larson"], ["description", "Patricia Rohan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:37:56.946257"], ["updated_at", "2018-09-05 05:37:56.946257"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Charlie Labadie"], ["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", "Charlie Labadie"], ["name", "Alvin Hackett"], ["address", "Zona Lindgren"], ["created_at", "2018-09-05 05:37:56.952787"], ["updated_at", "2018-09-05 05:37:56.952787"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Shenika Walker", "name"=>"Ermelinda Bahringer", "service_delivery_unit_id"=>"31"}, "id"=>"33"} Mks::Auth::User Load (2.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (2.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]  (2.2ms) SAVEPOINT active_record_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", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.4ms) 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", 33], ["LIMIT", 1]]  (0.8ms) 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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.13ms) Completed 422 Unprocessable Entity in 22ms (Views: 1.3ms | ActiveRecord: 12.0ms)  (1.5ms) ROLLBACK  (1.0ms) BEGIN  (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", "dalia.robel@rohanmitchell.info"], ["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", "Miguel Greenfelder"], ["last_name", "Jarrod White"], ["email", "dalia.robel@rohanmitchell.info"], ["password_digest", "$2a$04$NvOaEaIcm2KAYDzENceH8eKj7LA7UBe9dSdUmRkrNMbyMVVYxldp6"], ["created_at", "2018-09-05 05:37:56.993759"], ["updated_at", "2018-09-05 05:37:56.993759"]]  (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", "Levi 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", "Levi Waelchi"], ["name", "Duncan Connelly"], ["address", "Scott DuBuque"], ["created_at", "2018-09-05 05:37:57.002150"], ["updated_at", "2018-09-05 05:37:57.002150"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Melanie Parker"], ["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", "Melanie Parker"], ["name", "Daine Satterfield"], ["address", "Abigail Ondricka"], ["created_at", "2018-09-05 05:37:57.008164"], ["updated_at", "2018-09-05 05:37:57.008164"]]  (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", "Arlie Greenfelder"], ["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", "Arlie Greenfelder"], ["name", "Emilio Weissnat"], ["address", "Marylynn Larkin"], ["created_at", "2018-09-05 05:37:57.012921"], ["updated_at", "2018-09-05 05:37:57.012921"]]  (0.5ms) 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", 30], ["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", 30], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) 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.64ms) Completed 200 OK in 15ms (Views: 11.3ms | ActiveRecord: 2.4ms)  (0.8ms) 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", "trent@gislason.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", "Kacie Fay"], ["last_name", "Nicolette West"], ["email", "trent@gislason.us"], ["password_digest", "$2a$04$ClzfjtK2BfbtqQfKNG0GPuS5tkRdf9kZctN67MH45X5mFJkVXXhJ."], ["created_at", "2018-09-05 05:37:57.039910"], ["updated_at", "2018-09-05 05:37:57.039910"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Oliver Cronin", "code"=>"Erich Bruen", "name"=>"Val Stroman"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["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", "Erich Bruen"], ["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", "Erich Bruen"], ["name", "Val Stroman"], ["address", "Oliver Cronin"], ["created_at", "2018-09-05 05:37:57.050071"], ["updated_at", "2018-09-05 05:37:57.050071"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms (ActiveRecord: 4.1ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) 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", "forrest@dibbert.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", "Jerri Beahan"], ["last_name", "Adam Willms"], ["email", "forrest@dibbert.biz"], ["password_digest", "$2a$04$butdvNk9LjKY02rmJh4FNOZ1rRK3LWs7vVzvWFa1VlqpBCk1YeRnS"], ["created_at", "2018-09-05 05:37:57.064586"], ["updated_at", "2018-09-05 05:37:57.064586"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Hyacinth O'Kon", "code"=>"Davida Kunze", "name"=>"Mahalia Zulauf"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 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", "Davida Kunze"], ["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", "Davida Kunze"], ["name", "Mahalia Zulauf"], ["address", "Hyacinth O'Kon"], ["created_at", "2018-09-05 05:37:57.074237"], ["updated_at", "2018-09-05 05:37:57.074237"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 8ms (ActiveRecord: 4.4ms)  (0.9ms) ROLLBACK  (0.9ms) 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", "phylicia@kassulke.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", "Glady Dietrich"], ["last_name", "Glynis Reichel"], ["email", "phylicia@kassulke.name"], ["password_digest", "$2a$04$ZlKBjPQho56V5gAvUnvWEe8wiA3zyUIMhsxEu45fdbwQvJUyypaCO"], ["created_at", "2018-09-05 05:37:57.089394"], ["updated_at", "2018-09-05 05:37:57.089394"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Tyrone Russel", "code"=>"", "name"=>"Kathlene Grant"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", ""], ["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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.4ms | ActiveRecord: 5.6ms)  (0.9ms) 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", "tamekia@oganader.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", "Jewell Brekke"], ["last_name", "Irving Roob"], ["email", "tamekia@oganader.name"], ["password_digest", "$2a$04$Yr9MhZHCv38rQh68q7DB7.2ES1iJ8zYo75A4JDLMu6Bn0Esu5XwFy"], ["created_at", "2018-09-05 05:37:57.114266"], ["updated_at", "2018-09-05 05:37:57.114266"]]  (0.6ms) 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", "Candance Brakus"], ["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", "Candance Brakus"], ["name", "Rochel Legros"], ["address", "Maple Lang"], ["created_at", "2018-09-05 05:37:57.120210"], ["updated_at", "2018-09-05 05:37:57.120210"]]  (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"=>"37"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 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]]  (1.2ms) 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Candance Brakus"], ["id", 37], ["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 05:37:57.132877"], ["id", 37]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 11ms (ActiveRecord: 5.7ms)  (0.8ms) 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", "sterling@gottlieb.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", "Matt Zulauf"], ["last_name", "Jettie Schimmel"], ["email", "sterling@gottlieb.us"], ["password_digest", "$2a$04$yiC.Uj6TbwnDCYon6JCD8u4QHEkd.0AO6Fm11DfzZu8VwuaZxPW9e"], ["created_at", "2018-09-05 05:37:57.144290"], ["updated_at", "2018-09-05 05:37:57.144290"]]  (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", "Georgeanna Nitzsche"], ["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", "Georgeanna Nitzsche"], ["name", "Rhonda Hudson"], ["address", "Dahlia Homenick"], ["created_at", "2018-09-05 05:37:57.150005"], ["updated_at", "2018-09-05 05:37:57.150005"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["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", 38], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Georgeanna Nitzsche"], ["id", 38], ["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", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.3ms | ActiveRecord: 3.8ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "marylyn@bergstrommann.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", "Shemeka Marks"], ["last_name", "Kacey Bergstrom"], ["email", "marylyn@bergstrommann.name"], ["password_digest", "$2a$04$eHNP.GwIgoOU4xR1G6yadeHFFEcY.VGOoT0Ty.Fx3mOtU68DCZa3y"], ["created_at", "2018-09-05 05:37:57.169223"], ["updated_at", "2018-09-05 05:37:57.169223"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Marcell Schmidt"], ["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", "Latasha Lesch"], ["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", "Marcell Schmidt"], ["name", "Latasha Lesch"], ["description", "Ratione minus qui dolor quis provident rerum quo consectetur. Iure voluptatibus quasi eos omnis et perferendis sapiente qui. Ipsum sed ut cumque earum. Consequatur qui adipisci officia sit repellat et."], ["created_at", "2018-09-05 05:37:57.266780"], ["updated_at", "2018-09-05 05:37:57.266780"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Merilyn Zemlak"], ["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", "Annemarie Langosh"], ["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", "Merilyn Zemlak"], ["name", "Annemarie Langosh"], ["description", "Nulla fugiat sit neque ut dolor. Rerum neque error tenetur nostrum velit fugit est. Mollitia quasi facere perspiciatis deserunt vitae sint doloribus eos."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:37:57.274326"], ["updated_at", "2018-09-05 05:37:57.274326"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Coleen Zieme"], ["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", "Coleen Zieme"], ["name", "Kisha Deckow"], ["description", "Azucena Von"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:37:57.280805"], ["updated_at", "2018-09-05 05:37:57.280805"]]  (0.7ms) 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", "Anderson Trantow"], ["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", "Claudie Zulauf"], ["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", "Anderson Trantow"], ["name", "Claudie Zulauf"], ["description", "Marcella Hintz"], ["created_at", "2018-09-05 05:37:57.314651"], ["updated_at", "2018-09-05 05:37:57.314651"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Hiroko Kutch"], ["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", "Hiroko Kutch"], ["name", "Laci Casper"], ["location_type_id", 1], ["description", "Ethelene Effertz"], ["address", "Taryn Cummerata"], ["created_at", "2018-09-05 05:37:57.321178"], ["updated_at", "2018-09-05 05:37:57.321178"]]  (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", "Britt Zboncak"], ["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", "Suellen Cronin"], ["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", "Britt Zboncak"], ["name", "Gabriel Schumm"], ["description", "Dorine Powlowski"], ["serial_number", "Suellen Cronin"], ["brand", "Ariane Shanahan"], ["item_model", "Cleotilde Ratke"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:37:57.330156"], ["updated_at", "2018-09-05 05:37:57.330156"]]  (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", "Emilie Bogan"], ["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", "Chandra McClure"], ["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", "Emilie Bogan"], ["name", "Chandra McClure"], ["created_at", "2018-09-05 05:37:57.339079"], ["updated_at", "2018-09-05 05:37:57.339079"]]  (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", "Chelsea 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", "Chelsea Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.343871"], ["updated_at", "2018-09-05 05:37:57.343871"]]  (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", "Lavonia Wisoky"], ["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", "Lavonia Wisoky"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.348190"], ["updated_at", "2018-09-05 05:37:57.348190"]]  (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", "Roma Swaniawski"], ["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", "Roma Swaniawski"], ["name", "Kelsi Collier"], ["address", "Shane Thompson"], ["created_at", "2018-09-05 05:37:57.352836"], ["updated_at", "2018-09-05 05:37:57.352836"]]  (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", "Phyliss Haag"], ["service_delivery_unit_id", 39], ["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", "Phyliss Haag"], ["name", "Josue Gerlach"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:37:57.357704"], ["updated_at", "2018-09-05 05:37:57.357704"]] 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", 39], ["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", "Phyliss Haag"], ["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", "Phyliss Haag"], ["name", "Josue Gerlach"], ["description", "Default bundle for service 'Josue Gerlach'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:37:57.362815"], ["updated_at", "2018-09-05 05:37:57.362815"]] 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", 34], ["chargeable_service_id", 13]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.8ms) 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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:37:57.369773"], ["updated_at", "2018-09-05 05:37:57.369773"]]  (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", "Tamara Howe"], ["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", "Velda Goodwin"], ["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", "Tamara Howe"], ["name", "Velda Goodwin"], ["description", "Consequuntur quos soluta ad minima quod quo iste nobis. Suscipit quia facilis quasi quas magni quidem eos ut. Rem sunt et asperiores et. Et neque libero ipsam dolorem vel voluptatem."], ["created_at", "2018-09-05 05:37:57.377428"], ["updated_at", "2018-09-05 05:37:57.377428"]]  (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", "Margie Zboncak"], ["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", "Concepcion 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", "Margie Zboncak"], ["name", "Concepcion Keeling"], ["description", "Nihil asperiores temporibus consectetur eaque natus autem quos. Quia nihil ad voluptatem blanditiis nesciunt et. Iusto minima minus corrupti consectetur numquam enim et."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:37:57.382417"], ["updated_at", "2018-09-05 05:37:57.382417"]]  (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", "Mee Vandervort"], ["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", "Mee Vandervort"], ["name", "Romeo Batz"], ["description", "Tatiana Watsica"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:37:57.386589"], ["updated_at", "2018-09-05 05:37:57.386589"]]  (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", "Vanita Williamson"], ["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", "Rigoberto Greenholt"], ["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", "Vanita Williamson"], ["name", "Rigoberto Greenholt"], ["description", "Providencia Turcotte"], ["created_at", "2018-09-05 05:37:57.392468"], ["updated_at", "2018-09-05 05:37:57.392468"]]  (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", "Cordia O'Connell"], ["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", "Cordia O'Connell"], ["name", "Nicky Dietrich"], ["location_type_id", 2], ["description", "Gale Hyatt"], ["address", "Shizue Leannon"], ["created_at", "2018-09-05 05:37:57.396766"], ["updated_at", "2018-09-05 05:37:57.396766"]]  (0.7ms) 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", "Lloyd Reynolds"], ["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", "Lorene Douglas"], ["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", "Lloyd Reynolds"], ["name", "Florinda Dicki"], ["description", "Benjamin Dare"], ["serial_number", "Lorene Douglas"], ["brand", "Lovella Ratke"], ["item_model", "Gabrielle Connelly"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:37:57.404290"], ["updated_at", "2018-09-05 05:37:57.404290"]]  (0.5ms) 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", "Velia Fahey"], ["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", "Sharan Treutel"], ["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", "Velia Fahey"], ["name", "Sharan Treutel"], ["created_at", "2018-09-05 05:37:57.411557"], ["updated_at", "2018-09-05 05:37:57.411557"]]  (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", "Chae Wuckert"], ["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", "Chae Wuckert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.416085"], ["updated_at", "2018-09-05 05:37:57.416085"]]  (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", "Mac Runolfsson"], ["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", "Mac Runolfsson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.420869"], ["updated_at", "2018-09-05 05:37:57.420869"]]  (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", "Mariah Jacobi"], ["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", "Mariah Jacobi"], ["name", "Maureen Gaylord"], ["address", "Hermine Kunde"], ["created_at", "2018-09-05 05:37:57.426007"], ["updated_at", "2018-09-05 05:37:57.426007"]]  (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", "Rueben Emard"], ["service_delivery_unit_id", 40], ["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", "Rueben Emard"], ["name", "Arlie Jacobs"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:37:57.430971"], ["updated_at", "2018-09-05 05:37:57.430971"]] 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", 40], ["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", "Rueben Emard"], ["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", "Rueben Emard"], ["name", "Arlie Jacobs"], ["description", "Default bundle for service 'Arlie Jacobs'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:37:57.436474"], ["updated_at", "2018-09-05 05:37:57.436474"]] 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", 35], ["chargeable_service_id", 14]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.3ms) 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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:37:57.443445"], ["updated_at", "2018-09-05 05:37:57.443445"]]  (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", "Karon Hoeger"], ["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", "Lucila Nader"], ["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", "Karon Hoeger"], ["name", "Lucila Nader"], ["description", "Totam esse accusantium dolorem laborum. Laboriosam et repellendus provident dolorem possimus placeat. Vel et et odit provident. Nulla doloribus rerum sed qui."], ["created_at", "2018-09-05 05:37:57.451674"], ["updated_at", "2018-09-05 05:37:57.451674"]]  (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", "Naoma Gorczany"], ["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", "Epifania Nitzsche"], ["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", "Naoma Gorczany"], ["name", "Epifania Nitzsche"], ["description", "Est odio doloremque hic ullam id qui a vitae. Possimus porro est animi qui maxime suscipit ratione. Veritatis voluptatem laborum maiores est repudiandae nihil."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:37:57.457222"], ["updated_at", "2018-09-05 05:37:57.457222"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Bernadette Barton"], ["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", "Bernadette Barton"], ["name", "Sherryl Quitzon"], ["description", "Lynn Mann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:37:57.463623"], ["updated_at", "2018-09-05 05:37:57.463623"]]  (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", "Darren Kulas"], ["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", "Shalonda Kirlin"], ["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", "Darren Kulas"], ["name", "Shalonda Kirlin"], ["description", "Madlyn Hartmann"], ["created_at", "2018-09-05 05:37:57.470388"], ["updated_at", "2018-09-05 05:37:57.470388"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lyla Jerde"], ["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", "Lyla Jerde"], ["name", "Lennie Gerhold"], ["location_type_id", 3], ["description", "Nida Kemmer"], ["address", "Arden Bruen"], ["created_at", "2018-09-05 05:37:57.474689"], ["updated_at", "2018-09-05 05:37:57.474689"]]  (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", "Thomasine Braun"], ["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", "Christeen Russel"], ["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", "Thomasine Braun"], ["name", "Carylon Moore"], ["description", "Lottie Little"], ["serial_number", "Christeen Russel"], ["brand", "Dakota Yost"], ["item_model", "Golda Tremblay"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:37:57.479835"], ["updated_at", "2018-09-05 05:37:57.479835"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Roman Rath"], ["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", "Luise Hahn"], ["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", "Roman Rath"], ["name", "Luise Hahn"], ["created_at", "2018-09-05 05:37:57.485904"], ["updated_at", "2018-09-05 05:37:57.485904"]]  (0.4ms) 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", "Dionne 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", "Dionne Cole"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.490504"], ["updated_at", "2018-09-05 05:37:57.490504"]]  (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", "Sherrie Pacocha"], ["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", "Sherrie Pacocha"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.494974"], ["updated_at", "2018-09-05 05:37:57.494974"]]  (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", "Brandi Schuppe"], ["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", "Brandi Schuppe"], ["name", "Buck Tremblay"], ["address", "Harriette Marvin"], ["created_at", "2018-09-05 05:37:57.499469"], ["updated_at", "2018-09-05 05:37:57.499469"]]  (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", "Amiee Pfannerstill"], ["service_delivery_unit_id", 41], ["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", "Amiee Pfannerstill"], ["name", "Shaniqua Lebsack"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:37:57.503818"], ["updated_at", "2018-09-05 05:37:57.503818"]] 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", 41], ["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", "Amiee Pfannerstill"], ["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", "Amiee Pfannerstill"], ["name", "Shaniqua Lebsack"], ["description", "Default bundle for service 'Shaniqua Lebsack'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:37:57.509754"], ["updated_at", "2018-09-05 05:37:57.509754"]] 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", 36], ["chargeable_service_id", 15]]  (0.4ms) 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", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:37:57.515624"], ["updated_at", "2018-09-05 05:37:57.515624"]]  (0.6ms) 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", 36], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 13], ["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", 1], ["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", 14], ["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", 2], ["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", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.0ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (10.14ms) Completed 500 Internal Server Error in 15ms (ActiveRecord: 6.2ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "abel.lubowitz@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", "Dortha Lebsack"], ["last_name", "Marilynn Fadel"], ["email", "abel.lubowitz@ondricka.com"], ["password_digest", "$2a$04$REpEwqH5AcwbFlDtXzRAd.dzgJ/ZCR4HeFbBSdRfsOPPklW3y/RaW"], ["created_at", "2018-09-05 05:37:57.543399"], ["updated_at", "2018-09-05 05:37:57.543399"]]  (0.5ms) 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", "Toshia Stehr"], ["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", "Vernetta Gorczany"], ["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", "Toshia Stehr"], ["name", "Vernetta Gorczany"], ["description", "Hic id dolorum saepe error consectetur illum. Voluptatum reiciendis doloremque dolor perspiciatis voluptate molestias laudantium. Libero nesciunt dolores pariatur rerum. Minima magni asperiores non quaerat. Aut a omnis dolorum inventore repellendus dolorem qui."], ["created_at", "2018-09-05 05:37:57.550915"], ["updated_at", "2018-09-05 05:37:57.550915"]]  (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", "Dotty O'Keefe"], ["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", "Yen Schiller"], ["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", "Dotty O'Keefe"], ["name", "Yen Schiller"], ["description", "Et et mollitia ducimus nemo. Vel sint voluptas eius quod voluptate laborum. Ea maxime recusandae dicta non dolor. Eveniet molestiae nisi quidem enim. Dicta magnam enim autem odit tempore provident ut eum."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:37:57.556349"], ["updated_at", "2018-09-05 05:37:57.556349"]]  (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", "Serafina Schmitt"], ["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", "Serafina Schmitt"], ["name", "Kyong Kemmer"], ["description", "Ken Stoltenberg"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:37:57.560796"], ["updated_at", "2018-09-05 05:37:57.560796"]]  (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", "Cristina Friesen"], ["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", "Londa Oberbrunner"], ["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", "Cristina Friesen"], ["name", "Londa Oberbrunner"], ["description", "Isabella Greenfelder"], ["created_at", "2018-09-05 05:37:57.567406"], ["updated_at", "2018-09-05 05:37:57.567406"]]  (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", "Rosario Cole"], ["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", "Rosario Cole"], ["name", "Royal Harris"], ["location_type_id", 4], ["description", "Reatha Cruickshank"], ["address", "Gwenn Weber"], ["created_at", "2018-09-05 05:37:57.571668"], ["updated_at", "2018-09-05 05:37:57.571668"]]  (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", "Antione Lemke"], ["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", "Vivan Purdy"], ["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", "Antione Lemke"], ["name", "Sherlene Armstrong"], ["description", "Glen Ziemann"], ["serial_number", "Vivan Purdy"], ["brand", "Corrie Rempel"], ["item_model", "Nakita Casper"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:37:57.577601"], ["updated_at", "2018-09-05 05:37:57.577601"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Rebbecca Conroy"], ["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", "Hong Wuckert"], ["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", "Rebbecca Conroy"], ["name", "Hong Wuckert"], ["created_at", "2018-09-05 05:37:57.585620"], ["updated_at", "2018-09-05 05:37:57.585620"]]  (0.6ms) 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", "Gary Daugherty"], ["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", "Gary Daugherty"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.591178"], ["updated_at", "2018-09-05 05:37:57.591178"]]  (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", "Joanne Mitchell"], ["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", "Joanne Mitchell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.596862"], ["updated_at", "2018-09-05 05:37:57.596862"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Rutha Stehr"], ["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", "Rutha Stehr"], ["name", "Berenice Ward"], ["address", "Dorotha Franecki"], ["created_at", "2018-09-05 05:37:57.602447"], ["updated_at", "2018-09-05 05:37:57.602447"]]  (0.6ms) 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", "Corrine Bahringer"], ["service_delivery_unit_id", 42], ["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", "Corrine Bahringer"], ["name", "Jorge Bauch"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:37:57.608306"], ["updated_at", "2018-09-05 05:37:57.608306"]] 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", 42], ["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", "Corrine Bahringer"], ["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", "Corrine Bahringer"], ["name", "Jorge Bauch"], ["description", "Default bundle for service 'Jorge Bauch'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:37:57.614468"], ["updated_at", "2018-09-05 05:37:57.614468"]] 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", 37], ["chargeable_service_id", 16]]  (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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:37:57.620848"], ["updated_at", "2018-09-05 05:37:57.620848"]]  (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", "Stan Kuvalis"], ["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", "Tonie Ernser"], ["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", "Stan Kuvalis"], ["name", "Tonie Ernser"], ["description", "Inventore consequatur aut in et. In culpa natus necessitatibus voluptatibus. Non aut fuga fugit officia. Distinctio accusamus est beatae consequatur non iusto debitis cupiditate."], ["created_at", "2018-09-05 05:37:57.627998"], ["updated_at", "2018-09-05 05:37:57.627998"]]  (0.4ms) 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", "Joye Towne"], ["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", "Jeffry Sauer"], ["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", "Joye Towne"], ["name", "Jeffry Sauer"], ["description", "In nobis enim aut doloribus et. Sed pariatur iste ad laborum aut. Quia suscipit vel minima autem."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:37:57.633490"], ["updated_at", "2018-09-05 05:37:57.633490"]]  (0.7ms) 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", "Jana Collins"], ["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", "Jana Collins"], ["name", "James Jacobson"], ["description", "Sherell Christiansen"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:37:57.638230"], ["updated_at", "2018-09-05 05:37:57.638230"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Opal Nicolas"], ["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", "Yong Hodkiewicz"], ["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", "Opal Nicolas"], ["name", "Yong Hodkiewicz"], ["description", "Tobie Kihn"], ["created_at", "2018-09-05 05:37:57.644431"], ["updated_at", "2018-09-05 05:37:57.644431"]]  (0.9ms) 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", "Terry Stokes"], ["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", "Terry Stokes"], ["name", "Kaleigh Schroeder"], ["location_type_id", 5], ["description", "Noma Hayes"], ["address", "Myriam Swift"], ["created_at", "2018-09-05 05:37:57.653262"], ["updated_at", "2018-09-05 05:37:57.653262"]]  (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", "Carlotta Dickinson"], ["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", "Susannah Pfeffer"], ["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", "Carlotta Dickinson"], ["name", "Pilar Aufderhar"], ["description", "Arline Langworth"], ["serial_number", "Susannah Pfeffer"], ["brand", "Nerissa Blick"], ["item_model", "Kassandra Rosenbaum"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:37:57.659364"], ["updated_at", "2018-09-05 05:37:57.659364"]]  (0.6ms) 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", "Denisse Ebert"], ["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", "Corine Feeney"], ["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", "Denisse Ebert"], ["name", "Corine Feeney"], ["created_at", "2018-09-05 05:37:57.665916"], ["updated_at", "2018-09-05 05:37:57.665916"]]  (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", "Raguel Marks"], ["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", "Raguel Marks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.670496"], ["updated_at", "2018-09-05 05:37:57.670496"]]  (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", "Lucas DuBuque"], ["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", "Lucas DuBuque"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.675223"], ["updated_at", "2018-09-05 05:37:57.675223"]]  (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", "Wilhemina McGlynn"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (11.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Wilhemina McGlynn"], ["name", "Mellie Reilly"], ["address", "Leeanne Sanford"], ["created_at", "2018-09-05 05:37:57.679729"], ["updated_at", "2018-09-05 05:37:57.679729"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Cara Leuschke"], ["service_delivery_unit_id", 43], ["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", "Cara Leuschke"], ["name", "Denita Herman"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:37:57.696530"], ["updated_at", "2018-09-05 05:37:57.696530"]] 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", 43], ["LIMIT", 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", "Cara Leuschke"], ["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", "Cara Leuschke"], ["name", "Denita Herman"], ["description", "Default bundle for service 'Denita Herman'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:37:57.704595"], ["updated_at", "2018-09-05 05:37:57.704595"]] 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", 38], ["chargeable_service_id", 17]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.6ms) 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", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:37:57.712926"], ["updated_at", "2018-09-05 05:37:57.712926"]]  (0.8ms) 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", "Lang Lowe"], ["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", "Boyd Smith"], ["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", "Lang Lowe"], ["name", "Boyd Smith"], ["description", "Ut quis illo explicabo est. Ut quisquam non vitae minima. Nam voluptatem blanditiis qui dicta officia provident."], ["created_at", "2018-09-05 05:37:57.721668"], ["updated_at", "2018-09-05 05:37:57.721668"]]  (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", "Kristine Kulas"], ["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", "Kristal Leuschke"], ["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", "Kristine Kulas"], ["name", "Kristal Leuschke"], ["description", "Qui et alias illo ad quasi voluptatem numquam inventore. Vel cum eligendi eum tenetur ut omnis aut in. Quia voluptates ea odio rerum quis consequatur. Tempora voluptas et architecto perspiciatis. Et in odio explicabo aperiam eveniet."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:37:57.726933"], ["updated_at", "2018-09-05 05:37:57.726933"]]  (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", "Angla Schiller"], ["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", "Angla Schiller"], ["name", "Robbi Daniel"], ["description", "Carlota Weissnat"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:37:57.731203"], ["updated_at", "2018-09-05 05:37:57.731203"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Willian Bernhard"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Peggie Abshire"], ["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", "Willian Bernhard"], ["name", "Peggie Abshire"], ["description", "Tiana Huel"], ["created_at", "2018-09-05 05:37:57.738116"], ["updated_at", "2018-09-05 05:37:57.738116"]]  (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", "Kathyrn Lowe"], ["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", "Kathyrn Lowe"], ["name", "Maragaret Aufderhar"], ["location_type_id", 6], ["description", "Noemi Dibbert"], ["address", "Dani McClure"], ["created_at", "2018-09-05 05:37:57.742606"], ["updated_at", "2018-09-05 05:37:57.742606"]]  (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", "Renato Murazik"], ["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", "Sanda Cartwright"], ["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", "Renato Murazik"], ["name", "Alysha Dibbert"], ["description", "Racheal Moen"], ["serial_number", "Sanda Cartwright"], ["brand", "Louise Little"], ["item_model", "Velva Veum"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:37:57.748004"], ["updated_at", "2018-09-05 05:37:57.748004"]]  (0.6ms) 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", "Clayton Schaefer"], ["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", "Markita Kozey"], ["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", "Clayton Schaefer"], ["name", "Markita Kozey"], ["created_at", "2018-09-05 05:37:57.754297"], ["updated_at", "2018-09-05 05:37:57.754297"]]  (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", "Ivan Bins"], ["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", "Ivan Bins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.758971"], ["updated_at", "2018-09-05 05:37:57.758971"]]  (0.5ms) 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", "Jeffrey 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", "Jeffrey Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:57.763464"], ["updated_at", "2018-09-05 05:37:57.763464"]]  (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", "Tabitha Huel"], ["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", "Tabitha Huel"], ["name", "Dorethea Kuhic"], ["address", "Lesli Beatty"], ["created_at", "2018-09-05 05:37:57.768115"], ["updated_at", "2018-09-05 05:37:57.768115"]]  (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", "Rosana Wehner"], ["service_delivery_unit_id", 44], ["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", "Rosana Wehner"], ["name", "Skye Haag"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:37:57.773054"], ["updated_at", "2018-09-05 05:37:57.773054"]] 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", 44], ["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", "Rosana Wehner"], ["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", "Rosana Wehner"], ["name", "Skye Haag"], ["description", "Default bundle for service 'Skye Haag'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:37:57.777723"], ["updated_at", "2018-09-05 05:37:57.777723"]] 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", 39], ["chargeable_service_id", 18]]  (0.6ms) 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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:37:57.783578"], ["updated_at", "2018-09-05 05:37:57.783578"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates 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", 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::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 16], ["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", 4], ["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", 42], ["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", 17], ["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", 5], ["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", 43], ["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", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.8ms) Completed 200 OK in 18ms (Views: 7.6ms | ActiveRecord: 8.0ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "sheila@zboncak.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", "Elfrieda Yundt"], ["last_name", "Susannah Kemmer"], ["email", "sheila@zboncak.co.uk"], ["password_digest", "$2a$04$dHMqngMiM8q2rhDE71cH2OLl0DpgEPSnuoHo70RThRStSaK75M7GO"], ["created_at", "2018-09-05 05:37:57.813108"], ["updated_at", "2018-09-05 05:37:57.813108"]]  (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", "Carissa Conn"], ["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", "Yuk Oga"], ["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", "Carissa Conn"], ["name", "Yuk Oga"], ["created_at", "2018-09-05 05:37:57.819678"], ["updated_at", "2018-09-05 05:37:57.819678"]]  (0.5ms) 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", 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::ServiceType Load (0.6ms) 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.19ms) Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 2.1ms)  (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", "donya@daniel.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", "Pilar Bosco"], ["last_name", "Juana Gulgowski"], ["email", "donya@daniel.biz"], ["password_digest", "$2a$04$pLFthcran3ZU9xD73hWq/.H/DROQm619gpP.gwrT4dVMRY/1peHFe"], ["created_at", "2018-09-05 05:37:57.840607"], ["updated_at", "2018-09-05 05:37:57.840607"]]  (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", "Virginia Green"], ["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", "Leroy Corkery"], ["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", "Virginia Green"], ["name", "Leroy Corkery"], ["created_at", "2018-09-05 05:37:57.847220"], ["updated_at", "2018-09-05 05:37:57.847220"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["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", 21], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 2.0ms)  (1.0ms) 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", "krystin@cassin.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", "Merlyn Spinka"], ["last_name", "Becky Adams"], ["email", "krystin@cassin.ca"], ["password_digest", "$2a$04$DphJjArq.h2.bOdCckWDveQsb5W/m3Gf15YR3ytXBjw/IWddGODi2"], ["created_at", "2018-09-05 05:37:57.863824"], ["updated_at", "2018-09-05 05:37:57.863824"]]  (0.4ms) 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"=>"Tatum Lindgren", "name"=>"Mercedes O'Keefe"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 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", "Tatum Lindgren"], ["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", "Mercedes O'Keefe"], ["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", "Tatum Lindgren"], ["name", "Mercedes O'Keefe"], ["created_at", "2018-09-05 05:37:57.874944"], ["updated_at", "2018-09-05 05:37:57.874944"]]  (0.4ms) 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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.38ms) Completed 201 Created in 11ms (Views: 2.0ms | ActiveRecord: 5.1ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.6ms) 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", "jeanice@leffler.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", "Valerie Harvey"], ["last_name", "Bernadine Legros"], ["email", "jeanice@leffler.us"], ["password_digest", "$2a$04$IXI22UEcudzqQ5NeZFIhluEtFKljD2z9Rx5MrP1bSByPbBa1C4hDi"], ["created_at", "2018-09-05 05:37:57.888198"], ["updated_at", "2018-09-05 05:37:57.888198"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Teodoro Donnelly", "name"=>"Miki Auer"}} 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]]  (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", "Teodoro Donnelly"], ["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", "Miki Auer"], ["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", "Teodoro Donnelly"], ["name", "Miki Auer"], ["created_at", "2018-09-05 05:37:57.897247"], ["updated_at", "2018-09-05 05:37:57.897247"]]  (0.6ms) 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.27ms) Completed 201 Created in 12ms (Views: 2.2ms | ActiveRecord: 5.8ms) 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.6ms) 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", "vernell.senger@hegmann.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", "Juliette O'Keefe"], ["last_name", "Derrick Balistreri"], ["email", "vernell.senger@hegmann.biz"], ["password_digest", "$2a$04$Xvnv7UutROEbB1p5dcnOVOqLVphzZvGZ0AvdXoT9UG/u5nysVw7eG"], ["created_at", "2018-09-05 05:37:57.914812"], ["updated_at", "2018-09-05 05:37:57.914812"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Claretha Keebler"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["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 LIMIT $2 [["code", ""], ["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", "Claretha Keebler"], ["LIMIT", 1]]  (0.4ms) 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.1ms | ActiveRecord: 4.4ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "corinna_spencer@greenfelder.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", "Laurice Beier"], ["last_name", "Ofelia Schultz"], ["email", "corinna_spencer@greenfelder.name"], ["password_digest", "$2a$04$ShWLZYmfhm8SbxiAuwwpVuzNThQQU6Mx26.jfiig6WicT57wtIW82"], ["created_at", "2018-09-05 05:37:57.936436"], ["updated_at", "2018-09-05 05:37:57.936436"]]  (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", "Brigida Shanahan"], ["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", "Raye Harber"], ["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", "Brigida Shanahan"], ["name", "Raye Harber"], ["created_at", "2018-09-05 05:37:57.943180"], ["updated_at", "2018-09-05 05:37:57.943180"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Trenton Powlowski"}, "id"=>"24"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["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", 24], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) 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", "Brigida Shanahan"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) 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", "Trenton Powlowski"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Update (1.0ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Trenton Powlowski"], ["updated_at", "2018-09-05 05:37:57.955136"], ["id", 24]]  (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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 7.5ms) 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", 24], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) 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", "tonja@metz.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", "Malcolm Gislason"], ["last_name", "Ute Little"], ["email", "tonja@metz.us"], ["password_digest", "$2a$04$69LVNd42V7/JwXkMNBAM7.CDx1sHAFdXMMd6pq1ZmKUYtRFJnR2s2"], ["created_at", "2018-09-05 05:37:57.972055"], ["updated_at", "2018-09-05 05:37:57.972055"]]  (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", "Casandra Boyle"], ["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", "Angelica Schmitt"], ["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", "Casandra Boyle"], ["name", "Angelica Schmitt"], ["created_at", "2018-09-05 05:37:57.978079"], ["updated_at", "2018-09-05 05:37:57.978079"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Marguerite Brekke", "name"=>"Jacinta Nicolas"}, "id"=>"25"} 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]] 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", 25], ["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", "Marguerite Brekke"], ["id", 25], ["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", "Jacinta Nicolas"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.8ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Marguerite Brekke"], ["name", "Jacinta Nicolas"], ["updated_at", "2018-09-05 05:37:57.988403"], ["id", 25]]  (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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.28ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.9ms)  (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", "bennie_pfannerstill@leuschke.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", "Sina Russel"], ["last_name", "Prince Yundt"], ["email", "bennie_pfannerstill@leuschke.us"], ["password_digest", "$2a$04$GeRJUdoiyq7OLnIbRtQtCe2RjgWk2LnvkUHGQX/g/vA1D95pofR2e"], ["created_at", "2018-09-05 05:37:58.000261"], ["updated_at", "2018-09-05 05:37:58.000261"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kim Bergstrom"], ["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", "Tyson Metz"], ["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", "Kim Bergstrom"], ["name", "Tyson Metz"], ["created_at", "2018-09-05 05:37:58.006014"], ["updated_at", "2018-09-05 05:37:58.006014"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Joette Witting"}, "id"=>"26"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["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", 26], ["LIMIT", 1]]  (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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", ""], ["id", 26], ["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", "Joette Witting"], ["id", 26], ["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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.0ms | ActiveRecord: 4.8ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "liz@bogankozey.co.uk"], ["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", "Beryl Hermiston"], ["last_name", "Caroll Gaylord"], ["email", "liz@bogankozey.co.uk"], ["password_digest", "$2a$04$E1WYV/Jybh/6CYgVwhLR3.QkgOR4RpcTqqnV8n/pqZR1rLov576M6"], ["created_at", "2018-09-05 05:37:58.026823"], ["updated_at", "2018-09-05 05:37:58.026823"]]  (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", "Rossie Champlin"], ["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", "Rossie Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.032671"], ["updated_at", "2018-09-05 05:37:58.032671"]]  (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", "Prudence 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", "Prudence Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.037783"], ["updated_at", "2018-09-05 05:37:58.037783"]]  (0.4ms) 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", "Cherry Lockman"], ["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", "Cherry Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.041859"], ["updated_at", "2018-09-05 05:37:58.041859"]]  (0.5ms) 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", 46], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" Completed 500 Internal Server Error in 3ms (ActiveRecord: 1.5ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) 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", "Vicki Kohler"], ["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", "Jackelyn Kohler"], ["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", "Vicki Kohler"], ["name", "Jackelyn Kohler"], ["created_at", "2018-09-05 05:37:58.056063"], ["updated_at", "2018-09-05 05:37:58.056063"]]  (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", "Margie Cummerata"], ["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", "Margie Cummerata"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.061307"], ["updated_at", "2018-09-05 05:37:58.061307"]]  (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", "Lannie Kulas"], ["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", "Lannie Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.066437"], ["updated_at", "2018-09-05 05:37:58.066437"]]  (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", "Shakira Rowe"], ["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", "Shakira Rowe"], ["name", "Errol Williamson"], ["address", "Nichole Leuschke"], ["created_at", "2018-09-05 05:37:58.071361"], ["updated_at", "2018-09-05 05:37:58.071361"]]  (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", "Kathlyn Morar"], ["service_delivery_unit_id", 45], ["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", "Kathlyn Morar"], ["name", "Horacio Thompson"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:37:58.075945"], ["updated_at", "2018-09-05 05:37:58.075945"]] 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", 45], ["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", "Kathlyn Morar"], ["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", "Kathlyn Morar"], ["name", "Horacio Thompson"], ["description", "Default bundle for service 'Horacio Thompson'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:37:58.080876"], ["updated_at", "2018-09-05 05:37:58.080876"]] 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", 40], ["chargeable_service_id", 19]]  (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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Kathlyn Morar"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) 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", "Idell Raynor"], ["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", "Maya Cummings"], ["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", "Idell Raynor"], ["name", "Maya Cummings"], ["created_at", "2018-09-05 05:37:58.094139"], ["updated_at", "2018-09-05 05:37:58.094139"]]  (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", "Trinity Rosenbaum"], ["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", "Trinity Rosenbaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.098928"], ["updated_at", "2018-09-05 05:37:58.098928"]]  (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", "Violeta Smith"], ["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", "Violeta Smith"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.104044"], ["updated_at", "2018-09-05 05:37:58.104044"]]  (0.5ms) 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", "Maris McGlynn"], ["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", "Maris McGlynn"], ["name", "Tatiana Breitenberg"], ["address", "Eliseo Nienow"], ["created_at", "2018-09-05 05:37:58.108952"], ["updated_at", "2018-09-05 05:37:58.108952"]]  (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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (0.6ms) 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", "Tracee Pollich"], ["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", "Norman Koch"], ["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", "Tracee Pollich"], ["name", "Norman Koch"], ["created_at", "2018-09-05 05:37:58.119674"], ["updated_at", "2018-09-05 05:37:58.119674"]]  (0.6ms) 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", "Melida 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", "Melida Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.124890"], ["updated_at", "2018-09-05 05:37:58.124890"]]  (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", "Jeanie Schmeler"], ["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", "Jeanie Schmeler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.129350"], ["updated_at", "2018-09-05 05:37:58.129350"]]  (0.6ms) 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", "Tobi Macejkovic"], ["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", "Tobi Macejkovic"], ["name", "Gregorio Thompson"], ["address", "Kaitlin Powlowski"], ["created_at", "2018-09-05 05:37:58.134438"], ["updated_at", "2018-09-05 05:37:58.134438"]]  (0.5ms) 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", "Wei Ferry"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Merilyn Durgan"], ["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", "Wilhemina Koch"], ["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", "Merilyn Durgan"], ["name", "Wilhemina Koch"], ["created_at", "2018-09-05 05:37:58.145817"], ["updated_at", "2018-09-05 05:37:58.145817"]]  (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", "Earlie Goodwin"], ["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", "Earlie Goodwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.150706"], ["updated_at", "2018-09-05 05:37:58.150706"]]  (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", "Reiko Orn"], ["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", "Reiko Orn"], ["name", "Winfred Renner"], ["address", "Danny Jacobson"], ["created_at", "2018-09-05 05:37:58.155243"], ["updated_at", "2018-09-05 05:37:58.155243"]]  (0.5ms) RELEASE 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", "Garret Rempel"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) 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", "Octavia Tremblay"], ["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", "Vanetta VonRueden"], ["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", "Octavia Tremblay"], ["name", "Vanetta VonRueden"], ["created_at", "2018-09-05 05:37:58.166389"], ["updated_at", "2018-09-05 05:37:58.166389"]]  (0.5ms) 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", "Renna Berge"], ["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", "Renna Berge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.171986"], ["updated_at", "2018-09-05 05:37:58.171986"]]  (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", "Ruthie Swift"], ["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", "Ruthie Swift"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.176230"], ["updated_at", "2018-09-05 05:37:58.176230"]]  (0.5ms) RELEASE 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" IS NULL LIMIT $2 [["code", "Thresa Bartell"], ["LIMIT", 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", "Tora Wilderman"], ["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", "Kirstin Monahan"], ["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", "Tora Wilderman"], ["name", "Kirstin Monahan"], ["created_at", "2018-09-05 05:37:58.186841"], ["updated_at", "2018-09-05 05:37:58.186841"]]  (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", "Sherill Kuvalis"], ["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", "Sherill Kuvalis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.191834"], ["updated_at", "2018-09-05 05:37:58.191834"]]  (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", "Sharron Ondricka"], ["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", "Sharron Ondricka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.197044"], ["updated_at", "2018-09-05 05:37:58.197044"]]  (0.4ms) 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", "Deneen Anderson"], ["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", "Deneen Anderson"], ["name", "Elfrieda Klocko"], ["address", "Detra Harber"], ["created_at", "2018-09-05 05:37:58.201531"], ["updated_at", "2018-09-05 05:37:58.201531"]]  (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", "Brittni Goodwin"], ["service_delivery_unit_id", 49], ["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", "Brittni Goodwin"], ["name", "Lien Metz"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:37:58.206305"], ["updated_at", "2018-09-05 05:37:58.206305"]] 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", 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", "Brittni Goodwin"], ["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", "Brittni Goodwin"], ["name", "Lien Metz"], ["description", "Default bundle for service 'Lien Metz'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:37:58.211900"], ["updated_at", "2018-09-05 05:37:58.211900"]] 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", 41], ["chargeable_service_id", 20]]  (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", "Emilia Littel"], ["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", "Mel Bogan"], ["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", "Emilia Littel"], ["name", "Mel Bogan"], ["created_at", "2018-09-05 05:37:58.222267"], ["updated_at", "2018-09-05 05:37:58.222267"]]  (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", "Nan Johnston"], ["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", "Nan Johnston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.226841"], ["updated_at", "2018-09-05 05:37:58.226841"]]  (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", "Lesia Goyette"], ["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", "Lesia Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.231224"], ["updated_at", "2018-09-05 05:37:58.231224"]]  (0.6ms) 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"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Brittni Goodwin"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (0.5ms) 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", "Emmaline Fritsch"], ["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", "Rene Heaney"], ["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", "Emmaline Fritsch"], ["name", "Rene Heaney"], ["created_at", "2018-09-05 05:37:58.243986"], ["updated_at", "2018-09-05 05:37:58.243986"]]  (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", "Clemencia Effertz"], ["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", "Clemencia Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.248531"], ["updated_at", "2018-09-05 05:37:58.248531"]]  (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", "Jeanmarie Heaney"], ["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", "Jeanmarie Heaney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.253176"], ["updated_at", "2018-09-05 05:37:58.253176"]]  (0.4ms) 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", "Kum Smitham"], ["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", "Kum Smitham"], ["name", "Regine Flatley"], ["address", "Laura Moore"], ["created_at", "2018-09-05 05:37:58.257434"], ["updated_at", "2018-09-05 05:37:58.257434"]]  (0.5ms) 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", "Ines Larkin"], ["service_delivery_unit_id", 50], ["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", "Ines Larkin"], ["name", "Ernestina Gaylord"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:37:58.262634"], ["updated_at", "2018-09-05 05:37:58.262634"]] 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", "Ines Larkin"], ["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", "Ines Larkin"], ["name", "Ernestina Gaylord"], ["description", "Default bundle for service 'Ernestina Gaylord'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:37:58.268408"], ["updated_at", "2018-09-05 05:37:58.268408"]] 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", 42], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.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", 42]]  (0.7ms) 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", "vashti_kessler@schmidt.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", "Moira Flatley"], ["last_name", "Rick Hessel"], ["email", "vashti_kessler@schmidt.name"], ["password_digest", "$2a$04$Jh1wVZVwvG8wAsO1CrgqH.hol2xhBoiUpfucL73nvjo8kbvaNvoTC"], ["created_at", "2018-09-05 05:37:58.299688"], ["updated_at", "2018-09-05 05:37:58.299688"]]  (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", "hyo@schmidt.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", "Steven Hilpert"], ["last_name", "Meg Schinner"], ["email", "hyo@schmidt.info"], ["password_digest", "$2a$04$ARR62a930HKYWbkDRVsny.aljmIrAmFAwqv0HpEcXrmcykv2sTeg2"], ["created_at", "2018-09-05 05:37:58.308694"], ["updated_at", "2018-09-05 05:37:58.308694"]]  (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", "Kayla Leuschke"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.8ms) 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", "Kayla Leuschke"], ["authorized_by", "Lakeisha Balistreri"], ["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", 47], ["approved_by_id", 48], ["created_at", "2018-09-05 05:37:58.314247"], ["updated_at", "2018-09-05 05:37:58.314247"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Kayla Leuschke"], ["id", 1], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "tess@mrazmedhurst.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", "Ashlyn Schneider"], ["last_name", "Kasi Ullrich"], ["email", "tess@mrazmedhurst.us"], ["password_digest", "$2a$04$RX1uw5hwyKuI8nfgbfvlJeJ0S/cZ4z8xZ6LNNfsp6wgtRrVa/Pus6"], ["created_at", "2018-09-05 05:37:58.326832"], ["updated_at", "2018-09-05 05:37:58.326832"]]  (0.6ms) 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", "camie@muller.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", "Melodee Collins"], ["last_name", "Maire Gleason"], ["email", "camie@muller.name"], ["password_digest", "$2a$04$p.VGWIddMWAcg944mTPxF.cG8G1rOXu6sUdTdrzebG/s.rt9AB5sK"], ["created_at", "2018-09-05 05:37:58.333826"], ["updated_at", "2018-09-05 05:37:58.333826"]]  (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 LIMIT $2 [["reference_number", "Amalia Kub"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "maryam_green@feil.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", "Abe Jerde"], ["last_name", "Lindsey Simonis"], ["email", "maryam_green@feil.co.uk"], ["password_digest", "$2a$04$4iOuLipQU6lyBCn6Gw495OwxsF9OHvCn59rf48V4iy5A3XQ6d6IcK"], ["created_at", "2018-09-05 05:37:58.346813"], ["updated_at", "2018-09-05 05:37:58.346813"]]  (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", "jc@volkman.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", "Shan Wilderman"], ["last_name", "Joetta Ebert"], ["email", "jc@volkman.com"], ["password_digest", "$2a$04$fPnZxjKYin0oiQkBOgAR9eWEvhgqbpJMAUsjEPFyOT71knJJf9wrK"], ["created_at", "2018-09-05 05:37:58.352942"], ["updated_at", "2018-09-05 05:37:58.352942"]]  (0.6ms) 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.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", "leatha.schinner@howe.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", "Aleida Gleichner"], ["last_name", "Maryjo Dach"], ["email", "leatha.schinner@howe.info"], ["password_digest", "$2a$04$WyIiJEv46ZujNRK4QclqgeM6QoecP3nrb7V9u588SYOcWzPnFmDkq"], ["created_at", "2018-09-05 05:37:58.365384"], ["updated_at", "2018-09-05 05:37:58.365384"]]  (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", "kristie@nitzsche.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", "Jerry Stanton"], ["last_name", "Hector Nolan"], ["email", "kristie@nitzsche.us"], ["password_digest", "$2a$04$cVaOi4jFVQaj2LbQ8WO2TOLli3K8dD42j2RNlnCSHlGS2M2O/4fVe"], ["created_at", "2018-09-05 05:37:58.371915"], ["updated_at", "2018-09-05 05:37:58.371915"]]  (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", "Von Gislason"], ["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", "Von Gislason"], ["authorized_by", "Dyan Turner"], ["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", 53], ["approved_by_id", 54], ["created_at", "2018-09-05 05:37:58.376709"], ["updated_at", "2018-09-05 05:37:58.376709"]]  (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", "christopher_gerlach@mcglynn.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", "Pandora Feil"], ["last_name", "Fredia Jaskolski"], ["email", "christopher_gerlach@mcglynn.us"], ["password_digest", "$2a$04$uBgO.NXRUiG3xwgZB/vF/uC2B4RtAp9XY3l7ng9Y2C.h6LfABY0ku"], ["created_at", "2018-09-05 05:37:58.384827"], ["updated_at", "2018-09-05 05:37:58.384827"]]  (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", "ranae.sawayn@schumm.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", "Lien Muller"], ["last_name", "Wilton Turcotte"], ["email", "ranae.sawayn@schumm.name"], ["password_digest", "$2a$04$U/oUjIzWoptC.P6/xjfpG.MUxc/sJbR2CXSq0dcVZgItkPnxuPuoe"], ["created_at", "2018-09-05 05:37:58.391384"], ["updated_at", "2018-09-05 05:37:58.391384"]]  (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", "Von Gislason"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) 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", "penni.kautzer@kovacek.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", "Aleta Blick"], ["last_name", "Ria Torp"], ["email", "penni.kautzer@kovacek.us"], ["password_digest", "$2a$04$v7EsjjS/CGOfwWrSQogNLOMSSU9AiBvhMhkKHRJ3Bk/q4OLLBTWlS"], ["created_at", "2018-09-05 05:37:58.404278"], ["updated_at", "2018-09-05 05:37:58.404278"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "merry.steuber@runolfsdottirstoltenberg.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", "Sol Mann"], ["last_name", "Duncan Grady"], ["email", "merry.steuber@runolfsdottirstoltenberg.com"], ["password_digest", "$2a$04$psh/egq.jCxzMwB9ixbBcuzIhm0A4OnQWeHT8JiCdIeBFKtjY68t2"], ["created_at", "2018-09-05 05:37:58.415227"], ["updated_at", "2018-09-05 05:37:58.415227"]]  (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", "Dani Bashirian"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "nathanael@kshlerinkoepp.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", "Ling Anderson"], ["last_name", "Rigoberto Hudson"], ["email", "nathanael@kshlerinkoepp.name"], ["password_digest", "$2a$04$1lbjRaYu15YZUn3aatgT3ecGYwAGeePK5REWVm1.MDjQo6.JOoOGi"], ["created_at", "2018-09-05 05:37:58.427532"], ["updated_at", "2018-09-05 05:37:58.427532"]]  (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", "cara@hyattmueller.biz"], ["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", "Huong Prosacco"], ["last_name", "Branda Heaney"], ["email", "cara@hyattmueller.biz"], ["password_digest", "$2a$04$X1HqG.MVCnjzRvXMjtcRlu/YLe3cZO3sRC4nVThLmsPzQokYKptii"], ["created_at", "2018-09-05 05:37:58.434243"], ["updated_at", "2018-09-05 05:37:58.434243"]]  (0.6ms) 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" = $1 LIMIT $2 [["reference_number", "Shenita Mertz"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "chastity@denesik.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", "Jaleesa Braun"], ["last_name", "Fletcher Littel"], ["email", "chastity@denesik.com"], ["password_digest", "$2a$04$DXOt2FaUz36UWFrUoueIZugaTBTvVJqeBUmjwbhLCB1NZdd4Gca0W"], ["created_at", "2018-09-05 05:37:58.446248"], ["updated_at", "2018-09-05 05:37:58.446248"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "doretha_funk@nolan.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", "Argentina Morar"], ["last_name", "William Gerhold"], ["email", "doretha_funk@nolan.biz"], ["password_digest", "$2a$04$MJKT3HxUAbDA4/K8TpZdouz12SnqFLMLLvZCmu3HlzgmDMrlfawd6"], ["created_at", "2018-09-05 05:37:58.454083"], ["updated_at", "2018-09-05 05:37:58.454083"]]  (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", "Larisa Kris"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dewayne.kihn@shields.ca"], ["LIMIT", 1]] Mks::Auth::User Create (2.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", "Vickie Brekke"], ["last_name", "Chris Pfeffer"], ["email", "dewayne.kihn@shields.ca"], ["password_digest", "$2a$04$fvw/k3dsMtf1pcXS6L89vu5BTetvRHRreZJX/yVwImpgIEhRE2wQO"], ["created_at", "2018-09-05 05:37:58.470115"], ["updated_at", "2018-09-05 05:37:58.470115"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "pennie@schimmelanderson.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", "Sonja Schuppe"], ["last_name", "Elna Welch"], ["email", "pennie@schimmelanderson.us"], ["password_digest", "$2a$04$PCs/6cBCa3A/.P23Y0hKzeveGgzcq6ezUkMMzj5oGqakx2y4YrZY6"], ["created_at", "2018-09-05 05:37:58.481023"], ["updated_at", "2018-09-05 05:37:58.481023"]]  (0.5ms) 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", "Vickey Green"], ["LIMIT", 1]]  (0.6ms) 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", "latrisha_schmidt@nicolas.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", "Mark Kassulke"], ["last_name", "Rutha Kreiger"], ["email", "latrisha_schmidt@nicolas.biz"], ["password_digest", "$2a$04$rOQWlJxiLoL7w/h52rHQP.EwgCGgV6MMCYBMMP13HpsF00ZJS5nwK"], ["created_at", "2018-09-05 05:37:58.493918"], ["updated_at", "2018-09-05 05:37:58.493918"]]  (0.6ms) 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", "Ivelisse Jewess"], ["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", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Ivelisse Jewess"], ["authorized_by", "Ray 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", 65], ["created_at", "2018-09-05 05:37:58.499081"], ["updated_at", "2018-09-05 05:37:58.499081"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Ivelisse Jewess"], ["id", 3], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Edda Schoen"], ["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", "Edda Schoen"], ["name", "Somer Crist"], ["address", "Lakesha Russel"], ["created_at", "2018-09-05 05:37:58.508668"], ["updated_at", "2018-09-05 05:37:58.508668"]]  (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", "Kathi Sanford"], ["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", "Kathi Sanford"], ["name", "Naoma Adams"], ["description", "Denna Harvey"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:37:58.513210"], ["updated_at", "2018-09-05 05:37:58.513210"]]  (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 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Kathi Sanford"], ["id", 43], ["LIMIT", 1]]  (0.7ms) 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", "Cristin Donnelly"], ["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", "Cristin Donnelly"], ["name", "Elliot Flatley"], ["address", "Lucia Hyatt"], ["created_at", "2018-09-05 05:37:58.523554"], ["updated_at", "2018-09-05 05:37:58.523554"]]  (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.4ms) 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", "Shauna Purdy"], ["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", "Shauna Purdy"], ["name", "Lacy Murazik"], ["address", "Adelia Abshire"], ["created_at", "2018-09-05 05:37:58.532977"], ["updated_at", "2018-09-05 05:37:58.532977"]]  (0.7ms) 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", "Maye Jaskolski"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) 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", "Ema Koepp"], ["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", "Ema Koepp"], ["name", "Fallon Kessler"], ["address", "Phillis Witting"], ["created_at", "2018-09-05 05:37:58.544538"], ["updated_at", "2018-09-05 05:37:58.544538"]]  (0.5ms) 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", "Taylor Mills"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) 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", "Tamera Casper"], ["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", "Tamera Casper"], ["name", "Son Homenick"], ["address", "Graig Hoeger"], ["created_at", "2018-09-05 05:37:58.555398"], ["updated_at", "2018-09-05 05:37:58.555398"]]  (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", "Jetta Kling"], ["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", "Jetta Kling"], ["name", "Tinisha Stamm"], ["description", "Jarod Mohr"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:37:58.559584"], ["updated_at", "2018-09-05 05:37:58.559584"]]  (0.6ms) 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", "Wan Bednar"], ["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", "Wan Bednar"], ["name", "Amy Lakin"], ["address", "Ali Schumm"], ["created_at", "2018-09-05 05:37:58.565627"], ["updated_at", "2018-09-05 05:37:58.565627"]]  (0.8ms) 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", "Jetta Kling"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Earnest Moen"], ["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", "Earnest Moen"], ["name", "Blake Frami"], ["address", "Francisca Schultz"], ["created_at", "2018-09-05 05:37:58.575308"], ["updated_at", "2018-09-05 05:37:58.575308"]]  (0.6ms) 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", "Earnest Moen"], ["id", 57], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) 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.6ms) BEGIN 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", "Josphine Kiehn"], ["LIMIT", 1]]  (0.5ms) 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", "Lelia Reichel"], ["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", "Lelia Reichel"], ["name", "Rosella Schmitt"], ["address", "Carolyne Funk"], ["created_at", "2018-09-05 05:37:58.593548"], ["updated_at", "2018-09-05 05:37:58.593548"]]  (0.5ms) RELEASE 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", "Lelia Reichel"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (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", "Brenna Bartoletti"], ["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", "Cristin Leannon"], ["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", "Brenna Bartoletti"], ["name", "Cristin Leannon"], ["description", "Dolor rem alias ut ea officia quidem. Pariatur distinctio consequatur non nam voluptatibus eum enim provident. Voluptatum ex ut aperiam et est totam id."], ["created_at", "2018-09-05 05:37:58.605227"], ["updated_at", "2018-09-05 05:37:58.605227"]]  (0.7ms) 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", "Leesa Bergnaum"], ["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", "Lonnie Trantow"], ["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", "Leesa Bergnaum"], ["name", "Lonnie Trantow"], ["description", "Inventore quos illum quibusdam molestiae eum animi. Qui ex voluptatibus expedita ut vero qui eum omnis. Dicta maxime et quod autem velit vel magnam quas."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:37:58.612156"], ["updated_at", "2018-09-05 05:37:58.612156"]]  (0.7ms) 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", "Jarvis O'Hara"], ["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", "Jarvis O'Hara"], ["name", "Louella Barton"], ["description", "Larry Powlowski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:37:58.616926"], ["updated_at", "2018-09-05 05:37:58.616926"]]  (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", "Jeana Langworth"], ["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 Davis"], ["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", "Jeana Langworth"], ["name", "Lauren Davis"], ["description", "Luigi Schroeder"], ["created_at", "2018-09-05 05:37:58.622556"], ["updated_at", "2018-09-05 05:37:58.622556"]]  (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", "Malcom Kutch"], ["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", "Malcom Kutch"], ["name", "Karren Anderson"], ["location_type_id", 7], ["description", "Justin Krajcik"], ["address", "Missy Price"], ["created_at", "2018-09-05 05:37:58.626640"], ["updated_at", "2018-09-05 05:37:58.626640"]]  (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", "Ricky O'Hara"], ["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", "Claribel Walter"], ["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", "Ricky O'Hara"], ["name", "Shakia Buckridge"], ["description", "Esperanza Ullrich"], ["serial_number", "Claribel Walter"], ["brand", "Mollie Cummings"], ["item_model", "Jaime Harber"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:37:58.632175"], ["updated_at", "2018-09-05 05:37:58.632175"]]  (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", "Vida Monahan"], ["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", "Jeromy Bogan"], ["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", "Vida Monahan"], ["name", "Jeromy Bogan"], ["created_at", "2018-09-05 05:37:58.638743"], ["updated_at", "2018-09-05 05:37:58.638743"]]  (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", "Sudie Emmerich"], ["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", "Sudie Emmerich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.643236"], ["updated_at", "2018-09-05 05:37:58.643236"]]  (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", "Pinkie Lemke"], ["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 Lemke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.647760"], ["updated_at", "2018-09-05 05:37:58.647760"]]  (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", "Lazaro Olson"], ["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", "Lazaro Olson"], ["name", "Dia Fahey"], ["address", "Edwin Ryan"], ["created_at", "2018-09-05 05:37:58.652117"], ["updated_at", "2018-09-05 05:37:58.652117"]]  (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", "Vonda Sawayn"], ["service_delivery_unit_id", 59], ["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", "Vonda Sawayn"], ["name", "Genna VonRueden"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:37:58.657431"], ["updated_at", "2018-09-05 05:37:58.657431"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Vonda Sawayn"], ["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", "Vonda Sawayn"], ["name", "Genna VonRueden"], ["description", "Default bundle for service 'Genna VonRueden'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:37:58.662529"], ["updated_at", "2018-09-05 05:37:58.662529"]] 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", 22]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (0.8ms) 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", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:37:58.668361"], ["updated_at", "2018-09-05 05:37:58.668361"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Katelin Schinner"], ["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", "Angelica Mueller"], ["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", "Katelin Schinner"], ["name", "Angelica Mueller"], ["description", "Ea aspernatur aut error ratione suscipit magnam reiciendis. Temporibus qui error voluptatem est et. Quaerat est quibusdam quo velit. Aut ea aliquam assumenda eius quibusdam qui voluptatem."], ["created_at", "2018-09-05 05:37:58.678161"], ["updated_at", "2018-09-05 05:37:58.678161"]]  (0.7ms) 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", "Ocie Murphy"], ["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", "Cuc Dicki"], ["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", "Ocie Murphy"], ["name", "Cuc Dicki"], ["description", "Accusamus esse fugit provident sint. Necessitatibus vero unde atque voluptas minus quis architecto. Fugiat eum minima ad debitis impedit odio."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:37:58.683894"], ["updated_at", "2018-09-05 05:37:58.683894"]]  (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", "Vanesa Fritsch"], ["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", "Vanesa Fritsch"], ["name", "Robbin McCullough"], ["description", "Kyle Conn"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:37:58.688686"], ["updated_at", "2018-09-05 05:37:58.688686"]]  (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", "Ola Fritsch"], ["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", "June Wyman"], ["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", "Ola Fritsch"], ["name", "June Wyman"], ["description", "Anjelica Marvin"], ["created_at", "2018-09-05 05:37:58.694628"], ["updated_at", "2018-09-05 05:37:58.694628"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Corrine Kub"], ["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", "Corrine Kub"], ["name", "Gene Batz"], ["location_type_id", 8], ["description", "Rudy Gislason"], ["address", "Jermaine Weimann"], ["created_at", "2018-09-05 05:37:58.699347"], ["updated_at", "2018-09-05 05:37:58.699347"]]  (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", "Caron Dibbert"], ["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", "Barb Heathcote"], ["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", "Caron Dibbert"], ["name", "Vern Cummerata"], ["description", "Diamond Okuneva"], ["serial_number", "Barb Heathcote"], ["brand", "Joanie Okuneva"], ["item_model", "Synthia Deckow"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:37:58.705134"], ["updated_at", "2018-09-05 05:37:58.705134"]]  (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", "Ida Purdy"], ["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", "Thanh Harvey"], ["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", "Ida Purdy"], ["name", "Thanh Harvey"], ["created_at", "2018-09-05 05:37:58.711459"], ["updated_at", "2018-09-05 05:37:58.711459"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Georgeann Morar"], ["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", "Georgeann Morar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.718807"], ["updated_at", "2018-09-05 05:37:58.718807"]]  (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", "Mora Keebler"], ["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", "Mora Keebler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.723672"], ["updated_at", "2018-09-05 05:37:58.723672"]]  (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", "So Sporer"], ["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", "So Sporer"], ["name", "Rebekah Beatty"], ["address", "Katelynn Blanda"], ["created_at", "2018-09-05 05:37:58.727960"], ["updated_at", "2018-09-05 05:37:58.727960"]]  (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", "Kit Kessler"], ["service_delivery_unit_id", 60], ["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", "Kit Kessler"], ["name", "Ashleigh Hettinger"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:37:58.732201"], ["updated_at", "2018-09-05 05:37:58.732201"]] 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", 60], ["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", "Kit Kessler"], ["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", "Kit Kessler"], ["name", "Ashleigh Hettinger"], ["description", "Default bundle for service 'Ashleigh Hettinger'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:37:58.737127"], ["updated_at", "2018-09-05 05:37:58.737127"]] 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", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Song Tromp"], ["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", "Lynna Fritsch"], ["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", "Song Tromp"], ["name", "Lynna Fritsch"], ["description", "Molestiae esse eum atque sapiente soluta sequi. In ut ea quia omnis et voluptas. Autem adipisci rerum pariatur aut aut eaque. Eveniet officia tenetur eos nisi error."], ["created_at", "2018-09-05 05:37:58.750332"], ["updated_at", "2018-09-05 05:37:58.750332"]]  (0.4ms) 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", "Malcolm Wiegand"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Anneliese Gaylord"], ["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", "Malcolm Wiegand"], ["name", "Anneliese Gaylord"], ["description", "Consequatur sint libero beatae veniam quod amet. Ab ea recusandae nostrum quia dolor voluptate. Soluta suscipit hic dicta earum qui id rem."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:37:58.755583"], ["updated_at", "2018-09-05 05:37:58.755583"]]  (0.7ms) 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", "Siobhan Schamberger"], ["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", "Siobhan Schamberger"], ["name", "Oswaldo Kub"], ["description", "Herlinda Klein"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:37:58.760173"], ["updated_at", "2018-09-05 05:37:58.760173"]]  (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", "Micheline Wisozk"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Shiela Kuvalis"], ["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", "Micheline Wisozk"], ["name", "Shiela Kuvalis"], ["description", "Novella Strosin"], ["created_at", "2018-09-05 05:37:58.766004"], ["updated_at", "2018-09-05 05:37:58.766004"]]  (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", "Dede 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", "Dede Fay"], ["name", "Ludie Rippin"], ["location_type_id", 9], ["description", "Elvina Pacocha"], ["address", "Jeffrey Gleason"], ["created_at", "2018-09-05 05:37:58.770142"], ["updated_at", "2018-09-05 05:37:58.770142"]]  (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", "Candis Koelpin"], ["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", "Clyde Kovacek"], ["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", "Candis Koelpin"], ["name", "Lachelle Franecki"], ["description", "Madelyn Stokes"], ["serial_number", "Clyde Kovacek"], ["brand", "Crystal Schoen"], ["item_model", "Shani Christiansen"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:37:58.775272"], ["updated_at", "2018-09-05 05:37:58.775272"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ja Jast"], ["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", "Arron Strosin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ja Jast"], ["name", "Arron Strosin"], ["created_at", "2018-09-05 05:37:58.780983"], ["updated_at", "2018-09-05 05:37:58.780983"]]  (0.4ms) 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", "Ramona Emmerich"], ["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", "Ramona Emmerich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.784998"], ["updated_at", "2018-09-05 05:37:58.784998"]]  (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", "Dorathy Bartoletti"], ["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", "Dorathy Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.789815"], ["updated_at", "2018-09-05 05:37:58.789815"]]  (0.5ms) 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", "Keturah Conn"], ["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", "Keturah Conn"], ["name", "Patrina Ernser"], ["address", "Sharolyn Murray"], ["created_at", "2018-09-05 05:37:58.794149"], ["updated_at", "2018-09-05 05:37:58.794149"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.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", "Barbar Zulauf"], ["service_delivery_unit_id", 61], ["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", "Barbar Zulauf"], ["name", "Tomeka Rodriguez"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:37:58.798385"], ["updated_at", "2018-09-05 05:37:58.798385"]] 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", 61], ["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", "Barbar Zulauf"], ["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", "Barbar Zulauf"], ["name", "Tomeka Rodriguez"], ["description", "Default bundle for service 'Tomeka Rodriguez'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:37:58.802931"], ["updated_at", "2018-09-05 05:37:58.802931"]] 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", 47], ["chargeable_service_id", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) 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", "James Hettinger"], ["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", "Harriett Waters"], ["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", "James Hettinger"], ["name", "Harriett Waters"], ["description", "Voluptatem et quia esse adipisci quos debitis enim labore. Sit in autem voluptatum et qui sed. Quia dolore repellendus sunt eos perspiciatis. Dolor mollitia assumenda ea illum."], ["created_at", "2018-09-05 05:37:58.815350"], ["updated_at", "2018-09-05 05:37:58.815350"]]  (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", "Merlyn Schultz"], ["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", "Larhonda Klocko"], ["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", "Merlyn Schultz"], ["name", "Larhonda Klocko"], ["description", "Dolorem nemo magnam ad dignissimos rerum sed. Fugiat asperiores a vel veritatis illo quia nisi. Quidem minima laudantium enim consequatur laboriosam. Aut omnis vel voluptas libero sed."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:37:58.820803"], ["updated_at", "2018-09-05 05:37:58.820803"]]  (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", "Doria Hartmann"], ["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", "Doria Hartmann"], ["name", "Yuko Cummings"], ["description", "Genesis Stark"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:37:58.825136"], ["updated_at", "2018-09-05 05:37:58.825136"]]  (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", "Andy Erdman"], ["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", "Laree Hills"], ["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", "Andy Erdman"], ["name", "Laree Hills"], ["description", "Siobhan Romaguera"], ["created_at", "2018-09-05 05:37:58.830829"], ["updated_at", "2018-09-05 05:37:58.830829"]]  (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", "Rosamond Ratke"], ["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", "Rosamond Ratke"], ["name", "Hortencia Morar"], ["location_type_id", 10], ["description", "Raymonde Lemke"], ["address", "Eura Jacobi"], ["created_at", "2018-09-05 05:37:58.835123"], ["updated_at", "2018-09-05 05:37:58.835123"]]  (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", "Berry Crooks"], ["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", "Dusty Weimann"], ["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", "Berry Crooks"], ["name", "Garnett Thompson"], ["description", "Charlesetta Ondricka"], ["serial_number", "Dusty Weimann"], ["brand", "Venus Jacobs"], ["item_model", "Stephan Mitchell"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:37:58.840346"], ["updated_at", "2018-09-05 05:37:58.840346"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Rowena Kirlin"], ["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", "Ruth Mitchell"], ["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", "Rowena Kirlin"], ["name", "Ruth Mitchell"], ["created_at", "2018-09-05 05:37:58.849344"], ["updated_at", "2018-09-05 05:37:58.849344"]]  (0.5ms) RELEASE 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Rowena Kirlin"], ["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Ruth Mitchell"], ["id", 38], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceType Exists (0.8ms) 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.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Warren Grady"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.5ms) BEGIN 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", "Reginia Bins"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Aaron 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", "Jeramy Rice"], ["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", "Aaron Bechtelar"], ["name", "Jeramy Rice"], ["created_at", "2018-09-05 05:37:58.871553"], ["updated_at", "2018-09-05 05:37:58.871553"]]  (0.5ms) RELEASE 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", "Aaron Bechtelar"], ["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", "Lyndon Emmerich"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Inez Skiles"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Devora Harris"], ["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", "Inez Skiles"], ["name", "Devora Harris"], ["created_at", "2018-09-05 05:37:58.881837"], ["updated_at", "2018-09-05 05:37:58.881837"]]  (0.5ms) 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", "Moon Turcotte"], ["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", "Devora Harris"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN 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", "Ulysses Lemke"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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 (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Roberto Romaguera"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Hue Berge"], ["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", "Hue Berge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.908392"], ["updated_at", "2018-09-05 05:37:58.908392"]]  (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", "Hue Berge"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Darlena Yost"], ["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", "Ayanna Jerde"], ["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", "Darlena Yost"], ["name", "Ayanna Jerde"], ["created_at", "2018-09-05 05:37:58.919897"], ["updated_at", "2018-09-05 05:37:58.919897"]]  (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", "Blanca Friesen"], ["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", "Blanca Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.924516"], ["updated_at", "2018-09-05 05:37:58.924516"]]  (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", "Kandace Rolfson"], ["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", "Kandace Rolfson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.928945"], ["updated_at", "2018-09-05 05:37:58.928945"]]  (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", "Floy Conn"], ["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", "Floy Conn"], ["name", "Lillie Huel"], ["address", "Alene Koch"], ["created_at", "2018-09-05 05:37:58.933545"], ["updated_at", "2018-09-05 05:37:58.933545"]]  (0.4ms) 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", "Kristina Grant"], ["service_delivery_unit_id", 62], ["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", "Kristina Grant"], ["name", "Melia Kris"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:37:58.938186"], ["updated_at", "2018-09-05 05:37:58.938186"]] 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", 62], ["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", "Kristina Grant"], ["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", "Kristina Grant"], ["name", "Melia Kris"], ["description", "Default bundle for service 'Melia Kris'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:37:58.942714"], ["updated_at", "2018-09-05 05:37:58.942714"]] 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", 48], ["chargeable_service_id", 25]]  (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", "Estella Price"], ["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", "Norene Medhurst"], ["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", "Estella Price"], ["name", "Norene Medhurst"], ["created_at", "2018-09-05 05:37:58.951336"], ["updated_at", "2018-09-05 05:37:58.951336"]]  (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", "Deon Zieme"], ["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", "Deon Zieme"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.956169"], ["updated_at", "2018-09-05 05:37:58.956169"]]  (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", "Mirella 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", "Mirella Romaguera"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.961416"], ["updated_at", "2018-09-05 05:37:58.961416"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Santiago Bernhard"], ["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", "Santiago Bernhard"], ["name", "Tyree Nitzsche"], ["address", "Ramona O'Connell"], ["created_at", "2018-09-05 05:37:58.968945"], ["updated_at", "2018-09-05 05:37:58.968945"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Mignon Dibbert"], ["service_delivery_unit_id", 63], ["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", "Mignon Dibbert"], ["name", "Berna Mayer"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:37:58.976168"], ["updated_at", "2018-09-05 05:37:58.976168"]] 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", 63], ["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", "Mignon Dibbert"], ["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", "Mignon Dibbert"], ["name", "Berna Mayer"], ["description", "Default bundle for service 'Berna Mayer'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:37:58.981098"], ["updated_at", "2018-09-05 05:37:58.981098"]] 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", 49], ["chargeable_service_id", 26]]  (0.7ms) 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", "Franchesca Beier"], ["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", "Shavonda Stiedemann"], ["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", "Franchesca Beier"], ["name", "Shavonda Stiedemann"], ["created_at", "2018-09-05 05:37:58.989854"], ["updated_at", "2018-09-05 05:37:58.989854"]]  (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", "Tashina Blick"], ["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", "Tashina Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:58.995445"], ["updated_at", "2018-09-05 05:37:58.995445"]]  (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", "Katelin Bauch"], ["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", "Katelin Bauch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.000757"], ["updated_at", "2018-09-05 05:37:59.000757"]]  (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", "Rico Ortiz"], ["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", "Rico Ortiz"], ["name", "Rene Rempel"], ["address", "Sarina McLaughlin"], ["created_at", "2018-09-05 05:37:59.006344"], ["updated_at", "2018-09-05 05:37:59.006344"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (8.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", "Francoise Bode"], ["service_delivery_unit_id", 64], ["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", "Francoise Bode"], ["name", "Lucio Kuvalis"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:37:59.020834"], ["updated_at", "2018-09-05 05:37:59.020834"]] 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", 64], ["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", "Francoise Bode"], ["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", "Francoise Bode"], ["name", "Lucio Kuvalis"], ["description", "Default bundle for service 'Lucio Kuvalis'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:37:59.027536"], ["updated_at", "2018-09-05 05:37:59.027536"]] 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", 50], ["chargeable_service_id", 27]]  (0.6ms) 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", 25], ["LIMIT", 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", 26], ["LIMIT", 1]]  (0.4ms) 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", 25], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (0.8ms) 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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:37:59.039336"], ["updated_at", "2018-09-05 05:37:59.039336"]] 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", 26], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (0.8ms) 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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:37:59.042400"], ["updated_at", "2018-09-05 05:37:59.042400"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) 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", "Soon Johns"], ["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", "Elliott Reinger"], ["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", "Soon Johns"], ["name", "Elliott Reinger"], ["created_at", "2018-09-05 05:37:59.052184"], ["updated_at", "2018-09-05 05:37:59.052184"]]  (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", "Ramon Moen"], ["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", "Ramon Moen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.056706"], ["updated_at", "2018-09-05 05:37:59.056706"]]  (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", "Rasheeda Towne"], ["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", "Rasheeda Towne"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.061697"], ["updated_at", "2018-09-05 05:37:59.061697"]]  (0.5ms) 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", "Marcene Kessler"], ["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", "Marcene Kessler"], ["name", "Tomas Volkman"], ["address", "Morris Botsford"], ["created_at", "2018-09-05 05:37:59.066654"], ["updated_at", "2018-09-05 05:37:59.066654"]]  (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", "Irma Jones"], ["service_delivery_unit_id", 65], ["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", "Irma Jones"], ["name", "Leah Krajcik"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:37:59.071937"], ["updated_at", "2018-09-05 05:37:59.071937"]] 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", 65], ["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", "Irma Jones"], ["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", "Irma Jones"], ["name", "Leah Krajcik"], ["description", "Default bundle for service 'Leah Krajcik'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:37:59.077218"], ["updated_at", "2018-09-05 05:37:59.077218"]] 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", 51], ["chargeable_service_id", 28]]  (0.5ms) 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", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:37:59.083079"], ["updated_at", "2018-09-05 05:37:59.083079"]]  (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"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 28], ["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", 28], ["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 05:37:59.089471"], ["id", 10]]  (0.6ms) 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.8ms) 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", "malika.douglas@schneider.ca"], ["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", "Melynda Lehner"], ["last_name", "Carson Lynch"], ["email", "malika.douglas@schneider.ca"], ["password_digest", "$2a$04$EglJb8OUOO1Fqdf8jZPzEeNu1qHgy80rCqum8CzzEFKVSdjjVIVxy"], ["created_at", "2018-09-05 05:37:59.101085"], ["updated_at", "2018-09-05 05:37:59.101085"]]  (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", "fausto.stark@stromanhilpert.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", "Anibal Friesen"], ["last_name", "Graham Stoltenberg"], ["email", "fausto.stark@stromanhilpert.co.uk"], ["password_digest", "$2a$04$sc.eb79RCu8LGmjYSNUSh.Mf5owQhH2Cf5CmyO6aO0ZYdHXKTx67q"], ["created_at", "2018-09-05 05:37:59.107365"], ["updated_at", "2018-09-05 05:37:59.107365"]]  (0.4ms) 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", "ross_hayes@auer.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", "Tiana Romaguera"], ["last_name", "Nathanael Cormier"], ["email", "ross_hayes@auer.info"], ["password_digest", "$2a$04$gVE6HrO1EZy5.kFHVk0NY.uPzW5cmigLKbsD9fo9RSi5RrEfEbB8C"], ["created_at", "2018-09-05 05:37:59.113601"], ["updated_at", "2018-09-05 05:37:59.113601"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lane Cartwright"], ["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", "Lane Cartwright"], ["authorized_by", "Rosendo Cole"], ["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", 67], ["approved_by_id", 68], ["created_at", "2018-09-05 05:37:59.118209"], ["updated_at", "2018-09-05 05:37:59.118209"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Lane Cartwright"], ["id", 4], ["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", 66], ["updated_at", "2018-09-05 05:37:59.124689"], ["id", 4]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Load (9.5ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 4], ["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", 66], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "Melodie Ruecker"], ["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", "Melodie Ruecker"], ["name", "Frances Kulas"], ["address", "Keva Gerlach"], ["created_at", "2018-09-05 05:37:59.146301"], ["updated_at", "2018-09-05 05:37:59.146301"]]  (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", "Sergio Parker"], ["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", "Sergio Parker"], ["name", "Wes Dickinson"], ["description", "Shanelle Hahn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:37:59.150912"], ["updated_at", "2018-09-05 05:37:59.150912"]]  (0.5ms) 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", "Cyndy Boehm"], ["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", "Krystal Rosenbaum"], ["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", "Cyndy Boehm"], ["name", "Krystal Rosenbaum"], ["created_at", "2018-09-05 05:37:59.158279"], ["updated_at", "2018-09-05 05:37:59.158279"]]  (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", "Noma Zieme"], ["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", "Noma Zieme"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.163824"], ["updated_at", "2018-09-05 05:37:59.163824"]]  (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", "Jenell Kunde"], ["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", "Jenell Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.169130"], ["updated_at", "2018-09-05 05:37:59.169130"]]  (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", "Thomas Cummerata"], ["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", "Thomas Cummerata"], ["name", "Christiane Medhurst"], ["address", "Merry Zieme"], ["created_at", "2018-09-05 05:37:59.174374"], ["updated_at", "2018-09-05 05:37:59.174374"]]  (0.8ms) 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", "Tammi Littel"], ["service_delivery_unit_id", 67], ["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", "Tammi Littel"], ["name", "Fannie Thompson"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:37:59.180681"], ["updated_at", "2018-09-05 05:37:59.180681"]] 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", 67], ["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", "Tammi Littel"], ["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", "Tammi Littel"], ["name", "Fannie Thompson"], ["description", "Default bundle for service 'Fannie Thompson'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:37:59.186228"], ["updated_at", "2018-09-05 05:37:59.186228"]] 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", 53], ["chargeable_service_id", 29]]  (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", "Emmie Lubowitz"], ["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", "Salina Lakin"], ["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", "Emmie Lubowitz"], ["name", "Salina Lakin"], ["created_at", "2018-09-05 05:37:59.195048"], ["updated_at", "2018-09-05 05:37:59.195048"]]  (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", "Jerrell 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", "Jerrell Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.199621"], ["updated_at", "2018-09-05 05:37:59.199621"]]  (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", "Janeen Metz"], ["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", "Janeen Metz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.204535"], ["updated_at", "2018-09-05 05:37:59.204535"]]  (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", "Carmelo Schuster"], ["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", "Carmelo Schuster"], ["name", "Murray Trantow"], ["address", "Kim Schinner"], ["created_at", "2018-09-05 05:37:59.209087"], ["updated_at", "2018-09-05 05:37:59.209087"]]  (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", "Eleonor Lowe"], ["service_delivery_unit_id", 68], ["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", "Eleonor Lowe"], ["name", "Sachiko Lowe"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:37:59.213849"], ["updated_at", "2018-09-05 05:37:59.213849"]] 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", 68], ["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", "Eleonor Lowe"], ["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", "Eleonor Lowe"], ["name", "Sachiko Lowe"], ["description", "Default bundle for service 'Sachiko Lowe'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:37:59.221092"], ["updated_at", "2018-09-05 05:37:59.221092"]] 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", 54], ["chargeable_service_id", 30]]  (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", "Rubye Keebler"], ["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", "Marlin Dooley"], ["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", "Rubye Keebler"], ["name", "Marlin Dooley"], ["created_at", "2018-09-05 05:37:59.234508"], ["updated_at", "2018-09-05 05:37:59.234508"]]  (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", "Eleonora 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", "Eleonora Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.239428"], ["updated_at", "2018-09-05 05:37:59.239428"]]  (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", "Aletha 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", "Aletha Will"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.244054"], ["updated_at", "2018-09-05 05:37:59.244054"]]  (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", "Tanisha Gottlieb"], ["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", "Tanisha Gottlieb"], ["name", "Melva Ferry"], ["address", "Chris Breitenberg"], ["created_at", "2018-09-05 05:37:59.248442"], ["updated_at", "2018-09-05 05:37:59.248442"]]  (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", "Vanessa Hettinger"], ["service_delivery_unit_id", 69], ["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", "Vanessa Hettinger"], ["name", "Delinda Muller"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:37:59.253019"], ["updated_at", "2018-09-05 05:37:59.253019"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Vanessa Hettinger"], ["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", "Vanessa Hettinger"], ["name", "Delinda Muller"], ["description", "Default bundle for service 'Delinda Muller'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:37:59.258108"], ["updated_at", "2018-09-05 05:37:59.258108"]] 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", 55], ["chargeable_service_id", 31]]  (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", 52]]  (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" IN ($1, $2, $3) [["id", 29], ["id", 30], ["id", 31]] 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", 52]] 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", 29]] 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", 52], ["chargeable_service_id", 30]] 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.4ms) 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", 52], ["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]]  (1.1ms) ROLLBACK  (0.6ms) 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", "Delta Jewess"], ["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", "Delta Jewess"], ["name", "Gerald Harvey"], ["address", "Karima Cruickshank"], ["created_at", "2018-09-05 05:37:59.286650"], ["updated_at", "2018-09-05 05:37:59.286650"]]  (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", "Alesha Weissnat"], ["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", "Alesha Weissnat"], ["name", "Cristine Treutel"], ["description", "Camellia Durgan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:37:59.291386"], ["updated_at", "2018-09-05 05:37:59.291386"]]  (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", "Gertude Mante"], ["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", "Bertram Hamill"], ["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", "Gertude Mante"], ["name", "Bertram Hamill"], ["created_at", "2018-09-05 05:37:59.297504"], ["updated_at", "2018-09-05 05:37:59.297504"]]  (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", "Zenobia Goodwin"], ["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", "Zenobia Goodwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.301897"], ["updated_at", "2018-09-05 05:37:59.301897"]]  (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", "Antoine Torphy"], ["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", "Antoine Torphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.306637"], ["updated_at", "2018-09-05 05:37:59.306637"]]  (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", "Tyler Watsica"], ["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", "Tyler Watsica"], ["name", "Tegan Parker"], ["address", "Brett Nitzsche"], ["created_at", "2018-09-05 05:37:59.311663"], ["updated_at", "2018-09-05 05:37:59.311663"]]  (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", "Summer Schoen"], ["service_delivery_unit_id", 71], ["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", "Summer Schoen"], ["name", "Coleen Koss"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:37:59.316398"], ["updated_at", "2018-09-05 05:37:59.316398"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Summer Schoen"], ["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", "Summer Schoen"], ["name", "Coleen Koss"], ["description", "Default bundle for service 'Coleen Koss'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:37:59.321542"], ["updated_at", "2018-09-05 05:37:59.321542"]] 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", 57], ["chargeable_service_id", 32]]  (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", "Carroll Monahan"], ["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", "Kraig Rowe"], ["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", "Carroll Monahan"], ["name", "Kraig Rowe"], ["created_at", "2018-09-05 05:37:59.329985"], ["updated_at", "2018-09-05 05:37:59.329985"]]  (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", "Arthur Rath"], ["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", "Arthur Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.334406"], ["updated_at", "2018-09-05 05:37:59.334406"]]  (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", "Madeleine Moen"], ["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", "Madeleine Moen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.338914"], ["updated_at", "2018-09-05 05:37:59.338914"]]  (0.6ms) 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", "Yvonne Haag"], ["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", "Yvonne Haag"], ["name", "Joann Jakubowski"], ["address", "Regan Herzog"], ["created_at", "2018-09-05 05:37:59.343955"], ["updated_at", "2018-09-05 05:37:59.343955"]]  (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", "Mable Langosh"], ["service_delivery_unit_id", 72], ["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", "Mable Langosh"], ["name", "Newton Friesen"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:37:59.348492"], ["updated_at", "2018-09-05 05:37:59.348492"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mable Langosh"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.7ms) 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", "Mable Langosh"], ["name", "Newton Friesen"], ["description", "Default bundle for service 'Newton Friesen'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:37:59.353089"], ["updated_at", "2018-09-05 05:37:59.353089"]] 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", 33]]  (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", "Waltraud Ryan"], ["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", "Juanita Balistreri"], ["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", "Waltraud Ryan"], ["name", "Juanita Balistreri"], ["created_at", "2018-09-05 05:37:59.361309"], ["updated_at", "2018-09-05 05:37:59.361309"]]  (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", "Jeanetta Ward"], ["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", "Jeanetta Ward"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.366006"], ["updated_at", "2018-09-05 05:37:59.366006"]]  (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", "Coralee Daugherty"], ["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", "Coralee Daugherty"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.370877"], ["updated_at", "2018-09-05 05:37:59.370877"]]  (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", "Brinda Prosacco"], ["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", "Brinda Prosacco"], ["name", "Juanita Grant"], ["address", "Shiela Zemlak"], ["created_at", "2018-09-05 05:37:59.375707"], ["updated_at", "2018-09-05 05:37:59.375707"]]  (0.6ms) 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", "Pasty O'Connell"], ["service_delivery_unit_id", 73], ["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", "Pasty O'Connell"], ["name", "Argelia Wolf"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:37:59.380757"], ["updated_at", "2018-09-05 05:37:59.380757"]] 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", 73], ["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", "Pasty O'Connell"], ["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", "Pasty O'Connell"], ["name", "Argelia Wolf"], ["description", "Default bundle for service 'Argelia Wolf'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:37:59.386668"], ["updated_at", "2018-09-05 05:37:59.386668"]] 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", 34]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", 56], ["chargeable_service_id", 32]] 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", 56], ["chargeable_service_id", 33]] 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", 56], ["chargeable_service_id", 34]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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", 56]]  (0.7ms) 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", 34]] 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", 56]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.1ms) 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", 56], ["chargeable_service_id", 32], ["chargeable_service_id", 33]]  (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", 56], ["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", 56]] 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", 56]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Tori Pacocha"], ["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", "Tori Pacocha"], ["name", "Sharee Fritsch"], ["address", "Blanca Oberbrunner"], ["created_at", "2018-09-05 05:37:59.424012"], ["updated_at", "2018-09-05 05:37:59.424012"]]  (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", "Tessie Hane"], ["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", "Tessie Hane"], ["name", "Krishna Jones"], ["description", "John Ondricka"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:37:59.428878"], ["updated_at", "2018-09-05 05:37:59.428878"]]  (0.6ms) 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", "Opal Rutherford"], ["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", "Manual Berge"], ["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", "Opal Rutherford"], ["name", "Manual Berge"], ["created_at", "2018-09-05 05:37:59.434796"], ["updated_at", "2018-09-05 05:37:59.434796"]]  (0.6ms) 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", "Carlotta 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", "Carlotta Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.439704"], ["updated_at", "2018-09-05 05:37:59.439704"]]  (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", "Terry Larson"], ["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", "Terry Larson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.444479"], ["updated_at", "2018-09-05 05:37:59.444479"]]  (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", "Sanford Kuhic"], ["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", "Sanford Kuhic"], ["name", "Elise Luettgen"], ["address", "Britteny Will"], ["created_at", "2018-09-05 05:37:59.448819"], ["updated_at", "2018-09-05 05:37:59.448819"]]  (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", "Burton Abernathy"], ["service_delivery_unit_id", 75], ["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", "Burton Abernathy"], ["name", "Leanora Weimann"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:37:59.453926"], ["updated_at", "2018-09-05 05:37:59.453926"]] 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", 75], ["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", "Burton Abernathy"], ["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", "Burton Abernathy"], ["name", "Leanora Weimann"], ["description", "Default bundle for service 'Leanora Weimann'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:37:59.459456"], ["updated_at", "2018-09-05 05:37:59.459456"]] 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", 61], ["chargeable_service_id", 35]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Roseanne Kreiger"], ["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", "Sonia Eichmann"], ["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", "Roseanne Kreiger"], ["name", "Sonia Eichmann"], ["created_at", "2018-09-05 05:37:59.470715"], ["updated_at", "2018-09-05 05:37:59.470715"]]  (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", "Onie Huels"], ["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", "Onie Huels"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.476811"], ["updated_at", "2018-09-05 05:37:59.476811"]]  (0.7ms) 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", "Elfriede Fahey"], ["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", "Elfriede Fahey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.482299"], ["updated_at", "2018-09-05 05:37:59.482299"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Evia Sporer"], ["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", "Evia Sporer"], ["name", "Deshawn Goldner"], ["address", "Neville Prosacco"], ["created_at", "2018-09-05 05:37:59.487127"], ["updated_at", "2018-09-05 05:37:59.487127"]]  (0.6ms) 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", "Kasi Nikolaus"], ["service_delivery_unit_id", 76], ["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", "Kasi Nikolaus"], ["name", "Cornell Erdman"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:37:59.493185"], ["updated_at", "2018-09-05 05:37:59.493185"]] 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", 76], ["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", "Kasi Nikolaus"], ["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", "Kasi Nikolaus"], ["name", "Cornell Erdman"], ["description", "Default bundle for service 'Cornell Erdman'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:37:59.498243"], ["updated_at", "2018-09-05 05:37:59.498243"]] 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", 36]]  (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", "Shira Pouros"], ["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", "Lynell 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", "Shira Pouros"], ["name", "Lynell Nicolas"], ["created_at", "2018-09-05 05:37:59.506760"], ["updated_at", "2018-09-05 05:37:59.506760"]]  (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", "Annamae 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", "Annamae D'Amore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.511309"], ["updated_at", "2018-09-05 05:37:59.511309"]]  (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", "Corazon Dickinson"], ["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", "Corazon Dickinson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.515822"], ["updated_at", "2018-09-05 05:37:59.515822"]]  (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", "Ollie Wolf"], ["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", "Ollie Wolf"], ["name", "Livia Dare"], ["address", "Kerstin Kuvalis"], ["created_at", "2018-09-05 05:37:59.520448"], ["updated_at", "2018-09-05 05:37:59.520448"]]  (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", "Despina Leuschke"], ["service_delivery_unit_id", 77], ["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", "Despina Leuschke"], ["name", "Theda Krajcik"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:37:59.524902"], ["updated_at", "2018-09-05 05:37:59.524902"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Despina Leuschke"], ["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", "Despina Leuschke"], ["name", "Theda Krajcik"], ["description", "Default bundle for service 'Theda Krajcik'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:37:59.529753"], ["updated_at", "2018-09-05 05:37:59.529753"]] 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", 37]]  (0.7ms) 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", "Santina Keeling"], ["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", "Desiree Lehner"], ["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", "Santina Keeling"], ["name", "Desiree Lehner"], ["created_at", "2018-09-05 05:37:59.540794"], ["updated_at", "2018-09-05 05:37:59.540794"]]  (0.9ms) 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", "Hong Bradtke"], ["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", "Hong Bradtke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.547369"], ["updated_at", "2018-09-05 05:37:59.547369"]]  (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", "Kiana Kiehn"], ["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", "Kiana Kiehn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:37:59.551755"], ["updated_at", "2018-09-05 05:37:59.551755"]]  (0.4ms) 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", "Carla Kris"], ["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", "Carla Kris"], ["name", "Grayce Champlin"], ["address", "Renetta Daniel"], ["created_at", "2018-09-05 05:37:59.556164"], ["updated_at", "2018-09-05 05:37:59.556164"]]  (0.4ms) 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", "Buffy Langworth"], ["service_delivery_unit_id", 78], ["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", "Buffy Langworth"], ["name", "Janiece Raynor"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:37:59.560910"], ["updated_at", "2018-09-05 05:37:59.560910"]] 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", 78], ["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", "Buffy 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", "Buffy Langworth"], ["name", "Janiece Raynor"], ["description", "Default bundle for service 'Janiece Raynor'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:37:59.565764"], ["updated_at", "2018-09-05 05:37:59.565764"]] 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", 64], ["chargeable_service_id", 38]]  (0.5ms) 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 36]]  (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", 60]]  (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" IN ($1, $2, $3) [["id", 36], ["id", 37], ["id", 38]] 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", 60]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.0ms) 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 37]] 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", 60], ["chargeable_service_id", 38]]  (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", 60], ["LIMIT", 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", 60]] 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", 60], ["id", 35], ["LIMIT", 1]] 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", 60]]  (1.0ms) ROLLBACK  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.5ms) BEGIN  (1.5ms) 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", "foster@heller.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.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", "Glenn Cummings"], ["last_name", "Blanch Pfeffer"], ["email", "foster@heller.info"], ["password_digest", "$2a$04$3T6L1VwGzQe1ZZrapcPZF.sZUbkaRcO6StPkHbH7vxAH.ihiefCIS"], ["created_at", "2018-09-05 05:38:22.265455"], ["updated_at", "2018-09-05 05:38:22.265455"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (3.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Stefan Buckridge"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Launa Fahey"], ["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", "Stefan Buckridge"], ["name", "Launa Fahey"], ["created_at", "2018-09-05 05:38:22.346154"], ["updated_at", "2018-09-05 05:38:22.346154"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Nicholle Runte"], ["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", "Nicholle Runte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.377736"], ["updated_at", "2018-09-05 05:38:22.377736"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Haywood Ledner"], ["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", "Haywood Ledner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.387351"], ["updated_at", "2018-09-05 05:38:22.387351"]]  (0.6ms) 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", "Ella Christiansen"], ["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", "Ella Christiansen"], ["name", "Damaris Wuckert"], ["address", "Fernande Littel"], ["created_at", "2018-09-05 05:38:22.408304"], ["updated_at", "2018-09-05 05:38:22.408304"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Lupe Nitzsche"], ["service_delivery_unit_id", 1], ["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", "Lupe Nitzsche"], ["name", "Lolita Watsica"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:38:22.417993"], ["updated_at", "2018-09-05 05:38:22.417993"]] 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", 1], ["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", "Lupe Nitzsche"], ["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", "Lupe Nitzsche"], ["name", "Lolita Watsica"], ["description", "Default bundle for service 'Lolita Watsica'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:38:22.447150"], ["updated_at", "2018-09-05 05:38:22.447150"]] 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.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", "Geraldo Luettgen"], ["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", "Tammara Collins"], ["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", "Geraldo Luettgen"], ["name", "Tammara Collins"], ["created_at", "2018-09-05 05:38:22.477763"], ["updated_at", "2018-09-05 05:38:22.477763"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ivan Feest"], ["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", "Ivan Feest"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.484320"], ["updated_at", "2018-09-05 05:38:22.484320"]]  (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", "Cathey 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", "Cathey Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.490423"], ["updated_at", "2018-09-05 05:38:22.490423"]]  (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", "Maribeth Howell"], ["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", "Maribeth Howell"], ["name", "Chantel Marquardt"], ["address", "Kay Daniel"], ["created_at", "2018-09-05 05:38:22.495196"], ["updated_at", "2018-09-05 05:38:22.495196"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jerrod Gleichner"], ["service_delivery_unit_id", 2], ["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", "Jerrod Gleichner"], ["name", "Tiffany Hamill"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:38:22.502419"], ["updated_at", "2018-09-05 05:38:22.502419"]] 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", 2], ["LIMIT", 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", "Jerrod Gleichner"], ["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", "Jerrod Gleichner"], ["name", "Tiffany Hamill"], ["description", "Default bundle for service 'Tiffany Hamill'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:38:22.510814"], ["updated_at", "2018-09-05 05:38:22.510814"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.2ms) 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.9ms) 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", "Sofia Stamm"], ["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", "Booker Powlowski"], ["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", "Sofia Stamm"], ["name", "Booker Powlowski"], ["created_at", "2018-09-05 05:38:22.523758"], ["updated_at", "2018-09-05 05:38:22.523758"]]  (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", "Cruz Jenkins"], ["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", "Cruz Jenkins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.529098"], ["updated_at", "2018-09-05 05:38:22.529098"]]  (1.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Zaida Gleason"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zaida Gleason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.538075"], ["updated_at", "2018-09-05 05:38:22.538075"]]  (1.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rona Kohler"], ["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", "Rona Kohler"], ["name", "Jimmie Kuhn"], ["address", "Zana Hyatt"], ["created_at", "2018-09-05 05:38:22.547359"], ["updated_at", "2018-09-05 05:38:22.547359"]]  (1.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Drew Ondricka"], ["service_delivery_unit_id", 3], ["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", "Drew Ondricka"], ["name", "Judy Johnston"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:38:22.555148"], ["updated_at", "2018-09-05 05:38:22.555148"]] 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", 3], ["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", "Drew Ondricka"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Drew Ondricka"], ["name", "Judy Johnston"], ["description", "Default bundle for service 'Judy Johnston'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:38:22.562521"], ["updated_at", "2018-09-05 05:38:22.562521"]] 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", 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.7ms) 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.7ms) 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.3ms) 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", 1], ["id", 2]] [active_model_serializers] 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", 5], ["LIMIT", 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", 6], ["LIMIT", 1]] [active_model_serializers] 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", 3], ["LIMIT", 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", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.4ms) 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 (2.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] Mks::Rate::UnitOfCharge Load (2.4ms) 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 (4.3ms) 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 (1.4ms) 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (36.7ms) Completed 200 OK in 66ms (Views: 41.9ms | ActiveRecord: 21.5ms)  (2.2ms) ROLLBACK  (1.1ms) BEGIN  (1.2ms) 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", "phylis@volkmanlehner.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", "Codi Swaniawski"], ["last_name", "Tama Hettinger"], ["email", "phylis@volkmanlehner.ca"], ["password_digest", "$2a$04$o1bRB9wllqeSvNuWW81C9ejfaKKH8CdgqaYe4xM23ruaDn.Qtdm0O"], ["created_at", "2018-09-05 05:38:22.670115"], ["updated_at", "2018-09-05 05:38:22.670115"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.7ms) 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", "Jeanne Oga"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jeanne Oga"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.683056"], ["updated_at", "2018-09-05 05:38:22.683056"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Elke Klocko"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (3.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elke Klocko"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.692190"], ["updated_at", "2018-09-05 05:38:22.692190"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Adrienne Harvey"], ["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", "Adrienne Harvey"], ["name", "Bernard Gibson"], ["address", "Daron Cronin"], ["created_at", "2018-09-05 05:38:22.704475"], ["updated_at", "2018-09-05 05:38:22.704475"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Tisha Hudson"], ["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", "Aubrey Prosacco"], ["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", "Tisha Hudson"], ["name", "Aubrey Prosacco"], ["created_at", "2018-09-05 05:38:22.712256"], ["updated_at", "2018-09-05 05:38:22.712256"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Krystina Larson", "name"=>"Ula Weissnat", "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.9ms) 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", "Krystina Larson"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.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 (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", 7], ["LIMIT", 1]] 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", 4], ["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", "Krystina Larson"], ["name", "Ula Weissnat"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:38:22.742882"], ["updated_at", "2018-09-05 05:38:22.742882"]] 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", 4], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Krystina Larson"], ["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", "Krystina Larson"], ["name", "Ula Weissnat"], ["description", "Default bundle for service 'Ula Weissnat'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:38:22.751069"], ["updated_at", "2018-09-05 05:38:22.751069"]] 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", 4], ["chargeable_service_id", 4]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 35ms (ActiveRecord: 16.1ms)  (0.6ms) ROLLBACK  (0.6ms) 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", "randell@blanda.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", "Clemente Kunde"], ["last_name", "Caryl Schroeder"], ["email", "randell@blanda.com"], ["password_digest", "$2a$04$UbYDj2r3BNUSjYHMOvXdPOgc/jA8tA/ET73/T9n0rDmP0LJHPVzMS"], ["created_at", "2018-09-05 05:38:22.770988"], ["updated_at", "2018-09-05 05:38:22.770988"]]  (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", "Tessa Thompson"], ["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", "Tessa Thompson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.777815"], ["updated_at", "2018-09-05 05:38:22.777815"]]  (0.7ms) 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", "Jere Wilderman"], ["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", "Jere Wilderman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.784203"], ["updated_at", "2018-09-05 05:38:22.784203"]]  (0.5ms) 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", "Kylee Schaden"], ["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", "Kylee Schaden"], ["name", "Florencio Dibbert"], ["address", "Janelle Reichert"], ["created_at", "2018-09-05 05:38:22.789910"], ["updated_at", "2018-09-05 05:38:22.789910"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Marla Maggio"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jarred Okuneva"], ["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", "Marla Maggio"], ["name", "Jarred Okuneva"], ["created_at", "2018-09-05 05:38:22.799748"], ["updated_at", "2018-09-05 05:38:22.799748"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Rosina Howe", "name"=>"Lakesha Hand", "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.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", "Rosina Howe"], ["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 (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", 9], ["LIMIT", 1]] 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", 5], ["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", "Rosina Howe"], ["name", "Lakesha Hand"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:38:22.818274"], ["updated_at", "2018-09-05 05:38:22.818274"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rosina Howe"], ["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", "Rosina Howe"], ["name", "Lakesha Hand"], ["description", "Default bundle for service 'Lakesha Hand'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:38:22.824606"], ["updated_at", "2018-09-05 05:38:22.824606"]] 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", 5], ["chargeable_service_id", 5]]  (2.5ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 29ms (ActiveRecord: 15.4ms)  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (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", "jonah_abshire@heaney.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", "Nona Anderson"], ["last_name", "Maisie Keebler"], ["email", "jonah_abshire@heaney.name"], ["password_digest", "$2a$04$jewfbGBQCXB1NYmGAlgpx.B9XgidlXlwuzvfJekf6ZzW1U6nWWmSq"], ["created_at", "2018-09-05 05:38:22.844087"], ["updated_at", "2018-09-05 05:38:22.844087"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Lyda Cremin"], ["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", "Lyda Cremin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.851299"], ["updated_at", "2018-09-05 05:38:22.851299"]]  (0.6ms) 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", "Jackqueline O'Connell"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jackqueline O'Connell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.856856"], ["updated_at", "2018-09-05 05:38:22.856856"]]  (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", "Precious Howe"], ["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", "Precious Howe"], ["name", "Felice Kuvalis"], ["address", "Chery Bashirian"], ["created_at", "2018-09-05 05:38:22.863629"], ["updated_at", "2018-09-05 05:38:22.863629"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joya Marvin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Coralee Koch"], ["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", "Joya Marvin"], ["name", "Coralee Koch"], ["created_at", "2018-09-05 05:38:22.874422"], ["updated_at", "2018-09-05 05:38:22.874422"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Deane Ebert", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (1.5ms) 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", ""], ["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.8ms) 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.1ms) 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 (1.2ms) 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.1ms) Completed 422 Unprocessable Entity in 42ms (Views: 13.1ms | ActiveRecord: 8.9ms)  (1.1ms) ROLLBACK  (0.6ms) 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", "marylou_smitham@kuhlman.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", "Nisha Schultz"], ["last_name", "Alessandra Tillman"], ["email", "marylou_smitham@kuhlman.us"], ["password_digest", "$2a$04$0LRHrfqfHZIvxxM5VVDk3ukXWpHTl1sBPN5vLxbVqlMhPTFM0BI9C"], ["created_at", "2018-09-05 05:38:22.937551"], ["updated_at", "2018-09-05 05:38:22.937551"]]  (1.2ms) 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", "Farah Spencer"], ["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", "Elida Halvorson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Farah Spencer"], ["name", "Elida Halvorson"], ["created_at", "2018-09-05 05:38:22.947954"], ["updated_at", "2018-09-05 05:38:22.947954"]]  (0.8ms) 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", "Keren Wilderman"], ["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", "Keren Wilderman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.955876"], ["updated_at", "2018-09-05 05:38:22.955876"]]  (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", "Carrie Borer"], ["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", "Carrie Borer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:22.962419"], ["updated_at", "2018-09-05 05:38:22.962419"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Brianne Brakus"], ["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", "Brianne Brakus"], ["name", "Tiara Wisozk"], ["address", "Ellis Bogan"], ["created_at", "2018-09-05 05:38:22.971682"], ["updated_at", "2018-09-05 05:38:22.971682"]]  (0.6ms) 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", "Louie Lang"], ["service_delivery_unit_id", 7], ["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", "Louie Lang"], ["name", "Ethel Koch"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:38:22.978362"], ["updated_at", "2018-09-05 05:38:22.978362"]] 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", 7], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (9.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Louie Lang"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.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", "Louie Lang"], ["name", "Ethel Koch"], ["description", "Default bundle for service 'Ethel Koch'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:38:22.995332"], ["updated_at", "2018-09-05 05:38:22.995332"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.9ms) 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.8ms) 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.1ms) 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.8ms) 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", "Louie Lang"], ["id", 6], ["service_delivery_unit_id", 7], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.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 (1.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.2ms) 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 05:38:23.021692"], ["id", 6]] 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", 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", "Louie Lang"], ["LIMIT", 1]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 30ms (ActiveRecord: 12.0ms)  (0.7ms) 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", "forest@cronin.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", "Ronald Crist"], ["last_name", "Marcelene Jerde"], ["email", "forest@cronin.biz"], ["password_digest", "$2a$04$JxHgAmux3f34LVo5qjxwD./dDCxna.h.nYJJCMakx6mgJJ.iYKB8S"], ["created_at", "2018-09-05 05:38:23.047476"], ["updated_at", "2018-09-05 05:38:23.047476"]]  (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", "Laticia Sporer"], ["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", "Vanetta Fritsch"], ["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", "Laticia Sporer"], ["name", "Vanetta Fritsch"], ["created_at", "2018-09-05 05:38:23.056786"], ["updated_at", "2018-09-05 05:38:23.056786"]]  (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", "Marilynn Kulas"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marilynn Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.062701"], ["updated_at", "2018-09-05 05:38:23.062701"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Marita Lakin"], ["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", "Marita Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.070369"], ["updated_at", "2018-09-05 05:38:23.070369"]]  (1.9ms) 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", "Hallie Volkman"], ["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", "Hallie Volkman"], ["name", "Lavenia Schultz"], ["address", "Scotty Bosco"], ["created_at", "2018-09-05 05:38:23.086517"], ["updated_at", "2018-09-05 05:38:23.086517"]]  (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", "Ernestina Cummings"], ["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", "Ernestina Cummings"], ["name", "Loura Macejkovic"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:38:23.091200"], ["updated_at", "2018-09-05 05:38:23.091200"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ernestina Cummings"], ["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", "Ernestina Cummings"], ["name", "Loura Macejkovic"], ["description", "Default bundle for service 'Loura Macejkovic'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:38:23.096537"], ["updated_at", "2018-09-05 05:38:23.096537"]] 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", 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.8ms) 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 (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", "Ernestina Cummings"], ["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 (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", 15], ["LIMIT", 1]] 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", 8], ["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", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 422 Unprocessable Entity in 15ms (Views: 1.0ms | ActiveRecord: 7.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", "akiko@grady.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", "Claire Wuckert"], ["last_name", "Jae Morissette"], ["email", "akiko@grady.us"], ["password_digest", "$2a$04$B61Bzk4jL8p8C3tIHwB.p.FVDZSr0CP3v/J/z2l0idtWcRt5HUD8."], ["created_at", "2018-09-05 05:38:23.127383"], ["updated_at", "2018-09-05 05:38:23.127383"]]  (0.6ms) 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", "Phylicia Crooks"], ["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", "Phylicia Crooks"], ["name", "Carroll Leuschke"], ["address", "Evelina Hintz"], ["created_at", "2018-09-05 05:38:23.134364"], ["updated_at", "2018-09-05 05:38:23.134364"]]  (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", "Del Beer"], ["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", "Del Beer"], ["name", "Cary Lang"], ["address", "Lynna Mohr"], ["created_at", "2018-09-05 05:38:23.139328"], ["updated_at", "2018-09-05 05:38:23.139328"]]  (0.5ms) 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", "Avery Auer"], ["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", "Margert Waters"], ["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", "Avery Auer"], ["name", "Margert Waters"], ["created_at", "2018-09-05 05:38:23.146917"], ["updated_at", "2018-09-05 05:38:23.146917"]]  (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", "Leonie Marvin"], ["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", "Leonie Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.152338"], ["updated_at", "2018-09-05 05:38:23.152338"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Daniel Balistreri"], ["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", "Daniel Balistreri"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.157921"], ["updated_at", "2018-09-05 05:38:23.157921"]]  (1.1ms) 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", "Shea D'Amore"], ["service_delivery_unit_id", 9], ["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", 9], ["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", "Shea D'Amore"], ["name", "Deloras Boyer"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:38:23.165955"], ["updated_at", "2018-09-05 05:38:23.165955"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shea D'Amore"], ["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", "Shea D'Amore"], ["name", "Deloras Boyer"], ["description", "Default bundle for service 'Deloras Boyer'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:38:23.172438"], ["updated_at", "2018-09-05 05:38:23.172438"]] 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.7ms) 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", "Ilse Satterfield"], ["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", "Bethanie Spinka"], ["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", "Ilse Satterfield"], ["name", "Bethanie Spinka"], ["created_at", "2018-09-05 05:38:23.182319"], ["updated_at", "2018-09-05 05:38:23.182319"]]  (0.6ms) 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", "Von Kris"], ["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", "Von Kris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.187283"], ["updated_at", "2018-09-05 05:38:23.187283"]]  (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", "Felice Rutherford"], ["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", "Felice Rutherford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.192197"], ["updated_at", "2018-09-05 05:38:23.192197"]]  (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", "Gerardo Oga"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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" = $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", "Gerardo Oga"], ["name", "Brigid Weber"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:38:23.200603"], ["updated_at", "2018-09-05 05:38:23.200603"]] 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", "Gerardo Oga"], ["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", "Gerardo Oga"], ["name", "Brigid Weber"], ["description", "Default bundle for service 'Brigid Weber'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:38:23.205715"], ["updated_at", "2018-09-05 05:38:23.205715"]] 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", 9], ["chargeable_service_id", 9]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "Leo Torp"], ["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", "Roland Kuhlman"], ["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", "Leo Torp"], ["name", "Roland Kuhlman"], ["created_at", "2018-09-05 05:38:23.216415"], ["updated_at", "2018-09-05 05:38:23.216415"]]  (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", "Alta Grady"], ["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", "Alta Grady"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.221439"], ["updated_at", "2018-09-05 05:38:23.221439"]]  (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", "Dusti Yost"], ["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", "Dusti Yost"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.227103"], ["updated_at", "2018-09-05 05:38:23.227103"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Alline Hamill"], ["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", "Alline Hamill"], ["name", "Gertude Howe"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:38:23.235664"], ["updated_at", "2018-09-05 05:38:23.235664"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Alline Hamill"], ["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", "Alline Hamill"], ["name", "Gertude Howe"], ["description", "Default bundle for service 'Gertude Howe'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:38:23.241071"], ["updated_at", "2018-09-05 05:38:23.241071"]] 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", 10], ["chargeable_service_id", 10]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Lucius Volkman"], ["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", "Sacha Rogahn"], ["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", "Lucius Volkman"], ["name", "Sacha Rogahn"], ["created_at", "2018-09-05 05:38:23.251888"], ["updated_at", "2018-09-05 05:38:23.251888"]]  (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", "Kayce Gerhold"], ["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", "Kayce Gerhold"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.256400"], ["updated_at", "2018-09-05 05:38:23.256400"]]  (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", "Cody Becker"], ["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", "Cody Becker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.261344"], ["updated_at", "2018-09-05 05:38:23.261344"]]  (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", "Rosamaria Swift"], ["service_delivery_unit_id", 10], ["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", 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", "Rosamaria Swift"], ["name", "Chanel Gutmann"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:38:23.268190"], ["updated_at", "2018-09-05 05:38:23.268190"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rosamaria Swift"], ["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", "Rosamaria Swift"], ["name", "Chanel Gutmann"], ["description", "Default bundle for service 'Chanel Gutmann'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:38:23.273169"], ["updated_at", "2018-09-05 05:38:23.273169"]] 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", 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 (1.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.9ms) 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.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]] [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.6ms) 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.7ms) 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 (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", 20], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.3ms) 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 (12.95ms) Completed 200 OK in 20ms (Views: 9.0ms | ActiveRecord: 9.6ms)  (1.1ms) ROLLBACK  (0.4ms) 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", "stewart@botsfordlehner.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", "Trish Hahn"], ["last_name", "Sina Rogahn"], ["email", "stewart@botsfordlehner.name"], ["password_digest", "$2a$04$ZC5kgX9DvwTRASj4wlijkOGDGTfN1N0BwwpS/WHWQ3usK2yZLI5AG"], ["created_at", "2018-09-05 05:38:23.309324"], ["updated_at", "2018-09-05 05:38:23.309324"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "cinda.mckenzie@macejkovicoberbrunner.biz"], ["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", "Clifton Hammes"], ["last_name", "Gisele Dach"], ["email", "cinda.mckenzie@macejkovicoberbrunner.biz"], ["password_digest", "$2a$04$QWAF3ue/GWJDBCvw97eqvOENxJocCPUd7S/b4HF/zEle936.D8VEe"], ["created_at", "2018-09-05 05:38:23.321576"], ["updated_at", "2018-09-05 05:38:23.321576"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (1.5ms) 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", "debrah.blanda@bergstrom.co.uk"], ["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", "Evita White"], ["last_name", "Foster Berge"], ["email", "debrah.blanda@bergstrom.co.uk"], ["password_digest", "$2a$04$Je4EUXRs9ogMQ59PoAOn4uWLfRo7BPs9LoBmEWj5Ipx40w0h56Gp2"], ["created_at", "2018-09-05 05:38:23.334708"], ["updated_at", "2018-09-05 05:38:23.334708"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.0ms) ROLLBACK  (1.5ms) 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", "galina@crist.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", "Bruno Tremblay"], ["last_name", "Deborah Bins"], ["email", "galina@crist.ca"], ["password_digest", "$2a$04$W1u9ooKuv8bZHuMb/dtn1OwctDiyivQmTmvGiMvMqA/xNaY8Njgn."], ["created_at", "2018-09-05 05:38:23.355328"], ["updated_at", "2018-09-05 05:38:23.355328"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (1.1ms) BEGIN  (1.4ms) 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", "pinkie@schuppe.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", "Velda Champlin"], ["last_name", "Brigette Beatty"], ["email", "pinkie@schuppe.biz"], ["password_digest", "$2a$04$mrxWQzfa.0eNxk4CaN2rtO647JmFFjVdBCyLIEllyq8DqqjMbUdSm"], ["created_at", "2018-09-05 05:38:23.369219"], ["updated_at", "2018-09-05 05:38:23.369219"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "hee_ullrich@andersonpfannerstill.co.uk"], ["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", "Deidre Walsh"], ["last_name", "Delfina Rohan"], ["email", "hee_ullrich@andersonpfannerstill.co.uk"], ["password_digest", "$2a$04$DrpSqjDZOst2jH/ww7DwXuum2YDZfLloIdaqYA/r4fxgTTLIyPne2"], ["created_at", "2018-09-05 05:38:23.379303"], ["updated_at", "2018-09-05 05:38:23.379303"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (1.0ms) 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", "simona@kohlerbaumbach.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", "Maida Watsica"], ["last_name", "Mathilda Connelly"], ["email", "simona@kohlerbaumbach.name"], ["password_digest", "$2a$04$UDqS7WWUihyo0NdcZuOAS.L0zj4EI8G9XExBqHrHhajk8542WTTYa"], ["created_at", "2018-09-05 05:38:23.392334"], ["updated_at", "2018-09-05 05:38:23.392334"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.6ms) 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", "coy_morar@heaney.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", "Eufemia Wolf"], ["last_name", "Cleta Brakus"], ["email", "coy_morar@heaney.name"], ["password_digest", "$2a$04$0E9vHLTh83GNpvplWZ31iOE7fb8Q0t/S66/znsF7M8RwPZMFaXPqK"], ["created_at", "2018-09-05 05:38:23.405185"], ["updated_at", "2018-09-05 05:38:23.405185"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) 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", "rosy.kuvalis@lesch.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", "Latrina Hickle"], ["last_name", "Ciara Rice"], ["email", "rosy.kuvalis@lesch.us"], ["password_digest", "$2a$04$9YDMr7a1L/Ts7w/PdwvJTe1rEkF98VFi8Pgk8KnxMaW7vR7BJLgoi"], ["created_at", "2018-09-05 05:38:23.415990"], ["updated_at", "2018-09-05 05:38:23.415990"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (1.1ms) 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", "margeret.dare@murazikreilly.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", "Louis Leffler"], ["last_name", "Hung Stamm"], ["email", "margeret.dare@murazikreilly.us"], ["password_digest", "$2a$04$Hrczz1Ot90xwsWhaRYyOqOOnllvk/FwPlJf4qwfrLCQjoVF7I39ZW"], ["created_at", "2018-09-05 05:38:23.428810"], ["updated_at", "2018-09-05 05:38:23.428810"]]  (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", "Lynelle 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", "Lynelle Beier"], ["name", "Carolee Reynolds"], ["address", "Eduardo Rath"], ["created_at", "2018-09-05 05:38:23.437195"], ["updated_at", "2018-09-05 05:38:23.437195"]]  (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", "Elenor Christiansen"], ["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", "Elenor Christiansen"], ["name", "Tamekia Aufderhar"], ["description", "Nenita Grant"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:38:23.441633"], ["updated_at", "2018-09-05 05:38:23.441633"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 17], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.9ms) 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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (1.96ms) Completed 200 OK in 10ms (Views: 4.7ms | ActiveRecord: 3.9ms)  (1.2ms) ROLLBACK  (0.5ms) 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", "breann.thiel@cremintorphy.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", "Magdalen O'Kon"], ["last_name", "Yvonne Trantow"], ["email", "breann.thiel@cremintorphy.biz"], ["password_digest", "$2a$04$Hq186z8HT6hU3eDPmgZX8ubEYVE4HPfYdV2dgTkdck4jaMlDfL6e."], ["created_at", "2018-09-05 05:38:23.465730"], ["updated_at", "2018-09-05 05:38:23.465730"]]  (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", "Buford Price"], ["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", "Buford Price"], ["name", "Demarcus Jacobson"], ["address", "Amanda Trantow"], ["created_at", "2018-09-05 05:38:23.470808"], ["updated_at", "2018-09-05 05:38:23.470808"]]  (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", "Trinh Lowe"], ["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", "Trinh Lowe"], ["name", "Shanda Wilkinson"], ["description", "Zachery Waelchi"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:38:23.475620"], ["updated_at", "2018-09-05 05:38:23.475620"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Armando Friesen"], ["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", "Armando Friesen"], ["name", "Shalon Schmidt"], ["description", "Gary Braun"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:38:23.481944"], ["updated_at", "2018-09-05 05:38:23.481944"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Astrid Hodkiewicz"], ["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", "Astrid Hodkiewicz"], ["name", "Quincy Williamson"], ["description", "Rosalie Stark"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:38:23.487486"], ["updated_at", "2018-09-05 05:38:23.487486"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"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", 18], ["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", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.93ms) Completed 200 OK in 12ms (Views: 5.8ms | ActiveRecord: 4.9ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "mozella_moore@paucek.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (3.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", "Chery Greenholt"], ["last_name", "Kacie Schulist"], ["email", "mozella_moore@paucek.co.uk"], ["password_digest", "$2a$04$MEixMM4ccPaN70XyEazLKu2DNziSaS9i2y9NCBDH1MRi.t9BlSAAW"], ["created_at", "2018-09-05 05:38:23.511644"], ["updated_at", "2018-09-05 05:38:23.511644"]]  (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", "Enedina 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", "Enedina Rolfson"], ["name", "Leanna Franecki"], ["address", "Stefani Wilderman"], ["created_at", "2018-09-05 05:38:23.520975"], ["updated_at", "2018-09-05 05:38:23.520975"]]  (0.5ms) 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", "Gregorio Walter"], ["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", "Gregorio Walter"], ["name", "Jane Hamill"], ["description", "Betsey Wolff"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:38:23.526874"], ["updated_at", "2018-09-05 05:38:23.526874"]]  (0.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", "Rochell Heidenreich"], ["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", "Rochell Heidenreich"], ["name", "Eleni Buckridge"], ["description", "Amanda Corwin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:38:23.534964"], ["updated_at", "2018-09-05 05:38:23.534964"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (7.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Burma Wilderman"], ["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", "Burma Wilderman"], ["name", "Scarlet Crist"], ["description", "Marleen Stoltenberg"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:38:23.550678"], ["updated_at", "2018-09-05 05:38:23.550678"]]  (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", "Ramon Jacobs"], ["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", "Ramon Jacobs"], ["name", "Carey Buckridge"], ["address", "Florinda McLaughlin"], ["created_at", "2018-09-05 05:38:23.556615"], ["updated_at", "2018-09-05 05:38:23.556615"]]  (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", "Louisa Nicolas"], ["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", "Louisa Nicolas"], ["name", "Floretta Jewess"], ["description", "Rosamond Lakin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:38:23.561345"], ["updated_at", "2018-09-05 05:38:23.561345"]]  (2.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", "Wyatt Russel"], ["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", "Wyatt Russel"], ["name", "Muriel Bins"], ["address", "Yessenia Batz"], ["created_at", "2018-09-05 05:38:23.570053"], ["updated_at", "2018-09-05 05:38:23.570053"]]  (0.6ms) 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", "Johnathan Tromp"], ["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", "Johnathan Tromp"], ["name", "Serena Stamm"], ["description", "Cheryl Olson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:38:23.574668"], ["updated_at", "2018-09-05 05:38:23.574668"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kit Lynch"], ["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", "Kit Lynch"], ["name", "Tiffani Schroeder"], ["address", "Norman Stehr"], ["created_at", "2018-09-05 05:38:23.580571"], ["updated_at", "2018-09-05 05:38:23.580571"]]  (0.6ms) 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", "Eugene Balistreri"], ["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", "Eugene Balistreri"], ["name", "Rosia Bauch"], ["description", "Tod Roob"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:38:23.587116"], ["updated_at", "2018-09-05 05:38:23.587116"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.04ms) Completed 200 OK in 11ms (Views: 4.7ms | ActiveRecord: 5.3ms)  (1.0ms) 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", "kami@schinner.ca"], ["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", "Mack Dickinson"], ["last_name", "Talisha Frami"], ["email", "kami@schinner.ca"], ["password_digest", "$2a$04$bbtIFhrQAv1ZaXbR57RE0O.Bzm8VI6/5Ij/nKC4NS/BPvhVdYq6gy"], ["created_at", "2018-09-05 05:38:23.610795"], ["updated_at", "2018-09-05 05:38:23.610795"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 LIMIT $2 [["code", "Ardis McDermott"], ["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", "Ardis McDermott"], ["name", "Kattie Miller"], ["address", "Ashely Schneider"], ["created_at", "2018-09-05 05:38:23.620042"], ["updated_at", "2018-09-05 05:38:23.620042"]]  (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", "Karissa Schaden"], ["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", "Karissa Schaden"], ["name", "Izola Steuber"], ["description", "Cathern Paucek"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:38:23.624581"], ["updated_at", "2018-09-05 05:38:23.624581"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["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", 22], ["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]] [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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.29ms) Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 4.1ms)  (1.0ms) ROLLBACK  (0.7ms) 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", "humberto.bode@price.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", "Danuta Jacobson"], ["last_name", "Heidi McGlynn"], ["email", "humberto.bode@price.ca"], ["password_digest", "$2a$04$8zp8AtgVN9c7/B1CvDiN0.XQy4Lo2jzSGY3Gmlaoi3MKKBWJqIQ22"], ["created_at", "2018-09-05 05:38:23.648604"], ["updated_at", "2018-09-05 05:38:23.648604"]]  (0.5ms) 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", "Diana Rath"], ["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", "Diana Rath"], ["name", "Maryln Goyette"], ["address", "Arlene Howe"], ["created_at", "2018-09-05 05:38:23.655253"], ["updated_at", "2018-09-05 05:38:23.655253"]]  (0.6ms) 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", "Justa Oberbrunner"], ["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", "Justa Oberbrunner"], ["name", "First Service Bundle"], ["description", "Chastity Mohr"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:38:23.660146"], ["updated_at", "2018-09-05 05:38:23.660146"]]  (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", "Sindy Walker"], ["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", "Sindy Walker"], ["name", "Gwyn McDermott"], ["address", "Doretha Sporer"], ["created_at", "2018-09-05 05:38:23.665984"], ["updated_at", "2018-09-05 05:38:23.665984"]]  (0.6ms) 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", "Sheree Torp"], ["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", "Sheree Torp"], ["name", "Second Service Bundle"], ["description", "Arthur Dooley"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:38:23.671085"], ["updated_at", "2018-09-05 05:38:23.671085"]]  (0.5ms) 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", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) 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.1ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.35ms) Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 4.4ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.3ms) 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", 18], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.79ms) Completed 200 OK in 10ms (Views: 3.6ms | ActiveRecord: 9.8ms)  (1.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", "don_corkery@medhurst.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", "Monica Rodriguez"], ["last_name", "Reynaldo Hermiston"], ["email", "don_corkery@medhurst.ca"], ["password_digest", "$2a$04$Hnr8g49ceqlJguUBB2MBJuSINXxmr2FKzRxSJtQWuDdNCPEVXVN2C"], ["created_at", "2018-09-05 05:38:23.706785"], ["updated_at", "2018-09-05 05:38:23.706785"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marica Kuphal"], ["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", "Marica Kuphal"], ["name", "Regan Terry"], ["address", "Lon Quigley"], ["created_at", "2018-09-05 05:38:23.714738"], ["updated_at", "2018-09-05 05:38:23.714738"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Dinorah Hoppe"], ["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", "Dinorah Hoppe"], ["name", "FIRst Service Bundle"], ["description", "Shonda Gaylord"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:38:23.720068"], ["updated_at", "2018-09-05 05:38:23.720068"]]  (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", "Marybelle Braun"], ["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", "Marybelle Braun"], ["name", "Evangeline Lebsack"], ["address", "Yuonne Monahan"], ["created_at", "2018-09-05 05:38:23.725375"], ["updated_at", "2018-09-05 05:38:23.725375"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Barrie Willms"], ["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", "Barrie Willms"], ["name", "Second Service Bundle for the firST time"], ["description", "Georgie Lakin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:38:23.730479"], ["updated_at", "2018-09-05 05:38:23.730479"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["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", 22], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.3ms) 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.0ms) 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]] [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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.39ms) Completed 200 OK in 11ms (Views: 4.2ms | ActiveRecord: 5.2ms)  (1.2ms) 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", "elton_beahan@ankunding.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", "Myesha Conn"], ["last_name", "Leandro Turcotte"], ["email", "elton_beahan@ankunding.info"], ["password_digest", "$2a$04$opBupWfnM29pnoLExdVmJ.9EdgzbG3LbZT1kWb.Mfyui94C1oBXJy"], ["created_at", "2018-09-05 05:38:23.755129"], ["updated_at", "2018-09-05 05:38:23.755129"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Laurette Kris"], ["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", "Laurette Kris"], ["name", "Latesha Schuppe"], ["address", "Britt Hegmann"], ["created_at", "2018-09-05 05:38:23.761894"], ["updated_at", "2018-09-05 05:38:23.761894"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Mana Ondricka", "description"=>"Donovan Baumbach", "name"=>"Shayne Douglas", "service_delivery_unit_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", 23], ["LIMIT", 1]]  (0.6ms) 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", 22], ["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", "Mana Ondricka"], ["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", "Mana Ondricka"], ["name", "Shayne Douglas"], ["description", "Donovan Baumbach"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:38:23.772587"], ["updated_at", "2018-09-05 05:38:23.772587"]]  (0.9ms) 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 201 Created in 12ms (Views: 2.4ms | ActiveRecord: 5.9ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (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", "chanell.gusikowski@walsh.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", "Donte Orn"], ["last_name", "Elinore Zemlak"], ["email", "chanell.gusikowski@walsh.biz"], ["password_digest", "$2a$04$PlN302.MSRzqNOCjnlXktuoBmumtscqE2bfHJmAXtSc7PqR89ffcO"], ["created_at", "2018-09-05 05:38:23.790305"], ["updated_at", "2018-09-05 05:38:23.790305"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Joetta Bruen"], ["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", "Joetta Bruen"], ["name", "Dean Cartwright"], ["address", "Rea Leuschke"], ["created_at", "2018-09-05 05:38:23.797967"], ["updated_at", "2018-09-05 05:38:23.797967"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Diedre Walker", "description"=>"Hobert Keeling", "name"=>"Mertie Bernier", "service_delivery_unit_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", 24], ["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", 23], ["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", "Diedre Walker"], ["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", "Diedre Walker"], ["name", "Mertie Bernier"], ["description", "Hobert Keeling"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:38:23.807772"], ["updated_at", "2018-09-05 05:38:23.807772"]]  (0.6ms) 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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 12ms (Views: 1.9ms | ActiveRecord: 5.7ms) 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]]  (1.2ms) 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", "ernest.schmidt@homenick.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", "Sadye Gibson"], ["last_name", "Janina Schaefer"], ["email", "ernest.schmidt@homenick.us"], ["password_digest", "$2a$04$ckND9aojdBXQqPU31PjPhu5FGMSrhqSPUvC/w6msgl3tv5wZU8Bra"], ["created_at", "2018-09-05 05:38:23.825317"], ["updated_at", "2018-09-05 05:38:23.825317"]]  (0.8ms) 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", "Guadalupe Koss"], ["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", "Guadalupe Koss"], ["name", "Wilmer Mosciski"], ["address", "Devora Yundt"], ["created_at", "2018-09-05 05:38:23.832751"], ["updated_at", "2018-09-05 05:38:23.832751"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Margurite Rohan", "name"=>"Bert Bradtke", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.6ms) 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", 24], ["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", ""], ["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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.09ms) Completed 422 Unprocessable Entity in 14ms (Views: 5.4ms | ActiveRecord: 4.7ms)  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) 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", "jim.kunze@heathcotekiehn.info"], ["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", "Lisa Thiel"], ["last_name", "Adan Schaefer"], ["email", "jim.kunze@heathcotekiehn.info"], ["password_digest", "$2a$04$3zn9/D2soWj4GceSS6XgT.Vvms/7TVpzochtun7mI5/PKHc1OF/Fm"], ["created_at", "2018-09-05 05:38:23.859553"], ["updated_at", "2018-09-05 05:38:23.859553"]]  (1.3ms) 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", "Rosendo Barrows"], ["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", "Rosendo Barrows"], ["name", "Hiroko Stracke"], ["address", "Kendall Lehner"], ["created_at", "2018-09-05 05:38:23.875819"], ["updated_at", "2018-09-05 05:38:23.875819"]]  (2.0ms) 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", "Emilio 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", "Emilio Smitham"], ["name", "Debera VonRueden"], ["description", "Jon Muller"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:38:23.883406"], ["updated_at", "2018-09-05 05:38:23.883406"]]  (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", "Lino Ritchie"], ["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", "Kyra Borer"], ["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", "Lino Ritchie"], ["name", "Kyra Borer"], ["created_at", "2018-09-05 05:38:23.890396"], ["updated_at", "2018-09-05 05:38:23.890396"]]  (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", "Keenan Goodwin"], ["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", "Keenan Goodwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.895374"], ["updated_at", "2018-09-05 05:38:23.895374"]]  (0.7ms) 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", "Sirena Russel"], ["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", "Sirena Russel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:23.901112"], ["updated_at", "2018-09-05 05:38:23.901112"]]  (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", "Shelli Kovacek"], ["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", "Shelli Kovacek"], ["name", "Benny Frami"], ["address", "Lamont Haag"], ["created_at", "2018-09-05 05:38:23.905839"], ["updated_at", "2018-09-05 05:38:23.905839"]]  (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", "Joslyn Sanford"], ["service_delivery_unit_id", 26], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Joslyn Sanford"], ["name", "Deirdre Waters"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:38:23.911148"], ["updated_at", "2018-09-05 05:38:23.911148"]] 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", 26], ["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", "Joslyn Sanford"], ["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", "Joslyn Sanford"], ["name", "Deirdre Waters"], ["description", "Default bundle for service 'Deirdre Waters'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:38:23.918206"], ["updated_at", "2018-09-05 05:38:23.918206"]] 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", 30], ["chargeable_service_id", 12]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (2.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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 29], ["LIMIT", 1]] Unpermitted parameter: :id Mks::Auth::User Load (1.2ms) 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 Hash (0.09ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 3.0ms)  (0.7ms) ROLLBACK  (0.7ms) 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", "karey_welch@gerlach.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", "Rubye Dach"], ["last_name", "Erick O'Keefe"], ["email", "karey_welch@gerlach.biz"], ["password_digest", "$2a$04$JA03y9rFGhkZh79QHL61cuFMjRKyEBK4LIS/aEzqEnR.9ovxLRTca"], ["created_at", "2018-09-05 05:38:23.950745"], ["updated_at", "2018-09-05 05:38:23.950745"]]  (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", "Keven Gerhold"], ["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", "Keven Gerhold"], ["name", "David Satterfield"], ["address", "Lashawn Hyatt"], ["created_at", "2018-09-05 05:38:23.956436"], ["updated_at", "2018-09-05 05:38:23.956436"]]  (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", "Scarlett Stamm"], ["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", "Scarlett Stamm"], ["name", "Valery Braun"], ["description", "Louise Koss"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:38:23.961245"], ["updated_at", "2018-09-05 05:38:23.961245"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Margie Emard"}, "id"=>"31"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["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", 31], ["LIMIT", 1]]  (0.6ms) 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", 27], ["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", "Scarlett Stamm"], ["id", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (0.9ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Margie Emard"], ["updated_at", "2018-09-05 05:38:23.973269"], ["id", 31]]  (0.7ms) 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", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.34ms) Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 6.6ms) Mks::Rate::ServiceBundle Load (1.3ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (1.1ms) 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", "adaline@smith.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", "Keira Hackett"], ["last_name", "Brittanie Schmidt"], ["email", "adaline@smith.co.uk"], ["password_digest", "$2a$04$LelKh2g1jfpJuFZA5iIWKOYKUiiHOadgZli2aqnSpDRPIQlcL.LJO"], ["created_at", "2018-09-05 05:38:23.991757"], ["updated_at", "2018-09-05 05:38:23.991757"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.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", "Maris Ortiz"], ["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", "Maris Ortiz"], ["name", "Cecille Hansen"], ["address", "Jeffie Gleichner"], ["created_at", "2018-09-05 05:38:23.999844"], ["updated_at", "2018-09-05 05:38:23.999844"]]  (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", "Bennie Upton"], ["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", "Bennie Upton"], ["name", "Lucila Jaskolski"], ["description", "Shenita Wehner"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:38:24.004738"], ["updated_at", "2018-09-05 05:38:24.004738"]]  (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", "Davida Streich"], ["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", "Davida Streich"], ["name", "Jenell Rowe"], ["address", "Fatimah Haley"], ["created_at", "2018-09-05 05:38:24.009744"], ["updated_at", "2018-09-05 05:38:24.009744"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Blanch Hartmann", "description"=>"Avery Borer", "name"=>"Charity Roob", "service_delivery_unit_id"=>"29"}, "id"=>"32"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["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", 32], ["LIMIT", 1]]  (1.0ms) 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", 29], ["LIMIT", 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", "Blanch Hartmann"], ["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (2.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", "Blanch Hartmann"], ["name", "Charity Roob"], ["description", "Avery Borer"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:38:24.024432"], ["id", 32]]  (1.7ms) RELEASE 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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.27ms) Completed 200 OK in 18ms (Views: 1.9ms | ActiveRecord: 10.0ms)  (1.0ms) ROLLBACK  (0.7ms) 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", "marybeth_wiegand@kuhn.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", "Jenine Stoltenberg"], ["last_name", "Chloe Christiansen"], ["email", "marybeth_wiegand@kuhn.biz"], ["password_digest", "$2a$04$vVtsQxfZ71d5sC8I1yPo2O0V2Eg2dCgv82UbENq/MQprWE2yrDHpe"], ["created_at", "2018-09-05 05:38:24.041868"], ["updated_at", "2018-09-05 05:38:24.041868"]]  (0.8ms) 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", "Alexandria Hauck"], ["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", "Alexandria Hauck"], ["name", "Donita Rohan"], ["address", "Agueda Pouros"], ["created_at", "2018-09-05 05:38:24.049369"], ["updated_at", "2018-09-05 05:38:24.049369"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Jeri Mertz"], ["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", "Jeri Mertz"], ["name", "Fredric Satterfield"], ["description", "Annika Mitchell"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:38:24.058566"], ["updated_at", "2018-09-05 05:38:24.058566"]]  (0.7ms) 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", "Daren Zulauf"], ["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", "Daren Zulauf"], ["name", "Keneth O'Connell"], ["address", "Elsa Bechtelar"], ["created_at", "2018-09-05 05:38:24.065294"], ["updated_at", "2018-09-05 05:38:24.065294"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Wally Trantow", "name"=>"Devin Jewess", "service_delivery_unit_id"=>"31"}, "id"=>"33"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["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", 33], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_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", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (2.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", ""], ["id", 33], ["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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 15ms (Views: 1.2ms | ActiveRecord: 7.9ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "millicent@littel.co.uk"], ["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", "Pattie Paucek"], ["last_name", "Sherwood Jacobs"], ["email", "millicent@littel.co.uk"], ["password_digest", "$2a$04$49SrWPl7dR7ZqRy9NnHRTuptn.T/J9PzjjRSMA2Bu.HjIiYlox7yG"], ["created_at", "2018-09-05 05:38:24.094684"], ["updated_at", "2018-09-05 05:38:24.094684"]]  (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", "Jaymie Harris"], ["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", "Jaymie Harris"], ["name", "Tarra Adams"], ["address", "Chloe Altenwerth"], ["created_at", "2018-09-05 05:38:24.101665"], ["updated_at", "2018-09-05 05:38:24.101665"]]  (0.6ms) 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", "Ricarda Schimmel"], ["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", "Ricarda Schimmel"], ["name", "Moses Haag"], ["address", "Arlena Okuneva"], ["created_at", "2018-09-05 05:38:24.106751"], ["updated_at", "2018-09-05 05:38:24.106751"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nisha Mann"], ["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", "Nisha Mann"], ["name", "Ruthann Quitzon"], ["address", "Reginald Dach"], ["created_at", "2018-09-05 05:38:24.114829"], ["updated_at", "2018-09-05 05:38:24.114829"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) 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.83ms) Completed 200 OK in 17ms (Views: 12.9ms | ActiveRecord: 3.4ms)  (1.4ms) ROLLBACK  (0.5ms) BEGIN  (2.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", "danica@lueilwitz.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", "Hyon Stracke"], ["last_name", "Tabetha Metz"], ["email", "danica@lueilwitz.info"], ["password_digest", "$2a$04$lBjQzbFJr/lPbpzDlX182O2bN2NS4MeYniXq2GihXbBwWBqQBdaPi"], ["created_at", "2018-09-05 05:38:24.149917"], ["updated_at", "2018-09-05 05:38:24.149917"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Hunter Reilly", "code"=>"Shenna Barrows", "name"=>"Eun Thiel"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["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", "Shenna Barrows"], ["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", "Shenna Barrows"], ["name", "Eun Thiel"], ["address", "Hunter Reilly"], ["created_at", "2018-09-05 05:38:24.159138"], ["updated_at", "2018-09-05 05:38:24.159138"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms (ActiveRecord: 3.8ms)  (0.8ms) 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", "jacquelin@klein.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", "Crysta Ebert"], ["last_name", "Artie Gleason"], ["email", "jacquelin@klein.co.uk"], ["password_digest", "$2a$04$BHj5WNZGslVrb9UBZqxH8eDASPV.tXF5aUpFGifvrY5f7EPHNTgGm"], ["created_at", "2018-09-05 05:38:24.171155"], ["updated_at", "2018-09-05 05:38:24.171155"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Annette Heaney", "code"=>"Nicky Mayert", "name"=>"Meghan Orn"}} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 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", "Nicky Mayert"], ["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 Mayert"], ["name", "Meghan Orn"], ["address", "Annette Heaney"], ["created_at", "2018-09-05 05:38:24.182220"], ["updated_at", "2018-09-05 05:38:24.182220"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 9ms (ActiveRecord: 4.9ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "cecila_kutch@leannon.com"], ["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", "Mariam Lakin"], ["last_name", "Gina Flatley"], ["email", "cecila_kutch@leannon.com"], ["password_digest", "$2a$04$xBdP9ixtIWwUbPIQ3fM0duMwvt7M48MNx.zJjryEDKyZtmLBSeZrq"], ["created_at", "2018-09-05 05:38:24.192754"], ["updated_at", "2018-09-05 05:38:24.192754"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Melissia Mante", "code"=>"", "name"=>"Jerrell Reichel"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 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", ""], ["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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.2ms | ActiveRecord: 4.0ms)  (0.7ms) ROLLBACK  (0.8ms) BEGIN  (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", "alfreda.kub@weissnat.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", "Brianna Simonis"], ["last_name", "Hilde O'Kon"], ["email", "alfreda.kub@weissnat.biz"], ["password_digest", "$2a$04$LDjBCa9T1gX.SFvBRdvuAuBJnKHvlwfyt1kvAHZWNs46zFlhUpTPO"], ["created_at", "2018-09-05 05:38:24.217870"], ["updated_at", "2018-09-05 05:38:24.217870"]]  (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", "Fredrick Ebert"], ["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", "Fredrick Ebert"], ["name", "Keena Keebler"], ["address", "Jessi Stamm"], ["created_at", "2018-09-05 05:38:24.224199"], ["updated_at", "2018-09-05 05:38:24.224199"]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["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", 37], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Fredrick Ebert"], ["id", 37], ["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 05:38:24.236110"], ["id", 37]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 9ms (ActiveRecord: 4.5ms)  (0.6ms) 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", "gale@mantetromp.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", "Manda Jacobi"], ["last_name", "Anissa Robel"], ["email", "gale@mantetromp.co.uk"], ["password_digest", "$2a$04$XCLOhZUMFy8ppCdfBLqGVOq0rnOe4BmHCNcHZdXtW/S1Nbaqe0/Oi"], ["created_at", "2018-09-05 05:38:24.248926"], ["updated_at", "2018-09-05 05:38:24.248926"]]  (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", "Salvatore Roob"], ["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", "Salvatore Roob"], ["name", "Lucio Dicki"], ["address", "Diedre Sanford"], ["created_at", "2018-09-05 05:38:24.253859"], ["updated_at", "2018-09-05 05:38:24.253859"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["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", 38], ["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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Salvatore Roob"], ["id", 38], ["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", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.2ms | ActiveRecord: 5.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (4.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "sharice_conn@beer.name"], ["LIMIT", 1]] Mks::Auth::User Create (4.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", "Shondra Stroman"], ["last_name", "Melani Zboncak"], ["email", "sharice_conn@beer.name"], ["password_digest", "$2a$04$9OVhaRKloxMPjnp3GNJh3u/r/87fnB3yBIeKanpBg1hk.Iet87QnW"], ["created_at", "2018-09-05 05:38:24.282503"], ["updated_at", "2018-09-05 05:38:24.282503"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Sherrell Braun"], ["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", "Daren Altenwerth"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (4.4ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sherrell Braun"], ["name", "Daren Altenwerth"], ["description", "Non dicta eligendi beatae recusandae explicabo consectetur sunt. Minus molestiae ea eos perspiciatis. Sit eveniet libero illo in ullam doloremque."], ["created_at", "2018-09-05 05:38:24.419657"], ["updated_at", "2018-09-05 05:38:24.419657"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (2.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Christinia Aufderhar"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Micah Boyle"], ["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", "Christinia Aufderhar"], ["name", "Micah Boyle"], ["description", "Deserunt et quis ad aliquam aut. Ut sed non repellendus non. Et tempora laudantium sint error iste eos dolor."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:38:24.435949"], ["updated_at", "2018-09-05 05:38:24.435949"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Mireille Romaguera"], ["LIMIT", 1]] Mks::Edm::Equipment Create (6.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", "Mireille Romaguera"], ["name", "Berenice Robel"], ["description", "Anabel Bayer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:38:24.443673"], ["updated_at", "2018-09-05 05:38:24.443673"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Bibi Murazik"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Flo Bode"], ["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", "Bibi Murazik"], ["name", "Flo Bode"], ["description", "Delora Hegmann"], ["created_at", "2018-09-05 05:38:24.497820"], ["updated_at", "2018-09-05 05:38:24.497820"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Belen Funk"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.6ms) 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", "Belen Funk"], ["name", "Jimmie Hoeger"], ["location_type_id", 1], ["description", "Kemberly Nienow"], ["address", "Kam Rippin"], ["created_at", "2018-09-05 05:38:24.505399"], ["updated_at", "2018-09-05 05:38:24.505399"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Christian Hartmann"], ["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", "Cory Wyman"], ["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", "Christian Hartmann"], ["name", "Gretta Kutch"], ["description", "Aliza Gulgowski"], ["serial_number", "Cory Wyman"], ["brand", "Dia Schaden"], ["item_model", "Indira Lemke"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:38:24.517425"], ["updated_at", "2018-09-05 05:38:24.517425"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Virgil Halvorson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Santa Cummings"], ["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", "Virgil Halvorson"], ["name", "Santa Cummings"], ["created_at", "2018-09-05 05:38:24.530204"], ["updated_at", "2018-09-05 05:38:24.530204"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Clarinda Vandervort"], ["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", "Clarinda Vandervort"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.537295"], ["updated_at", "2018-09-05 05:38:24.537295"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (3.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Merrilee Borer"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (4.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Merrilee Borer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.547435"], ["updated_at", "2018-09-05 05:38:24.547435"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Paulette Collier"], ["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", "Paulette Collier"], ["name", "Cathryn Stamm"], ["address", "Buck Graham"], ["created_at", "2018-09-05 05:38:24.561016"], ["updated_at", "2018-09-05 05:38:24.561016"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (3.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", "Terrance VonRueden"], ["service_delivery_unit_id", 39], ["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", "Terrance VonRueden"], ["name", "Venice Wiegand"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:38:24.569612"], ["updated_at", "2018-09-05 05:38:24.569612"]] 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", 39], ["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", "Terrance VonRueden"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Terrance VonRueden"], ["name", "Venice Wiegand"], ["description", "Default bundle for service 'Venice Wiegand'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:38:24.575432"], ["updated_at", "2018-09-05 05:38:24.575432"]] 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", 34], ["chargeable_service_id", 13]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:38:24.584848"], ["updated_at", "2018-09-05 05:38:24.584848"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Milagro O'Connell"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Collin Bergstrom"], ["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", "Milagro O'Connell"], ["name", "Collin Bergstrom"], ["description", "Autem fugit quasi ipsum omnis sed mollitia vero eos. Impedit deleniti amet tenetur at accusamus quae. Et ullam quae porro asperiores sit et exercitationem vitae. Vero sequi dolor exercitationem dolores ex ea voluptatem."], ["created_at", "2018-09-05 05:38:24.595244"], ["updated_at", "2018-09-05 05:38:24.595244"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Tona Powlowski"], ["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", "Ehtel Emmerich"], ["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", "Tona Powlowski"], ["name", "Ehtel Emmerich"], ["description", "Cum velit nobis ratione exercitationem amet et. Vel est culpa et neque. Nisi id ea assumenda fugiat. Illum quibusdam eligendi totam quia quas."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:38:24.601187"], ["updated_at", "2018-09-05 05:38:24.601187"]]  (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", "Zetta Shields"], ["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", "Zetta Shields"], ["name", "Leanora Beer"], ["description", "Trudi Baumbach"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:38:24.606182"], ["updated_at", "2018-09-05 05:38:24.606182"]]  (0.5ms) 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", "Jonah Cummerata"], ["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", "Kristi Gerlach"], ["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", "Jonah Cummerata"], ["name", "Kristi Gerlach"], ["description", "Laurence Goodwin"], ["created_at", "2018-09-05 05:38:24.614261"], ["updated_at", "2018-09-05 05:38:24.614261"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Kaci Funk"], ["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", "Kaci Funk"], ["name", "Lashanda Lindgren"], ["location_type_id", 2], ["description", "Mary Romaguera"], ["address", "Ezra Mraz"], ["created_at", "2018-09-05 05:38:24.620543"], ["updated_at", "2018-09-05 05:38:24.620543"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Elina Ortiz"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Cherelle Kassulke"], ["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", "Elina Ortiz"], ["name", "Karmen Murray"], ["description", "India Romaguera"], ["serial_number", "Cherelle Kassulke"], ["brand", "Dorinda O'Conner"], ["item_model", "Brianna Hermann"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:38:24.628104"], ["updated_at", "2018-09-05 05:38:24.628104"]]  (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", "Annis Steuber"], ["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", "Giovanna Gulgowski"], ["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", "Annis Steuber"], ["name", "Giovanna Gulgowski"], ["created_at", "2018-09-05 05:38:24.635687"], ["updated_at", "2018-09-05 05:38:24.635687"]]  (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", "Anneliese Rau"], ["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", "Anneliese Rau"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.640336"], ["updated_at", "2018-09-05 05:38:24.640336"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Darrell Labadie"], ["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", "Darrell Labadie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.647559"], ["updated_at", "2018-09-05 05:38:24.647559"]]  (0.8ms) 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", "Chas Rath"], ["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", "Chas Rath"], ["name", "Claudia Haag"], ["address", "Vennie Blanda"], ["created_at", "2018-09-05 05:38:24.654271"], ["updated_at", "2018-09-05 05:38:24.654271"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Leslee Sawayn"], ["service_delivery_unit_id", 40], ["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", "Leslee Sawayn"], ["name", "Eddy Greenfelder"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:38:24.660198"], ["updated_at", "2018-09-05 05:38:24.660198"]] 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", 40], ["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", "Leslee Sawayn"], ["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", "Leslee Sawayn"], ["name", "Eddy Greenfelder"], ["description", "Default bundle for service 'Eddy Greenfelder'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:38:24.666587"], ["updated_at", "2018-09-05 05:38:24.666587"]] 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", 35], ["chargeable_service_id", 14]]  (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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:38:24.672519"], ["updated_at", "2018-09-05 05:38:24.672519"]]  (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", "Claud Toy"], ["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", "Ardith Borer"], ["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", "Claud Toy"], ["name", "Ardith Borer"], ["description", "Recusandae quis autem molestias harum voluptas vel non. Deserunt sed iste laborum aperiam quos voluptatem aspernatur. Mollitia voluptate omnis temporibus quia quia perferendis. Dolores rerum adipisci amet aut quas."], ["created_at", "2018-09-05 05:38:24.681630"], ["updated_at", "2018-09-05 05:38:24.681630"]]  (0.7ms) 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", "Penni Gibson"], ["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", "Carmelina Bartell"], ["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", "Penni Gibson"], ["name", "Carmelina Bartell"], ["description", "Consequuntur eius blanditiis nobis autem ipsum ad veniam quibusdam. Enim qui tempora harum vel ut voluptatem ut et. Enim qui minima soluta accusantium dolor voluptates architecto nisi. Qui sapiente aliquid natus voluptate assumenda voluptas consequatur et. Sed praesentium quas et qui iusto qui."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:38:24.687666"], ["updated_at", "2018-09-05 05:38:24.687666"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Ashleigh Doyle"], ["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", "Ashleigh Doyle"], ["name", "Albertha Dooley"], ["description", "Noma Maggio"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:38:24.694356"], ["updated_at", "2018-09-05 05:38:24.694356"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Dominica Metz"], ["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", "Lori Schinner"], ["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", "Dominica Metz"], ["name", "Lori Schinner"], ["description", "Deena Johnston"], ["created_at", "2018-09-05 05:38:24.701459"], ["updated_at", "2018-09-05 05:38:24.701459"]]  (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", "Jae Hackett"], ["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", "Jae Hackett"], ["name", "Patrick Schiller"], ["location_type_id", 3], ["description", "Cinda Kertzmann"], ["address", "Karren Moore"], ["created_at", "2018-09-05 05:38:24.705922"], ["updated_at", "2018-09-05 05:38:24.705922"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Tawna Smitham"], ["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", "Mohammad Heathcote"], ["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", "Tawna Smitham"], ["name", "Haywood Sauer"], ["description", "Terrence Kulas"], ["serial_number", "Mohammad Heathcote"], ["brand", "Olen Hayes"], ["item_model", "Mahalia Morar"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:38:24.713701"], ["updated_at", "2018-09-05 05:38:24.713701"]]  (0.5ms) 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", "Lawerence Hoppe"], ["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", "Nellie Harber"], ["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", "Lawerence Hoppe"], ["name", "Nellie Harber"], ["created_at", "2018-09-05 05:38:24.720346"], ["updated_at", "2018-09-05 05:38:24.720346"]]  (0.8ms) 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", "Deandrea Fahey"], ["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", "Deandrea Fahey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.726321"], ["updated_at", "2018-09-05 05:38:24.726321"]]  (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", "Weston Boyer"], ["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", "Weston Boyer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.732701"], ["updated_at", "2018-09-05 05:38:24.732701"]]  (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", "Len Russel"], ["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", "Len Russel"], ["name", "Gale Block"], ["address", "Olga Bruen"], ["created_at", "2018-09-05 05:38:24.737139"], ["updated_at", "2018-09-05 05:38:24.737139"]]  (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", "Dominic Oberbrunner"], ["service_delivery_unit_id", 41], ["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", "Dominic Oberbrunner"], ["name", "Georgina Schumm"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:38:24.741964"], ["updated_at", "2018-09-05 05:38:24.741964"]] 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", 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 LIMIT $2 [["code", "Dominic Oberbrunner"], ["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", "Dominic Oberbrunner"], ["name", "Georgina Schumm"], ["description", "Default bundle for service 'Georgina Schumm'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:38:24.749152"], ["updated_at", "2018-09-05 05:38:24.749152"]] 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", 36], ["chargeable_service_id", 15]]  (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", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:38:24.755120"], ["updated_at", "2018-09-05 05:38:24.755120"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#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", 36], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (1.0ms) 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", 13], ["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", 1], ["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", 14], ["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", 2], ["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", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.0ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.29ms) Completed 500 Internal Server Error in 17ms (ActiveRecord: 7.2ms)  (1.1ms) 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", "bertram.dietrich@hirthe.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", "Nikki Yundt"], ["last_name", "Rolf Lakin"], ["email", "bertram.dietrich@hirthe.us"], ["password_digest", "$2a$04$gLUGc2WIDdDEahSJsG7g4uYSM2CgABIeP9D9DRFmcFdkJLEAQsF8S"], ["created_at", "2018-09-05 05:38:24.784762"], ["updated_at", "2018-09-05 05:38:24.784762"]]  (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", "Faith Douglas"], ["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", "Saran Powlowski"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (2.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Faith Douglas"], ["name", "Saran Powlowski"], ["description", "Aut fugit dicta aperiam dolorem. Sit nisi ex odit dicta voluptate. Et ut ut ea excepturi quo. Aperiam sunt eos velit sapiente."], ["created_at", "2018-09-05 05:38:24.792186"], ["updated_at", "2018-09-05 05:38:24.792186"]]  (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", "Neoma Schuppe"], ["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", "Lavon McDermott"], ["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", "Neoma Schuppe"], ["name", "Lavon McDermott"], ["description", "Quia sed qui quod aliquam excepturi non. Iure a velit fugit pariatur qui. Tempore voluptatem maiores ullam esse quia sunt ipsum. Sapiente sequi libero similique ipsum amet eos ad."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:38:24.799574"], ["updated_at", "2018-09-05 05:38:24.799574"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Cierra Blanda"], ["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", "Cierra Blanda"], ["name", "Tanisha Towne"], ["description", "Christian Oberbrunner"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:38:24.803816"], ["updated_at", "2018-09-05 05:38:24.803816"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Corrina Moore"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Chang Bruen"], ["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", "Corrina Moore"], ["name", "Chang Bruen"], ["description", "Imelda Price"], ["created_at", "2018-09-05 05:38:24.811664"], ["updated_at", "2018-09-05 05:38:24.811664"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Jinny Satterfield"], ["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", "Jinny Satterfield"], ["name", "Chang Borer"], ["location_type_id", 4], ["description", "Rosanne Grant"], ["address", "Cody Paucek"], ["created_at", "2018-09-05 05:38:24.819370"], ["updated_at", "2018-09-05 05:38:24.819370"]]  (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", "Kenia Turner"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Eusebia Sauer"], ["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", "Kenia Turner"], ["name", "Elena Wisoky"], ["description", "Chante Johns"], ["serial_number", "Eusebia Sauer"], ["brand", "Audrey Price"], ["item_model", "Eboni Runolfsdottir"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:38:24.828095"], ["updated_at", "2018-09-05 05:38:24.828095"]]  (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", "Thea Schulist"], ["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", "Chantell Kuphal"], ["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", "Thea Schulist"], ["name", "Chantell Kuphal"], ["created_at", "2018-09-05 05:38:24.835903"], ["updated_at", "2018-09-05 05:38:24.835903"]]  (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", "Launa Glover"], ["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", "Launa Glover"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.840806"], ["updated_at", "2018-09-05 05:38:24.840806"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Kristofer 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", "Kristofer Huels"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.846953"], ["updated_at", "2018-09-05 05:38:24.846953"]]  (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", "Rosemarie Harber"], ["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", "Rosemarie Harber"], ["name", "Janie Graham"], ["address", "Jenifer Bode"], ["created_at", "2018-09-05 05:38:24.851959"], ["updated_at", "2018-09-05 05:38:24.851959"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Fredricka Prohaska"], ["service_delivery_unit_id", 42], ["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", "Fredricka Prohaska"], ["name", "Sharri Effertz"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:38:24.856904"], ["updated_at", "2018-09-05 05:38:24.856904"]] 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", 42], ["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", "Fredricka Prohaska"], ["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", "Fredricka Prohaska"], ["name", "Sharri Effertz"], ["description", "Default bundle for service 'Sharri Effertz'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:38:24.862702"], ["updated_at", "2018-09-05 05:38:24.862702"]] 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", 37], ["chargeable_service_id", 16]]  (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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:38:24.869120"], ["updated_at", "2018-09-05 05:38:24.869120"]]  (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", "Nakesha Murphy"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (2.2ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Kimbra Bayer"], ["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", "Nakesha Murphy"], ["name", "Kimbra Bayer"], ["description", "Dolores sit quasi voluptas culpa qui qui reiciendis. Quam alias et omnis est. Autem consequatur omnis sequi aperiam. Excepturi voluptas eaque dolor quae recusandae quod qui sequi. Quis quae enim sit eum praesentium vitae quasi."], ["created_at", "2018-09-05 05:38:24.878220"], ["updated_at", "2018-09-05 05:38:24.878220"]]  (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", "Lee Gottlieb"], ["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", "Raeann Morissette"], ["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", "Lee Gottlieb"], ["name", "Raeann Morissette"], ["description", "Quaerat exercitationem similique nulla sed. Ipsum fugiat sit sint sed occaecati non nulla. Quidem voluptate magnam aut et libero qui."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:38:24.884315"], ["updated_at", "2018-09-05 05:38:24.884315"]]  (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", "Thresa Crooks"], ["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", "Thresa Crooks"], ["name", "Gillian Sanford"], ["description", "Cathern Ratke"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:38:24.889333"], ["updated_at", "2018-09-05 05:38:24.889333"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Marlen Lindgren"], ["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", "Moses Hartmann"], ["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", "Marlen Lindgren"], ["name", "Moses Hartmann"], ["description", "Edgar Beier"], ["created_at", "2018-09-05 05:38:24.902077"], ["updated_at", "2018-09-05 05:38:24.902077"]]  (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", "Evonne Corwin"], ["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", "Evonne Corwin"], ["name", "Nidia Franecki"], ["location_type_id", 5], ["description", "Martine Stoltenberg"], ["address", "Arleen Rutherford"], ["created_at", "2018-09-05 05:38:24.906441"], ["updated_at", "2018-09-05 05:38:24.906441"]]  (2.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Shery Collins"], ["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", "Treva Hoppe"], ["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", "Shery Collins"], ["name", "Judy Stoltenberg"], ["description", "Merna Bartell"], ["serial_number", "Treva Hoppe"], ["brand", "Estefana Predovic"], ["item_model", "Sheree Murazik"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:38:24.915363"], ["updated_at", "2018-09-05 05:38:24.915363"]]  (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", "Hugh Oga"], ["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", "See Mosciski"], ["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", "Hugh Oga"], ["name", "See Mosciski"], ["created_at", "2018-09-05 05:38:24.921769"], ["updated_at", "2018-09-05 05:38:24.921769"]]  (0.4ms) 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", "Fredericka O'Connell"], ["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", "Fredericka O'Connell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.926759"], ["updated_at", "2018-09-05 05:38:24.926759"]]  (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", "Willia Bailey"], ["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", "Willia Bailey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:24.932179"], ["updated_at", "2018-09-05 05:38:24.932179"]]  (0.7ms) 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", "Sherwood Davis"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (11.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sherwood Davis"], ["name", "Bryant Parker"], ["address", "Porsha Klocko"], ["created_at", "2018-09-05 05:38:24.938132"], ["updated_at", "2018-09-05 05:38:24.938132"]]  (0.8ms) 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", "Deeanna Kessler"], ["service_delivery_unit_id", 43], ["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", "Deeanna Kessler"], ["name", "Margert Daugherty"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:38:24.953742"], ["updated_at", "2018-09-05 05:38:24.953742"]] 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", 43], ["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", "Deeanna Kessler"], ["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", "Deeanna Kessler"], ["name", "Margert Daugherty"], ["description", "Default bundle for service 'Margert Daugherty'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:38:24.959160"], ["updated_at", "2018-09-05 05:38:24.959160"]] 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", 38], ["chargeable_service_id", 17]]  (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", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:38:24.965756"], ["updated_at", "2018-09-05 05:38:24.965756"]]  (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", "Tiffaney Beer"], ["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", "Wilhemina Muller"], ["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", "Tiffaney Beer"], ["name", "Wilhemina Muller"], ["description", "Inventore quod iusto similique sit. Temporibus atque sed aspernatur illum in quia fugit. Quisquam iure ut reiciendis autem nesciunt ea vero. Quis alias consequatur enim ut tempora."], ["created_at", "2018-09-05 05:38:24.972639"], ["updated_at", "2018-09-05 05:38:24.972639"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Nichelle Raynor"], ["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", "Maynard Marks"], ["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", "Nichelle Raynor"], ["name", "Maynard Marks"], ["description", "Amet molestiae aut accusamus quod voluptate. Similique voluptas et ea inventore eveniet aut et. Non distinctio aut ut nostrum autem. Hic repudiandae et sed et maiores deserunt. Aliquam voluptas vel labore ipsum."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:38:24.979845"], ["updated_at", "2018-09-05 05:38:24.979845"]]  (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", "Michael Durgan"], ["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", "Michael Durgan"], ["name", "Paola Little"], ["description", "Nannie Kub"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:38:24.984551"], ["updated_at", "2018-09-05 05:38:24.984551"]]  (0.7ms) 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", "Joanie Gutkowski"], ["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", "Julienne Schamberger"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Joanie Gutkowski"], ["name", "Julienne Schamberger"], ["description", "Therese Tremblay"], ["created_at", "2018-09-05 05:38:24.991103"], ["updated_at", "2018-09-05 05:38:24.991103"]]  (1.1ms) 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", "Haydee Schuppe"], ["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", "Haydee Schuppe"], ["name", "Brittny Watsica"], ["location_type_id", 6], ["description", "Princess Renner"], ["address", "Esteban Howell"], ["created_at", "2018-09-05 05:38:24.997809"], ["updated_at", "2018-09-05 05:38:24.997809"]]  (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", "Donetta Moen"], ["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", "Pearl Brakus"], ["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", "Donetta Moen"], ["name", "Lindsey Kub"], ["description", "Eleanore Waters"], ["serial_number", "Pearl Brakus"], ["brand", "Elliott Kreiger"], ["item_model", "Theo Quigley"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:38:25.003481"], ["updated_at", "2018-09-05 05:38:25.003481"]]  (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", "Louann Kuvalis"], ["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", "Angela Marvin"], ["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", "Louann Kuvalis"], ["name", "Angela Marvin"], ["created_at", "2018-09-05 05:38:25.010020"], ["updated_at", "2018-09-05 05:38:25.010020"]]  (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", "Breanna Pagac"], ["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", "Breanna Pagac"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.015305"], ["updated_at", "2018-09-05 05:38:25.015305"]]  (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", "Jodie Boyle"], ["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", "Jodie Boyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.020332"], ["updated_at", "2018-09-05 05:38:25.020332"]]  (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", "Magaret Cruickshank"], ["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", "Magaret Cruickshank"], ["name", "Paulene Quitzon"], ["address", "Ernesto Baumbach"], ["created_at", "2018-09-05 05:38:25.025672"], ["updated_at", "2018-09-05 05:38:25.025672"]]  (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", "Tyler Senger"], ["service_delivery_unit_id", 44], ["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", "Tyler Senger"], ["name", "Marcy Jaskolski"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:38:25.031895"], ["updated_at", "2018-09-05 05:38:25.031895"]] 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", 44], ["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", "Tyler Senger"], ["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", "Tyler Senger"], ["name", "Marcy Jaskolski"], ["description", "Default bundle for service 'Marcy Jaskolski'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:38:25.036615"], ["updated_at", "2018-09-05 05:38:25.036615"]] 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", 39], ["chargeable_service_id", 18]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.5ms) 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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:38:25.045305"], ["updated_at", "2018-09-05 05:38:25.045305"]]  (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", 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::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 16], ["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", 4], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 17], ["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", 5], ["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", 43], ["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", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (14.6ms) Completed 200 OK in 20ms (Views: 8.6ms | ActiveRecord: 9.6ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.3ms) 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", "marceline_jacobson@lang.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", "Claretta Schuppe"], ["last_name", "Jacqui Murazik"], ["email", "marceline_jacobson@lang.biz"], ["password_digest", "$2a$04$QyIPFs2HQvgyIGWshLSCtu93aPWujaAH1GP9HtxTEAEC4I7CPRNpa"], ["created_at", "2018-09-05 05:38:25.079587"], ["updated_at", "2018-09-05 05:38:25.079587"]]  (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", "Moira Baumbach"], ["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", "Vinnie D'Amore"], ["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", "Moira Baumbach"], ["name", "Vinnie D'Amore"], ["created_at", "2018-09-05 05:38:25.085436"], ["updated_at", "2018-09-05 05:38:25.085436"]]  (0.5ms) 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", 38], ["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", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) 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.25ms) Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 2.4ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "belva_schamberger@gerlachmckenzie.biz"], ["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", "Stephine Crooks"], ["last_name", "Amina Jones"], ["email", "belva_schamberger@gerlachmckenzie.biz"], ["password_digest", "$2a$04$HBrRJFJ3oxQ17z30KsedfugNpX8E9x1nzQqI6SYHNEdW.uoQaiJZ."], ["created_at", "2018-09-05 05:38:25.107023"], ["updated_at", "2018-09-05 05:38:25.107023"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Sherill Gorczany"], ["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", "Sharri McLaughlin"], ["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", "Sherill Gorczany"], ["name", "Sharri McLaughlin"], ["created_at", "2018-09-05 05:38:25.117150"], ["updated_at", "2018-09-05 05:38:25.117150"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} 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::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 21], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.31ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 2.2ms)  (1.3ms) 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", "eugena@wisozk.co.uk"], ["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", "Loreta Keebler"], ["last_name", "Tyrell Raynor"], ["email", "eugena@wisozk.co.uk"], ["password_digest", "$2a$04$4Z0VmheBbFiAPoak/dQokutm49Ik4JfqPZlQIAnKc2zf0TdrDjfl2"], ["created_at", "2018-09-05 05:38:25.135280"], ["updated_at", "2018-09-05 05:38:25.135280"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Ezekiel Simonis", "name"=>"Dorian Kuphal"}} Mks::Auth::User Load (2.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]]  (1.4ms) 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", "Ezekiel Simonis"], ["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", "Dorian Kuphal"], ["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", "Ezekiel Simonis"], ["name", "Dorian Kuphal"], ["created_at", "2018-09-05 05:38:25.148796"], ["updated_at", "2018-09-05 05:38:25.148796"]]  (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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.22ms) Completed 201 Created in 13ms (Views: 1.9ms | ActiveRecord: 7.0ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.6ms) ROLLBACK  (0.4ms) 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", "maria.carter@monahanchamplin.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", "Tashia Grimes"], ["last_name", "Leila Borer"], ["email", "maria.carter@monahanchamplin.com"], ["password_digest", "$2a$04$1pFW.U43w6u3qYJCYtY9juL74bKbgJtpWP9EYvcR5Cwo/Pykk7afm"], ["created_at", "2018-09-05 05:38:25.163721"], ["updated_at", "2018-09-05 05:38:25.163721"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Johnson Cremin", "name"=>"William Kassulke"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["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", "Johnson Cremin"], ["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", "William Kassulke"], ["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", "Johnson Cremin"], ["name", "William Kassulke"], ["created_at", "2018-09-05 05:38:25.173534"], ["updated_at", "2018-09-05 05:38:25.173534"]]  (0.6ms) 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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 201 Created in 11ms (Views: 2.3ms | ActiveRecord: 5.5ms) Mks::Rate::ServiceType Load (0.8ms) 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.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", "bula_windler@leannon.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", "Rachael Collins"], ["last_name", "Doyle Kilback"], ["email", "bula_windler@leannon.biz"], ["password_digest", "$2a$04$kl53.VQxbxRiJ6joocmjtOe3p0UqVdreM3UqFUJwTFGoQQgesquxu"], ["created_at", "2018-09-05 05:38:25.189802"], ["updated_at", "2018-09-05 05:38:25.189802"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Carmen Rippin"}} 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]]  (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", ""], ["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", "Carmen Rippin"], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.3ms | ActiveRecord: 4.8ms)  (0.7ms) 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", "glynda.pollich@swiftrosenbaum.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", "Lucrecia Wilderman"], ["last_name", "Darline Pacocha"], ["email", "glynda.pollich@swiftrosenbaum.biz"], ["password_digest", "$2a$04$LF56wCALincYqT0sATtHteclGbuYQ.M8COleP3i1E3xirPbJ6.ZcG"], ["created_at", "2018-09-05 05:38:25.213985"], ["updated_at", "2018-09-05 05:38:25.213985"]]  (0.6ms) 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", "Denae Bernier"], ["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", "Corrine Labadie"], ["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", "Denae Bernier"], ["name", "Corrine Labadie"], ["created_at", "2018-09-05 05:38:25.221207"], ["updated_at", "2018-09-05 05:38:25.221207"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Amelia Wehner"}, "id"=>"24"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["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", 24], ["LIMIT", 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Denae Bernier"], ["id", 24], ["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", "Amelia Wehner"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.8ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Amelia Wehner"], ["updated_at", "2018-09-05 05:38:25.234757"], ["id", 24]]  (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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.23ms) Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 6.0ms) 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", 24], ["LIMIT", 1]]  (0.6ms) 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", "margo@dietrich.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", "Argelia Stehr"], ["last_name", "Raeann Lowe"], ["email", "margo@dietrich.com"], ["password_digest", "$2a$04$3HWA./JhSAUdF.gfhiiFEOlTEtziGymFg5JhpTGdqOitOdcA/mhBu"], ["created_at", "2018-09-05 05:38:25.249384"], ["updated_at", "2018-09-05 05:38:25.249384"]]  (0.7ms) 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", "Usha Kiehn"], ["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", "Malissa Orn"], ["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", "Usha Kiehn"], ["name", "Malissa Orn"], ["created_at", "2018-09-05 05:38:25.256709"], ["updated_at", "2018-09-05 05:38:25.256709"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Shirleen Auer", "name"=>"Chi Sawayn"}, "id"=>"25"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["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", 25], ["LIMIT", 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Shirleen Auer"], ["id", 25], ["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", "Chi Sawayn"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.8ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Shirleen Auer"], ["name", "Chi Sawayn"], ["updated_at", "2018-09-05 05:38:25.268157"], ["id", 25]]  (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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.23ms) Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 5.7ms)  (0.6ms) ROLLBACK  (1.5ms) BEGIN  (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", "loriann@dicki.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", "Camie Friesen"], ["last_name", "Teena Carroll"], ["email", "loriann@dicki.biz"], ["password_digest", "$2a$04$B0.9FtnVYeLRrcMjD9/WEOkXAWbu3tTwBsIcqLMJyOUsrhkloSqR."], ["created_at", "2018-09-05 05:38:25.283513"], ["updated_at", "2018-09-05 05:38:25.283513"]]  (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", "Nathanael Stokes"], ["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", "Garnet Boehm"], ["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", "Nathanael Stokes"], ["name", "Garnet Boehm"], ["created_at", "2018-09-05 05:38:25.290083"], ["updated_at", "2018-09-05 05:38:25.290083"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Newton Osinski"}, "id"=>"26"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["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", 26], ["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", 26], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Newton Osinski"], ["id", 26], ["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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.0ms | ActiveRecord: 4.9ms)  (0.8ms) ROLLBACK  (0.6ms) 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", "kati@hartmannritchie.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", "Denese Gulgowski"], ["last_name", "Macie Mohr"], ["email", "kati@hartmannritchie.co.uk"], ["password_digest", "$2a$04$t9utzcilNz.r1WNFxna4K.8J25Khe1Sj3Q8TSZ8BqaIyPDqN.Y1wO"], ["created_at", "2018-09-05 05:38:25.313632"], ["updated_at", "2018-09-05 05:38:25.313632"]]  (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", "Janina Greenholt"], ["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", "Janina Greenholt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.319120"], ["updated_at", "2018-09-05 05:38:25.319120"]]  (0.5ms) 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", "Roslyn Marks"], ["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", "Roslyn Marks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.323697"], ["updated_at", "2018-09-05 05:38:25.323697"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Toshiko Bailey"], ["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", "Toshiko Bailey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.330464"], ["updated_at", "2018-09-05 05:38:25.330464"]]  (0.5ms) 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", 46], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" Completed 500 Internal Server Error in 3ms (ActiveRecord: 1.5ms)  (0.6ms) ROLLBACK  (1.4ms) BEGIN  (0.9ms) 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", "Amal Klein"], ["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", "Jasper Boyer"], ["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", "Amal Klein"], ["name", "Jasper Boyer"], ["created_at", "2018-09-05 05:38:25.348050"], ["updated_at", "2018-09-05 05:38:25.348050"]]  (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", "Rheba Parisian"], ["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", "Rheba Parisian"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.354409"], ["updated_at", "2018-09-05 05:38:25.354409"]]  (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", "Leora Weissnat"], ["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", "Leora Weissnat"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.359107"], ["updated_at", "2018-09-05 05:38:25.359107"]]  (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", "Kristan Bergstrom"], ["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", "Kristan Bergstrom"], ["name", "Shenna Herman"], ["address", "Julene Paucek"], ["created_at", "2018-09-05 05:38:25.365446"], ["updated_at", "2018-09-05 05:38:25.365446"]]  (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", "April Schiller"], ["service_delivery_unit_id", 45], ["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", "April Schiller"], ["name", "Marica Kozey"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:38:25.370399"], ["updated_at", "2018-09-05 05:38:25.370399"]] 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", 45], ["LIMIT", 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", "April Schiller"], ["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", "April Schiller"], ["name", "Marica Kozey"], ["description", "Default bundle for service 'Marica Kozey'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:38:25.377192"], ["updated_at", "2018-09-05 05:38:25.377192"]] 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", 19]]  (0.5ms) 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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "April Schiller"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.5ms) 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", "Naomi Strosin"], ["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", "Jeneva Thiel"], ["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", "Naomi Strosin"], ["name", "Jeneva Thiel"], ["created_at", "2018-09-05 05:38:25.390666"], ["updated_at", "2018-09-05 05:38:25.390666"]]  (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", "Coleman Weber"], ["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", "Coleman Weber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.396838"], ["updated_at", "2018-09-05 05:38:25.396838"]]  (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", "Kim Schiller"], ["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", "Kim Schiller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.401247"], ["updated_at", "2018-09-05 05:38:25.401247"]]  (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", "Hyun King"], ["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", "Hyun King"], ["name", "Vannessa Parker"], ["address", "Rosendo Armstrong"], ["created_at", "2018-09-05 05:38:25.405637"], ["updated_at", "2018-09-05 05:38:25.405637"]]  (0.5ms) RELEASE 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (0.5ms) 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", "Wes Gusikowski"], ["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", "Sallie Farrell"], ["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", "Wes Gusikowski"], ["name", "Sallie Farrell"], ["created_at", "2018-09-05 05:38:25.417348"], ["updated_at", "2018-09-05 05:38:25.417348"]]  (0.8ms) 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", "Lois Rogahn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lois Rogahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.423742"], ["updated_at", "2018-09-05 05:38:25.423742"]]  (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", "Merna Roob"], ["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", "Merna Roob"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.430231"], ["updated_at", "2018-09-05 05:38:25.430231"]]  (0.5ms) 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", "Nieves Ruecker"], ["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", "Nieves Ruecker"], ["name", "Cyrstal Torp"], ["address", "Wendolyn Fritsch"], ["created_at", "2018-09-05 05:38:25.434544"], ["updated_at", "2018-09-05 05:38:25.434544"]]  (0.6ms) 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", "Elba Hamill"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.7ms) BEGIN  (1.2ms) 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", "Claudie Kulas"], ["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", "Kimber Cole"], ["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", "Claudie Kulas"], ["name", "Kimber Cole"], ["created_at", "2018-09-05 05:38:25.447565"], ["updated_at", "2018-09-05 05:38:25.447565"]]  (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", "Gabriele Funk"], ["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", "Gabriele Funk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.452798"], ["updated_at", "2018-09-05 05:38:25.452798"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Cesar Murray"], ["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", "Cesar Murray"], ["name", "Noriko Baumbach"], ["address", "Delmar Cremin"], ["created_at", "2018-09-05 05:38:25.459172"], ["updated_at", "2018-09-05 05:38:25.459172"]]  (0.5ms) 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", "Laurena Walter"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.6ms) 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", "Lilliana Dickens"], ["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", "Lynn Nienow"], ["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", "Lilliana Dickens"], ["name", "Lynn Nienow"], ["created_at", "2018-09-05 05:38:25.470623"], ["updated_at", "2018-09-05 05:38:25.470623"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (3.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Desire Hoppe"], ["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", "Desire Hoppe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.477837"], ["updated_at", "2018-09-05 05:38:25.477837"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Leticia Reichel"], ["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", "Leticia Reichel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.484323"], ["updated_at", "2018-09-05 05:38:25.484323"]]  (0.6ms) 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" IS NULL LIMIT $2 [["code", "Claris Kovacek"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) 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", "Amal Sawayn"], ["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", "Clotilde 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", "Amal Sawayn"], ["name", "Clotilde Thompson"], ["created_at", "2018-09-05 05:38:25.497642"], ["updated_at", "2018-09-05 05:38:25.497642"]]  (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", "Cecelia Graham"], ["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", "Cecelia Graham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.502084"], ["updated_at", "2018-09-05 05:38:25.502084"]]  (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", "Mickie Mitchell"], ["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", "Mickie Mitchell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.506816"], ["updated_at", "2018-09-05 05:38:25.506816"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Wanita Reinger"], ["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", "Wanita Reinger"], ["name", "Abdul Maggio"], ["address", "Jerlene Gerlach"], ["created_at", "2018-09-05 05:38:25.512845"], ["updated_at", "2018-09-05 05:38:25.512845"]]  (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", "Bertie Johns"], ["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", "Bertie Johns"], ["name", "Shawana Jast"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:38:25.516958"], ["updated_at", "2018-09-05 05:38:25.516958"]] 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", 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", "Bertie Johns"], ["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", "Bertie Johns"], ["name", "Shawana Jast"], ["description", "Default bundle for service 'Shawana Jast'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:38:25.521909"], ["updated_at", "2018-09-05 05:38:25.521909"]] 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", 41], ["chargeable_service_id", 20]]  (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", "Odessa Koelpin"], ["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", "Rubye Borer"], ["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", "Odessa Koelpin"], ["name", "Rubye Borer"], ["created_at", "2018-09-05 05:38:25.534084"], ["updated_at", "2018-09-05 05:38:25.534084"]]  (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", "Shaina Mills"], ["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", "Shaina Mills"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.538978"], ["updated_at", "2018-09-05 05:38:25.538978"]]  (2.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Myrl Haley"], ["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", "Myrl Haley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.549401"], ["updated_at", "2018-09-05 05:38:25.549401"]]  (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"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Bertie Johns"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] 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", 49], ["LIMIT", 1]]  (1.2ms) 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", "See Lehner"], ["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", "Melba Kilback"], ["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", "See Lehner"], ["name", "Melba Kilback"], ["created_at", "2018-09-05 05:38:25.566843"], ["updated_at", "2018-09-05 05:38:25.566843"]]  (1.1ms) 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", "Evangelina Runolfsson"], ["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", "Evangelina Runolfsson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.571888"], ["updated_at", "2018-09-05 05:38:25.571888"]]  (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", "Alva Crooks"], ["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", "Alva Crooks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:25.576902"], ["updated_at", "2018-09-05 05:38:25.576902"]]  (0.5ms) 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", "Anja Labadie"], ["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", "Anja Labadie"], ["name", "Ilana Smith"], ["address", "Jennine Thompson"], ["created_at", "2018-09-05 05:38:25.581886"], ["updated_at", "2018-09-05 05:38:25.581886"]]  (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", "Maida Swaniawski"], ["service_delivery_unit_id", 50], ["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", "Maida Swaniawski"], ["name", "Elmer Gorczany"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:38:25.587063"], ["updated_at", "2018-09-05 05:38:25.587063"]] 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", 50], ["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", "Maida Swaniawski"], ["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", "Maida Swaniawski"], ["name", "Elmer Gorczany"], ["description", "Default bundle for service 'Elmer Gorczany'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:38:25.593544"], ["updated_at", "2018-09-05 05:38:25.593544"]] 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", 42], ["chargeable_service_id", 21]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.6ms) 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", 42]]  (0.6ms) ROLLBACK  (0.6ms) 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", "tarsha@schinner.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", "Hiram Windler"], ["last_name", "Antony O'Hara"], ["email", "tarsha@schinner.com"], ["password_digest", "$2a$04$PfVIaYvPwOl/qQXMs9p4Bulcv8d/7QgrZaLQBJlhxtFG.0v.sDfwK"], ["created_at", "2018-09-05 05:38:25.629800"], ["updated_at", "2018-09-05 05:38:25.629800"]]  (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", "detra@lebsackkrajcik.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", "Edwina Rodriguez"], ["last_name", "Connie Grant"], ["email", "detra@lebsackkrajcik.biz"], ["password_digest", "$2a$04$6BPzc86STX487/7SUb23le/XXwAPBHr0CjivJoUpHBlwufxzxKUhu"], ["created_at", "2018-09-05 05:38:25.638120"], ["updated_at", "2018-09-05 05:38:25.638120"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Devon DuBuque"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.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", "Devon DuBuque"], ["authorized_by", "Bettie Jenkins"], ["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", 47], ["approved_by_id", 48], ["created_at", "2018-09-05 05:38:25.645446"], ["updated_at", "2018-09-05 05:38:25.645446"]]  (0.5ms) 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" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Devon DuBuque"], ["id", 1], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "ashley_jerde@langworth.name"], ["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", "Shona Hauck"], ["last_name", "Mirian Welch"], ["email", "ashley_jerde@langworth.name"], ["password_digest", "$2a$04$TUUlGuSLojrmdsnwhC72G.Aa5WM9t9sArTQgO8MN1qYGb7U93Gl2G"], ["created_at", "2018-09-05 05:38:25.659338"], ["updated_at", "2018-09-05 05:38:25.659338"]]  (0.6ms) 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", "chassidy.kemmer@blanda.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", "Lorina Hermiston"], ["last_name", "Antonio Braun"], ["email", "chassidy.kemmer@blanda.info"], ["password_digest", "$2a$04$lUHC3eFmFi3/LhzsamGiX.MU.o2LOSf94Y1sOb0jixci2C4gpFQ2q"], ["created_at", "2018-09-05 05:38:25.667098"], ["updated_at", "2018-09-05 05:38:25.667098"]]  (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 LIMIT $2 [["reference_number", "Mandi Nitzsche"], ["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", "marlen.hilpert@dickens.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", "Synthia Rohan"], ["last_name", "Christopher Larkin"], ["email", "marlen.hilpert@dickens.co.uk"], ["password_digest", "$2a$04$mlr3p944bcxofS8AWWPfBe1Iap0VOSVcT2Y4wv6kuoImhgyzZM8tq"], ["created_at", "2018-09-05 05:38:25.681723"], ["updated_at", "2018-09-05 05:38:25.681723"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "sook_kling@sauerkuhn.biz"], ["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", "Wendolyn Metz"], ["last_name", "Caron Funk"], ["email", "sook_kling@sauerkuhn.biz"], ["password_digest", "$2a$04$HELXYrtMkUf6WSxTZMgVceVVpG/pnbzIzjlFnwT2/i2C/fXSjCI2G"], ["created_at", "2018-09-05 05:38:25.688765"], ["updated_at", "2018-09-05 05:38:25.688765"]]  (1.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.7ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) 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", "kimbery@mosciski.ca"], ["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", "Leslie Hilpert"], ["last_name", "Jerrold Wilkinson"], ["email", "kimbery@mosciski.ca"], ["password_digest", "$2a$04$oJd5it9j6zpWiCBplPsC7.LsSM1WUy8DNdI05oB.IlUuqaj0rI1Ry"], ["created_at", "2018-09-05 05:38:25.706310"], ["updated_at", "2018-09-05 05:38:25.706310"]]  (0.8ms) 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", "hisako@jakubowski.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", "Magda Boyle"], ["last_name", "Lavette Zulauf"], ["email", "hisako@jakubowski.biz"], ["password_digest", "$2a$04$4fk/Tbcg5WfHpbW3sCIvO.OBX8ufIxRhj1ougnWZWDSgmCeGzXzI2"], ["created_at", "2018-09-05 05:38:25.715054"], ["updated_at", "2018-09-05 05:38:25.715054"]]  (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", "Belkis Harris"], ["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", "Belkis Harris"], ["authorized_by", "Wanita Oberbrunner"], ["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", 53], ["approved_by_id", 54], ["created_at", "2018-09-05 05:38:25.719828"], ["updated_at", "2018-09-05 05:38:25.719828"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "na.mills@stehr.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", "Genevive O'Connell"], ["last_name", "Suzi Funk"], ["email", "na.mills@stehr.us"], ["password_digest", "$2a$04$9HLn85J..3kKphJoplbc1OIZd0yD9ECiOeg9jBYJhyO0vK6v7c1HK"], ["created_at", "2018-09-05 05:38:25.729084"], ["updated_at", "2018-09-05 05:38:25.729084"]]  (0.5ms) 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", "loralee.ratke@barrowsstanton.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", "Lena Metz"], ["last_name", "Aleen Abbott"], ["email", "loralee.ratke@barrowsstanton.co.uk"], ["password_digest", "$2a$04$yfmqOeQfK6aZmtrq7QHUGOpfPiWkoTDVPPTwQnOclpge6oajhOzp."], ["created_at", "2018-09-05 05:38:25.736075"], ["updated_at", "2018-09-05 05:38:25.736075"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Belkis Harris"], ["LIMIT", 1]]  (0.9ms) 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", "luis@osinskihansen.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", "Treva Schulist"], ["last_name", "Ronald Rath"], ["email", "luis@osinskihansen.us"], ["password_digest", "$2a$04$6v1eY7N0jj0NBjZFa.F5JOsE1M8Nw2G4KHs0WWPKY.CRFcbaoULoq"], ["created_at", "2018-09-05 05:38:25.755656"], ["updated_at", "2018-09-05 05:38:25.755656"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "breana.upton@predovic.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", "Waylon Johnson"], ["last_name", "Caron Barton"], ["email", "breana.upton@predovic.co.uk"], ["password_digest", "$2a$04$LIi3zYcJGfYexudOcyKyFeMVsAySjB3MGnf1m7nohoUVRpo.OufyC"], ["created_at", "2018-09-05 05:38:25.763440"], ["updated_at", "2018-09-05 05:38:25.763440"]]  (0.6ms) RELEASE 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", "Rema Hauck"], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.4ms) BEGIN  (1.4ms) 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", "sergio@leuschkejenkins.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", "Catrice Eichmann"], ["last_name", "Thalia Thiel"], ["email", "sergio@leuschkejenkins.us"], ["password_digest", "$2a$04$C0i2sFIcv1er5solGjFzNuWh3T1IHxm5X2ifPIDNJJX.wRpLAMl8q"], ["created_at", "2018-09-05 05:38:25.779552"], ["updated_at", "2018-09-05 05:38:25.779552"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.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", "deandrea@reicheldietrich.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", "Gemma Terry"], ["last_name", "Josie Daniel"], ["email", "deandrea@reicheldietrich.info"], ["password_digest", "$2a$04$thxckRoCokce8e.Ps1y3Y.4q1S4wTeOLLydBnpmlxCGCX9WjnTarC"], ["created_at", "2018-09-05 05:38:25.787761"], ["updated_at", "2018-09-05 05:38:25.787761"]]  (1.1ms) 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", "Lenora Wiegand"], ["LIMIT", 1]]  (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", "jeffrey_wolf@dooleyward.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", "Na Halvorson"], ["last_name", "Veola Hauck"], ["email", "jeffrey_wolf@dooleyward.co.uk"], ["password_digest", "$2a$04$XH8w17c/..x11qBAdrZit.zUevfa25LGJWUCPMo0PsKVZnkmcTZ0S"], ["created_at", "2018-09-05 05:38:25.802218"], ["updated_at", "2018-09-05 05:38:25.802218"]]  (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", "daisy.mayert@gutkowski.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", "Bill Cole"], ["last_name", "Royal Crist"], ["email", "daisy.mayert@gutkowski.us"], ["password_digest", "$2a$04$Aidu4VXGnF1MU/uIpV3uR.El8v9gCDj0DwX6Iap7q9LNcxm6F8zHa"], ["created_at", "2018-09-05 05:38:25.809116"], ["updated_at", "2018-09-05 05:38:25.809116"]]  (0.5ms) 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" = $1 LIMIT $2 [["reference_number", "Elena Schneider"], ["LIMIT", 1]]  (1.2ms) 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", "albertha.huels@bodeschumm.com"], ["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", "Raleigh Schulist"], ["last_name", "Noemi Schuster"], ["email", "albertha.huels@bodeschumm.com"], ["password_digest", "$2a$04$g8I6gGKo.veTMYJ1YKN/BOQ87FsayiiT0fInnGnGdSfq.LxLdkFUq"], ["created_at", "2018-09-05 05:38:25.822876"], ["updated_at", "2018-09-05 05:38:25.822876"]]  (0.7ms) 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", "kendra_koss@bayer.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", "Joy Lesch"], ["last_name", "Reid Stoltenberg"], ["email", "kendra_koss@bayer.us"], ["password_digest", "$2a$04$7z.xz3AkxaXSL9O6luwgpOnCui8hIVWuCW7HE2DtqZj5ndeeoACGe"], ["created_at", "2018-09-05 05:38:25.831370"], ["updated_at", "2018-09-05 05:38:25.831370"]]  (0.7ms) RELEASE 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", "Erlinda Johnson"], ["LIMIT", 1]]  (0.7ms) 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", "micaela@okonkiehn.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", "Dina Wiegand"], ["last_name", "Randa Stoltenberg"], ["email", "micaela@okonkiehn.info"], ["password_digest", "$2a$04$slT646fYYfna14Oui5VEEukyYRfiuBeIJdWFmh2t33G6B7EYEZ.Pm"], ["created_at", "2018-09-05 05:38:25.847602"], ["updated_at", "2018-09-05 05:38:25.847602"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Malka Ritchie"], ["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", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Malka Ritchie"], ["authorized_by", "Idella 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", 65], ["created_at", "2018-09-05 05:38:25.852525"], ["updated_at", "2018-09-05 05:38:25.852525"]]  (0.6ms) 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", "Malka Ritchie"], ["id", 3], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) 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", "Carlene Klein"], ["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", "Carlene Klein"], ["name", "Grover Emard"], ["address", "Nelida Hahn"], ["created_at", "2018-09-05 05:38:25.864468"], ["updated_at", "2018-09-05 05:38:25.864468"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Madeline West"], ["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", "Madeline West"], ["name", "Adam Glover"], ["description", "Franklin Hackett"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:38:25.868786"], ["updated_at", "2018-09-05 05:38:25.868786"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (3.7ms) 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", "Madeline West"], ["id", 43], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (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", "Evalyn Cassin"], ["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", "Evalyn Cassin"], ["name", "Cortney Gerhold"], ["address", "Rodger Hamill"], ["created_at", "2018-09-05 05:38:25.883753"], ["updated_at", "2018-09-05 05:38:25.883753"]]  (0.5ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.8ms) BEGIN  (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", "Lanelle Franecki"], ["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", "Lanelle Franecki"], ["name", "Digna Batz"], ["address", "Elbert Yundt"], ["created_at", "2018-09-05 05:38:25.896398"], ["updated_at", "2018-09-05 05:38:25.896398"]]  (0.5ms) 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", "Carmel Wehner"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "Shantelle Harvey"], ["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", "Shantelle Harvey"], ["name", "Romaine Cole"], ["address", "Veronika Hickle"], ["created_at", "2018-09-05 05:38:25.907100"], ["updated_at", "2018-09-05 05:38:25.907100"]]  (1.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", "Steve Windler"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.4ms) 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", "Pandora McCullough"], ["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", "Pandora McCullough"], ["name", "Odell Dietrich"], ["address", "Krysta Ullrich"], ["created_at", "2018-09-05 05:38:25.922330"], ["updated_at", "2018-09-05 05:38:25.922330"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Elaina Daniel"], ["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", "Elaina Daniel"], ["name", "Courtney Brekke"], ["description", "Delphia Carter"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:38:25.929304"], ["updated_at", "2018-09-05 05:38:25.929304"]]  (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", "Mckenzie Hills"], ["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", "Mckenzie Hills"], ["name", "Lori Leannon"], ["address", "Ike Christiansen"], ["created_at", "2018-09-05 05:38:25.935127"], ["updated_at", "2018-09-05 05:38:25.935127"]]  (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", "Elaina Daniel"], ["LIMIT", 1]]  (1.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Milagro Wehner"], ["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", "Milagro Wehner"], ["name", "Truman Roberts"], ["address", "Nana Fisher"], ["created_at", "2018-09-05 05:38:25.946814"], ["updated_at", "2018-09-05 05:38:25.946814"]]  (0.7ms) 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Milagro Wehner"], ["id", 57], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) BEGIN 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", "Ferdinand McKenzie"], ["LIMIT", 1]]  (0.6ms) 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", "Treena Walsh"], ["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", "Treena Walsh"], ["name", "Skye Prohaska"], ["address", "Richard Robel"], ["created_at", "2018-09-05 05:38:25.970541"], ["updated_at", "2018-09-05 05:38:25.970541"]]  (1.3ms) RELEASE 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", "Treena Walsh"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "Sarina O'Connell"], ["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", "Nolan Yundt"], ["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", "Sarina O'Connell"], ["name", "Nolan Yundt"], ["description", "Voluptatem dignissimos aspernatur repellendus cumque aut. Id totam tempore vero laboriosam sunt id delectus. Ut omnis doloribus nostrum ea voluptas et saepe. Perferendis omnis maxime eos atque alias fugiat velit recusandae. Voluptas soluta dolores ut voluptatibus quos."], ["created_at", "2018-09-05 05:38:25.986667"], ["updated_at", "2018-09-05 05:38:25.986667"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Christal Kerluke"], ["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", "Renato Schimmel"], ["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", "Christal Kerluke"], ["name", "Renato Schimmel"], ["description", "Beatae voluptates ut ipsa ab facilis id suscipit. Commodi et reprehenderit ab aut. Voluptas expedita voluptatem perspiciatis consequatur possimus."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:38:25.995089"], ["updated_at", "2018-09-05 05:38:25.995089"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Debbie Maggio"], ["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", "Debbie Maggio"], ["name", "Melonie Hessel"], ["description", "Krista Oga"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:38:26.001527"], ["updated_at", "2018-09-05 05:38:26.001527"]]  (0.5ms) 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", "Tanika Jacobson"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Anabel Daugherty"], ["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", "Tanika Jacobson"], ["name", "Anabel Daugherty"], ["description", "Erasmo Collins"], ["created_at", "2018-09-05 05:38:26.010798"], ["updated_at", "2018-09-05 05:38:26.010798"]]  (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", "Jeremy Schuster"], ["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", "Jeremy Schuster"], ["name", "Buddy Schmeler"], ["location_type_id", 7], ["description", "Debroah Cummerata"], ["address", "Perry Bailey"], ["created_at", "2018-09-05 05:38:26.015197"], ["updated_at", "2018-09-05 05:38:26.015197"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Tracey Ritchie"], ["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", "Will Gutmann"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Tracey Ritchie"], ["name", "Valarie Beer"], ["description", "Min Aufderhar"], ["serial_number", "Will Gutmann"], ["brand", "Dee Hackett"], ["item_model", "Clorinda Rempel"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:38:26.021452"], ["updated_at", "2018-09-05 05:38:26.021452"]]  (0.7ms) 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", "Twila Waters"], ["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", "Nadene Reynolds"], ["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", "Twila Waters"], ["name", "Nadene Reynolds"], ["created_at", "2018-09-05 05:38:26.030371"], ["updated_at", "2018-09-05 05:38:26.030371"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Darrin Swaniawski"], ["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", "Darrin Swaniawski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.035421"], ["updated_at", "2018-09-05 05:38:26.035421"]]  (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", "Aiko Sawayn"], ["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", "Aiko Sawayn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.040645"], ["updated_at", "2018-09-05 05:38:26.040645"]]  (1.2ms) 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", "Valeri Steuber"], ["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", "Valeri Steuber"], ["name", "Aaron Rice"], ["address", "Oneida Senger"], ["created_at", "2018-09-05 05:38:26.049081"], ["updated_at", "2018-09-05 05:38:26.049081"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Roseanna Baumbach"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Roseanna Baumbach"], ["name", "Harris Sanford"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:38:26.056969"], ["updated_at", "2018-09-05 05:38:26.056969"]] 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]] 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", "Roseanna Baumbach"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (11.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", "Roseanna Baumbach"], ["name", "Harris Sanford"], ["description", "Default bundle for service 'Harris Sanford'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:38:26.064590"], ["updated_at", "2018-09-05 05:38:26.064590"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 45], ["chargeable_service_id", 22]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:38:26.097953"], ["updated_at", "2018-09-05 05:38:26.097953"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (1.9ms) BEGIN  (0.9ms) 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", "Tambra Marvin"], ["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", "Krystina D'Amore"], ["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", "Tambra Marvin"], ["name", "Krystina D'Amore"], ["description", "Dolor eveniet quo ea asperiores eum ut. Labore consequatur harum blanditiis ut voluptatem rerum autem. Omnis necessitatibus sapiente deleniti quia aspernatur. Dolorum optio id sit animi."], ["created_at", "2018-09-05 05:38:26.114531"], ["updated_at", "2018-09-05 05:38:26.114531"]]  (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", "Fabiola Kilback"], ["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", "Ulysses Larson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (2.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", "Fabiola Kilback"], ["name", "Ulysses Larson"], ["description", "Sed nesciunt impedit nisi quae aliquid unde dolorem. Voluptas dolorem error sed non nesciunt amet eius. Excepturi eos exercitationem animi asperiores dicta qui maiores. Sed sed et quasi officia."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:38:26.120539"], ["updated_at", "2018-09-05 05:38:26.120539"]]  (3.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Kimberly Quitzon"], ["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", "Kimberly Quitzon"], ["name", "Clifton Swaniawski"], ["description", "Elsie Krajcik"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:38:26.131896"], ["updated_at", "2018-09-05 05:38:26.131896"]]  (0.5ms) 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", "Osvaldo Aufderhar"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (5.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Bridgette Borer"], ["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", "Osvaldo Aufderhar"], ["name", "Bridgette Borer"], ["description", "Jessika Kunze"], ["created_at", "2018-09-05 05:38:26.143683"], ["updated_at", "2018-09-05 05:38:26.143683"]]  (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", "Marilynn Toy"], ["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", "Marilynn Toy"], ["name", "Gilda Blanda"], ["location_type_id", 8], ["description", "Lanita Lueilwitz"], ["address", "Edwina Hermann"], ["created_at", "2018-09-05 05:38:26.149801"], ["updated_at", "2018-09-05 05:38:26.149801"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Jessenia Pfeffer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Yahaira Hintz"], ["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", "Jessenia Pfeffer"], ["name", "Cortez Jaskolski"], ["description", "Danna Kulas"], ["serial_number", "Yahaira Hintz"], ["brand", "Marita Green"], ["item_model", "Art Nienow"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:38:26.160527"], ["updated_at", "2018-09-05 05:38:26.160527"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lorina Von"], ["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", "Beatrice Hoeger"], ["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", "Lorina Von"], ["name", "Beatrice Hoeger"], ["created_at", "2018-09-05 05:38:26.169106"], ["updated_at", "2018-09-05 05:38:26.169106"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Glennis Buckridge"], ["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", "Glennis Buckridge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.176555"], ["updated_at", "2018-09-05 05:38:26.176555"]]  (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", "Nakia Kuhn"], ["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", "Nakia Kuhn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.181892"], ["updated_at", "2018-09-05 05:38:26.181892"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Akiko Heaney"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Akiko Heaney"], ["name", "Jose Heathcote"], ["address", "Rubi Mosciski"], ["created_at", "2018-09-05 05:38:26.188983"], ["updated_at", "2018-09-05 05:38:26.188983"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Alethea Schoen"], ["service_delivery_unit_id", 60], ["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", "Alethea Schoen"], ["name", "Elouise Gorczany"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:38:26.197145"], ["updated_at", "2018-09-05 05:38:26.197145"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Alethea Schoen"], ["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", "Alethea Schoen"], ["name", "Elouise Gorczany"], ["description", "Default bundle for service 'Elouise Gorczany'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:38:26.203404"], ["updated_at", "2018-09-05 05:38:26.203404"]] 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", 46], ["chargeable_service_id", 23]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.5ms) 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", "Tamie Marvin"], ["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", "Celestina Marks"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tamie Marvin"], ["name", "Celestina Marks"], ["description", "Aut in exercitationem culpa id nemo cum impedit. Possimus et non assumenda labore qui in quod quis. Et quo aliquid neque optio."], ["created_at", "2018-09-05 05:38:26.220833"], ["updated_at", "2018-09-05 05:38:26.220833"]]  (0.8ms) 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", "Shaquana Bartoletti"], ["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", "Jessica Williamson"], ["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", "Shaquana Bartoletti"], ["name", "Jessica Williamson"], ["description", "Recusandae enim non ut est sit assumenda iure sint. Officiis et id aut rerum. Nesciunt sed ut facere aperiam."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:38:26.228475"], ["updated_at", "2018-09-05 05:38:26.228475"]]  (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", "Sherrell Halvorson"], ["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", "Sherrell Halvorson"], ["name", "Silvia Stehr"], ["description", "Britney DuBuque"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:38:26.233215"], ["updated_at", "2018-09-05 05:38:26.233215"]]  (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", "Pansy Lindgren"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Velvet Mann"], ["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", "Pansy Lindgren"], ["name", "Velvet Mann"], ["description", "Celina Nolan"], ["created_at", "2018-09-05 05:38:26.240766"], ["updated_at", "2018-09-05 05:38:26.240766"]]  (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", "Vertie Kuvalis"], ["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", "Vertie Kuvalis"], ["name", "Beckie Keebler"], ["location_type_id", 9], ["description", "Lajuana Corwin"], ["address", "Shera Padberg"], ["created_at", "2018-09-05 05:38:26.245728"], ["updated_at", "2018-09-05 05:38:26.245728"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Neida Hirthe"], ["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", "Bell Gleichner"], ["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", "Neida Hirthe"], ["name", "Carter Ebert"], ["description", "Francene Brown"], ["serial_number", "Bell Gleichner"], ["brand", "Benita Hoeger"], ["item_model", "Aileen Schinner"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:38:26.252653"], ["updated_at", "2018-09-05 05:38:26.252653"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Estefana Connelly"], ["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", "Abram Pagac"], ["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", "Estefana Connelly"], ["name", "Abram Pagac"], ["created_at", "2018-09-05 05:38:26.261691"], ["updated_at", "2018-09-05 05:38:26.261691"]]  (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", "Yessenia Reichel"], ["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", "Yessenia Reichel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.266201"], ["updated_at", "2018-09-05 05:38:26.266201"]]  (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", "Edwin Quitzon"], ["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", "Edwin Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.270669"], ["updated_at", "2018-09-05 05:38:26.270669"]]  (1.1ms) 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", "Ryan Cummings"], ["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", "Ryan Cummings"], ["name", "Cedrick Auer"], ["address", "Mellie Keebler"], ["created_at", "2018-09-05 05:38:26.277060"], ["updated_at", "2018-09-05 05:38:26.277060"]]  (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", "Tera Greenholt"], ["service_delivery_unit_id", 61], ["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", "Tera Greenholt"], ["name", "Scottie Cummerata"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:38:26.281775"], ["updated_at", "2018-09-05 05:38:26.281775"]] 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", 61], ["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", "Tera Greenholt"], ["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", "Tera Greenholt"], ["name", "Scottie Cummerata"], ["description", "Default bundle for service 'Scottie Cummerata'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:38:26.287076"], ["updated_at", "2018-09-05 05:38:26.287076"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 47], ["chargeable_service_id", 24]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "Nadia Hermiston"], ["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", "Laurette Hand"], ["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", "Nadia Hermiston"], ["name", "Laurette Hand"], ["description", "Unde ullam aut dolores harum voluptatem quia. Sit repellendus provident accusantium voluptas. Quia aspernatur nemo minus error beatae et. Aut veniam quo eum accusantium placeat."], ["created_at", "2018-09-05 05:38:26.303034"], ["updated_at", "2018-09-05 05:38:26.303034"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.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", "Cheryll Bernier"], ["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", "Yi West"], ["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", "Cheryll Bernier"], ["name", "Yi West"], ["description", "Totam aliquid est eius quaerat velit omnis enim. Et qui est praesentium et itaque quisquam tenetur. Aspernatur a quia quas hic qui quis laudantium. Sed mollitia omnis et fugiat maxime. Magnam incidunt odio quis dicta atque nobis et blanditiis."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:38:26.310549"], ["updated_at", "2018-09-05 05:38:26.310549"]]  (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", "Bea Mitchell"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.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", "Bea Mitchell"], ["name", "Jamar Tremblay"], ["description", "Xuan Kuvalis"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:38:26.314625"], ["updated_at", "2018-09-05 05:38:26.314625"]]  (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", "Eleanore Ledner"], ["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", "Perla Adams"], ["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", "Eleanore Ledner"], ["name", "Perla Adams"], ["description", "Nicky Daniel"], ["created_at", "2018-09-05 05:38:26.320583"], ["updated_at", "2018-09-05 05:38:26.320583"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Cherise Rempel"], ["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", "Cherise Rempel"], ["name", "Fred Christiansen"], ["location_type_id", 10], ["description", "Cyndy Paucek"], ["address", "Lucila McClure"], ["created_at", "2018-09-05 05:38:26.327032"], ["updated_at", "2018-09-05 05:38:26.327032"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Shayne 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", "Barton Gislason"], ["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", "Shayne Schimmel"], ["name", "Wai Sanford"], ["description", "Gerald Boehm"], ["serial_number", "Barton Gislason"], ["brand", "Glady Stiedemann"], ["item_model", "Courtney Koss"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:38:26.335710"], ["updated_at", "2018-09-05 05:38:26.335710"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) ROLLBACK  (0.6ms) 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", "Jae Dach"], ["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", "Cherly Blick"], ["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", "Jae Dach"], ["name", "Cherly Blick"], ["created_at", "2018-09-05 05:38:26.350385"], ["updated_at", "2018-09-05 05:38:26.350385"]]  (0.4ms) 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", "Jae Dach"], ["id", 38], ["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", "Cherly Blick"], ["id", 38], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) BEGIN Mks::Rate::ServiceType Exists (0.9ms) 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.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shemeka Ondricka"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) 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", "Madlyn Predovic"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) 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  (1.0ms) 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", "Rebekah Fisher"], ["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", "Jane Schamberger"], ["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", "Rebekah Fisher"], ["name", "Jane Schamberger"], ["created_at", "2018-09-05 05:38:26.377383"], ["updated_at", "2018-09-05 05:38:26.377383"]]  (0.8ms) 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", "Rebekah Fisher"], ["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", "Carolynn Lynch"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Nanette Cruickshank"], ["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", "Salley Ortiz"], ["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", "Nanette Cruickshank"], ["name", "Salley Ortiz"], ["created_at", "2018-09-05 05:38:26.394126"], ["updated_at", "2018-09-05 05:38:26.394126"]]  (0.7ms) RELEASE 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", "Sherly Hermann"], ["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", "Salley Ortiz"], ["LIMIT", 1]]  (0.6ms) 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" = $1 LIMIT $2 [["name", "Albert Zemlak"], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.4ms) 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.4ms) BEGIN 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", "Lakeshia Grady"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.0ms) BEGIN  (1.3ms) 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", "Kent Nicolas"], ["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", "Kent Nicolas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.428216"], ["updated_at", "2018-09-05 05:38:26.428216"]]  (0.5ms) 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", "Kent Nicolas"], ["LIMIT", 1]]  (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", "Loyd Shields"], ["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", "India Grant"], ["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", "Loyd Shields"], ["name", "India Grant"], ["created_at", "2018-09-05 05:38:26.441627"], ["updated_at", "2018-09-05 05:38:26.441627"]]  (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", "Maryanna Ebert"], ["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", "Maryanna Ebert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.447775"], ["updated_at", "2018-09-05 05:38:26.447775"]]  (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", "Adolph Paucek"], ["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", "Adolph Paucek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.453294"], ["updated_at", "2018-09-05 05:38:26.453294"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Zofia 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", "Zofia Funk"], ["name", "Stanton Runolfsdottir"], ["address", "Coretta Corwin"], ["created_at", "2018-09-05 05:38:26.460224"], ["updated_at", "2018-09-05 05:38:26.460224"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Pat Moen"], ["service_delivery_unit_id", 62], ["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", "Pat Moen"], ["name", "Annamarie Hauck"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:38:26.467463"], ["updated_at", "2018-09-05 05:38:26.467463"]] 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", 62], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Pat Moen"], ["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", "Pat Moen"], ["name", "Annamarie Hauck"], ["description", "Default bundle for service 'Annamarie Hauck'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:38:26.475704"], ["updated_at", "2018-09-05 05:38:26.475704"]] 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", 25]]  (0.9ms) 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", "Nathanial Botsford"], ["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", "Delorse Wehner"], ["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", "Nathanial Botsford"], ["name", "Delorse Wehner"], ["created_at", "2018-09-05 05:38:26.485429"], ["updated_at", "2018-09-05 05:38:26.485429"]]  (0.6ms) 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", "Man Koelpin"], ["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", "Man Koelpin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.492095"], ["updated_at", "2018-09-05 05:38:26.492095"]]  (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", "Stormy Durgan"], ["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", "Stormy Durgan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.497336"], ["updated_at", "2018-09-05 05:38:26.497336"]]  (0.5ms) 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", "Leola Schuppe"], ["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", "Leola Schuppe"], ["name", "Genevive Hagenes"], ["address", "Antione Terry"], ["created_at", "2018-09-05 05:38:26.502270"], ["updated_at", "2018-09-05 05:38:26.502270"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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", "Kimber Ruecker"], ["service_delivery_unit_id", 63], ["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", "Kimber Ruecker"], ["name", "Vikki Tremblay"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:38:26.509949"], ["updated_at", "2018-09-05 05:38:26.509949"]] 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", 63], ["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", "Kimber 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", "Kimber Ruecker"], ["name", "Vikki Tremblay"], ["description", "Default bundle for service 'Vikki Tremblay'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:38:26.514952"], ["updated_at", "2018-09-05 05:38:26.514952"]] 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", 49], ["chargeable_service_id", 26]]  (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", "Alix Halvorson"], ["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", "Youlanda Gerlach"], ["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", "Alix Halvorson"], ["name", "Youlanda Gerlach"], ["created_at", "2018-09-05 05:38:26.526099"], ["updated_at", "2018-09-05 05:38:26.526099"]]  (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", "Stacee Schimmel"], ["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", "Stacee Schimmel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.531456"], ["updated_at", "2018-09-05 05:38:26.531456"]]  (0.8ms) 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", "Linh Orn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Linh Orn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.536932"], ["updated_at", "2018-09-05 05:38:26.536932"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Dudley Zieme"], ["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", "Dudley Zieme"], ["name", "Isabell Hintz"], ["address", "Carrol Barrows"], ["created_at", "2018-09-05 05:38:26.547099"], ["updated_at", "2018-09-05 05:38:26.547099"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Rodger Grady"], ["service_delivery_unit_id", 64], ["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", "Rodger Grady"], ["name", "Robbin Hahn"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:38:26.554183"], ["updated_at", "2018-09-05 05:38:26.554183"]] 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", 64], ["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", "Rodger Grady"], ["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", "Rodger Grady"], ["name", "Robbin Hahn"], ["description", "Default bundle for service 'Robbin Hahn'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:38:26.560977"], ["updated_at", "2018-09-05 05:38:26.560977"]] 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", 50], ["chargeable_service_id", 27]]  (0.8ms) 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", 25], ["LIMIT", 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", 26], ["LIMIT", 1]]  (1.8ms) 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", 25], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (1.2ms) 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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:38:26.575076"], ["updated_at", "2018-09-05 05:38:26.575076"]] 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", 26], ["LIMIT", 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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:38:26.578637"], ["updated_at", "2018-09-05 05:38:26.578637"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "Melba Zemlak"], ["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", "Jene Keebler"], ["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", "Melba Zemlak"], ["name", "Jene Keebler"], ["created_at", "2018-09-05 05:38:26.592183"], ["updated_at", "2018-09-05 05:38:26.592183"]]  (0.7ms) 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", "Gil 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", "Gil Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.599175"], ["updated_at", "2018-09-05 05:38:26.599175"]]  (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", "Penni Howe"], ["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", "Penni Howe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.603918"], ["updated_at", "2018-09-05 05:38:26.603918"]]  (1.4ms) 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", "Alisa Mills"], ["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", "Alisa Mills"], ["name", "Malia Aufderhar"], ["address", "Deandra Parker"], ["created_at", "2018-09-05 05:38:26.612035"], ["updated_at", "2018-09-05 05:38:26.612035"]]  (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", "Hans Treutel"], ["service_delivery_unit_id", 65], ["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", "Hans Treutel"], ["name", "Jeanene Kunde"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:38:26.617179"], ["updated_at", "2018-09-05 05:38:26.617179"]] 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", 65], ["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", "Hans Treutel"], ["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", "Hans Treutel"], ["name", "Jeanene Kunde"], ["description", "Default bundle for service 'Jeanene Kunde'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:38:26.627014"], ["updated_at", "2018-09-05 05:38:26.627014"]] 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", 51], ["chargeable_service_id", 28]]  (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", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:38:26.634183"], ["updated_at", "2018-09-05 05:38:26.634183"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (1.0ms) 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", 28], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.4ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] Mks::Rate::ServiceRate Update (1.4ms) 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 05:38:26.642798"], ["id", 10]]  (0.6ms) 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.6ms) ROLLBACK  (0.4ms) 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", "michael@borer.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", "Bruno Rowe"], ["last_name", "Carey Heaney"], ["email", "michael@borer.ca"], ["password_digest", "$2a$04$qXl5vMGIFcjMn8RckQX6CumWxwTZbpSCx/J/1FZOIA6YIv/2vUmvC"], ["created_at", "2018-09-05 05:38:26.655834"], ["updated_at", "2018-09-05 05:38:26.655834"]]  (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", "lorraine_braun@wunsch.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", "Marquis McGlynn"], ["last_name", "Leola Daniel"], ["email", "lorraine_braun@wunsch.name"], ["password_digest", "$2a$04$zhx1CSFxBEsVLw7GsYUtC.ZtquZBi3mrKAVQy63YoXTJCbJ0BhvVO"], ["created_at", "2018-09-05 05:38:26.662986"], ["updated_at", "2018-09-05 05:38:26.662986"]]  (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", "joshua@mayer.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", "Karly Nitzsche"], ["last_name", "Mallie Powlowski"], ["email", "joshua@mayer.co.uk"], ["password_digest", "$2a$04$R.ndqBBS6UPjqbSbrnstEe3hRvfjdlSUct38xObvhW9UKiZGvkhV2"], ["created_at", "2018-09-05 05:38:26.669376"], ["updated_at", "2018-09-05 05:38:26.669376"]]  (1.4ms) 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", "Jim Swaniawski"], ["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", "Jim Swaniawski"], ["authorized_by", "Elias Haag"], ["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", 67], ["approved_by_id", 68], ["created_at", "2018-09-05 05:38:26.676434"], ["updated_at", "2018-09-05 05:38:26.676434"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Jim Swaniawski"], ["id", 4], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.5ms) 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", 66], ["updated_at", "2018-09-05 05:38:26.682364"], ["id", 4]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Load (11.0ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 66], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.8ms) BEGIN  (1.3ms) 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", "Meri Hermiston"], ["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", "Meri Hermiston"], ["name", "Annamarie Fisher"], ["address", "Patrice Nitzsche"], ["created_at", "2018-09-05 05:38:26.709772"], ["updated_at", "2018-09-05 05:38:26.709772"]]  (0.7ms) 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", "Minerva Schoen"], ["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", "Minerva Schoen"], ["name", "Etha Daniel"], ["description", "Benton Pfeffer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:38:26.715164"], ["updated_at", "2018-09-05 05:38:26.715164"]]  (0.4ms) 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", "Larry Tillman"], ["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", "Louie Bogisich"], ["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", "Larry Tillman"], ["name", "Louie Bogisich"], ["created_at", "2018-09-05 05:38:26.721694"], ["updated_at", "2018-09-05 05:38:26.721694"]]  (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", "Florida Dickens"], ["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", "Florida Dickens"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.727827"], ["updated_at", "2018-09-05 05:38:26.727827"]]  (0.4ms) 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", "Nolan Kirlin"], ["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", "Nolan Kirlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.732489"], ["updated_at", "2018-09-05 05:38:26.732489"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Brandee Hills"], ["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", "Brandee Hills"], ["name", "Philip Reynolds"], ["address", "Walter Reynolds"], ["created_at", "2018-09-05 05:38:26.738452"], ["updated_at", "2018-09-05 05:38:26.738452"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Fatimah Schuppe"], ["service_delivery_unit_id", 67], ["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", "Fatimah Schuppe"], ["name", "Epifania Bradtke"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:38:26.747350"], ["updated_at", "2018-09-05 05:38:26.747350"]] 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", 67], ["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", "Fatimah Schuppe"], ["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", "Fatimah Schuppe"], ["name", "Epifania Bradtke"], ["description", "Default bundle for service 'Epifania Bradtke'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:38:26.752963"], ["updated_at", "2018-09-05 05:38:26.752963"]] 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", 53], ["chargeable_service_id", 29]]  (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", "Lolita Mohr"], ["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", "Henrietta Keebler"], ["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", "Lolita Mohr"], ["name", "Henrietta Keebler"], ["created_at", "2018-09-05 05:38:26.765947"], ["updated_at", "2018-09-05 05:38:26.765947"]]  (0.7ms) 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", "Hailey Weimann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hailey Weimann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.772302"], ["updated_at", "2018-09-05 05:38:26.772302"]]  (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", "Benita Bernhard"], ["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", "Benita Bernhard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.778397"], ["updated_at", "2018-09-05 05:38:26.778397"]]  (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", "Johanne Goyette"], ["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", "Johanne Goyette"], ["name", "Ira Padberg"], ["address", "Sherley Shanahan"], ["created_at", "2018-09-05 05:38:26.783887"], ["updated_at", "2018-09-05 05:38:26.783887"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Kenya Connelly"], ["service_delivery_unit_id", 68], ["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", "Kenya Connelly"], ["name", "Denise Hackett"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:38:26.792023"], ["updated_at", "2018-09-05 05:38:26.792023"]] 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", 68], ["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", "Kenya Connelly"], ["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", "Kenya Connelly"], ["name", "Denise Hackett"], ["description", "Default bundle for service 'Denise Hackett'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:38:26.801684"], ["updated_at", "2018-09-05 05:38:26.801684"]] 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", 54], ["chargeable_service_id", 30]]  (1.1ms) 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", "Kimbra Cummerata"], ["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", "Jenifer Hickle"], ["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", "Kimbra Cummerata"], ["name", "Jenifer Hickle"], ["created_at", "2018-09-05 05:38:26.814200"], ["updated_at", "2018-09-05 05:38:26.814200"]]  (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", "Nguyet Miller"], ["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", "Nguyet Miller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.819849"], ["updated_at", "2018-09-05 05:38:26.819849"]]  (0.9ms) 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", "Hermine Roberts"], ["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", "Hermine Roberts"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.826594"], ["updated_at", "2018-09-05 05:38:26.826594"]]  (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", "Anastacia Schiller"], ["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", "Anastacia Schiller"], ["name", "Theo Gulgowski"], ["address", "Lynwood Mante"], ["created_at", "2018-09-05 05:38:26.831022"], ["updated_at", "2018-09-05 05:38:26.831022"]]  (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", "Shantelle Haag"], ["service_delivery_unit_id", 69], ["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", "Shantelle Haag"], ["name", "Landon Sanford"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:38:26.835688"], ["updated_at", "2018-09-05 05:38:26.835688"]] 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", 69], ["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", "Shantelle Haag"], ["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", "Shantelle Haag"], ["name", "Landon Sanford"], ["description", "Default bundle for service 'Landon Sanford'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:38:26.842272"], ["updated_at", "2018-09-05 05:38:26.842272"]] 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", 55], ["chargeable_service_id", 31]]  (0.6ms) RELEASE SAVEPOINT active_record_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.7ms) 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", 29], ["id", 30], ["id", 31]] Mks::Rate::ChargeableService Load (1.5ms) 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", 52]] 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", 52], ["chargeable_service_id", 29]] 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", 30]] 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", 52], ["chargeable_service_id", 31]]  (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", 52], ["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.8ms) ROLLBACK  (0.9ms) 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", "Elmo Reichel"], ["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", "Elmo Reichel"], ["name", "Deon Boyle"], ["address", "Roland Corwin"], ["created_at", "2018-09-05 05:38:26.875215"], ["updated_at", "2018-09-05 05:38:26.875215"]]  (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", "Melissia Ward"], ["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", "Melissia Ward"], ["name", "Irwin Lubowitz"], ["description", "Mack Cartwright"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:38:26.879969"], ["updated_at", "2018-09-05 05:38:26.879969"]]  (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", "Florene Heller"], ["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", "Viviana Bechtelar"], ["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", "Florene Heller"], ["name", "Viviana Bechtelar"], ["created_at", "2018-09-05 05:38:26.886538"], ["updated_at", "2018-09-05 05:38:26.886538"]]  (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", "Dulce 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", "Dulce Bogisich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.892414"], ["updated_at", "2018-09-05 05:38:26.892414"]]  (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", "Coletta Fritsch"], ["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", "Coletta Fritsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.897560"], ["updated_at", "2018-09-05 05:38:26.897560"]]  (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", "Hollie Connelly"], ["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", "Hollie Connelly"], ["name", "Herb Von"], ["address", "Vivian Fahey"], ["created_at", "2018-09-05 05:38:26.902193"], ["updated_at", "2018-09-05 05:38:26.902193"]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Shanice Fritsch"], ["service_delivery_unit_id", 71], ["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", "Shanice Fritsch"], ["name", "Georgeanna Dibbert"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:38:26.910405"], ["updated_at", "2018-09-05 05:38:26.910405"]] 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 (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shanice Fritsch"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Shanice Fritsch"], ["name", "Georgeanna Dibbert"], ["description", "Default bundle for service 'Georgeanna Dibbert'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:38:26.916923"], ["updated_at", "2018-09-05 05:38:26.916923"]] 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", 32]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Charlene Koch"], ["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", "Hailey Roberts"], ["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", "Charlene Koch"], ["name", "Hailey Roberts"], ["created_at", "2018-09-05 05:38:26.929343"], ["updated_at", "2018-09-05 05:38:26.929343"]]  (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", "Jewel Swift"], ["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", "Jewel Swift"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.934261"], ["updated_at", "2018-09-05 05:38:26.934261"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Adrian Kihn"], ["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", "Adrian Kihn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.941734"], ["updated_at", "2018-09-05 05:38:26.941734"]]  (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", "Darline McLaughlin"], ["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", "Darline McLaughlin"], ["name", "Daryl Beatty"], ["address", "Luana Berge"], ["created_at", "2018-09-05 05:38:26.946936"], ["updated_at", "2018-09-05 05:38:26.946936"]]  (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", "Adalberto Kuphal"], ["service_delivery_unit_id", 72], ["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", "Adalberto Kuphal"], ["name", "Ronny Larson"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:38:26.951700"], ["updated_at", "2018-09-05 05:38:26.951700"]] 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", 72], ["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", "Adalberto Kuphal"], ["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", "Adalberto Kuphal"], ["name", "Ronny Larson"], ["description", "Default bundle for service 'Ronny Larson'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:38:26.958207"], ["updated_at", "2018-09-05 05:38:26.958207"]] 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", 33]]  (0.7ms) 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", "Jerald Douglas"], ["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", "Shandra Hauck"], ["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", "Jerald Douglas"], ["name", "Shandra Hauck"], ["created_at", "2018-09-05 05:38:26.967492"], ["updated_at", "2018-09-05 05:38:26.967492"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Georgene Heller"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (5.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Georgene Heller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:26.973576"], ["updated_at", "2018-09-05 05:38:26.973576"]]  (8.1ms) RELEASE SAVEPOINT active_record_1  (4.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Claudine Konopelski"], ["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", "Claudine Konopelski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.004135"], ["updated_at", "2018-09-05 05:38:27.004135"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Elliott Friesen"], ["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", "Elliott Friesen"], ["name", "Katherin Murray"], ["address", "Kimbra Nitzsche"], ["created_at", "2018-09-05 05:38:27.014078"], ["updated_at", "2018-09-05 05:38:27.014078"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Jame Davis"], ["service_delivery_unit_id", 73], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Jame Davis"], ["name", "Loan Klein"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:38:27.025180"], ["updated_at", "2018-09-05 05:38:27.025180"]] 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", 73], ["LIMIT", 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", "Jame Davis"], ["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", "Jame Davis"], ["name", "Loan Klein"], ["description", "Default bundle for service 'Loan Klein'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:38:27.034820"], ["updated_at", "2018-09-05 05:38:27.034820"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 59], ["chargeable_service_id", 34]]  (1.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 56], ["chargeable_service_id", 32]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.8ms) 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]] 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", 56], ["chargeable_service_id", 34]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (2.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", 56]]  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 [["id", 34]] Mks::Rate::ChargeableService Load (1.3ms) 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", 56]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.4ms) 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", 56], ["chargeable_service_id", 32], ["chargeable_service_id", 33]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 56], ["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", 56]] Mks::Rate::ChargeableService Load (1.1ms) 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", 56]]  (0.8ms) ROLLBACK  (1.1ms) BEGIN  (0.9ms) 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", "Joel Rolfson"], ["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", "Joel Rolfson"], ["name", "Elenora Medhurst"], ["address", "Olin Volkman"], ["created_at", "2018-09-05 05:38:27.093183"], ["updated_at", "2018-09-05 05:38:27.093183"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Kala Gleichner"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (4.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", "Kala Gleichner"], ["name", "Anisa Blanda"], ["description", "Tess Nikolaus"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:38:27.101196"], ["updated_at", "2018-09-05 05:38:27.101196"]]  (1.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Karissa Herman"], ["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", "Shane Greenfelder"], ["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", "Karissa Herman"], ["name", "Shane Greenfelder"], ["created_at", "2018-09-05 05:38:27.115291"], ["updated_at", "2018-09-05 05:38:27.115291"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Patrick Lind"], ["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", "Patrick Lind"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.124829"], ["updated_at", "2018-09-05 05:38:27.124829"]]  (1.2ms) 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", "Dirk Keeling"], ["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", "Dirk Keeling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.132454"], ["updated_at", "2018-09-05 05:38:27.132454"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kenia Collins"], ["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", "Kenia Collins"], ["name", "Clelia Wisozk"], ["address", "Anglea Paucek"], ["created_at", "2018-09-05 05:38:27.141646"], ["updated_at", "2018-09-05 05:38:27.141646"]]  (0.9ms) 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", "Evangelina Jacobs"], ["service_delivery_unit_id", 75], ["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", "Evangelina Jacobs"], ["name", "Tony Ratke"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:38:27.148288"], ["updated_at", "2018-09-05 05:38:27.148288"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Evangelina Jacobs"], ["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", "Evangelina Jacobs"], ["name", "Tony Ratke"], ["description", "Default bundle for service 'Tony Ratke'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:38:27.156029"], ["updated_at", "2018-09-05 05:38:27.156029"]] 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", 61], ["chargeable_service_id", 35]]  (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", "Christiane Raynor"], ["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", "Merry Hills"], ["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", "Christiane Raynor"], ["name", "Merry Hills"], ["created_at", "2018-09-05 05:38:27.167204"], ["updated_at", "2018-09-05 05:38:27.167204"]]  (2.0ms) 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", "Florencio Hane"], ["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", "Florencio Hane"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.175567"], ["updated_at", "2018-09-05 05:38:27.175567"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Giovanni Grimes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Giovanni Grimes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.184026"], ["updated_at", "2018-09-05 05:38:27.184026"]]  (3.9ms) 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", "Risa Wisoky"], ["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", "Risa Wisoky"], ["name", "Caroline Legros"], ["address", "Joesph Kiehn"], ["created_at", "2018-09-05 05:38:27.195515"], ["updated_at", "2018-09-05 05:38:27.195515"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Cindy Breitenberg"], ["service_delivery_unit_id", 76], ["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", "Cindy Breitenberg"], ["name", "Kathe Connelly"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:38:27.202068"], ["updated_at", "2018-09-05 05:38:27.202068"]] 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", 76], ["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", "Cindy Breitenberg"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Cindy Breitenberg"], ["name", "Kathe Connelly"], ["description", "Default bundle for service 'Kathe Connelly'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:38:27.211023"], ["updated_at", "2018-09-05 05:38:27.211023"]] 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", 62], ["chargeable_service_id", 36]]  (7.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Alva Mosciski"], ["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", "Annabelle Kozey"], ["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", "Alva Mosciski"], ["name", "Annabelle Kozey"], ["created_at", "2018-09-05 05:38:27.232474"], ["updated_at", "2018-09-05 05:38:27.232474"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Percy Bogisich"], ["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", "Percy Bogisich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.239753"], ["updated_at", "2018-09-05 05:38:27.239753"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Yong Wisoky"], ["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", "Yong Wisoky"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.247844"], ["updated_at", "2018-09-05 05:38:27.247844"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Erline Mosciski"], ["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", "Erline Mosciski"], ["name", "Doreen Kemmer"], ["address", "Alene Walker"], ["created_at", "2018-09-05 05:38:27.256254"], ["updated_at", "2018-09-05 05:38:27.256254"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.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", "Raylene Ratke"], ["service_delivery_unit_id", 77], ["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", "Raylene Ratke"], ["name", "Marielle Dooley"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:38:27.264563"], ["updated_at", "2018-09-05 05:38:27.264563"]] Mks::Rate::ServiceDeliveryUnit Load (3.6ms) 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 (3.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Raylene Ratke"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Raylene Ratke"], ["name", "Marielle Dooley"], ["description", "Default bundle for service 'Marielle Dooley'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:38:27.277008"], ["updated_at", "2018-09-05 05:38:27.277008"]] 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", 63], ["chargeable_service_id", 37]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Carita Roob"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Phillip Fisher"], ["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", "Carita Roob"], ["name", "Phillip Fisher"], ["created_at", "2018-09-05 05:38:27.292311"], ["updated_at", "2018-09-05 05:38:27.292311"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Julienne Langworth"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julienne Langworth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.300536"], ["updated_at", "2018-09-05 05:38:27.300536"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (2.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kyle Goldner"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kyle Goldner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:38:27.313721"], ["updated_at", "2018-09-05 05:38:27.313721"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Johnette Mraz"], ["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", "Johnette Mraz"], ["name", "Amie Adams"], ["address", "Lissette Wehner"], ["created_at", "2018-09-05 05:38:27.328331"], ["updated_at", "2018-09-05 05:38:27.328331"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Rikki Emard"], ["service_delivery_unit_id", 78], ["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", "Rikki Emard"], ["name", "Nicole Emmerich"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:38:27.343549"], ["updated_at", "2018-09-05 05:38:27.343549"]] 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", 78], ["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", "Rikki Emard"], ["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", "Rikki Emard"], ["name", "Nicole Emmerich"], ["description", "Default bundle for service 'Nicole Emmerich'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:38:27.350881"], ["updated_at", "2018-09-05 05:38:27.350881"]] 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", 64], ["chargeable_service_id", 38]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 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", 60], ["chargeable_service_id", 35]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (3.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 36]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", 60]]  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.4ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 36], ["id", 37], ["id", 38]] Mks::Rate::ChargeableService Load (1.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", 60]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (3.6ms) 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 37]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 38]]  (2.2ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (2.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]]  (1.8ms) 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", 60]] Mks::Rate::ChargeableService Exists (2.7ms) 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", 60], ["id", 35], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.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", 60]]  (1.8ms) ROLLBACK  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "josefine@batz.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", "Sarai Reichel"], ["last_name", "Carita Nikolaus"], ["email", "josefine@batz.us"], ["password_digest", "$2a$04$aTqwQkcnhtQE5e1W.mdIzutCH/10TL.zTZtH.Z1TJebMEA7wrVNW6"], ["created_at", "2018-09-05 05:39:50.277850"], ["updated_at", "2018-09-05 05:39:50.277850"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Patrina 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", "Marna Fritsch"], ["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", "Patrina Hodkiewicz"], ["name", "Marna Fritsch"], ["created_at", "2018-09-05 05:39:50.328092"], ["updated_at", "2018-09-05 05:39:50.328092"]]  (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", "Deonna Block"], ["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", "Deonna Block"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.352603"], ["updated_at", "2018-09-05 05:39:50.352603"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Zachary Leuschke"], ["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", "Zachary Leuschke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.361873"], ["updated_at", "2018-09-05 05:39:50.361873"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Lana Ernser"], ["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", "Lana Ernser"], ["name", "Georgianne West"], ["address", "Timmy Price"], ["created_at", "2018-09-05 05:39:50.381343"], ["updated_at", "2018-09-05 05:39:50.381343"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kirby Reinger"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (3.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", "Kirby Reinger"], ["name", "Cornell Rice"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:39:50.390496"], ["updated_at", "2018-09-05 05:39:50.390496"]] 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 (2.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kirby Reinger"], ["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", "Kirby Reinger"], ["name", "Cornell Rice"], ["description", "Default bundle for service 'Cornell Rice'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:39:50.424449"], ["updated_at", "2018-09-05 05:39:50.424449"]] 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", 1], ["chargeable_service_id", 1]]  (0.5ms) 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", "Kandy 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", "Nakita Friesen"], ["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", "Kandy Nader"], ["name", "Nakita Friesen"], ["created_at", "2018-09-05 05:39:50.465453"], ["updated_at", "2018-09-05 05:39:50.465453"]]  (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", "Lolita Wiza"], ["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", "Lolita Wiza"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.470778"], ["updated_at", "2018-09-05 05:39:50.470778"]]  (1.2ms) 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", "Victoria Kuvalis"], ["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", "Victoria Kuvalis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.478316"], ["updated_at", "2018-09-05 05:39:50.478316"]]  (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", "Merrill Stiedemann"], ["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", "Merrill Stiedemann"], ["name", "Jae Boyle"], ["address", "Numbers Shields"], ["created_at", "2018-09-05 05:39:50.483231"], ["updated_at", "2018-09-05 05:39:50.483231"]]  (0.8ms) RELEASE SAVEPOINT active_record_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", "Kristie Miller"], ["service_delivery_unit_id", 2], ["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", "Kristie Miller"], ["name", "Karla Ankunding"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:39:50.490887"], ["updated_at", "2018-09-05 05:39:50.490887"]] 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", 2], ["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", "Kristie Miller"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (3.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", "Kristie Miller"], ["name", "Karla Ankunding"], ["description", "Default bundle for service 'Karla Ankunding'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:39:50.499231"], ["updated_at", "2018-09-05 05:39:50.499231"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.6ms) 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.9ms) RELEASE SAVEPOINT active_record_1  (1.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", "Sharlene Collier"], ["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", "Tora Cruickshank"], ["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", "Sharlene Collier"], ["name", "Tora Cruickshank"], ["created_at", "2018-09-05 05:39:50.517843"], ["updated_at", "2018-09-05 05:39:50.517843"]]  (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", "Ismael Breitenberg"], ["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", "Ismael Breitenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.524112"], ["updated_at", "2018-09-05 05:39:50.524112"]]  (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", "Tonisha Jast"], ["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", "Tonisha Jast"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.529634"], ["updated_at", "2018-09-05 05:39:50.529634"]]  (0.6ms) 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", "Elke 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", "Elke Gulgowski"], ["name", "Kellye Predovic"], ["address", "Mia Gutkowski"], ["created_at", "2018-09-05 05:39:50.535154"], ["updated_at", "2018-09-05 05:39:50.535154"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Victor Lind"], ["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", "Victor Lind"], ["name", "Collene Ernser"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:39:50.541600"], ["updated_at", "2018-09-05 05:39:50.541600"]] 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", 3], ["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", "Victor Lind"], ["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", "Victor Lind"], ["name", "Collene Ernser"], ["description", "Default bundle for service 'Collene Ernser'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:39:50.547975"], ["updated_at", "2018-09-05 05:39:50.547975"]] 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.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 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.5ms) 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", 1], ["id", 2]] [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", 5], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (2.1ms) 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 (1.0ms) 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", 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.8ms) 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.7ms) 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.8ms) 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (21.59ms) Completed 200 OK in 48ms (Views: 31.5ms | ActiveRecord: 13.5ms)  (1.0ms) ROLLBACK  (0.5ms) 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", "jeremy@boyeradams.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", "Vanetta Beahan"], ["last_name", "Don Hills"], ["email", "jeremy@boyeradams.info"], ["password_digest", "$2a$04$z2mVe1rrVooLcBIPpGPqEugBilZwBBFPieAegqk7ddJ6Zy4Dfr7KC"], ["created_at", "2018-09-05 05:39:50.624956"], ["updated_at", "2018-09-05 05:39:50.624956"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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 Raynor"], ["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", "Maryalice Raynor"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.635448"], ["updated_at", "2018-09-05 05:39:50.635448"]]  (0.8ms) 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", "Georgiana Fahey"], ["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", "Georgiana Fahey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.642383"], ["updated_at", "2018-09-05 05:39:50.642383"]]  (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", "Daphne Reynolds"], ["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", "Daphne Reynolds"], ["name", "Perla Huels"], ["address", "Stanley Leffler"], ["created_at", "2018-09-05 05:39:50.647476"], ["updated_at", "2018-09-05 05:39:50.647476"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Carl Adams"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lori Funk"], ["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", "Carl Adams"], ["name", "Lori Funk"], ["created_at", "2018-09-05 05:39:50.657753"], ["updated_at", "2018-09-05 05:39:50.657753"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Shirley Brakus", "name"=>"Nell Miller", "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]]  (2.0ms) 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", "Shirley Brakus"], ["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 (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", 7], ["LIMIT", 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", 4], ["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", "Shirley Brakus"], ["name", "Nell Miller"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:39:50.682764"], ["updated_at", "2018-09-05 05:39:50.682764"]] 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", 4], ["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", "Shirley Brakus"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Shirley Brakus"], ["name", "Nell Miller"], ["description", "Default bundle for service 'Nell Miller'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:39:50.689839"], ["updated_at", "2018-09-05 05:39:50.689839"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.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]]  (1.1ms) 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", 8], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.31ms) Mks::Auth::User Load (1.6ms) 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.29ms) Completed 200 OK in 48ms (Views: 10.8ms | ActiveRecord: 18.5ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.7ms) ROLLBACK  (1.2ms) 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", "sulema@wisozkschimmel.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", "Hedwig Ritchie"], ["last_name", "Lavonia Moore"], ["email", "sulema@wisozkschimmel.info"], ["password_digest", "$2a$04$C57hSAsEg/SEEJWuyej9YOqBqCrpR06v.bIkpA4gvplRAyZ/em5PW"], ["created_at", "2018-09-05 05:39:50.728042"], ["updated_at", "2018-09-05 05:39:50.728042"]]  (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", "Wilmer Moore"], ["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", "Wilmer Moore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.733642"], ["updated_at", "2018-09-05 05:39:50.733642"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Therese Aufderhar"], ["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", "Therese Aufderhar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.739465"], ["updated_at", "2018-09-05 05:39:50.739465"]]  (0.6ms) 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", "Maudie Effertz"], ["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", "Maudie Effertz"], ["name", "Rosalie Pagac"], ["address", "Shara Olson"], ["created_at", "2018-09-05 05:39:50.745042"], ["updated_at", "2018-09-05 05:39:50.745042"]]  (0.5ms) 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", "Marlena Miller"], ["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", "Iola Walsh"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marlena Miller"], ["name", "Iola Walsh"], ["created_at", "2018-09-05 05:39:50.752541"], ["updated_at", "2018-09-05 05:39:50.752541"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Arletha Jacobs", "name"=>"Pearle Hackett", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.2ms) 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.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", "Arletha Jacobs"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.7ms) 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 (2.2ms) 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 (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", 5], ["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", "Arletha Jacobs"], ["name", "Pearle Hackett"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:39:50.777132"], ["updated_at", "2018-09-05 05:39:50.777132"]] 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", 5], ["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", "Arletha Jacobs"], ["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", "Arletha Jacobs"], ["name", "Pearle Hackett"], ["description", "Default bundle for service 'Pearle Hackett'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:39:50.785259"], ["updated_at", "2018-09-05 05:39:50.785259"]] 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", 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 (2.23ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.24ms) Completed 200 OK in 38ms (Views: 2.6ms | ActiveRecord: 16.7ms)  (0.9ms) ROLLBACK  (1.3ms) 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", "aurea_hermiston@hodkiewicz.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", "Viva VonRueden"], ["last_name", "Trey Altenwerth"], ["email", "aurea_hermiston@hodkiewicz.biz"], ["password_digest", "$2a$04$.9OaEZjaVJRHVtcM5YSmEuiZvS6VeHOFHLJdqHJ/R8YEmbO/SeyKm"], ["created_at", "2018-09-05 05:39:50.815049"], ["updated_at", "2018-09-05 05:39:50.815049"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Linnie Bode"], ["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", "Linnie Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.824385"], ["updated_at", "2018-09-05 05:39:50.824385"]]  (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", "Nestor Abernathy"], ["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", "Nestor Abernathy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.831339"], ["updated_at", "2018-09-05 05:39:50.831339"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (4.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Vella Braun"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vella Braun"], ["name", "Alyson Gulgowski"], ["address", "Jessie Ondricka"], ["created_at", "2018-09-05 05:39:50.843335"], ["updated_at", "2018-09-05 05:39:50.843335"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Deidra Monahan"], ["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", "Griselda 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", "Deidra Monahan"], ["name", "Griselda Armstrong"], ["created_at", "2018-09-05 05:39:50.852966"], ["updated_at", "2018-09-05 05:39:50.852966"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Jarod Fisher", "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 (1.0ms) 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.8ms) 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.24ms) Completed 422 Unprocessable Entity in 35ms (Views: 9.1ms | ActiveRecord: 7.0ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "chun@hintz.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", "Tomoko Altenwerth"], ["last_name", "Jake Bogan"], ["email", "chun@hintz.name"], ["password_digest", "$2a$04$mbIg0B3vz9jA5zUCqe4auOY/LAbYFearvEdRZ8vns6c/e/0CQIYN2"], ["created_at", "2018-09-05 05:39:50.907792"], ["updated_at", "2018-09-05 05:39:50.907792"]]  (0.5ms) 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", "Azucena Robel"], ["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", "Lashanda Mann"], ["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", "Azucena Robel"], ["name", "Lashanda Mann"], ["created_at", "2018-09-05 05:39:50.918031"], ["updated_at", "2018-09-05 05:39:50.918031"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Maya Wunsch"], ["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", "Maya Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.925323"], ["updated_at", "2018-09-05 05:39:50.925323"]]  (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", "Chuck Kemmer"], ["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", "Chuck Kemmer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:50.932468"], ["updated_at", "2018-09-05 05:39:50.932468"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Hubert O'Reilly"], ["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", "Hubert O'Reilly"], ["name", "Bo Funk"], ["address", "Emile Rice"], ["created_at", "2018-09-05 05:39:50.941383"], ["updated_at", "2018-09-05 05:39:50.941383"]]  (0.7ms) RELEASE SAVEPOINT active_record_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", "Danyel Leffler"], ["service_delivery_unit_id", 7], ["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", "Danyel Leffler"], ["name", "Tierra Mayert"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:39:50.948429"], ["updated_at", "2018-09-05 05:39:50.948429"]] 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 (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Danyel Leffler"], ["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", "Danyel Leffler"], ["name", "Tierra Mayert"], ["description", "Default bundle for service 'Tierra Mayert'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:39:50.958544"], ["updated_at", "2018-09-05 05:39:50.958544"]] 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", 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.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.2ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (1.2ms) 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", "Danyel Leffler"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 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 (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", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Update (1.4ms) 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 05:39:50.988312"], ["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", "Danyel Leffler"], ["LIMIT", 1]]  (0.7ms) 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 (1.79ms) Mks::Auth::User Load (1.1ms) 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.22ms) Completed 200 OK in 48ms (Views: 1.4ms | ActiveRecord: 13.1ms) Mks::Rate::ChargeableService Load (1.0ms) 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) ROLLBACK  (1.4ms) 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", "adrienne_schmidt@sipeswehner.co.uk"], ["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", "Aleshia Bauch"], ["last_name", "Grazyna Schmidt"], ["email", "adrienne_schmidt@sipeswehner.co.uk"], ["password_digest", "$2a$04$VR4RLV1uBoLcYfI0ksDPF.DEwS5ZLEJJVLF1uoDIbp4VzUtO3CZgy"], ["created_at", "2018-09-05 05:39:51.028662"], ["updated_at", "2018-09-05 05:39:51.028662"]]  (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", "Ellie Hahn"], ["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", "Hildred Stokes"], ["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", "Ellie Hahn"], ["name", "Hildred Stokes"], ["created_at", "2018-09-05 05:39:51.035859"], ["updated_at", "2018-09-05 05:39:51.035859"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rita Quitzon"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rita Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.043928"], ["updated_at", "2018-09-05 05:39:51.043928"]]  (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", "Lawanda Jewess"], ["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", "Lawanda Jewess"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.051279"], ["updated_at", "2018-09-05 05:39:51.051279"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Tasha Ondricka"], ["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", "Tasha Ondricka"], ["name", "Natisha Rempel"], ["address", "Caleb Beier"], ["created_at", "2018-09-05 05:39:51.062592"], ["updated_at", "2018-09-05 05:39:51.062592"]]  (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", "Roger Anderson"], ["service_delivery_unit_id", 8], ["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", "Roger Anderson"], ["name", "Jeanice Wintheiser"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:39:51.068204"], ["updated_at", "2018-09-05 05:39:51.068204"]] 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", 8], ["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", "Roger Anderson"], ["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 Anderson"], ["name", "Jeanice Wintheiser"], ["description", "Default bundle for service 'Jeanice Wintheiser'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:39:51.076396"], ["updated_at", "2018-09-05 05:39:51.076396"]] 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", 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.8ms) 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.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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Roger Anderson"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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.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", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 422 Unprocessable Entity in 15ms (Views: 1.3ms | ActiveRecord: 8.0ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "jamar_adams@harvey.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", "Leonarda Morissette"], ["last_name", "Armand Stiedemann"], ["email", "jamar_adams@harvey.com"], ["password_digest", "$2a$04$TzugMvLZdTDal38c5O5.VecrosKOMOulk.HciU1Tu82iGiz28KCsW"], ["created_at", "2018-09-05 05:39:51.109037"], ["updated_at", "2018-09-05 05:39:51.109037"]]  (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", "Melda Schaefer"], ["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", "Melda Schaefer"], ["name", "Lawerence Bayer"], ["address", "Lane Padberg"], ["created_at", "2018-09-05 05:39:51.115949"], ["updated_at", "2018-09-05 05:39:51.115949"]]  (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", "Alpha Leffler"], ["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", "Alpha Leffler"], ["name", "Jada Hintz"], ["address", "Lynna Rowe"], ["created_at", "2018-09-05 05:39:51.120885"], ["updated_at", "2018-09-05 05:39:51.120885"]]  (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", "Alejandrina Crooks"], ["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", "Shavonne Pagac"], ["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", "Alejandrina Crooks"], ["name", "Shavonne Pagac"], ["created_at", "2018-09-05 05:39:51.127943"], ["updated_at", "2018-09-05 05:39:51.127943"]]  (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", "Suanne Keeling"], ["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", "Suanne Keeling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.132510"], ["updated_at", "2018-09-05 05:39:51.132510"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jettie Waters"], ["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", "Jettie Waters"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.140657"], ["updated_at", "2018-09-05 05:39:51.140657"]]  (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", "Catrina Jenkins"], ["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.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", "Catrina Jenkins"], ["name", "Oneida Schiller"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:39:51.147687"], ["updated_at", "2018-09-05 05:39:51.147687"]] 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", 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", "Catrina Jenkins"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Catrina Jenkins"], ["name", "Oneida Schiller"], ["description", "Default bundle for service 'Oneida Schiller'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:39:51.153456"], ["updated_at", "2018-09-05 05:39:51.153456"]] 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", 8], ["chargeable_service_id", 8]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Colene Mills"], ["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", "Carroll DuBuque"], ["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", "Colene Mills"], ["name", "Carroll DuBuque"], ["created_at", "2018-09-05 05:39:51.166596"], ["updated_at", "2018-09-05 05:39:51.166596"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Meghann Quigley"], ["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", "Meghann Quigley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.173230"], ["updated_at", "2018-09-05 05:39:51.173230"]]  (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", "Pattie Jakubowski"], ["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", "Pattie Jakubowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.178138"], ["updated_at", "2018-09-05 05:39:51.178138"]]  (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", "Lavern Olson"], ["service_delivery_unit_id", 9], ["LIMIT", 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", 9], ["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", "Lavern Olson"], ["name", "Rolanda Hodkiewicz"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:39:51.185025"], ["updated_at", "2018-09-05 05:39:51.185025"]] 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", 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", "Lavern Olson"], ["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", "Lavern Olson"], ["name", "Rolanda Hodkiewicz"], ["description", "Default bundle for service 'Rolanda Hodkiewicz'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:39:51.193042"], ["updated_at", "2018-09-05 05:39:51.193042"]] 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", 9], ["chargeable_service_id", 9]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Isabelle Macejkovic"], ["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", "Helaine 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", "Isabelle Macejkovic"], ["name", "Helaine Heller"], ["created_at", "2018-09-05 05:39:51.205165"], ["updated_at", "2018-09-05 05:39:51.205165"]]  (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", "Christeen Harvey"], ["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", "Christeen Harvey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.210798"], ["updated_at", "2018-09-05 05:39:51.210798"]]  (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", "Kimberely Luettgen"], ["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", "Kimberely Luettgen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.215612"], ["updated_at", "2018-09-05 05:39:51.215612"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Katherine Sauer"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] 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", 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", "Katherine Sauer"], ["name", "Carin Reichel"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:39:51.225946"], ["updated_at", "2018-09-05 05:39:51.225946"]] 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", "Katherine Sauer"], ["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", "Katherine Sauer"], ["name", "Carin Reichel"], ["description", "Default bundle for service 'Carin Reichel'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:39:51.231108"], ["updated_at", "2018-09-05 05:39:51.231108"]] 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.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Aide Pacocha"], ["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", "Geri 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", "Aide Pacocha"], ["name", "Geri Goyette"], ["created_at", "2018-09-05 05:39:51.241844"], ["updated_at", "2018-09-05 05:39:51.241844"]]  (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", "Vanda Friesen"], ["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", "Vanda Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.246530"], ["updated_at", "2018-09-05 05:39:51.246530"]]  (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", "Larita Hills"], ["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", "Larita Hills"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.250810"], ["updated_at", "2018-09-05 05:39:51.250810"]]  (0.8ms) 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", "Marlin Considine"], ["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", "Marlin Considine"], ["name", "Delsie Rau"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:39:51.257856"], ["updated_at", "2018-09-05 05:39:51.257856"]] 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", "Marlin Considine"], ["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", "Marlin Considine"], ["name", "Delsie Rau"], ["description", "Default bundle for service 'Delsie Rau'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:39:51.262625"], ["updated_at", "2018-09-05 05:39:51.262625"]] 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.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["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", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.4ms) 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 (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", 9], ["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", 17], ["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", 18], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.1ms) 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 (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", 9], ["LIMIT", 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", 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 (14.75ms) Completed 200 OK in 25ms (Views: 11.0ms | ActiveRecord: 11.3ms)  (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", "rod@kocheffertz.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.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", "Margene O'Connell"], ["last_name", "Toya Sawayn"], ["email", "rod@kocheffertz.com"], ["password_digest", "$2a$04$CDDZVoGNIrV5AyiFncoBo.Kej9vNzUmoBkYjUycuSldZWuAB1ly26"], ["created_at", "2018-09-05 05:39:51.302856"], ["updated_at", "2018-09-05 05:39:51.302856"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) 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", "van@denesik.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", "Linnea Wilkinson"], ["last_name", "Isabella Wyman"], ["email", "van@denesik.co.uk"], ["password_digest", "$2a$04$HFqu4Tu4fjLCMechY4I3lupXCgvFUUveZoIbiu2FLO160ErtL0lue"], ["created_at", "2018-09-05 05:39:51.315302"], ["updated_at", "2018-09-05 05:39:51.315302"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (1.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", "annamarie.parker@ziemannhudson.name"], ["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", "Edward Heaney"], ["last_name", "Ervin Fisher"], ["email", "annamarie.parker@ziemannhudson.name"], ["password_digest", "$2a$04$gFpXo3xhQawgXT9XU1/9K.s.rtGd90x.Ffa/YArNeuOZZAqkIu2mq"], ["created_at", "2018-09-05 05:39:51.329463"], ["updated_at", "2018-09-05 05:39:51.329463"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.9ms) 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", "leta.greenfelder@lowenienow.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", "Nelle Denesik"], ["last_name", "Francesco Treutel"], ["email", "leta.greenfelder@lowenienow.ca"], ["password_digest", "$2a$04$bODcydNAJFVPm4WgrWMVWe9mvvFpF4L41an5hbZjaBh4ZfcYpzZVi"], ["created_at", "2018-09-05 05:39:51.349340"], ["updated_at", "2018-09-05 05:39:51.349340"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) ROLLBACK  (1.0ms) 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", "edra@kreigerdickens.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", "Reyna Muller"], ["last_name", "Iraida Prosacco"], ["email", "edra@kreigerdickens.info"], ["password_digest", "$2a$04$cidEoH1gUBme5q9TrmM3BO3eGYodg/j.O/jHVzHv1iZ7B285fR1PO"], ["created_at", "2018-09-05 05:39:51.362801"], ["updated_at", "2018-09-05 05:39:51.362801"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.2ms) 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", "iola_langosh@gutkowskiritchie.info"], ["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", "Jason Reinger"], ["last_name", "Lashon Kautzer"], ["email", "iola_langosh@gutkowskiritchie.info"], ["password_digest", "$2a$04$zNQyX4T.R6O6gPFI.wnbM.y0e83w6RXlUXCeYhWDBv2/fZS2DlgZK"], ["created_at", "2018-09-05 05:39:51.375762"], ["updated_at", "2018-09-05 05:39:51.375762"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (0.9ms) BEGIN  (2.2ms) 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", "francisco_dooley@uptonbartell.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", "Chelsea Jacobi"], ["last_name", "Jacquline Dickinson"], ["email", "francisco_dooley@uptonbartell.com"], ["password_digest", "$2a$04$hYoEdU5bEeyxTecwKPfkEOh1Vk0AOJF7.lWZbM/Ud5EyObPijJcw."], ["created_at", "2018-09-05 05:39:51.393702"], ["updated_at", "2018-09-05 05:39:51.393702"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "moriah@jacobson.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", "Corinna Simonis"], ["last_name", "Jeffrey Greenfelder"], ["email", "moriah@jacobson.us"], ["password_digest", "$2a$04$uuyMnWqLOJ5CRuJqHlCU3.rHPIpETkGWdPNsSN7VwfkQQ8K.6MjnK"], ["created_at", "2018-09-05 05:39:51.410394"], ["updated_at", "2018-09-05 05:39:51.410394"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (3.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (4.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "britteny.pacocha@reichelmedhurst.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", "Randy Reilly"], ["last_name", "German Morissette"], ["email", "britteny.pacocha@reichelmedhurst.us"], ["password_digest", "$2a$04$qRzMzQwHvKEk6X1BiCku0OK4fZc82gWBRIwTT/5uMuWDkVAwDrRRG"], ["created_at", "2018-09-05 05:39:51.430479"], ["updated_at", "2018-09-05 05:39:51.430479"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) ROLLBACK  (0.8ms) BEGIN  (1.9ms) 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", "page_oreilly@schneider.ca"], ["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", "Rafael Corwin"], ["last_name", "Matha Morissette"], ["email", "page_oreilly@schneider.ca"], ["password_digest", "$2a$04$e82eUk3bPrgPMa7HQKAfKe7toRUU3Ztq6DM4QFuj8E4UvpdL63676"], ["created_at", "2018-09-05 05:39:51.448115"], ["updated_at", "2018-09-05 05:39:51.448115"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Lizzette Brekke"], ["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", "Lizzette Brekke"], ["name", "Deedee Mante"], ["address", "Bess Mann"], ["created_at", "2018-09-05 05:39:51.457112"], ["updated_at", "2018-09-05 05:39:51.457112"]]  (0.6ms) 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", "Rosie Wuckert"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.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", "Rosie Wuckert"], ["name", "Kathryn Mitchell"], ["description", "Meggan Shields"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:39:51.462155"], ["updated_at", "2018-09-05 05:39:51.462155"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 17], ["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", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.27ms) Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 4.1ms)  (0.8ms) ROLLBACK  (0.5ms) 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", "desire_daugherty@schimmel.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", "Bebe Von"], ["last_name", "Elza Okuneva"], ["email", "desire_daugherty@schimmel.co.uk"], ["password_digest", "$2a$04$ZWpL6fYfqtjXFa5C8tZ3EuzAKUZNWrAhaUW74eKMn99RfuEZcYxlK"], ["created_at", "2018-09-05 05:39:51.490378"], ["updated_at", "2018-09-05 05:39:51.490378"]]  (0.5ms) 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", "Rupert Kiehn"], ["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", "Rupert Kiehn"], ["name", "Ernest Dickens"], ["address", "Lola Rosenbaum"], ["created_at", "2018-09-05 05:39:51.496171"], ["updated_at", "2018-09-05 05:39:51.496171"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Ciera Shanahan"], ["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", "Ciera Shanahan"], ["name", "Vina Goldner"], ["description", "Dewey Goldner"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:39:51.501374"], ["updated_at", "2018-09-05 05:39:51.501374"]]  (1.0ms) 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", "Pamula Conroy"], ["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", "Pamula Conroy"], ["name", "Sherilyn Krajcik"], ["description", "Queenie Parker"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:39:51.509156"], ["updated_at", "2018-09-05 05:39:51.509156"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ada Adams"], ["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", "Ada Adams"], ["name", "Jennette Auer"], ["description", "Jeanine Deckow"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:39:51.515573"], ["updated_at", "2018-09-05 05:39:51.515573"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.17ms) Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 4.6ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) 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", "chase.kuhn@wyman.ca"], ["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", "Edison Rutherford"], ["last_name", "Aleta Beier"], ["email", "chase.kuhn@wyman.ca"], ["password_digest", "$2a$04$54yCBZkA2Pa9PKKWwtjoEONt.R.4q9u88ZaD/KU.l2JJ0s4D3RgJ."], ["created_at", "2018-09-05 05:39:51.544861"], ["updated_at", "2018-09-05 05:39:51.544861"]]  (0.8ms) 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", "Lavonia Bogisich"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lavonia Bogisich"], ["name", "Darell Morissette"], ["address", "Shae Rolfson"], ["created_at", "2018-09-05 05:39:51.551486"], ["updated_at", "2018-09-05 05:39:51.551486"]]  (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", "Calandra Kautzer"], ["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", "Calandra Kautzer"], ["name", "Kiersten Erdman"], ["description", "Alida Cruickshank"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:39:51.558718"], ["updated_at", "2018-09-05 05:39:51.558718"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tommie Crist"], ["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", "Tommie Crist"], ["name", "Rena Mraz"], ["description", "Von Hickle"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:39:51.563555"], ["updated_at", "2018-09-05 05:39:51.563555"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Andera Wisoky"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Andera Wisoky"], ["name", "Ozell Hackett"], ["description", "Nieves Daugherty"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:39:51.570200"], ["updated_at", "2018-09-05 05:39:51.570200"]]  (1.3ms) 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", "Elfreda Rempel"], ["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", "Elfreda Rempel"], ["name", "Tomi Herzog"], ["address", "Trudi Spinka"], ["created_at", "2018-09-05 05:39:51.577352"], ["updated_at", "2018-09-05 05:39:51.577352"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Charlie Tremblay"], ["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", "Charlie Tremblay"], ["name", "Sydney Zieme"], ["description", "Macy Waters"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:39:51.582576"], ["updated_at", "2018-09-05 05:39:51.582576"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (2.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", "Lucy Leuschke"], ["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", "Lucy Leuschke"], ["name", "Lin Swaniawski"], ["address", "Alysia Gibson"], ["created_at", "2018-09-05 05:39:51.591619"], ["updated_at", "2018-09-05 05:39:51.591619"]]  (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", "Hung Windler"], ["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", "Hung Windler"], ["name", "Reita Ruecker"], ["description", "Kelli Johns"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:39:51.596097"], ["updated_at", "2018-09-05 05:39:51.596097"]]  (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", "Han Wiegand"], ["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", "Han Wiegand"], ["name", "Johnnie Kuphal"], ["address", "Izola Adams"], ["created_at", "2018-09-05 05:39:51.601003"], ["updated_at", "2018-09-05 05:39:51.601003"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Arla Bogisich"], ["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", "Arla Bogisich"], ["name", "Robbin Ward"], ["description", "Jeannie Greenfelder"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:39:51.607580"], ["updated_at", "2018-09-05 05:39:51.607580"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.58ms) Completed 200 OK in 12ms (Views: 5.5ms | ActiveRecord: 5.4ms)  (0.7ms) 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", "luisa.ward@price.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", "Roberta Gusikowski"], ["last_name", "Wilson Lynch"], ["email", "luisa.ward@price.com"], ["password_digest", "$2a$04$Q/r9PgxTAqu6WSZ97W5lkO8NNDpYppT97dbw9C.QoxkA/7uULDfZG"], ["created_at", "2018-09-05 05:39:51.630614"], ["updated_at", "2018-09-05 05:39:51.630614"]]  (0.6ms) 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", "Zula Botsford"], ["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", "Zula Botsford"], ["name", "Kai Predovic"], ["address", "Cody Cormier"], ["created_at", "2018-09-05 05:39:51.637447"], ["updated_at", "2018-09-05 05:39:51.637447"]]  (0.6ms) 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", "Oralee Langworth"], ["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", "Oralee Langworth"], ["name", "David Kshlerin"], ["description", "Tomasa Gulgowski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:39:51.643189"], ["updated_at", "2018-09-05 05:39:51.643189"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} 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]] 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", 22], ["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", 20], ["LIMIT", 1]] [active_model_serializers] 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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.78ms) Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 3.7ms)  (1.0ms) ROLLBACK  (0.7ms) 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", "jamison@bauch.co.uk"], ["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", "Felecia Erdman"], ["last_name", "Blake Johnston"], ["email", "jamison@bauch.co.uk"], ["password_digest", "$2a$04$IeFGFvLzdxMj71eNuCJqP.ZXx2q/7pYyxovJMWHvMn6qBOcBegwJy"], ["created_at", "2018-09-05 05:39:51.667048"], ["updated_at", "2018-09-05 05:39:51.667048"]]  (2.4ms) 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", "Danuta Brown"], ["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", "Danuta Brown"], ["name", "Lisandra Kuphal"], ["address", "Diego Hauck"], ["created_at", "2018-09-05 05:39:51.675417"], ["updated_at", "2018-09-05 05:39:51.675417"]]  (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", "Fawn Waelchi"], ["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", "Fawn Waelchi"], ["name", "First Service Bundle"], ["description", "Shelly Maggio"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:39:51.680156"], ["updated_at", "2018-09-05 05:39:51.680156"]]  (0.5ms) 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", "Deandra Fisher"], ["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", "Deandra Fisher"], ["name", "Beula Wuckert"], ["address", "Vada O'Keefe"], ["created_at", "2018-09-05 05:39:51.685640"], ["updated_at", "2018-09-05 05:39:51.685640"]]  (1.2ms) 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", "Shelby Altenwerth"], ["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", "Shelby Altenwerth"], ["name", "Second Service Bundle"], ["description", "Rudy Bogisich"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:39:51.692043"], ["updated_at", "2018-09-05 05:39:51.692043"]]  (0.5ms) 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", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.3ms) 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 (2.5ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.63ms) Completed 200 OK in 12ms (Views: 5.3ms | ActiveRecord: 5.5ms) 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", 21], ["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", 21], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.8ms) 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.4ms) 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]] [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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.95ms) Completed 200 OK in 15ms (Views: 5.6ms | ActiveRecord: 13.9ms)  (0.9ms) 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", "trina@cartwright.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", "Silvia Emard"], ["last_name", "Bebe Dach"], ["email", "trina@cartwright.name"], ["password_digest", "$2a$04$iiA8LmDDybXNgOpKaw5xU.dlED.h0j4Qb/3fqZg4NctqpbgCt8lAe"], ["created_at", "2018-09-05 05:39:51.733296"], ["updated_at", "2018-09-05 05:39:51.733296"]]  (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", "Domenic Predovic"], ["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", "Domenic Predovic"], ["name", "Rosario Cummerata"], ["address", "Conchita Spinka"], ["created_at", "2018-09-05 05:39:51.739143"], ["updated_at", "2018-09-05 05:39:51.739143"]]  (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", "Keenan Labadie"], ["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", "Keenan Labadie"], ["name", "FIRst Service Bundle"], ["description", "Vanesa Collier"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:39:51.743937"], ["updated_at", "2018-09-05 05:39:51.743937"]]  (0.6ms) 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", "Randy Lemke"], ["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", "Randy Lemke"], ["name", "Vi Torp"], ["address", "Micaela Goldner"], ["created_at", "2018-09-05 05:39:51.749949"], ["updated_at", "2018-09-05 05:39:51.749949"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Candelaria Nicolas"], ["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", "Candelaria Nicolas"], ["name", "Second Service Bundle for the firST time"], ["description", "Britteny Nicolas"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:39:51.756445"], ["updated_at", "2018-09-05 05:39:51.756445"]]  (0.5ms) 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", 22], ["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", 22], ["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 (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", 20], ["LIMIT", 1]] [active_model_serializers] 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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.77ms) Completed 200 OK in 10ms (Views: 4.1ms | ActiveRecord: 5.1ms)  (1.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", "santiago@cruickshank.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", "Jenice Halvorson"], ["last_name", "Marlin Hoppe"], ["email", "santiago@cruickshank.us"], ["password_digest", "$2a$04$5/ux31AAxQC5GBTZAx42POg3GdTu8EXeUHszfBuxSUMj5.P7Zd3b2"], ["created_at", "2018-09-05 05:39:51.779760"], ["updated_at", "2018-09-05 05:39:51.779760"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Abel Herman"], ["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", "Abel Herman"], ["name", "Tomi Walsh"], ["address", "Minh Wilkinson"], ["created_at", "2018-09-05 05:39:51.788175"], ["updated_at", "2018-09-05 05:39:51.788175"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Fletcher Schuster", "description"=>"Casandra Green", "name"=>"Sona Mueller", "service_delivery_unit_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", 23], ["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", 22], ["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", "Fletcher Schuster"], ["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", "Fletcher Schuster"], ["name", "Sona Mueller"], ["description", "Casandra Green"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:39:51.798536"], ["updated_at", "2018-09-05 05:39:51.798536"]]  (0.6ms) 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.23ms) Completed 201 Created in 12ms (Views: 2.1ms | ActiveRecord: 6.0ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (1.4ms) ROLLBACK  (0.6ms) BEGIN  (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", "annett.oberbrunner@brown.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", "Marge Price"], ["last_name", "Cathryn Hagenes"], ["email", "annett.oberbrunner@brown.biz"], ["password_digest", "$2a$04$NqH/7jXIIyvUukIf0KlIneEw7i5pXppKwvqYzzVdmdpydRQCHZyIi"], ["created_at", "2018-09-05 05:39:51.816315"], ["updated_at", "2018-09-05 05:39:51.816315"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Fanny Franecki"], ["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", "Fanny Franecki"], ["name", "Lamont O'Kon"], ["address", "Haywood Wisoky"], ["created_at", "2018-09-05 05:39:51.824688"], ["updated_at", "2018-09-05 05:39:51.824688"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Doria Bogisich", "description"=>"Lyman Goodwin", "name"=>"Peg Bednar", "service_delivery_unit_id"=>"23"}} 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]]  (0.6ms) 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", 23], ["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", "Doria 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", "Doria Bogisich"], ["name", "Peg Bednar"], ["description", "Lyman Goodwin"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:39:51.833400"], ["updated_at", "2018-09-05 05:39:51.833400"]]  (0.6ms) 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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.34ms) Completed 201 Created in 12ms (Views: 2.3ms | ActiveRecord: 5.4ms) 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.5ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) 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", "kandace@bernier.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.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", "Rhona Schultz"], ["last_name", "Ginny Jewess"], ["email", "kandace@bernier.com"], ["password_digest", "$2a$04$itZT/EqrYh0AFm2bw4Kit.rfQ7ZtsiOu7WQIltrrr91k/P1yC.b9y"], ["created_at", "2018-09-05 05:39:51.853240"], ["updated_at", "2018-09-05 05:39:51.853240"]]  (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", "Rosalee Effertz"], ["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", "Rosalee Effertz"], ["name", "Deeann Ryan"], ["address", "Shay Gleichner"], ["created_at", "2018-09-05 05:39:51.859656"], ["updated_at", "2018-09-05 05:39:51.859656"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Cordia Murphy", "name"=>"Agustin Pouros", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.6ms) 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", 24], ["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", ""], ["LIMIT", 1]]  (2.3ms) 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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.13ms) Completed 422 Unprocessable Entity in 15ms (Views: 4.6ms | ActiveRecord: 6.3ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) 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", "micki.ziemann@huelsrodriguez.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", "Ronda McDermott"], ["last_name", "Paulina Murray"], ["email", "micki.ziemann@huelsrodriguez.info"], ["password_digest", "$2a$04$8c2Sc3eMWIxLHlJ33ZCDROvJJh/NyrTMeqPyleMVz6k.uGu09/.xq"], ["created_at", "2018-09-05 05:39:51.887307"], ["updated_at", "2018-09-05 05:39:51.887307"]]  (0.6ms) 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", "Carlotta Borer"], ["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", "Carlotta Borer"], ["name", "Angelena Quitzon"], ["address", "Latarsha Abshire"], ["created_at", "2018-09-05 05:39:51.903282"], ["updated_at", "2018-09-05 05:39:51.903282"]]  (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", "Judie Roberts"], ["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", "Judie Roberts"], ["name", "Vince Wunsch"], ["description", "Makeda Orn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:39:51.908535"], ["updated_at", "2018-09-05 05:39:51.908535"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Cathy Kozey"], ["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", "Byron Shanahan"], ["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", "Cathy Kozey"], ["name", "Byron Shanahan"], ["created_at", "2018-09-05 05:39:51.916017"], ["updated_at", "2018-09-05 05:39:51.916017"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Shanta Deckow"], ["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", "Shanta Deckow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.923766"], ["updated_at", "2018-09-05 05:39:51.923766"]]  (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", "Hershel Green"], ["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", "Hershel Green"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:51.928248"], ["updated_at", "2018-09-05 05:39:51.928248"]]  (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", "Jae Morissette"], ["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", "Jae Morissette"], ["name", "Donella Kunze"], ["address", "Joanie Orn"], ["created_at", "2018-09-05 05:39:51.933062"], ["updated_at", "2018-09-05 05:39:51.933062"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Caroll Frami"], ["service_delivery_unit_id", 26], ["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", "Caroll Frami"], ["name", "Felicidad Kautzer"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:39:51.940722"], ["updated_at", "2018-09-05 05:39:51.940722"]] 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", 26], ["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", "Caroll Frami"], ["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", "Caroll Frami"], ["name", "Felicidad Kautzer"], ["description", "Default bundle for service 'Felicidad Kautzer'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:39:51.946809"], ["updated_at", "2018-09-05 05:39:51.946809"]] 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", 30], ["chargeable_service_id", 12]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 29], ["LIMIT", 1]] Unpermitted parameter: :id Mks::Auth::User Load (1.0ms) 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 Hash (0.08ms) Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 2.8ms)  (1.0ms) 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", "tamala_ondricka@mccullough.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", "Emely Reichert"], ["last_name", "Garnett Bogan"], ["email", "tamala_ondricka@mccullough.com"], ["password_digest", "$2a$04$pdRIIwcOUpBantDD7hANeOtrPypsUM6Im.LLnUEM97EzFn9udWJy."], ["created_at", "2018-09-05 05:39:51.977897"], ["updated_at", "2018-09-05 05:39:51.977897"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Curtis Schiller"], ["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", "Curtis Schiller"], ["name", "Vinnie Haley"], ["address", "Shane Beer"], ["created_at", "2018-09-05 05:39:51.985838"], ["updated_at", "2018-09-05 05:39:51.985838"]]  (0.6ms) 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", "Jacob Wolf"], ["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", "Jacob Wolf"], ["name", "Hortense Lebsack"], ["description", "Juliane Deckow"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:39:51.992215"], ["updated_at", "2018-09-05 05:39:51.992215"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Jeannetta Friesen"}, "id"=>"31"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["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", 31], ["LIMIT", 1]]  (0.7ms) 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", 27], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (2.3ms) 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", "Jacob Wolf"], ["id", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.4ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Jeannetta Friesen"], ["updated_at", "2018-09-05 05:39:52.005496"], ["id", 31]]  (0.7ms) 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", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.38ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 8.7ms) Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.8ms) 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", "brittany_conroy@mooremertz.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", "Lyndia Bednar"], ["last_name", "Twana Reinger"], ["email", "brittany_conroy@mooremertz.biz"], ["password_digest", "$2a$04$S9/JW2WNpdw9kNo1q4/5CuU3fBR61l7X9QPe.d7UHpFF37zJzCejy"], ["created_at", "2018-09-05 05:39:52.025505"], ["updated_at", "2018-09-05 05:39:52.025505"]]  (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", "Lora Torp"], ["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", "Lora Torp"], ["name", "Jong Rath"], ["address", "Vance Koch"], ["created_at", "2018-09-05 05:39:52.031381"], ["updated_at", "2018-09-05 05:39:52.031381"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Daria Schuster"], ["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", "Daria Schuster"], ["name", "Genevieve O'Hara"], ["description", "Leatrice Bosco"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:39:52.036786"], ["updated_at", "2018-09-05 05:39:52.036786"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Beula Harris"], ["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", "Beula Harris"], ["name", "Senaida Bogan"], ["address", "Heidi Sauer"], ["created_at", "2018-09-05 05:39:52.046426"], ["updated_at", "2018-09-05 05:39:52.046426"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Niki Mitchell", "description"=>"Britany Hermiston", "name"=>"Avis Jaskolski", "service_delivery_unit_id"=>"29"}, "id"=>"32"} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["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]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (2.3ms) 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]] 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", "Niki Mitchell"], ["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.0ms) 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", "Niki Mitchell"], ["name", "Avis Jaskolski"], ["description", "Britany Hermiston"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:39:52.060793"], ["id", 32]]  (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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.27ms) Completed 200 OK in 16ms (Views: 1.4ms | ActiveRecord: 9.3ms)  (0.7ms) ROLLBACK  (1.1ms) BEGIN  (1.0ms) 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", "jamie.botsford@kerluke.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", "Tony Gulgowski"], ["last_name", "Deeann Rohan"], ["email", "jamie.botsford@kerluke.info"], ["password_digest", "$2a$04$RVXKOAPYXfcQn4IIZ0lnLOhd8.bHx7mR9VIos2tZX.6lpPzzKRPAa"], ["created_at", "2018-09-05 05:39:52.075728"], ["updated_at", "2018-09-05 05:39:52.075728"]]  (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", "Oliva Marvin"], ["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", "Oliva Marvin"], ["name", "Katrice Yundt"], ["address", "Camellia Parisian"], ["created_at", "2018-09-05 05:39:52.080927"], ["updated_at", "2018-09-05 05:39:52.080927"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rosalind Yost"], ["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", "Rosalind Yost"], ["name", "Kermit Hoeger"], ["description", "Karey Cormier"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:39:52.086772"], ["updated_at", "2018-09-05 05:39:52.086772"]]  (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", "Claris 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", "Claris Gutmann"], ["name", "Altha Moen"], ["address", "Earline Grant"], ["created_at", "2018-09-05 05:39:52.092630"], ["updated_at", "2018-09-05 05:39:52.092630"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Angelo Ebert", "name"=>"Chana Dicki", "service_delivery_unit_id"=>"31"}, "id"=>"33"} 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::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 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" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.3ms) 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", 33], ["LIMIT", 1]]  (1.0ms) 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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 15ms (Views: 1.8ms | ActiveRecord: 7.3ms)  (1.0ms) ROLLBACK  (0.6ms) 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", "stevie@jaskolski.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", "Rafaela Streich"], ["last_name", "Blake Wiegand"], ["email", "stevie@jaskolski.ca"], ["password_digest", "$2a$04$63Ml/ZhIWiO0Bs/lzhqaZe/j0vbfmqu0txD2tmdbRrWd3uV8tHKx2"], ["created_at", "2018-09-05 05:39:52.122751"], ["updated_at", "2018-09-05 05:39:52.122751"]]  (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", "Delmar Marquardt"], ["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", "Delmar Marquardt"], ["name", "Connie Ankunding"], ["address", "Candis Friesen"], ["created_at", "2018-09-05 05:39:52.128329"], ["updated_at", "2018-09-05 05:39:52.128329"]]  (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", "Laurice Langosh"], ["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", "Laurice Langosh"], ["name", "Curtis Fadel"], ["address", "Christine Schneider"], ["created_at", "2018-09-05 05:39:52.132824"], ["updated_at", "2018-09-05 05:39:52.132824"]]  (0.7ms) 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", "Caren Wiegand"], ["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", "Caren Wiegand"], ["name", "Earle Wyman"], ["address", "Delphia Satterfield"], ["created_at", "2018-09-05 05:39:52.138547"], ["updated_at", "2018-09-05 05:39:52.138547"]]  (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", 30], ["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", 30], ["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.74ms) Completed 200 OK in 16ms (Views: 12.8ms | ActiveRecord: 2.3ms)  (1.2ms) ROLLBACK  (0.5ms) 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", "clementina_nader@mertz.ca"], ["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", "Linda Green"], ["last_name", "Nicolle Hermiston"], ["email", "clementina_nader@mertz.ca"], ["password_digest", "$2a$04$6EpJ0DCM6HT5h2uqEmHjGerlZnJY9q908HDz7zpdkGXegNlq1TAr2"], ["created_at", "2018-09-05 05:39:52.169479"], ["updated_at", "2018-09-05 05:39:52.169479"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Lanelle Heidenreich", "code"=>"Geri Streich", "name"=>"Lisabeth Greenholt"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (1.1ms) 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", "Geri Streich"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Geri Streich"], ["name", "Lisabeth Greenholt"], ["address", "Lanelle Heidenreich"], ["created_at", "2018-09-05 05:39:52.184660"], ["updated_at", "2018-09-05 05:39:52.184660"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.2ms) Mks::Auth::User Load (1.4ms) 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 Mks::Common::MethodResponse (0.28ms) Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 8.2ms)  (1.5ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (1.1ms) ROLLBACK  (0.8ms) 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", "felisha@welch.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", "Lorrie Bins"], ["last_name", "Elke Schumm"], ["email", "felisha@welch.info"], ["password_digest", "$2a$04$GXtIJmLAy6Ysa1khfsZMd.SjjvK1gu/9IWQb.p8MuNWlImuvN4tci"], ["created_at", "2018-09-05 05:39:52.209577"], ["updated_at", "2018-09-05 05:39:52.209577"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Charla Schulist", "code"=>"Carla Doyle", "name"=>"Celsa Pagac"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 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", "Carla Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carla Doyle"], ["name", "Celsa Pagac"], ["address", "Charla Schulist"], ["created_at", "2018-09-05 05:39:52.218510"], ["updated_at", "2018-09-05 05:39:52.218510"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.12ms) Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.28ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 7.2ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.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", "phylis_ondricka@lowe.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", "Elina Parker"], ["last_name", "Jenniffer Kuvalis"], ["email", "phylis_ondricka@lowe.us"], ["password_digest", "$2a$04$kWnU21gmJhXRRUiJh90u1eLO3whNISbhaMbxHnqAY3B3X7SdjwLLe"], ["created_at", "2018-09-05 05:39:52.235406"], ["updated_at", "2018-09-05 05:39:52.235406"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Jonas Bergstrom", "code"=>"", "name"=>"Viola Waelchi"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 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", ""], ["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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 4.6ms)  (0.7ms) ROLLBACK  (0.9ms) 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", "charline@hammes.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", "Tama Gulgowski"], ["last_name", "Eldon Jacobi"], ["email", "charline@hammes.com"], ["password_digest", "$2a$04$87IOO9jll6T915edk0CM1OViITd32z3N5zu8aTeo1m5CIGluAhdUG"], ["created_at", "2018-09-05 05:39:52.260134"], ["updated_at", "2018-09-05 05:39:52.260134"]]  (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", "Rory Senger"], ["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", "Rory Senger"], ["name", "Venita Haley"], ["address", "Rubin Lueilwitz"], ["created_at", "2018-09-05 05:39:52.264844"], ["updated_at", "2018-09-05 05:39:52.264844"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["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", 37], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Rory Senger"], ["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (0.8ms) 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 05:39:52.275085"], ["id", 37]]  (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.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.27ms) Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 4.9ms) 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]]  (0.5ms) ROLLBACK  (0.6ms) 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", "sharlene_stanton@mohrkiehn.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", "Gennie Kris"], ["last_name", "Gaston Dietrich"], ["email", "sharlene_stanton@mohrkiehn.com"], ["password_digest", "$2a$04$.2Vtk1QBF5YE8QXJswxzXuhPAyvunsK1UmDjRqBFV37whc6oYGWHW"], ["created_at", "2018-09-05 05:39:52.290120"], ["updated_at", "2018-09-05 05:39:52.290120"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Daniela Leuschke"], ["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", "Daniela Leuschke"], ["name", "Kenny Jaskolski"], ["address", "Inga Veum"], ["created_at", "2018-09-05 05:39:52.296976"], ["updated_at", "2018-09-05 05:39:52.296976"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] 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", 38], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Daniela Leuschke"], ["id", 38], ["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", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.1ms | ActiveRecord: 5.7ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "alita.boehm@gibson.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", "Demetria Rosenbaum"], ["last_name", "Elinore Feeney"], ["email", "alita.boehm@gibson.co.uk"], ["password_digest", "$2a$04$tqv8Hgv1A1GiQFA/q7sFKOPtq0B9up9WRKkXlRr4Fi2odpLpaxTtC"], ["created_at", "2018-09-05 05:39:52.320544"], ["updated_at", "2018-09-05 05:39:52.320544"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Kirsten Johnston"], ["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", "Suk Wehner"], ["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", "Kirsten Johnston"], ["name", "Suk Wehner"], ["description", "Nobis sapiente blanditiis non voluptatem officiis. Commodi reiciendis deleniti fugit blanditiis illum. Ducimus cumque consequatur cum exercitationem pariatur impedit voluptatibus autem. Sed enim et doloribus quod commodi quae est culpa. Quia modi pariatur recusandae quia sunt velit quis."], ["created_at", "2018-09-05 05:39:52.428257"], ["updated_at", "2018-09-05 05:39:52.428257"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (2.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Myong Zemlak"], ["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", "Dustin Hermiston"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (2.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", "Myong Zemlak"], ["name", "Dustin Hermiston"], ["description", "Debitis quam dolore et aut non incidunt. Ipsum dolores fugiat eum assumenda. Saepe est quia alias qui autem sit sint omnis. Et vel ratione qui voluptas quas ut."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:39:52.440867"], ["updated_at", "2018-09-05 05:39:52.440867"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Sonya Tillman"], ["LIMIT", 1]] Mks::Edm::Equipment Create (2.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", "Sonya Tillman"], ["name", "Kyung Luettgen"], ["description", "Ward Rempel"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:39:52.451951"], ["updated_at", "2018-09-05 05:39:52.451951"]]  (0.8ms) 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", "Marylin Skiles"], ["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", "Filiberto Schulist"], ["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", "Marylin Skiles"], ["name", "Filiberto Schulist"], ["description", "Neil Grady"], ["created_at", "2018-09-05 05:39:52.499063"], ["updated_at", "2018-09-05 05:39:52.499063"]]  (1.0ms) 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", "Trey Bode"], ["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", "Trey Bode"], ["name", "Sherwood Weissnat"], ["location_type_id", 1], ["description", "Catherina Daniel"], ["address", "Mellie Jaskolski"], ["created_at", "2018-09-05 05:39:52.506903"], ["updated_at", "2018-09-05 05:39:52.506903"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Leda Muller"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Debby Kessler"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Leda Muller"], ["name", "Magnolia Nikolaus"], ["description", "Heidi Corkery"], ["serial_number", "Debby Kessler"], ["brand", "Keshia Ferry"], ["item_model", "Ariel Gusikowski"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:39:52.517217"], ["updated_at", "2018-09-05 05:39:52.517217"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Cruz Jerde"], ["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", "Julissa Aufderhar"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cruz Jerde"], ["name", "Julissa Aufderhar"], ["created_at", "2018-09-05 05:39:52.530443"], ["updated_at", "2018-09-05 05:39:52.530443"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (3.3ms) 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", "Arthur Baumbach"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (4.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Arthur Baumbach"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:52.543289"], ["updated_at", "2018-09-05 05:39:52.543289"]]  (4.2ms) RELEASE SAVEPOINT active_record_1  (2.4ms) 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", "Jill Kunde"], ["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", "Jill Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:52.560503"], ["updated_at", "2018-09-05 05:39:52.560503"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (4.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Gerald Jones"], ["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", "Gerald Jones"], ["name", "Lanette Hills"], ["address", "Rosalba Altenwerth"], ["created_at", "2018-09-05 05:39:52.570746"], ["updated_at", "2018-09-05 05:39:52.570746"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Lamar Schimmel"], ["service_delivery_unit_id", 39], ["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", "Lamar Schimmel"], ["name", "Jeannetta Will"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:39:52.578100"], ["updated_at", "2018-09-05 05:39:52.578100"]] Mks::Rate::ServiceDeliveryUnit Load (4.9ms) 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 (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lamar Schimmel"], ["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", "Lamar Schimmel"], ["name", "Jeannetta Will"], ["description", "Default bundle for service 'Jeannetta Will'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:39:52.589492"], ["updated_at", "2018-09-05 05:39:52.589492"]] 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", 34], ["chargeable_service_id", 13]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (9.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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:39:52.599550"], ["updated_at", "2018-09-05 05:39:52.599550"]]  (0.8ms) 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", "Leida Lehner"], ["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", "Georgeann Gleichner"], ["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", "Leida Lehner"], ["name", "Georgeann Gleichner"], ["description", "Voluptas fugit vel ipsa omnis. Molestiae corporis est debitis sunt doloremque. Magnam voluptas ea aliquam non qui placeat voluptas et."], ["created_at", "2018-09-05 05:39:52.615496"], ["updated_at", "2018-09-05 05:39:52.615496"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Keneth Stamm"], ["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", "Terence Olson"], ["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", "Keneth Stamm"], ["name", "Terence Olson"], ["description", "Assumenda mollitia temporibus veniam voluptatem eum. Quo et voluptatem minus delectus blanditiis quia. Sit est voluptas inventore similique qui ratione sed. Quos molestiae modi mollitia quo."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:39:52.623023"], ["updated_at", "2018-09-05 05:39:52.623023"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Johnetta Smith"], ["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", "Johnetta Smith"], ["name", "Retta McKenzie"], ["description", "Thora Mitchell"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:39:52.628260"], ["updated_at", "2018-09-05 05:39:52.628260"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Karl Hirthe"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Aleen Cole"], ["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", "Karl Hirthe"], ["name", "Aleen Cole"], ["description", "Yuko Lockman"], ["created_at", "2018-09-05 05:39:52.638081"], ["updated_at", "2018-09-05 05:39:52.638081"]]  (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", "Lashaun Cassin"], ["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", "Lashaun Cassin"], ["name", "Laurence Rodriguez"], ["location_type_id", 2], ["description", "Lu Brakus"], ["address", "Genesis Rutherford"], ["created_at", "2018-09-05 05:39:52.643278"], ["updated_at", "2018-09-05 05:39:52.643278"]]  (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", "Donnetta Nader"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Cheryll Ankunding"], ["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", "Donnetta Nader"], ["name", "Peggie Kohler"], ["description", "Dustin Schroeder"], ["serial_number", "Cheryll Ankunding"], ["brand", "Florentino Yost"], ["item_model", "Lizeth Wilkinson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:39:52.651687"], ["updated_at", "2018-09-05 05:39:52.651687"]]  (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", "Teisha Price"], ["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", "Trenton Pfannerstill"], ["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", "Teisha Price"], ["name", "Trenton Pfannerstill"], ["created_at", "2018-09-05 05:39:52.659980"], ["updated_at", "2018-09-05 05:39:52.659980"]]  (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", "Jani Eichmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (3.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jani Eichmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:52.665294"], ["updated_at", "2018-09-05 05:39:52.665294"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Talia Jones"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Talia Jones"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:52.674624"], ["updated_at", "2018-09-05 05:39:52.674624"]]  (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", "Lavonne Nolan"], ["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", "Lavonne Nolan"], ["name", "Wanita Ondricka"], ["address", "Christian Huel"], ["created_at", "2018-09-05 05:39:52.681246"], ["updated_at", "2018-09-05 05:39:52.681246"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Lauri Bogisich"], ["service_delivery_unit_id", 40], ["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", "Lauri Bogisich"], ["name", "Salvatore Haag"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:39:52.689937"], ["updated_at", "2018-09-05 05:39:52.689937"]] 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", 40], ["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", "Lauri Bogisich"], ["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", "Lauri Bogisich"], ["name", "Salvatore Haag"], ["description", "Default bundle for service 'Salvatore Haag'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:39:52.695632"], ["updated_at", "2018-09-05 05:39:52.695632"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (3.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 35], ["chargeable_service_id", 14]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.3ms) 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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:39:52.704753"], ["updated_at", "2018-09-05 05:39:52.704753"]]  (0.5ms) 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", "Analisa Heaney"], ["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", "Ashlee Wisoky"], ["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", "Analisa Heaney"], ["name", "Ashlee Wisoky"], ["description", "Quod quaerat molestias fuga deserunt officia laboriosam voluptatem. Sunt laboriosam neque qui earum quis est dolorem. Aut eum voluptatum sapiente omnis ullam voluptas illo. Et quisquam dolor qui voluptas exercitationem minima quaerat recusandae. Earum nihil cum velit quo."], ["created_at", "2018-09-05 05:39:52.712541"], ["updated_at", "2018-09-05 05:39:52.712541"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (2.4ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Quinn Kautzer"], ["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", "Yon Hayes"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.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", "Quinn Kautzer"], ["name", "Yon Hayes"], ["description", "Ut ipsam amet est id. Atque dolorum doloribus eum hic. Voluptas earum magnam laborum et. Nihil iure quia sint recusandae ullam repudiandae fugit. Optio sequi eum quo porro labore ipsam."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:39:52.721694"], ["updated_at", "2018-09-05 05:39:52.721694"]]  (0.8ms) 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", "Cierra Murray"], ["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", "Cierra Murray"], ["name", "Shawnee Kunde"], ["description", "Julianna Maggio"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:39:52.728392"], ["updated_at", "2018-09-05 05:39:52.728392"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Tamala Purdy"], ["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", "Many Brekke"], ["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", "Tamala Purdy"], ["name", "Many Brekke"], ["description", "Etta Ratke"], ["created_at", "2018-09-05 05:39:52.739671"], ["updated_at", "2018-09-05 05:39:52.739671"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Demetrius Runolfsdottir"], ["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", "Demetrius Runolfsdottir"], ["name", "Wally Senger"], ["location_type_id", 3], ["description", "Kori Ullrich"], ["address", "Jin O'Conner"], ["created_at", "2018-09-05 05:39:52.745309"], ["updated_at", "2018-09-05 05:39:52.745309"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.5ms) 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", "Brittney Bosco"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Pinkie Heller"], ["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", "Brittney Bosco"], ["name", "Jasmine Kautzer"], ["description", "Faith Dickens"], ["serial_number", "Pinkie Heller"], ["brand", "Mozell Schroeder"], ["item_model", "Dian Metz"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:39:52.757737"], ["updated_at", "2018-09-05 05:39:52.757737"]]  (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", "Nathanael Larson"], ["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", "Jerilyn King"], ["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", "Nathanael Larson"], ["name", "Jerilyn King"], ["created_at", "2018-09-05 05:39:52.765477"], ["updated_at", "2018-09-05 05:39:52.765477"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Jacquline McKenzie"], ["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", "Jacquline McKenzie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:52.772441"], ["updated_at", "2018-09-05 05:39:52.772441"]]  (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", "Johnnie Bode"], ["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", "Johnnie Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:52.778681"], ["updated_at", "2018-09-05 05:39:52.778681"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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", "Tobi Fritsch"], ["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", "Tobi Fritsch"], ["name", "Ione Christiansen"], ["address", "Flo Okuneva"], ["created_at", "2018-09-05 05:39:52.787652"], ["updated_at", "2018-09-05 05:39:52.787652"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Todd Batz"], ["service_delivery_unit_id", 41], ["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", "Todd Batz"], ["name", "Bula Fisher"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:39:52.795433"], ["updated_at", "2018-09-05 05:39:52.795433"]] 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", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Todd Batz"], ["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", "Todd Batz"], ["name", "Bula Fisher"], ["description", "Default bundle for service 'Bula Fisher'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:39:52.806396"], ["updated_at", "2018-09-05 05:39:52.806396"]] 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", 36], ["chargeable_service_id", 15]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:39:52.813583"], ["updated_at", "2018-09-05 05:39:52.813583"]]  (1.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#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", 36], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceRate Load (1.0ms) 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", 13], ["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", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.5ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [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", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.4ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (16.26ms) Completed 500 Internal Server Error in 22ms (ActiveRecord: 9.5ms)  (1.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "isreal_herzog@hayes.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", "Gordon Bartell"], ["last_name", "Roxann Hagenes"], ["email", "isreal_herzog@hayes.info"], ["password_digest", "$2a$04$MaCvoQAoIXhB8kgjj9rm7.NVHkAKQhBQ6Rwl6cd5gdbX/wwBDfJ22"], ["created_at", "2018-09-05 05:39:52.854612"], ["updated_at", "2018-09-05 05:39:52.854612"]]  (0.8ms) 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", "Cherry Cummerata"], ["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", "Elsy Herman"], ["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", "Cherry Cummerata"], ["name", "Elsy Herman"], ["description", "At recusandae ut qui atque sunt praesentium libero. Doloribus rem ipsam qui enim dolores. Quos rem omnis dicta rerum accusantium autem. Id ut sit dolorem alias ipsam culpa autem. Nam ut doloribus corporis ut iure dolorem mollitia voluptatem."], ["created_at", "2018-09-05 05:39:52.863635"], ["updated_at", "2018-09-05 05:39:52.863635"]]  (2.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (2.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Angeline Cole"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Micha Lynch"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.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", "Angeline Cole"], ["name", "Micha Lynch"], ["description", "Id nisi dolorem qui facilis. Quasi aut ut reprehenderit quo quisquam quod. Natus et consequatur nam et. Laudantium adipisci aspernatur ex aperiam sed ipsam cupiditate. Aliquid est qui quaerat iusto veritatis expedita natus."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:39:52.876184"], ["updated_at", "2018-09-05 05:39:52.876184"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (3.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Fumiko Batz"], ["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", "Fumiko Batz"], ["name", "Deloise O'Conner"], ["description", "Kim Monahan"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:39:52.889365"], ["updated_at", "2018-09-05 05:39:52.889365"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Maryanne Cummings"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Trisha Strosin"], ["LIMIT", 1]] Mks::Edm::LocationType Create (3.4ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maryanne Cummings"], ["name", "Trisha Strosin"], ["description", "Emmaline Kassulke"], ["created_at", "2018-09-05 05:39:52.898634"], ["updated_at", "2018-09-05 05:39:52.898634"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Roxanne Tillman"], ["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", "Roxanne Tillman"], ["name", "Andre Ernser"], ["location_type_id", 4], ["description", "Ethelene Kohler"], ["address", "Sandy Torphy"], ["created_at", "2018-09-05 05:39:52.908697"], ["updated_at", "2018-09-05 05:39:52.908697"]]  (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", "Serita Ernser"], ["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", "Mila O'Kon"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Serita Ernser"], ["name", "Antonia Goyette"], ["description", "Theo Cronin"], ["serial_number", "Mila O'Kon"], ["brand", "Jess Turcotte"], ["item_model", "Dionna Williamson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:39:52.915273"], ["updated_at", "2018-09-05 05:39:52.915273"]]  (0.7ms) 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", "Kasandra Monahan"], ["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", "Conrad Anderson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kasandra Monahan"], ["name", "Conrad Anderson"], ["created_at", "2018-09-05 05:39:52.931186"], ["updated_at", "2018-09-05 05:39:52.931186"]]  (0.9ms) 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", "Risa Moen"], ["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", "Risa Moen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:52.939558"], ["updated_at", "2018-09-05 05:39:52.939558"]]  (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", "Jeanie Robel"], ["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", "Jeanie Robel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:52.945374"], ["updated_at", "2018-09-05 05:39:52.945374"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Donald Berge"], ["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", "Donald Berge"], ["name", "Donnie Walsh"], ["address", "Jaclyn Hoeger"], ["created_at", "2018-09-05 05:39:52.957711"], ["updated_at", "2018-09-05 05:39:52.957711"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Angelena Mayert"], ["service_delivery_unit_id", 42], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (3.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", "Angelena Mayert"], ["name", "Jaye Champlin"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:39:52.964328"], ["updated_at", "2018-09-05 05:39:52.964328"]] 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", 42], ["LIMIT", 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", "Angelena Mayert"], ["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", "Angelena Mayert"], ["name", "Jaye Champlin"], ["description", "Default bundle for service 'Jaye Champlin'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:39:52.975619"], ["updated_at", "2018-09-05 05:39:52.975619"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 37], ["chargeable_service_id", 16]]  (1.9ms) 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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:39:52.986631"], ["updated_at", "2018-09-05 05:39:52.986631"]]  (0.8ms) 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", "Shannon White"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Gail Cremin"], ["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", "Shannon White"], ["name", "Gail Cremin"], ["description", "Minus dolorum at sed labore ut. Quas ea quasi et ex ea consequuntur praesentium. Rerum nostrum nemo dolor quaerat aperiam incidunt saepe magni. Earum modi sed voluptatem nesciunt adipisci voluptatem vitae."], ["created_at", "2018-09-05 05:39:52.995722"], ["updated_at", "2018-09-05 05:39:52.995722"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Matthew Doyle"], ["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", "Devona Weber"], ["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", "Matthew Doyle"], ["name", "Devona Weber"], ["description", "Numquam omnis illum corrupti fuga. Tempore accusamus veniam esse eligendi. Iusto consectetur at corrupti alias minima. Soluta laboriosam enim est error asperiores vel. Et vel ut qui nihil qui."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:39:53.006663"], ["updated_at", "2018-09-05 05:39:53.006663"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Veronica Lowe"], ["LIMIT", 1]] Mks::Edm::Equipment Create (2.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", "Veronica Lowe"], ["name", "Lahoma Nienow"], ["description", "Tiffaney Murray"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:39:53.012938"], ["updated_at", "2018-09-05 05:39:53.012938"]]  (2.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Robert Cummings"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Kaye Marks"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Robert Cummings"], ["name", "Kaye Marks"], ["description", "Adeline Hamill"], ["created_at", "2018-09-05 05:39:53.026404"], ["updated_at", "2018-09-05 05:39:53.026404"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Joanne Howe"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.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", "Joanne Howe"], ["name", "Brook Hartmann"], ["location_type_id", 5], ["description", "Percy Howell"], ["address", "Letha Skiles"], ["created_at", "2018-09-05 05:39:53.033790"], ["updated_at", "2018-09-05 05:39:53.033790"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Elana Considine"], ["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", "Gene Bahringer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Elana Considine"], ["name", "Tien Davis"], ["description", "Eusebio Baumbach"], ["serial_number", "Gene Bahringer"], ["brand", "Jackson Jacobi"], ["item_model", "Valentina Swift"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:39:53.043596"], ["updated_at", "2018-09-05 05:39:53.043596"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (2.1ms) 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", "Keli Witting"], ["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", "Danica Tillman"], ["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", "Keli Witting"], ["name", "Danica Tillman"], ["created_at", "2018-09-05 05:39:53.060954"], ["updated_at", "2018-09-05 05:39:53.060954"]]  (0.5ms) 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", "Tyesha Runte"], ["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", "Tyesha Runte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.066304"], ["updated_at", "2018-09-05 05:39:53.066304"]]  (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", "Henrietta Rohan"], ["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", "Henrietta Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.072802"], ["updated_at", "2018-09-05 05:39:53.072802"]]  (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", "Rueben 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", "Rueben Bashirian"], ["name", "Leo Schultz"], ["address", "Graciela Casper"], ["created_at", "2018-09-05 05:39:53.077273"], ["updated_at", "2018-09-05 05:39:53.077273"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Charita Kilback"], ["service_delivery_unit_id", 43], ["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", "Charita Kilback"], ["name", "Willodean Littel"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:39:53.082101"], ["updated_at", "2018-09-05 05:39:53.082101"]] 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", 43], ["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", "Charita Kilback"], ["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", "Charita Kilback"], ["name", "Willodean Littel"], ["description", "Default bundle for service 'Willodean Littel'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:39:53.088884"], ["updated_at", "2018-09-05 05:39:53.088884"]] 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", 38], ["chargeable_service_id", 17]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:39:53.095389"], ["updated_at", "2018-09-05 05:39:53.095389"]]  (0.5ms) 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", "Janey McClure"], ["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", "Sheryll Feil"], ["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", "Janey McClure"], ["name", "Sheryll Feil"], ["description", "Aut optio qui ut exercitationem amet tenetur. Omnis quisquam officiis numquam sunt. Dolores et reiciendis debitis perspiciatis odit. Sit ex delectus eius tempora aut quidem aut. Numquam quia porro ea suscipit."], ["created_at", "2018-09-05 05:39:53.104603"], ["updated_at", "2018-09-05 05:39:53.104603"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Dominga O'Kon"], ["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", "Trudie Bergnaum"], ["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", "Dominga O'Kon"], ["name", "Trudie Bergnaum"], ["description", "Nisi omnis ab earum modi beatae. Ut consequatur eveniet consequatur corrupti. Voluptatem molestiae autem est magni ipsa."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:39:53.111343"], ["updated_at", "2018-09-05 05:39:53.111343"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Manuel Schultz"], ["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", "Manuel Schultz"], ["name", "Cyrus Mohr"], ["description", "Cary Hahn"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:39:53.116995"], ["updated_at", "2018-09-05 05:39:53.116995"]]  (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", "Valarie 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", "George Farrell"], ["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", "Valarie Douglas"], ["name", "George Farrell"], ["description", "Deanne Bode"], ["created_at", "2018-09-05 05:39:53.123989"], ["updated_at", "2018-09-05 05:39:53.123989"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Clarence Auer"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.6ms) 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", "Clarence Auer"], ["name", "Serena Spinka"], ["location_type_id", 6], ["description", "Kandy Cremin"], ["address", "Robbie Rutherford"], ["created_at", "2018-09-05 05:39:53.129851"], ["updated_at", "2018-09-05 05:39:53.129851"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Seymour Rohan"], ["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", "Belkis Schowalter"], ["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", "Seymour Rohan"], ["name", "Isabell Wyman"], ["description", "Hermila Bins"], ["serial_number", "Belkis Schowalter"], ["brand", "Carleen Spinka"], ["item_model", "Vicky Ullrich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:39:53.139704"], ["updated_at", "2018-09-05 05:39:53.139704"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Hollis Steuber"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (3.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Wilton Hintz"], ["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", "Hollis Steuber"], ["name", "Wilton Hintz"], ["created_at", "2018-09-05 05:39:53.152102"], ["updated_at", "2018-09-05 05:39:53.152102"]]  (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", "Candra Hane"], ["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", "Candra Hane"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.158401"], ["updated_at", "2018-09-05 05:39:53.158401"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Alyson Willms"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alyson Willms"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.165744"], ["updated_at", "2018-09-05 05:39:53.165744"]]  (1.0ms) 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", "Shae Kozey"], ["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", "Shae Kozey"], ["name", "Marita Champlin"], ["address", "Kaycee Grimes"], ["created_at", "2018-09-05 05:39:53.173647"], ["updated_at", "2018-09-05 05:39:53.173647"]]  (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", "Alec Maggio"], ["service_delivery_unit_id", 44], ["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", "Alec Maggio"], ["name", "Signe Moore"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:39:53.178755"], ["updated_at", "2018-09-05 05:39:53.178755"]] 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", 44], ["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", "Alec Maggio"], ["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", "Alec Maggio"], ["name", "Signe Moore"], ["description", "Default bundle for service 'Signe Moore'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:39:53.186383"], ["updated_at", "2018-09-05 05:39:53.186383"]] 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", 39], ["chargeable_service_id", 18]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:39:53.192733"], ["updated_at", "2018-09-05 05:39:53.192733"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["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", 37], ["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.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 16], ["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", 4], ["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", 42], ["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", 17], ["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", 5], ["LIMIT", 1]] [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", 43], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.0ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (17.65ms) Completed 200 OK in 25ms (Views: 11.4ms | ActiveRecord: 11.2ms)  (1.1ms) 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", "alene@hermann.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", "Peter Kunze"], ["last_name", "Carrie Hayes"], ["email", "alene@hermann.biz"], ["password_digest", "$2a$04$vP5gTVgePE2KW6cybFjuxuc4Z23ANX2UMoWkrnepHdfbJrl8LjCHu"], ["created_at", "2018-09-05 05:39:53.230517"], ["updated_at", "2018-09-05 05:39:53.230517"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Alesia Stamm"], ["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", "Fermin Kautzer"], ["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", "Alesia Stamm"], ["name", "Fermin Kautzer"], ["created_at", "2018-09-05 05:39:53.238321"], ["updated_at", "2018-09-05 05:39:53.238321"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 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::ServiceType Load (0.8ms) 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.22ms) Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 2.3ms)  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) 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", "leeanne.zemlak@wilkinson.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (4.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", "Lupe Murazik"], ["last_name", "Petra Abernathy"], ["email", "leeanne.zemlak@wilkinson.co.uk"], ["password_digest", "$2a$04$At1jel6AgdYP8rLf/HD2qe7bS1e62GyNym0XkPT7EaFK/6xvkoHgW"], ["created_at", "2018-09-05 05:39:53.262534"], ["updated_at", "2018-09-05 05:39:53.262534"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Cristen Prohaska"], ["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", "Duane Pfeffer"], ["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", "Cristen Prohaska"], ["name", "Duane Pfeffer"], ["created_at", "2018-09-05 05:39:53.276852"], ["updated_at", "2018-09-05 05:39:53.276852"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 21], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.3ms) Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 4.3ms)  (1.0ms) ROLLBACK  (0.9ms) BEGIN  (2.2ms) 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", "carole@bogisich.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", "Tamela Monahan"], ["last_name", "Stefanie Crist"], ["email", "carole@bogisich.name"], ["password_digest", "$2a$04$n5fWdKwEqn6nVdtt8aqXXe04r1zLbXFqKfUdJrYRDXdKDQAH1O0Am"], ["created_at", "2018-09-05 05:39:53.303763"], ["updated_at", "2018-09-05 05:39:53.303763"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Rosendo Runolfsdottir", "name"=>"Meredith Wiza"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]]  (0.6ms) 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", "Rosendo Runolfsdottir"], ["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", "Meredith Wiza"], ["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", "Rosendo Runolfsdottir"], ["name", "Meredith Wiza"], ["created_at", "2018-09-05 05:39:53.318358"], ["updated_at", "2018-09-05 05:39:53.318358"]]  (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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.23ms) Completed 201 Created in 13ms (Views: 2.0ms | ActiveRecord: 7.2ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (1.4ms) ROLLBACK  (1.5ms) 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", "shawana@weimann.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.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", "Kimberli Senger"], ["last_name", "Cassidy Jerde"], ["email", "shawana@weimann.info"], ["password_digest", "$2a$04$gijPlTNClblyhd1xRApTAev4jQMNodKGI70Jk/xRdGVmsFKDPaJJC"], ["created_at", "2018-09-05 05:39:53.337869"], ["updated_at", "2018-09-05 05:39:53.337869"]]  (15.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Darcey Gulgowski", "name"=>"Adrien Kilback"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.8ms) 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", "Darcey Gulgowski"], ["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", "Adrien Kilback"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (4.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Darcey Gulgowski"], ["name", "Adrien Kilback"], ["created_at", "2018-09-05 05:39:53.364589"], ["updated_at", "2018-09-05 05:39:53.364589"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (3.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.39ms) Completed 201 Created in 20ms (Views: 2.8ms | ActiveRecord: 13.2ms) Mks::Rate::ServiceType Load (1.1ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (3.4ms) ROLLBACK  (0.5ms) BEGIN  (1.2ms) 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", "fatima@mraz.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", "Asia Lang"], ["last_name", "Alison Kozey"], ["email", "fatima@mraz.us"], ["password_digest", "$2a$04$XUeUww.LXseoTzoxj2lwC.ufzh9VOJSVMULs7v0RyueFceTAd2uoS"], ["created_at", "2018-09-05 05:39:53.394170"], ["updated_at", "2018-09-05 05:39:53.394170"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Leon Mante"}} 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]]  (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", ""], ["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", "Leon Mante"], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.15ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.3ms | ActiveRecord: 7.0ms)  (0.9ms) ROLLBACK  (1.8ms) BEGIN  (1.3ms) 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", "priscila@hagenes.name"], ["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", "Aide Marvin"], ["last_name", "Ji Spinka"], ["email", "priscila@hagenes.name"], ["password_digest", "$2a$04$/Jxmn29T2VSAw0.xm.BKrOaDM43gB/cvjpzcUP1enK4CIUl9x3nLi"], ["created_at", "2018-09-05 05:39:53.426574"], ["updated_at", "2018-09-05 05:39:53.426574"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Dona Greenholt"], ["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", "Jeraldine Hodkiewicz"], ["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", "Dona Greenholt"], ["name", "Jeraldine Hodkiewicz"], ["created_at", "2018-09-05 05:39:53.438369"], ["updated_at", "2018-09-05 05:39:53.438369"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Allison Wolff"}, "id"=>"24"} 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]] 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", 24], ["LIMIT", 1]]  (0.6ms) 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Dona Greenholt"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) 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", "Allison Wolff"], ["id", 24], ["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", "Allison Wolff"], ["updated_at", "2018-09-05 05:39:53.452637"], ["id", 24]]  (0.6ms) 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 ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 200 OK in 15ms (Views: 1.5ms | ActiveRecord: 8.2ms) Mks::Rate::ServiceType Load (1.0ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (2.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", "sammie_bogisich@lynch.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", "Bennie Heidenreich"], ["last_name", "Angla Kulas"], ["email", "sammie_bogisich@lynch.com"], ["password_digest", "$2a$04$eb4PYKFdxkUby2UxLrNEzeh/zxqgOaSHeyyd7sijHOS2yaQ.oiWA."], ["created_at", "2018-09-05 05:39:53.470881"], ["updated_at", "2018-09-05 05:39:53.470881"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.0ms) 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", "Raquel Lebsack"], ["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", "Tianna Bernhard"], ["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", "Raquel Lebsack"], ["name", "Tianna Bernhard"], ["created_at", "2018-09-05 05:39:53.480080"], ["updated_at", "2018-09-05 05:39:53.480080"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Lashay Pfeffer", "name"=>"Mabelle Vandervort"}, "id"=>"25"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["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", 25], ["LIMIT", 1]]  (0.8ms) 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", "Lashay Pfeffer"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) 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", "Mabelle Vandervort"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Update (1.6ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Lashay Pfeffer"], ["name", "Mabelle Vandervort"], ["updated_at", "2018-09-05 05:39:53.494697"], ["id", 25]]  (1.0ms) 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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.32ms) Completed 200 OK in 19ms (Views: 1.6ms | ActiveRecord: 8.3ms)  (1.6ms) 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", "robby@emmerich.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", "Margit Sipes"], ["last_name", "Loria Armstrong"], ["email", "robby@emmerich.name"], ["password_digest", "$2a$04$0F86WqGjjF1knHD2bIUMTOXIerOqqJ9fIrF6elOj0eSYx3X0T5zSC"], ["created_at", "2018-09-05 05:39:53.515251"], ["updated_at", "2018-09-05 05:39:53.515251"]]  (1.1ms) 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", "Huey Beer"], ["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", "Shayna Price"], ["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", "Huey Beer"], ["name", "Shayna Price"], ["created_at", "2018-09-05 05:39:53.522895"], ["updated_at", "2018-09-05 05:39:53.522895"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Jeanna Durgan"}, "id"=>"26"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["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", 26], ["LIMIT", 1]]  (0.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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", ""], ["id", 26], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.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", "Jeanna Durgan"], ["id", 26], ["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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 6.5ms)  (0.8ms) ROLLBACK  (1.3ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jacqulyn@berge.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", "Deandre Shanahan"], ["last_name", "Sarita Wiegand"], ["email", "jacqulyn@berge.com"], ["password_digest", "$2a$04$yh.Y1p8LFr6oC8V9dGFgsOxsw8Xyt6oTUS9rFO0dkuox.ccejx.W2"], ["created_at", "2018-09-05 05:39:53.550865"], ["updated_at", "2018-09-05 05:39:53.550865"]]  (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", "Felicia Parker"], ["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", "Felicia Parker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.556709"], ["updated_at", "2018-09-05 05:39:53.556709"]]  (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", "Granville Dare"], ["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", "Granville Dare"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.561925"], ["updated_at", "2018-09-05 05:39:53.561925"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jeanice 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", "Jeanice Haley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.568511"], ["updated_at", "2018-09-05 05:39:53.568511"]]  (0.6ms) 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", 46], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.7ms) 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 05:39:53", updated_at: "2018-09-05 05:39:53"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.25ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Auth::User Load (2.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.5ms) Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 4.6ms)  (0.9ms) 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", "Alethia Mosciski"], ["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", "Hortencia Skiles"], ["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", "Alethia Mosciski"], ["name", "Hortencia Skiles"], ["created_at", "2018-09-05 05:39:53.591677"], ["updated_at", "2018-09-05 05:39:53.591677"]]  (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", "Shanika Yundt"], ["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", "Shanika Yundt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.596688"], ["updated_at", "2018-09-05 05:39:53.596688"]]  (1.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", "Ross Quitzon"], ["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", "Ross Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.603875"], ["updated_at", "2018-09-05 05:39:53.603875"]]  (0.7ms) 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", "Hortensia Homenick"], ["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", "Hortensia Homenick"], ["name", "Lashawn Cummings"], ["address", "Stephine Raynor"], ["created_at", "2018-09-05 05:39:53.609286"], ["updated_at", "2018-09-05 05:39:53.609286"]]  (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", "Dollie Kohler"], ["service_delivery_unit_id", 45], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Dollie Kohler"], ["name", "Adolfo Howell"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:39:53.613748"], ["updated_at", "2018-09-05 05:39:53.613748"]] 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", 45], ["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", "Dollie Kohler"], ["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", "Dollie Kohler"], ["name", "Adolfo Howell"], ["description", "Default bundle for service 'Adolfo Howell'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:39:53.621265"], ["updated_at", "2018-09-05 05:39:53.621265"]] 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", 40], ["chargeable_service_id", 19]]  (0.7ms) RELEASE 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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Dollie Kohler"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.6ms) 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", "Phuong Welch"], ["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", "Norman Price"], ["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", "Phuong Welch"], ["name", "Norman Price"], ["created_at", "2018-09-05 05:39:53.638990"], ["updated_at", "2018-09-05 05:39:53.638990"]]  (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", "Todd Kiehn"], ["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", "Todd Kiehn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.644660"], ["updated_at", "2018-09-05 05:39:53.644660"]]  (1.1ms) 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", "Nadine Emard"], ["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", "Nadine Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.650784"], ["updated_at", "2018-09-05 05:39:53.650784"]]  (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", "Noble Kiehn"], ["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", "Noble Kiehn"], ["name", "Reid Altenwerth"], ["address", "Angelina Connelly"], ["created_at", "2018-09-05 05:39:53.655728"], ["updated_at", "2018-09-05 05:39:53.655728"]]  (0.5ms) 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", 46], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.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", "Rheba Lowe"], ["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", "Isis Gleason"], ["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", "Rheba Lowe"], ["name", "Isis Gleason"], ["created_at", "2018-09-05 05:39:53.670321"], ["updated_at", "2018-09-05 05:39:53.670321"]]  (0.8ms) 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", "Sharonda Boyer"], ["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", "Sharonda Boyer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.676308"], ["updated_at", "2018-09-05 05:39:53.676308"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Floy Johns"], ["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", "Floy Johns"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.680904"], ["updated_at", "2018-09-05 05:39:53.680904"]]  (1.2ms) 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", "Myles Zieme"], ["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", "Myles Zieme"], ["name", "Dewayne Collins"], ["address", "Tillie Bashirian"], ["created_at", "2018-09-05 05:39:53.687900"], ["updated_at", "2018-09-05 05:39:53.687900"]]  (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", "Mariann Jerde"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (3.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Doretha Steuber"], ["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", "Felipa Hermann"], ["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", "Doretha Steuber"], ["name", "Felipa Hermann"], ["created_at", "2018-09-05 05:39:53.702040"], ["updated_at", "2018-09-05 05:39:53.702040"]]  (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", "Antoinette Strosin"], ["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", "Antoinette Strosin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.706857"], ["updated_at", "2018-09-05 05:39:53.706857"]]  (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", "Deneen Torphy"], ["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", "Deneen Torphy"], ["name", "Alena Weimann"], ["address", "Maybell Pollich"], ["created_at", "2018-09-05 05:39:53.712014"], ["updated_at", "2018-09-05 05:39:53.712014"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Kieth Dach"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Krysten Conn"], ["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", "Louisa Keebler"], ["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", "Krysten Conn"], ["name", "Louisa Keebler"], ["created_at", "2018-09-05 05:39:53.725970"], ["updated_at", "2018-09-05 05:39:53.725970"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Lyndsay Weimann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lyndsay Weimann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.733367"], ["updated_at", "2018-09-05 05:39:53.733367"]]  (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", "Gaylord Wehner"], ["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", "Gaylord Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.739354"], ["updated_at", "2018-09-05 05:39:53.739354"]]  (0.6ms) 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" IS NULL LIMIT $2 [["code", "Krissy McClure"], ["LIMIT", 1]]  (1.5ms) ROLLBACK  (1.3ms) 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", "Delphia Stark"], ["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", "Trudy Walter"], ["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", "Delphia Stark"], ["name", "Trudy Walter"], ["created_at", "2018-09-05 05:39:53.755359"], ["updated_at", "2018-09-05 05:39:53.755359"]]  (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", "Calista Jerde"], ["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", "Calista Jerde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.760628"], ["updated_at", "2018-09-05 05:39:53.760628"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rubin Sipes"], ["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", "Rubin Sipes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.767200"], ["updated_at", "2018-09-05 05:39:53.767200"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Markus Farrell"], ["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", "Markus Farrell"], ["name", "Dian Bogisich"], ["address", "Jonah McDermott"], ["created_at", "2018-09-05 05:39:53.773391"], ["updated_at", "2018-09-05 05:39:53.773391"]]  (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", "Tad Rowe"], ["service_delivery_unit_id", 49], ["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", "Tad Rowe"], ["name", "Delilah Haley"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:39:53.779240"], ["updated_at", "2018-09-05 05:39:53.779240"]] 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", 49], ["LIMIT", 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", "Tad Rowe"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Tad Rowe"], ["name", "Delilah Haley"], ["description", "Default bundle for service 'Delilah Haley'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:39:53.789102"], ["updated_at", "2018-09-05 05:39:53.789102"]] 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", 41], ["chargeable_service_id", 20]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "June Gutmann"], ["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", "Harold Murray"], ["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", "June Gutmann"], ["name", "Harold Murray"], ["created_at", "2018-09-05 05:39:53.803794"], ["updated_at", "2018-09-05 05:39:53.803794"]]  (0.7ms) 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", "Carma Rippin"], ["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", "Carma Rippin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.810289"], ["updated_at", "2018-09-05 05:39:53.810289"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.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", "Celine Abbott"], ["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", "Celine Abbott"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.819598"], ["updated_at", "2018-09-05 05:39:53.819598"]]  (0.5ms) 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", "Tad Rowe"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) 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", "Paulita Willms"], ["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", "Michael Robel"], ["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", "Paulita Willms"], ["name", "Michael Robel"], ["created_at", "2018-09-05 05:39:53.832907"], ["updated_at", "2018-09-05 05:39:53.832907"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Frederick Cummings"], ["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", "Frederick Cummings"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.838916"], ["updated_at", "2018-09-05 05:39:53.838916"]]  (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", "Lanelle Towne"], ["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 Towne"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:53.844602"], ["updated_at", "2018-09-05 05:39:53.844602"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Mirta Rodriguez"], ["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", "Mirta Rodriguez"], ["name", "Kitty Sanford"], ["address", "Hildegard Jakubowski"], ["created_at", "2018-09-05 05:39:53.851994"], ["updated_at", "2018-09-05 05:39:53.851994"]]  (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", "Dominique Koss"], ["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", "Dominique Koss"], ["name", "Sumiko Effertz"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:39:53.856735"], ["updated_at", "2018-09-05 05:39:53.856735"]] 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 (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Dominique Koss"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (3.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", "Dominique Koss"], ["name", "Sumiko Effertz"], ["description", "Default bundle for service 'Sumiko Effertz'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:39:53.862279"], ["updated_at", "2018-09-05 05:39:53.862279"]] 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", 42], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["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", 42]]  (1.5ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "jannie@gradysteuber.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", "Jacelyn Walker"], ["last_name", "Guillermina Huel"], ["email", "jannie@gradysteuber.name"], ["password_digest", "$2a$04$83sJsQgjgPGbjypVFWze7OhN4Mv7H2q7EhsxA7z0vl8ic6PB8XDza"], ["created_at", "2018-09-05 05:39:53.903804"], ["updated_at", "2018-09-05 05:39:53.903804"]]  (0.6ms) 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", "sammy.bahringer@stoltenberg.info"], ["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", "Klara Rempel"], ["last_name", "Lurlene Nitzsche"], ["email", "sammy.bahringer@stoltenberg.info"], ["password_digest", "$2a$04$P57FYAkvHGETVyqtCxtcMecSxb47pvp9742TCb87.Rs4GxipGbwma"], ["created_at", "2018-09-05 05:39:53.912525"], ["updated_at", "2018-09-05 05:39:53.912525"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Rasheeda Legros"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.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", "Rasheeda Legros"], ["authorized_by", "Destiny Bergnaum"], ["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", 47], ["approved_by_id", 48], ["created_at", "2018-09-05 05:39:53.920815"], ["updated_at", "2018-09-05 05:39:53.920815"]]  (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", "Rasheeda Legros"], ["id", 1], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.9ms) 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", "shauna@nikolaus.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", "Luanna Kozey"], ["last_name", "Elsa Oberbrunner"], ["email", "shauna@nikolaus.info"], ["password_digest", "$2a$04$hexgVwhaG3FxpGV5t0vRDeuqNhRapMMz9q4wCxv2NJ7hOz8bDamXS"], ["created_at", "2018-09-05 05:39:53.936439"], ["updated_at", "2018-09-05 05:39:53.936439"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "bert@borer.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", "Belinda Bartell"], ["last_name", "Maurice Ortiz"], ["email", "bert@borer.name"], ["password_digest", "$2a$04$gpEArIiW7F2u.jQJ0u0MLOfVUvB6o1YXww.W8dCJfmMJHJBJGagcW"], ["created_at", "2018-09-05 05:39:53.944160"], ["updated_at", "2018-09-05 05:39:53.944160"]]  (0.8ms) RELEASE 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", "Monnie Wisoky"], ["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", "gennie@weberveum.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", "Isa Yundt"], ["last_name", "Sofia Batz"], ["email", "gennie@weberveum.us"], ["password_digest", "$2a$04$R3Z3ekNFd2HtD.9gQqrP6.DRYndm39LDycw5bTHWfXmMEK1efZ4h2"], ["created_at", "2018-09-05 05:39:53.962196"], ["updated_at", "2018-09-05 05:39:53.962196"]]  (1.2ms) 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", "alexa@wiegandward.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", "Marquita Smitham"], ["last_name", "Spencer Metz"], ["email", "alexa@wiegandward.ca"], ["password_digest", "$2a$04$lZ5BEXsINNafZr8/JWgLoOneQtWE1UCJxvAoC1xZU59oGazYCnc1C"], ["created_at", "2018-09-05 05:39:53.971553"], ["updated_at", "2018-09-05 05:39:53.971553"]]  (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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) 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", "danika_jerde@boehm.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", "Isidro Heller"], ["last_name", "Myriam Mayert"], ["email", "danika_jerde@boehm.co.uk"], ["password_digest", "$2a$04$ZhT.bam1JogQQMyyvUZlDed2vxxrNCzwTCrGtTb04SLXRE2kByhWO"], ["created_at", "2018-09-05 05:39:53.985544"], ["updated_at", "2018-09-05 05:39:53.985544"]]  (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", "scarlet_morar@cole.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", "Jonas Bauch"], ["last_name", "Margherita Grady"], ["email", "scarlet_morar@cole.us"], ["password_digest", "$2a$04$GtosUztPTuL.skhAj5MeCux9ZljuqqUDwGJbGiuERhZ9T7amub7Eq"], ["created_at", "2018-09-05 05:39:53.991761"], ["updated_at", "2018-09-05 05:39:53.991761"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Alphonso Terry"], ["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", "Alphonso Terry"], ["authorized_by", "Susannah Oberbrunner"], ["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", 53], ["approved_by_id", 54], ["created_at", "2018-09-05 05:39:53.996626"], ["updated_at", "2018-09-05 05:39:53.996626"]]  (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", "sharika_lang@runolfssonbergnaum.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", "Betsey Kovacek"], ["last_name", "Aide Walter"], ["email", "sharika_lang@runolfssonbergnaum.biz"], ["password_digest", "$2a$04$0x1fTrDsud.6EldK5iWGo.eELkfhDmmq0YQOXlT4olWU6FJ7p.Dhy"], ["created_at", "2018-09-05 05:39:54.005768"], ["updated_at", "2018-09-05 05:39:54.005768"]]  (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", "angelena.kuvalis@mcculloughschulist.biz"], ["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", "Addie Sauer"], ["last_name", "Angele Hegmann"], ["email", "angelena.kuvalis@mcculloughschulist.biz"], ["password_digest", "$2a$04$ex0K7/DMeLsrjm9QCZJWp.lfhEwadlc8jR6FBW.67GOFA7c.4f25i"], ["created_at", "2018-09-05 05:39:54.012247"], ["updated_at", "2018-09-05 05:39:54.012247"]]  (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", "Alphonso Terry"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "donovan_schmeler@lowe.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", "Duane Walker"], ["last_name", "Valrie Jacobson"], ["email", "donovan_schmeler@lowe.biz"], ["password_digest", "$2a$04$ThyxUCKCIw5UQKxV.KgR7.LMqlB.QDMQBQTpwPiE8/vW.B4Oj7mZu"], ["created_at", "2018-09-05 05:39:54.027641"], ["updated_at", "2018-09-05 05:39:54.027641"]]  (0.6ms) 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", "hillary.tillman@fritsch.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", "Ossie Simonis"], ["last_name", "Jaymie Ankunding"], ["email", "hillary.tillman@fritsch.us"], ["password_digest", "$2a$04$al.e8icWiWw.t3e8WIpfU.b.WkXAM9HLVsrFH1VagCvIxVE6/3Z0W"], ["created_at", "2018-09-05 05:39:54.035231"], ["updated_at", "2018-09-05 05:39:54.035231"]]  (0.4ms) 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" = $1 LIMIT $2 [["reference_number", "Kaila Stracke"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "devon_rowe@balistreri.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", "Krystina Jones"], ["last_name", "Michelle Davis"], ["email", "devon_rowe@balistreri.co.uk"], ["password_digest", "$2a$04$qYAGQ/9GVhhbv6xXBSzSgeKLVoWk2JpD7u1pjD6.66IKH5rVEe8cW"], ["created_at", "2018-09-05 05:39:54.049247"], ["updated_at", "2018-09-05 05:39:54.049247"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "katelyn@yostyundt.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", "Toshia Wyman"], ["last_name", "Christiana Maggio"], ["email", "katelyn@yostyundt.ca"], ["password_digest", "$2a$04$64ANm7iZZj..B/LLUvca0OL9kRVXrIuMh4A9zrmOYYJrrbkilHKjW"], ["created_at", "2018-09-05 05:39:54.056561"], ["updated_at", "2018-09-05 05:39:54.056561"]]  (0.6ms) 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", "Ima Wisozk"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (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", "florence_wolf@feestward.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", "Omega Buckridge"], ["last_name", "Solomon Runte"], ["email", "florence_wolf@feestward.us"], ["password_digest", "$2a$04$pZuHDWPwmlWJPQVFsgbGU.G6UBrabAi3FldVup3sEI8TZ5jCkd7va"], ["created_at", "2018-09-05 05:39:54.072703"], ["updated_at", "2018-09-05 05:39:54.072703"]]  (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", "roselle.schmitt@mante.name"], ["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", "France Mertz"], ["last_name", "Jean Dicki"], ["email", "roselle.schmitt@mante.name"], ["password_digest", "$2a$04$bWkfPBcPsU2OLCa2P0nRFubBhgJ3MUOuwDRv2Frd9sKThQ56.6JPm"], ["created_at", "2018-09-05 05:39:54.079583"], ["updated_at", "2018-09-05 05:39:54.079583"]]  (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", "Viki Jaskolski"], ["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", "shonna@lang.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", "Cleta Sanford"], ["last_name", "Michelina Smith"], ["email", "shonna@lang.biz"], ["password_digest", "$2a$04$K0YvoUWDlk1CN.Lo/lSj7.hUM8Cnb7/gGsuC1JKOZuSMou5E/KeVi"], ["created_at", "2018-09-05 05:39:54.092934"], ["updated_at", "2018-09-05 05:39:54.092934"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "edith.hartmann@nienow.ca"], ["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", "Leonardo Lockman"], ["last_name", "Hilario Abshire"], ["email", "edith.hartmann@nienow.ca"], ["password_digest", "$2a$04$cZDHXK1o74A42xwEkV.uAetXrNXE0lIqW2wA2cjuNZXjyLTAxvsP6"], ["created_at", "2018-09-05 05:39:54.103605"], ["updated_at", "2018-09-05 05:39:54.103605"]]  (0.5ms) 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" = $1 LIMIT $2 [["reference_number", "Landon Funk"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.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", "billi_wuckert@westkiehn.info"], ["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", "Jettie Gutmann"], ["last_name", "Lasonya Ritchie"], ["email", "billi_wuckert@westkiehn.info"], ["password_digest", "$2a$04$tgMOLAOHdav4buE4Ab6SsOVuAdYKP5mPm42ZO9yu3JeBOUQ3BFXyq"], ["created_at", "2018-09-05 05:39:54.117865"], ["updated_at", "2018-09-05 05:39:54.117865"]]  (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", "Renate Pfeffer"], ["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", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Renate Pfeffer"], ["authorized_by", "Penelope Strosin"], ["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", 65], ["created_at", "2018-09-05 05:39:54.122519"], ["updated_at", "2018-09-05 05:39:54.122519"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) 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", "Renate Pfeffer"], ["id", 3], ["LIMIT", 1]]  (0.5ms) 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", "Rolanda Hahn"], ["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", "Rolanda Hahn"], ["name", "Latarsha Walsh"], ["address", "Myriam Hahn"], ["created_at", "2018-09-05 05:39:54.132654"], ["updated_at", "2018-09-05 05:39:54.132654"]]  (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", "Zola Nolan"], ["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", "Zola Nolan"], ["name", "Gabrielle Roberts"], ["description", "Jay Bins"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:39:54.137551"], ["updated_at", "2018-09-05 05:39:54.137551"]]  (0.5ms) RELEASE 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 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Zola Nolan"], ["id", 43], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Andra Miller"], ["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", "Andra Miller"], ["name", "Shirely Conn"], ["address", "Man Skiles"], ["created_at", "2018-09-05 05:39:54.150813"], ["updated_at", "2018-09-05 05:39:54.150813"]]  (0.6ms) 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.4ms) 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", "Dallas Turcotte"], ["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", "Dallas Turcotte"], ["name", "Tara Schiller"], ["address", "Dottie Lynch"], ["created_at", "2018-09-05 05:39:54.161996"], ["updated_at", "2018-09-05 05:39:54.161996"]]  (1.0ms) 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", "Collin Bosco"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Arnette Kuvalis"], ["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", "Arnette Kuvalis"], ["name", "Mandie Cartwright"], ["address", "Barbie Lowe"], ["created_at", "2018-09-05 05:39:54.174490"], ["updated_at", "2018-09-05 05:39:54.174490"]]  (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", "Nigel Hartmann"], ["LIMIT", 1]]  (2.0ms) ROLLBACK  (0.6ms) BEGIN  (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", "Arianna Crooks"], ["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", "Arianna Crooks"], ["name", "Fallon Sporer"], ["address", "Sherman Cummerata"], ["created_at", "2018-09-05 05:39:54.187130"], ["updated_at", "2018-09-05 05:39:54.187130"]]  (0.6ms) 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", "Freeda Mohr"], ["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", "Freeda Mohr"], ["name", "Tobias Hettinger"], ["description", "Katheleen Bernhard"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:39:54.191795"], ["updated_at", "2018-09-05 05:39:54.191795"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Conchita Bosco"], ["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", "Conchita Bosco"], ["name", "Letty Beer"], ["address", "Jane Harber"], ["created_at", "2018-09-05 05:39:54.199508"], ["updated_at", "2018-09-05 05:39:54.199508"]]  (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", "Freeda Mohr"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) 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", "Zana Labadie"], ["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", "Zana Labadie"], ["name", "Shirleen Labadie"], ["address", "Deedra Hegmann"], ["created_at", "2018-09-05 05:39:54.209832"], ["updated_at", "2018-09-05 05:39:54.209832"]]  (0.5ms) RELEASE 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Zana Labadie"], ["id", 57], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.4ms) 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", "Roslyn Abernathy"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "Stacey O'Kon"], ["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", "Stacey O'Kon"], ["name", "Carma Oberbrunner"], ["address", "Vilma Zboncak"], ["created_at", "2018-09-05 05:39:54.231206"], ["updated_at", "2018-09-05 05:39:54.231206"]]  (0.5ms) RELEASE 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", "Stacey O'Kon"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "Billy Greenholt"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Karine Adams"], ["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", "Billy Greenholt"], ["name", "Karine Adams"], ["description", "Molestias rem saepe expedita est. Incidunt quis odit facere perferendis fuga sit iusto. Explicabo quis error quae nostrum nulla tenetur dolor. Sapiente fuga asperiores doloribus cumque ea voluptas labore nihil."], ["created_at", "2018-09-05 05:39:54.247343"], ["updated_at", "2018-09-05 05:39:54.247343"]]  (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", "Joann Kozey"], ["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", "Olga Hammes"], ["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", "Joann Kozey"], ["name", "Olga Hammes"], ["description", "Odit et omnis asperiores reiciendis illum ipsa. Illum sunt numquam quos quas aut ea ut. Qui numquam id reprehenderit quia aut aut."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:39:54.253994"], ["updated_at", "2018-09-05 05:39:54.253994"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Kory Quigley"], ["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", "Kory Quigley"], ["name", "Mittie Frami"], ["description", "Kaycee Schimmel"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:39:54.259679"], ["updated_at", "2018-09-05 05:39:54.259679"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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", "Yesenia Oga"], ["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", "Lynsey Schneider"], ["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", "Yesenia Oga"], ["name", "Lynsey Schneider"], ["description", "Marlyn Bosco"], ["created_at", "2018-09-05 05:39:54.268652"], ["updated_at", "2018-09-05 05:39:54.268652"]]  (0.6ms) 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", "Helen Robel"], ["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", "Helen Robel"], ["name", "Garland Jacobson"], ["location_type_id", 7], ["description", "Mica Stoltenberg"], ["address", "Hyon Dach"], ["created_at", "2018-09-05 05:39:54.272921"], ["updated_at", "2018-09-05 05:39:54.272921"]]  (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", "Roberto Hyatt"], ["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", "Rhonda Johnston"], ["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", "Roberto Hyatt"], ["name", "Eustolia Casper"], ["description", "Thu Ernser"], ["serial_number", "Rhonda Johnston"], ["brand", "Cruz Durgan"], ["item_model", "Darcel Dooley"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:39:54.278593"], ["updated_at", "2018-09-05 05:39:54.278593"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (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", "Siu Conroy"], ["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", "Armand Hansen"], ["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", "Siu Conroy"], ["name", "Armand Hansen"], ["created_at", "2018-09-05 05:39:54.286667"], ["updated_at", "2018-09-05 05:39:54.286667"]]  (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", "Kaila Williamson"], ["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", "Kaila Williamson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.291343"], ["updated_at", "2018-09-05 05:39:54.291343"]]  (0.5ms) 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", "Tamara Oga"], ["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", "Tamara Oga"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.296646"], ["updated_at", "2018-09-05 05:39:54.296646"]]  (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", "Judson Stanton"], ["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", "Judson Stanton"], ["name", "Abram Pagac"], ["address", "Francisco Grady"], ["created_at", "2018-09-05 05:39:54.303009"], ["updated_at", "2018-09-05 05:39:54.303009"]]  (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", "Denny Kirlin"], ["service_delivery_unit_id", 59], ["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", "Denny Kirlin"], ["name", "Leota Bechtelar"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:39:54.308148"], ["updated_at", "2018-09-05 05:39:54.308148"]] 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", 59], ["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", "Denny Kirlin"], ["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", "Denny Kirlin"], ["name", "Leota Bechtelar"], ["description", "Default bundle for service 'Leota Bechtelar'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:39:54.316580"], ["updated_at", "2018-09-05 05:39:54.316580"]] 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", 22]]  (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", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:39:54.322772"], ["updated_at", "2018-09-05 05:39:54.322772"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "Alene Kiehn"], ["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", "Elvis Schroeder"], ["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", "Alene Kiehn"], ["name", "Elvis Schroeder"], ["description", "Ea ut est sint laboriosam et beatae. Velit facilis voluptates ut quas est quasi ratione ducimus. Similique quaerat hic aut nobis eligendi. Ullam magnam corrupti qui eius ut sed dolores officiis. Omnis doloribus aut perspiciatis autem aliquid dolorem."], ["created_at", "2018-09-05 05:39:54.334269"], ["updated_at", "2018-09-05 05:39:54.334269"]]  (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", "Tinisha Beer"], ["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", "Clelia Hahn"], ["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", "Tinisha Beer"], ["name", "Clelia Hahn"], ["description", "Vitae laborum est ab voluptate. Cum optio adipisci et magnam voluptas ducimus. Ipsum sit provident rerum suscipit expedita rerum. Rerum aut nisi qui libero."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:39:54.339391"], ["updated_at", "2018-09-05 05:39:54.339391"]]  (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", "Keneth Gerlach"], ["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", "Keneth Gerlach"], ["name", "Andre Lind"], ["description", "Denna Gutmann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:39:54.343782"], ["updated_at", "2018-09-05 05:39:54.343782"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Dale Kling"], ["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", "Clarence Keeling"], ["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", "Dale Kling"], ["name", "Clarence Keeling"], ["description", "Ellis Abshire"], ["created_at", "2018-09-05 05:39:54.352253"], ["updated_at", "2018-09-05 05:39:54.352253"]]  (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", "Daren Thompson"], ["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", "Daren Thompson"], ["name", "Delaine Smith"], ["location_type_id", 8], ["description", "Illa Homenick"], ["address", "Towanda Powlowski"], ["created_at", "2018-09-05 05:39:54.356752"], ["updated_at", "2018-09-05 05:39:54.356752"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vanessa Lockman"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Richie Hilll"], ["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", "Vanessa Lockman"], ["name", "Tomas Swift"], ["description", "Jenice Gibson"], ["serial_number", "Richie Hilll"], ["brand", "Raye Hyatt"], ["item_model", "Roxanne Gottlieb"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:39:54.364809"], ["updated_at", "2018-09-05 05:39:54.364809"]]  (1.0ms) 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", "Candelaria Hettinger"], ["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", "Esther Satterfield"], ["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", "Candelaria Hettinger"], ["name", "Esther Satterfield"], ["created_at", "2018-09-05 05:39:54.372434"], ["updated_at", "2018-09-05 05:39:54.372434"]]  (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", "Cora Padberg"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cora Padberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.378139"], ["updated_at", "2018-09-05 05:39:54.378139"]]  (0.9ms) 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", "Cleotilde Prohaska"], ["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", "Cleotilde Prohaska"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.385660"], ["updated_at", "2018-09-05 05:39:54.385660"]]  (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", "Leisha Flatley"], ["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", "Leisha Flatley"], ["name", "Felicita Moore"], ["address", "Santina Hodkiewicz"], ["created_at", "2018-09-05 05:39:54.390041"], ["updated_at", "2018-09-05 05:39:54.390041"]]  (0.5ms) 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", "Donnette Brakus"], ["service_delivery_unit_id", 60], ["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", "Donnette Brakus"], ["name", "Luciano Stanton"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:39:54.395470"], ["updated_at", "2018-09-05 05:39:54.395470"]] 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", 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", "Donnette Brakus"], ["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", "Donnette Brakus"], ["name", "Luciano Stanton"], ["description", "Default bundle for service 'Luciano Stanton'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:39:54.402102"], ["updated_at", "2018-09-05 05:39:54.402102"]] 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", 46], ["chargeable_service_id", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (1.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", "Lorriane Hane"], ["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", "Katlyn Hilpert"], ["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", "Lorriane Hane"], ["name", "Katlyn Hilpert"], ["description", "Laudantium libero doloremque nulla expedita facilis. Ipsam blanditiis consequatur atque consequatur. Eum totam aut error eveniet est in veniam molestias."], ["created_at", "2018-09-05 05:39:54.417099"], ["updated_at", "2018-09-05 05:39:54.417099"]]  (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", "Lacy Romaguera"], ["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", "Milly Kuhlman"], ["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", "Lacy Romaguera"], ["name", "Milly Kuhlman"], ["description", "Accusamus laboriosam voluptas et esse ut nisi asperiores nemo. Voluptatem sed ab numquam consequatur. Excepturi cum voluptas debitis natus optio non. Et omnis sed nisi ea nam quibusdam. Aliquam iusto tenetur omnis et non reprehenderit."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:39:54.422366"], ["updated_at", "2018-09-05 05:39:54.422366"]]  (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", "Kayla Little"], ["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", "Kayla Little"], ["name", "Peg Borer"], ["description", "Daniele Larkin"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:39:54.426634"], ["updated_at", "2018-09-05 05:39:54.426634"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Lakia Torphy"], ["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", "Tifany Cummings"], ["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", "Lakia Torphy"], ["name", "Tifany Cummings"], ["description", "Marcene O'Hara"], ["created_at", "2018-09-05 05:39:54.433953"], ["updated_at", "2018-09-05 05:39:54.433953"]]  (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", "Emery Robel"], ["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", "Emery Robel"], ["name", "Celinda Predovic"], ["location_type_id", 9], ["description", "Remona Emmerich"], ["address", "Sheba Effertz"], ["created_at", "2018-09-05 05:39:54.438685"], ["updated_at", "2018-09-05 05:39:54.438685"]]  (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", "Angel Balistreri"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Alverta Hagenes"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Angel Balistreri"], ["name", "Shan Douglas"], ["description", "Kaitlyn Rath"], ["serial_number", "Alverta Hagenes"], ["brand", "Ciera Jones"], ["item_model", "Calista Prohaska"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:39:54.445338"], ["updated_at", "2018-09-05 05:39:54.445338"]]  (1.1ms) 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", "Jaimie 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", "Minta Fadel"], ["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", "Jaimie Kemmer"], ["name", "Minta Fadel"], ["created_at", "2018-09-05 05:39:54.454673"], ["updated_at", "2018-09-05 05:39:54.454673"]]  (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", "Delila 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", "Delila Kilback"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.459653"], ["updated_at", "2018-09-05 05:39:54.459653"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.4ms) 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", "Dorene Witting"], ["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", "Dorene Witting"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.467312"], ["updated_at", "2018-09-05 05:39:54.467312"]]  (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", "Chasidy Reynolds"], ["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", "Chasidy Reynolds"], ["name", "Mickey Baumbach"], ["address", "Pricilla Yundt"], ["created_at", "2018-09-05 05:39:54.472560"], ["updated_at", "2018-09-05 05:39:54.472560"]]  (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", "Maryln Medhurst"], ["service_delivery_unit_id", 61], ["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", "Maryln Medhurst"], ["name", "Chere Parisian"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:39:54.477007"], ["updated_at", "2018-09-05 05:39:54.477007"]] 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", 61], ["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", "Maryln Medhurst"], ["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", "Maryln Medhurst"], ["name", "Chere Parisian"], ["description", "Default bundle for service 'Chere Parisian'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:39:54.484088"], ["updated_at", "2018-09-05 05:39:54.484088"]] 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", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (2.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Nicol Borer"], ["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", "Adina Emard"], ["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", "Nicol Borer"], ["name", "Adina Emard"], ["description", "Quas accusamus beatae consectetur illo rerum expedita officia perferendis. Voluptatibus iste voluptatem laboriosam et nisi quis ad. Ratione suscipit labore possimus non iusto laboriosam maiores."], ["created_at", "2018-09-05 05:39:54.500800"], ["updated_at", "2018-09-05 05:39:54.500800"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Gene Hintz"], ["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", "Clarine Bergstrom"], ["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", "Gene Hintz"], ["name", "Clarine Bergstrom"], ["description", "Quod dolorem sint ex vitae fuga temporibus. Laboriosam excepturi non modi magnam. Maiores consectetur enim omnis est. Cum sit molestiae eligendi rerum ratione sed nesciunt et."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:39:54.505692"], ["updated_at", "2018-09-05 05:39:54.505692"]]  (0.4ms) 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", "Gayla Quigley"], ["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", "Gayla Quigley"], ["name", "Gema Doyle"], ["description", "Shawnta Zboncak"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:39:54.509806"], ["updated_at", "2018-09-05 05:39:54.509806"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Vennie Osinski"], ["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", "Tawanda 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", "Vennie Osinski"], ["name", "Tawanda Lesch"], ["description", "Buffy Breitenberg"], ["created_at", "2018-09-05 05:39:54.517016"], ["updated_at", "2018-09-05 05:39:54.517016"]]  (0.4ms) 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", "Fermin Swaniawski"], ["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", "Fermin Swaniawski"], ["name", "Cherelle Swaniawski"], ["location_type_id", 10], ["description", "Dario Rodriguez"], ["address", "Marybelle Stamm"], ["created_at", "2018-09-05 05:39:54.521233"], ["updated_at", "2018-09-05 05:39:54.521233"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Morgan Jenkins"], ["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", "Flossie Howe"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Morgan Jenkins"], ["name", "Gregory Effertz"], ["description", "Natasha Hoeger"], ["serial_number", "Flossie Howe"], ["brand", "Caroll Wisoky"], ["item_model", "Allen Lockman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:39:54.527653"], ["updated_at", "2018-09-05 05:39:54.527653"]]  (0.8ms) 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", "Pam Konopelski"], ["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", "Chun Hackett"], ["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", "Pam Konopelski"], ["name", "Chun Hackett"], ["created_at", "2018-09-05 05:39:54.539358"], ["updated_at", "2018-09-05 05:39:54.539358"]]  (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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Pam Konopelski"], ["id", 38], ["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", "Chun Hackett"], ["id", 38], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (1.0ms) BEGIN Mks::Rate::ServiceType Exists (0.8ms) 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.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Maryetta O'Keefe"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN 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", "Paul O'Hara"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (2.7ms) BEGIN  (1.2ms) 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", "Keenan 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", "Serita Prohaska"], ["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", "Keenan Kulas"], ["name", "Serita Prohaska"], ["created_at", "2018-09-05 05:39:54.571707"], ["updated_at", "2018-09-05 05:39:54.571707"]]  (1.0ms) RELEASE 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", "Keenan Kulas"], ["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", "Forest Predovic"], ["LIMIT", 1]]  (1.7ms) ROLLBACK  (1.4ms) BEGIN  (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", "Neoma Keebler"], ["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", "Deann Barrows"], ["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", "Neoma Keebler"], ["name", "Deann Barrows"], ["created_at", "2018-09-05 05:39:54.590004"], ["updated_at", "2018-09-05 05:39:54.590004"]]  (0.5ms) RELEASE 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", "Coral Runolfsson"], ["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", "Deann Barrows"], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.7ms) 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", "Rosemary Goodwin"], ["LIMIT", 1]]  (0.5ms) 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.5ms) ROLLBACK  (0.4ms) 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", "Lavon Weber"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (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", "Rosalina Champlin"], ["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", "Rosalina Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.619500"], ["updated_at", "2018-09-05 05:39:54.619500"]]  (1.1ms) RELEASE 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", "Rosalina Champlin"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.9ms) BEGIN  (0.8ms) 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", "Teresita Berge"], ["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", "Virgilio Beatty"], ["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", "Teresita Berge"], ["name", "Virgilio Beatty"], ["created_at", "2018-09-05 05:39:54.633957"], ["updated_at", "2018-09-05 05:39:54.633957"]]  (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", "Muoi Hahn"], ["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", "Muoi Hahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.638568"], ["updated_at", "2018-09-05 05:39:54.638568"]]  (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", "Hertha Crona"], ["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", "Hertha Crona"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.643101"], ["updated_at", "2018-09-05 05:39:54.643101"]]  (0.9ms) 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", "Willian Bruen"], ["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", "Willian Bruen"], ["name", "Lin Ullrich"], ["address", "Maegan Nienow"], ["created_at", "2018-09-05 05:39:54.649836"], ["updated_at", "2018-09-05 05:39:54.649836"]]  (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", "Eladia Howe"], ["service_delivery_unit_id", 62], ["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", "Eladia Howe"], ["name", "Lee Effertz"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:39:54.654723"], ["updated_at", "2018-09-05 05:39:54.654723"]] 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", 62], ["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", "Eladia Howe"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.4ms) 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", "Eladia Howe"], ["name", "Lee Effertz"], ["description", "Default bundle for service 'Lee Effertz'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:39:54.659892"], ["updated_at", "2018-09-05 05:39:54.659892"]] 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", 48], ["chargeable_service_id", 25]]  (0.7ms) 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", "Shayna King"], ["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", "Brooke Senger"], ["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", "Shayna King"], ["name", "Brooke Senger"], ["created_at", "2018-09-05 05:39:54.671686"], ["updated_at", "2018-09-05 05:39:54.671686"]]  (0.4ms) 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", "Aaron McDermott"], ["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", "Aaron McDermott"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.676591"], ["updated_at", "2018-09-05 05:39:54.676591"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Eusebia Moore"], ["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", "Eusebia Moore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.683328"], ["updated_at", "2018-09-05 05:39:54.683328"]]  (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", "Melba Fisher"], ["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", "Melba Fisher"], ["name", "Nyla Heathcote"], ["address", "Raven Jenkins"], ["created_at", "2018-09-05 05:39:54.688722"], ["updated_at", "2018-09-05 05:39:54.688722"]]  (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", "Bethel Pfannerstill"], ["service_delivery_unit_id", 63], ["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", "Bethel Pfannerstill"], ["name", "Livia Klein"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:39:54.693268"], ["updated_at", "2018-09-05 05:39:54.693268"]] 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", 63], ["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", "Bethel 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", "Bethel Pfannerstill"], ["name", "Livia Klein"], ["description", "Default bundle for service 'Livia Klein'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:39:54.699920"], ["updated_at", "2018-09-05 05:39:54.699920"]] 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", 49], ["chargeable_service_id", 26]]  (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", "Mimi Upton"], ["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", "Vicente Luettgen"], ["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", "Mimi Upton"], ["name", "Vicente Luettgen"], ["created_at", "2018-09-05 05:39:54.708753"], ["updated_at", "2018-09-05 05:39:54.708753"]]  (0.6ms) 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", "Katrice Schinner"], ["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", "Katrice Schinner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.714057"], ["updated_at", "2018-09-05 05:39:54.714057"]]  (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", "Estefana Lockman"], ["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", "Estefana Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.719377"], ["updated_at", "2018-09-05 05:39:54.719377"]]  (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", "Ramiro Kuhlman"], ["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", "Ramiro Kuhlman"], ["name", "Marylee Corkery"], ["address", "Ellsworth Wyman"], ["created_at", "2018-09-05 05:39:54.724149"], ["updated_at", "2018-09-05 05:39:54.724149"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Marnie Waelchi"], ["service_delivery_unit_id", 64], ["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", "Marnie Waelchi"], ["name", "Jonas Jones"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:39:54.729097"], ["updated_at", "2018-09-05 05:39:54.729097"]] 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", 64], ["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", "Marnie Waelchi"], ["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", "Marnie Waelchi"], ["name", "Jonas Jones"], ["description", "Default bundle for service 'Jonas Jones'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:39:54.734875"], ["updated_at", "2018-09-05 05:39:54.734875"]] 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", 50], ["chargeable_service_id", 27]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (1.3ms) 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", 25], ["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", 26], ["LIMIT", 1]]  (1.0ms) SAVEPOINT active_record_1 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", 25], ["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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:39:54.748866"], ["updated_at", "2018-09-05 05:39:54.748866"]] 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", 26], ["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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:39:54.752803"], ["updated_at", "2018-09-05 05:39:54.752803"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "An O'Kon"], ["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", "Dean Bechtelar"], ["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", "An O'Kon"], ["name", "Dean Bechtelar"], ["created_at", "2018-09-05 05:39:54.767447"], ["updated_at", "2018-09-05 05:39:54.767447"]]  (0.6ms) 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", "Ardelle Huel"], ["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", "Ardelle Huel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.774190"], ["updated_at", "2018-09-05 05:39:54.774190"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Karl Cruickshank"], ["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", "Karl Cruickshank"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.780590"], ["updated_at", "2018-09-05 05:39:54.780590"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "Monnie Waelchi"], ["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", "Monnie Waelchi"], ["name", "Deonna Brekke"], ["address", "Mel Dickens"], ["created_at", "2018-09-05 05:39:54.786507"], ["updated_at", "2018-09-05 05:39:54.786507"]]  (1.1ms) 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", "Jacquelyn Satterfield"], ["service_delivery_unit_id", 65], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Jacquelyn Satterfield"], ["name", "Cordelia Lehner"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:39:54.794446"], ["updated_at", "2018-09-05 05:39:54.794446"]] 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", 65], ["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", "Jacquelyn Satterfield"], ["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", "Jacquelyn Satterfield"], ["name", "Cordelia Lehner"], ["description", "Default bundle for service 'Cordelia Lehner'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:39:54.803033"], ["updated_at", "2018-09-05 05:39:54.803033"]] 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", 51], ["chargeable_service_id", 28]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.2ms) 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", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:39:54.809530"], ["updated_at", "2018-09-05 05:39:54.809530"]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (1.4ms) 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", 28], ["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", 28], ["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 05:39:54.818235"], ["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.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "tyra@powlowski.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", "Shirley Hayes"], ["last_name", "Bryce Bashirian"], ["email", "tyra@powlowski.ca"], ["password_digest", "$2a$04$W6UNEl4xhn3HcB338Rw9C.4TkZy62wxOFZ9vMMqConb6SxE//e2Iq"], ["created_at", "2018-09-05 05:39:54.830885"], ["updated_at", "2018-09-05 05:39:54.830885"]]  (0.5ms) 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", "mildred.stiedemann@kutchosinski.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", "Lavone Dietrich"], ["last_name", "Constance Graham"], ["email", "mildred.stiedemann@kutchosinski.com"], ["password_digest", "$2a$04$0h4w.hWG67oV43hYKtj//.tTQo1PyJbBf0wqDPItS7Or3znRILudW"], ["created_at", "2018-09-05 05:39:54.839190"], ["updated_at", "2018-09-05 05:39:54.839190"]]  (0.8ms) 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", "keisha_hessel@johnstonstamm.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", "Susana Schneider"], ["last_name", "Ike VonRueden"], ["email", "keisha_hessel@johnstonstamm.biz"], ["password_digest", "$2a$04$cp9ZI9B8xRYOAezz3fbbQ.gDNbCTiC4mcVSvNSLzRNgpOoIgtY1SG"], ["created_at", "2018-09-05 05:39:54.847074"], ["updated_at", "2018-09-05 05:39:54.847074"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Latrisha McCullough"], ["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", "Latrisha McCullough"], ["authorized_by", "Steffanie Schumm"], ["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", 67], ["approved_by_id", 68], ["created_at", "2018-09-05 05:39:54.852045"], ["updated_at", "2018-09-05 05:39:54.852045"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Latrisha McCullough"], ["id", 4], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (2.4ms) 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", 66], ["updated_at", "2018-09-05 05:39:54.859203"], ["id", 4]]  (1.0ms) RELEASE SAVEPOINT active_record_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", 4], ["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", 66], ["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", "Morris Oga"], ["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", "Morris Oga"], ["name", "Elenore Bartell"], ["address", "Margy Lebsack"], ["created_at", "2018-09-05 05:39:54.874499"], ["updated_at", "2018-09-05 05:39:54.874499"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Le Goyette"], ["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", "Le Goyette"], ["name", "Leontine Flatley"], ["description", "Gearldine Robel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:39:54.885116"], ["updated_at", "2018-09-05 05:39:54.885116"]]  (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", "Adah Crist"], ["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", "Joselyn Macejkovic"], ["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", "Adah Crist"], ["name", "Joselyn Macejkovic"], ["created_at", "2018-09-05 05:39:54.891230"], ["updated_at", "2018-09-05 05:39:54.891230"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Melany Hessel"], ["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", "Melany Hessel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.898565"], ["updated_at", "2018-09-05 05:39:54.898565"]]  (0.6ms) 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", "Tamekia Miller"], ["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", "Tamekia Miller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.903201"], ["updated_at", "2018-09-05 05:39:54.903201"]]  (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", "Micah Kirlin"], ["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", "Micah Kirlin"], ["name", "Alyssa Schmitt"], ["address", "Chadwick Bailey"], ["created_at", "2018-09-05 05:39:54.909146"], ["updated_at", "2018-09-05 05:39:54.909146"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Shyla Herzog"], ["service_delivery_unit_id", 67], ["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", "Shyla Herzog"], ["name", "Shelton Trantow"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:39:54.916089"], ["updated_at", "2018-09-05 05:39:54.916089"]] 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", 67], ["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", "Shyla Herzog"], ["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", "Shyla Herzog"], ["name", "Shelton Trantow"], ["description", "Default bundle for service 'Shelton Trantow'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:39:54.921040"], ["updated_at", "2018-09-05 05:39:54.921040"]] 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", 53], ["chargeable_service_id", 29]]  (0.5ms) 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", "Treena Hodkiewicz"], ["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", "Micah Bayer"], ["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", "Treena Hodkiewicz"], ["name", "Micah Bayer"], ["created_at", "2018-09-05 05:39:54.930985"], ["updated_at", "2018-09-05 05:39:54.930985"]]  (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", "Yun Wisoky"], ["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", "Yun Wisoky"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.935871"], ["updated_at", "2018-09-05 05:39:54.935871"]]  (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", "Charlott Koss"], ["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", "Charlott Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.940335"], ["updated_at", "2018-09-05 05:39:54.940335"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Gaylene King"], ["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", "Gaylene King"], ["name", "Mathilda Kuvalis"], ["address", "Claude Buckridge"], ["created_at", "2018-09-05 05:39:54.945417"], ["updated_at", "2018-09-05 05:39:54.945417"]]  (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", "Myrna Goyette"], ["service_delivery_unit_id", 68], ["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", "Myrna Goyette"], ["name", "Marquis Friesen"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:39:54.951345"], ["updated_at", "2018-09-05 05:39:54.951345"]] 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", 68], ["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", "Myrna Goyette"], ["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", "Myrna Goyette"], ["name", "Marquis Friesen"], ["description", "Default bundle for service 'Marquis Friesen'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:39:54.956472"], ["updated_at", "2018-09-05 05:39:54.956472"]] 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", 54], ["chargeable_service_id", 30]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Gene Flatley"], ["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", "Ta DuBuque"], ["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", "Gene Flatley"], ["name", "Ta DuBuque"], ["created_at", "2018-09-05 05:39:54.967088"], ["updated_at", "2018-09-05 05:39:54.967088"]]  (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", "Antonette Mante"], ["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", "Antonette Mante"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.971459"], ["updated_at", "2018-09-05 05:39:54.971459"]]  (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", "Leighann Haag"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Leighann Haag"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:54.976835"], ["updated_at", "2018-09-05 05:39:54.976835"]]  (1.0ms) 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", "Ami Brown"], ["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", "Ami Brown"], ["name", "Carrol Lowe"], ["address", "Merilyn Anderson"], ["created_at", "2018-09-05 05:39:54.983627"], ["updated_at", "2018-09-05 05:39:54.983627"]]  (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", "Ruthe Wisoky"], ["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", "Ruthe Wisoky"], ["name", "Aurore Abbott"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:39:54.988233"], ["updated_at", "2018-09-05 05:39:54.988233"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ruthe Wisoky"], ["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", "Ruthe Wisoky"], ["name", "Aurore Abbott"], ["description", "Default bundle for service 'Aurore Abbott'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:39:54.993169"], ["updated_at", "2018-09-05 05:39:54.993169"]] 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", 55], ["chargeable_service_id", 31]]  (0.7ms) 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", 52]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 29], ["id", 30], ["id", 31]] 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", 52]] 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", 52], ["chargeable_service_id", 29]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 52], ["chargeable_service_id", 30]] 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.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", 52], ["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.9ms) ROLLBACK  (0.4ms) 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", "Clifford Cremin"], ["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", "Clifford Cremin"], ["name", "Danica Lind"], ["address", "Romeo Schaefer"], ["created_at", "2018-09-05 05:39:55.026005"], ["updated_at", "2018-09-05 05:39:55.026005"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Paris Carroll"], ["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", "Paris Carroll"], ["name", "Catherina Berge"], ["description", "Fabian Adams"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:39:55.031496"], ["updated_at", "2018-09-05 05:39:55.031496"]]  (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", "Hyacinth Schuppe"], ["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", "Clementine Collins"], ["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", "Hyacinth Schuppe"], ["name", "Clementine Collins"], ["created_at", "2018-09-05 05:39:55.037505"], ["updated_at", "2018-09-05 05:39:55.037505"]]  (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", "Janae Monahan"], ["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", "Janae Monahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.042181"], ["updated_at", "2018-09-05 05:39:55.042181"]]  (0.8ms) 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", "Casey Kessler"], ["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", "Casey Kessler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.048571"], ["updated_at", "2018-09-05 05:39:55.048571"]]  (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", "Cecily Wyman"], ["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", "Cecily Wyman"], ["name", "Nila Langosh"], ["address", "Luciano Hudson"], ["created_at", "2018-09-05 05:39:55.053323"], ["updated_at", "2018-09-05 05:39:55.053323"]]  (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", "Synthia McKenzie"], ["service_delivery_unit_id", 71], ["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", "Synthia McKenzie"], ["name", "Marcelo Thompson"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:39:55.058375"], ["updated_at", "2018-09-05 05:39:55.058375"]] Mks::Rate::ServiceDeliveryUnit Load (1.9ms) 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Synthia McKenzie"], ["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", "Synthia McKenzie"], ["name", "Marcelo Thompson"], ["description", "Default bundle for service 'Marcelo Thompson'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:39:55.065967"], ["updated_at", "2018-09-05 05:39:55.065967"]] 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", 57], ["chargeable_service_id", 32]]  (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", "Cathey Casper"], ["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", "Danna 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", "Cathey Casper"], ["name", "Danna Schamberger"], ["created_at", "2018-09-05 05:39:55.074775"], ["updated_at", "2018-09-05 05:39:55.074775"]]  (0.4ms) 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", "Angel Hammes"], ["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", "Angel Hammes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.079756"], ["updated_at", "2018-09-05 05:39:55.079756"]]  (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", "Octavio Blick"], ["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", "Octavio Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.086006"], ["updated_at", "2018-09-05 05:39:55.086006"]]  (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", "Tena Hoppe"], ["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", "Tena Hoppe"], ["name", "Cara Satterfield"], ["address", "Arthur Mitchell"], ["created_at", "2018-09-05 05:39:55.090973"], ["updated_at", "2018-09-05 05:39:55.090973"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Lecia Weimann"], ["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", "Lecia Weimann"], ["name", "Soraya Smitham"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:39:55.097394"], ["updated_at", "2018-09-05 05:39:55.097394"]] 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", 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", "Lecia Weimann"], ["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", "Lecia Weimann"], ["name", "Soraya Smitham"], ["description", "Default bundle for service 'Soraya Smitham'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:39:55.103180"], ["updated_at", "2018-09-05 05:39:55.103180"]] 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", 33]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Tam Roob"], ["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", "Tamica Stroman"], ["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", "Tam Roob"], ["name", "Tamica Stroman"], ["created_at", "2018-09-05 05:39:55.115126"], ["updated_at", "2018-09-05 05:39:55.115126"]]  (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", "Merrilee Dach"], ["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", "Merrilee Dach"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.119750"], ["updated_at", "2018-09-05 05:39:55.119750"]]  (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", "Donette Beatty"], ["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", "Donette Beatty"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.124847"], ["updated_at", "2018-09-05 05:39:55.124847"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Giovanni Ziemann"], ["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", "Giovanni Ziemann"], ["name", "Tamar McDermott"], ["address", "Gerard Zemlak"], ["created_at", "2018-09-05 05:39:55.131475"], ["updated_at", "2018-09-05 05:39:55.131475"]]  (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", "Ora Gusikowski"], ["service_delivery_unit_id", 73], ["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", "Ora Gusikowski"], ["name", "Valrie Effertz"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:39:55.136094"], ["updated_at", "2018-09-05 05:39:55.136094"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ora Gusikowski"], ["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", "Ora Gusikowski"], ["name", "Valrie Effertz"], ["description", "Default bundle for service 'Valrie Effertz'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:39:55.141029"], ["updated_at", "2018-09-05 05:39:55.141029"]] 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", 59], ["chargeable_service_id", 34]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 56], ["chargeable_service_id", 32]] 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", 56], ["chargeable_service_id", 33]] 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", 56], ["chargeable_service_id", 34]]  (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", 56]]  (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", 34]] 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", 56]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.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", 56], ["chargeable_service_id", 32], ["chargeable_service_id", 33]]  (0.8ms) 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", 56], ["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", 56]] 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", 56]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Alex Shields"], ["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", "Alex Shields"], ["name", "Jules Langworth"], ["address", "Trish Boyle"], ["created_at", "2018-09-05 05:39:55.175009"], ["updated_at", "2018-09-05 05:39:55.175009"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Patricia Ledner"], ["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", "Patricia Ledner"], ["name", "Sade Torp"], ["description", "Wonda Mohr"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:39:55.181223"], ["updated_at", "2018-09-05 05:39:55.181223"]]  (0.5ms) 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", "Cami Hegmann"], ["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", "Archie Johns"], ["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", "Cami Hegmann"], ["name", "Archie Johns"], ["created_at", "2018-09-05 05:39:55.187732"], ["updated_at", "2018-09-05 05:39:55.187732"]]  (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", "Scottie Schimmel"], ["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", "Scottie Schimmel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.192102"], ["updated_at", "2018-09-05 05:39:55.192102"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Lorenza Kuhic"], ["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", "Lorenza Kuhic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.198992"], ["updated_at", "2018-09-05 05:39:55.198992"]]  (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", "Lannie Murphy"], ["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", "Lannie Murphy"], ["name", "Marcel Flatley"], ["address", "Diedra Gutmann"], ["created_at", "2018-09-05 05:39:55.203357"], ["updated_at", "2018-09-05 05:39:55.203357"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Stephanie Dickens"], ["service_delivery_unit_id", 75], ["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", "Stephanie Dickens"], ["name", "Fermina Stroman"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:39:55.211168"], ["updated_at", "2018-09-05 05:39:55.211168"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Stephanie Dickens"], ["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", "Stephanie Dickens"], ["name", "Fermina Stroman"], ["description", "Default bundle for service 'Fermina Stroman'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:39:55.218042"], ["updated_at", "2018-09-05 05:39:55.218042"]] 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", 35]]  (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", "Joe Johnson"], ["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", "Curtis Witting"], ["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", "Joe Johnson"], ["name", "Curtis Witting"], ["created_at", "2018-09-05 05:39:55.226925"], ["updated_at", "2018-09-05 05:39:55.226925"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Yasmin McLaughlin"], ["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", "Yasmin McLaughlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.233591"], ["updated_at", "2018-09-05 05:39:55.233591"]]  (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", "Larue Rohan"], ["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", "Larue Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.238546"], ["updated_at", "2018-09-05 05:39:55.238546"]]  (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", "Agustina Walker"], ["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", "Agustina Walker"], ["name", "Darin Barrows"], ["address", "Bette Kihn"], ["created_at", "2018-09-05 05:39:55.243151"], ["updated_at", "2018-09-05 05:39:55.243151"]]  (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", "Dean Crona"], ["service_delivery_unit_id", 76], ["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", "Dean Crona"], ["name", "Carmella Watsica"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:39:55.248375"], ["updated_at", "2018-09-05 05:39:55.248375"]] 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", 76], ["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", "Dean Crona"], ["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", "Dean Crona"], ["name", "Carmella Watsica"], ["description", "Default bundle for service 'Carmella Watsica'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:39:55.253634"], ["updated_at", "2018-09-05 05:39:55.253634"]] 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", 62], ["chargeable_service_id", 36]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lilia Gibson"], ["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", "Emile Johns"], ["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", "Lilia Gibson"], ["name", "Emile Johns"], ["created_at", "2018-09-05 05:39:55.264514"], ["updated_at", "2018-09-05 05:39:55.264514"]]  (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", "Ila Franecki"], ["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", "Ila Franecki"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.269201"], ["updated_at", "2018-09-05 05:39:55.269201"]]  (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", "Kaylee Cronin"], ["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", "Kaylee Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.273511"], ["updated_at", "2018-09-05 05:39:55.273511"]]  (0.4ms) 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", "Maira Conroy"], ["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", "Maira Conroy"], ["name", "Shonna Shields"], ["address", "Pat Boyle"], ["created_at", "2018-09-05 05:39:55.279094"], ["updated_at", "2018-09-05 05:39:55.279094"]]  (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", "Tayna Schuppe"], ["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", "Tayna Schuppe"], ["name", "Kendall Swaniawski"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:39:55.285055"], ["updated_at", "2018-09-05 05:39:55.285055"]] 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", 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", "Tayna Schuppe"], ["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", "Tayna Schuppe"], ["name", "Kendall Swaniawski"], ["description", "Default bundle for service 'Kendall Swaniawski'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:39:55.289787"], ["updated_at", "2018-09-05 05:39:55.289787"]] 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", 63], ["chargeable_service_id", 37]]  (1.2ms) 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", "Katy Weimann"], ["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", "Angeles 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", "Katy Weimann"], ["name", "Angeles Shields"], ["created_at", "2018-09-05 05:39:55.300037"], ["updated_at", "2018-09-05 05:39:55.300037"]]  (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", "Shaun Bosco"], ["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", "Shaun Bosco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.304903"], ["updated_at", "2018-09-05 05:39:55.304903"]]  (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", "Katheleen Gutkowski"], ["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", "Katheleen Gutkowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:39:55.310045"], ["updated_at", "2018-09-05 05:39:55.310045"]]  (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", "Evelia Hilpert"], ["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", "Evelia Hilpert"], ["name", "Dara Swaniawski"], ["address", "Wendie Treutel"], ["created_at", "2018-09-05 05:39:55.315996"], ["updated_at", "2018-09-05 05:39:55.315996"]]  (0.7ms) 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", "Wilma 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", "Wilma Heaney"], ["name", "Tynisha Kohler"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:39:55.320873"], ["updated_at", "2018-09-05 05:39:55.320873"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Wilma Heaney"], ["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", "Wilma Heaney"], ["name", "Tynisha Kohler"], ["description", "Default bundle for service 'Tynisha Kohler'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:39:55.325433"], ["updated_at", "2018-09-05 05:39:55.325433"]] 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", 64], ["chargeable_service_id", 38]]  (0.5ms) 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 36]]  (0.5ms) 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", 60]]  (0.9ms) 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", 36], ["id", 37], ["id", 38]] 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", 60]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.4ms) 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 37]] 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", 38]]  (0.6ms) 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", 60], ["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", 60]] 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", 60], ["id", 35], ["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", 60]]  (1.5ms) ROLLBACK  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) 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", "bess@wiza.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", "Carlos Mayer"], ["last_name", "Tenesha Tremblay"], ["email", "bess@wiza.us"], ["password_digest", "$2a$04$kNF7Js0TdgFhD.hJchzh2OZHV.Ytl9bvxQTy8n8PXs2T8KVzzOdMC"], ["created_at", "2018-09-05 05:41:36.858676"], ["updated_at", "2018-09-05 05:41:36.858676"]]  (0.5ms) 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", "Blanch McKenzie"], ["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", "Tova Wyman"], ["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", "Blanch McKenzie"], ["name", "Tova Wyman"], ["created_at", "2018-09-05 05:41:36.906644"], ["updated_at", "2018-09-05 05:41:36.906644"]]  (0.7ms) 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", "Ashton Bruen"], ["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", "Ashton Bruen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:36.928123"], ["updated_at", "2018-09-05 05:41:36.928123"]]  (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", "Antonietta Connelly"], ["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", "Antonietta Connelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:36.933969"], ["updated_at", "2018-09-05 05:41:36.933969"]]  (1.0ms) 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", "Cherryl Kertzmann"], ["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", "Cherryl Kertzmann"], ["name", "Kaycee Abernathy"], ["address", "Elane Moen"], ["created_at", "2018-09-05 05:41:36.951645"], ["updated_at", "2018-09-05 05:41:36.951645"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Greta Tillman"], ["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", "Greta Tillman"], ["name", "Alexander Hayes"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:41:36.959495"], ["updated_at", "2018-09-05 05:41:36.959495"]] 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", 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", "Greta Tillman"], ["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", "Greta Tillman"], ["name", "Alexander Hayes"], ["description", "Default bundle for service 'Alexander Hayes'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:41:36.997074"], ["updated_at", "2018-09-05 05:41:36.997074"]] 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.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", "Pia Morissette"], ["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", "Malisa Wehner"], ["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", "Pia Morissette"], ["name", "Malisa Wehner"], ["created_at", "2018-09-05 05:41:37.028757"], ["updated_at", "2018-09-05 05:41:37.028757"]]  (0.5ms) 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", "Dallas Douglas"], ["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", "Dallas Douglas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.033983"], ["updated_at", "2018-09-05 05:41:37.033983"]]  (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", "Assunta Purdy"], ["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", "Assunta Purdy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.039458"], ["updated_at", "2018-09-05 05:41:37.039458"]]  (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", "Mavis Mann"], ["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", "Mavis Mann"], ["name", "Kendall Schmitt"], ["address", "Reuben Schuster"], ["created_at", "2018-09-05 05:41:37.044153"], ["updated_at", "2018-09-05 05:41:37.044153"]]  (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", "Lesa Bailey"], ["service_delivery_unit_id", 2], ["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", "Lesa Bailey"], ["name", "Lee Heaney"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:41:37.048872"], ["updated_at", "2018-09-05 05:41:37.048872"]] 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", 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", "Lesa Bailey"], ["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", "Lesa Bailey"], ["name", "Lee Heaney"], ["description", "Default bundle for service 'Lee Heaney'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:41:37.055356"], ["updated_at", "2018-09-05 05:41:37.055356"]] 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", 2], ["chargeable_service_id", 2]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Mariella Waelchi"], ["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", "Kandace Conn"], ["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", "Mariella Waelchi"], ["name", "Kandace Conn"], ["created_at", "2018-09-05 05:41:37.064478"], ["updated_at", "2018-09-05 05:41:37.064478"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Taina Grant"], ["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", "Taina Grant"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.070745"], ["updated_at", "2018-09-05 05:41:37.070745"]]  (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", "Sue West"], ["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", "Sue West"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.076185"], ["updated_at", "2018-09-05 05:41:37.076185"]]  (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", "Hosea Goldner"], ["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", "Hosea Goldner"], ["name", "Lisette Kovacek"], ["address", "Hong Lockman"], ["created_at", "2018-09-05 05:41:37.080944"], ["updated_at", "2018-09-05 05:41:37.080944"]]  (0.6ms) 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", "Hilton Hoppe"], ["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", "Hilton Hoppe"], ["name", "Mickey Corwin"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:41:37.086513"], ["updated_at", "2018-09-05 05:41:37.086513"]] 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", 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", "Hilton Hoppe"], ["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", "Hilton Hoppe"], ["name", "Mickey Corwin"], ["description", "Default bundle for service 'Mickey Corwin'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:41:37.092916"], ["updated_at", "2018-09-05 05:41:37.092916"]] 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", 3], ["chargeable_service_id", 3]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 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.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN ($1, $2, $3) [["id", 1], ["id", 2], ["id", 3]] [active_model_serializers] 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", 1], ["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", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.0ms) 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 (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", 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.8ms) 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.7ms) 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 (18.7ms) Completed 200 OK in 45ms (Views: 29.2ms | ActiveRecord: 11.5ms)  (1.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", "loralee@nader.co.uk"], ["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", "Cleta Halvorson"], ["last_name", "Zora Erdman"], ["email", "loralee@nader.co.uk"], ["password_digest", "$2a$04$gNek9NLXKxut6tHE2GRwkOHbgYc2HyMcgJntPkWZXXo.DLCeVMIou"], ["created_at", "2018-09-05 05:41:37.162390"], ["updated_at", "2018-09-05 05:41:37.162390"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Ann Anderson"], ["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", "Ann Anderson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.173141"], ["updated_at", "2018-09-05 05:41:37.173141"]]  (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", "Alena Rice"], ["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", "Alena Rice"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.177801"], ["updated_at", "2018-09-05 05:41:37.177801"]]  (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", "Daisey Hansen"], ["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", "Daisey Hansen"], ["name", "Rosendo Mann"], ["address", "Christinia Cremin"], ["created_at", "2018-09-05 05:41:37.182937"], ["updated_at", "2018-09-05 05:41:37.182937"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Leanora Beier"], ["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", "Genesis Tremblay"], ["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", "Leanora Beier"], ["name", "Genesis Tremblay"], ["created_at", "2018-09-05 05:41:37.193070"], ["updated_at", "2018-09-05 05:41:37.193070"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Shizuko Smitham", "name"=>"Bettye Block", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.0ms) 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 (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", "Shizuko Smitham"], ["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 (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", 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", "Shizuko Smitham"], ["name", "Bettye Block"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:41:37.215192"], ["updated_at", "2018-09-05 05:41:37.215192"]] 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" = $1 LIMIT $2 [["id", 4], ["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", "Shizuko Smitham"], ["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", "Shizuko Smitham"], ["name", "Bettye Block"], ["description", "Default bundle for service 'Bettye Block'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:41:37.222727"], ["updated_at", "2018-09-05 05:41:37.222727"]] 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.78ms) 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.32ms) Completed 200 OK in 37ms (Views: 9.6ms | ActiveRecord: 13.6ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "toi.pagac@bogan.com"], ["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", "Brittni Nienow"], ["last_name", "Keren Hodkiewicz"], ["email", "toi.pagac@bogan.com"], ["password_digest", "$2a$04$Wz1y25w58aXQs8w.hbbhIevRVK9/vl1o.5We81VBjyUb8WQDSxXhq"], ["created_at", "2018-09-05 05:41:37.250654"], ["updated_at", "2018-09-05 05:41:37.250654"]]  (0.9ms) 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", "Latoyia Parker"], ["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", "Latoyia Parker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.257893"], ["updated_at", "2018-09-05 05:41:37.257893"]]  (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", "Ellis Sipes"], ["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", "Ellis Sipes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.262634"], ["updated_at", "2018-09-05 05:41:37.262634"]]  (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", "Mira Renner"], ["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", "Mira Renner"], ["name", "Elma Sporer"], ["address", "Fermina Bartoletti"], ["created_at", "2018-09-05 05:41:37.267734"], ["updated_at", "2018-09-05 05:41:37.267734"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.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", "Joe 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", "Nga Schoen"], ["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", "Joe Grant"], ["name", "Nga Schoen"], ["created_at", "2018-09-05 05:41:37.275525"], ["updated_at", "2018-09-05 05:41:37.275525"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Barney Watsica", "name"=>"Caitlyn Breitenberg", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]]  (2.0ms) 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", "Barney Watsica"], ["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 (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", 9], ["LIMIT", 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", 5], ["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", "Barney Watsica"], ["name", "Caitlyn Breitenberg"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:41:37.294936"], ["updated_at", "2018-09-05 05:41:37.294936"]] 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", 5], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (2.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Barney Watsica"], ["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", "Barney Watsica"], ["name", "Caitlyn Breitenberg"], ["description", "Default bundle for service 'Caitlyn Breitenberg'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:41:37.304830"], ["updated_at", "2018-09-05 05:41:37.304830"]] 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.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 (2.07ms) 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 (0.22ms) Completed 200 OK in 36ms (Views: 1.6ms | ActiveRecord: 16.7ms)  (1.0ms) 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", "genie_braun@bergstromsenger.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", "Randall Homenick"], ["last_name", "Sheilah Hane"], ["email", "genie_braun@bergstromsenger.info"], ["password_digest", "$2a$04$bR7RUz1bWA2DXm1Yn9UBQOSt6akQ.jCzADFUNvgFwBysjFh0KBzw."], ["created_at", "2018-09-05 05:41:37.326577"], ["updated_at", "2018-09-05 05:41:37.326577"]]  (0.6ms) 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", "Chad Wunsch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chad Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.333302"], ["updated_at", "2018-09-05 05:41:37.333302"]]  (0.8ms) 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", "Angeline Quitzon"], ["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", "Angeline Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.341314"], ["updated_at", "2018-09-05 05:41:37.341314"]]  (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", "Natashia 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", "Natashia Paucek"], ["name", "Marjorie Stehr"], ["address", "Vida Jenkins"], ["created_at", "2018-09-05 05:41:37.347312"], ["updated_at", "2018-09-05 05:41:37.347312"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kathern Braun"], ["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", "Arlean Orn"], ["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", "Kathern Braun"], ["name", "Arlean Orn"], ["created_at", "2018-09-05 05:41:37.355648"], ["updated_at", "2018-09-05 05:41:37.355648"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Denita Swaniawski", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.1ms) 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.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", ""], ["service_delivery_unit_id", 6], ["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", 6], ["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", 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.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (2.4ms) 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.12ms) Completed 422 Unprocessable Entity in 32ms (Views: 6.6ms | ActiveRecord: 8.6ms)  (1.0ms) ROLLBACK  (0.5ms) 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", "jin.dicki@willmsnolan.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", "Criselda Gislason"], ["last_name", "Malika Ruecker"], ["email", "jin.dicki@willmsnolan.name"], ["password_digest", "$2a$04$KKW8XHostWhQZiYWujPfp.toqceRan8tlk2z05SZurl/7Mblmq.Uq"], ["created_at", "2018-09-05 05:41:37.403518"], ["updated_at", "2018-09-05 05:41:37.403518"]]  (0.7ms) 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", "Allan Corwin"], ["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", "Blaine Denesik"], ["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", "Allan Corwin"], ["name", "Blaine Denesik"], ["created_at", "2018-09-05 05:41:37.412430"], ["updated_at", "2018-09-05 05:41:37.412430"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Ann Wintheiser"], ["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", "Ann Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.418895"], ["updated_at", "2018-09-05 05:41:37.418895"]]  (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", "Carrol Steuber"], ["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", "Carrol Steuber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.425513"], ["updated_at", "2018-09-05 05:41:37.425513"]]  (0.9ms) 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", "Karma Beahan"], ["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", "Karma Beahan"], ["name", "Enrique Toy"], ["address", "Diane Jewess"], ["created_at", "2018-09-05 05:41:37.432320"], ["updated_at", "2018-09-05 05:41:37.432320"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Darron Schoen"], ["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", "Darron Schoen"], ["name", "Stephen Dare"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:41:37.439696"], ["updated_at", "2018-09-05 05:41:37.439696"]] 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", 7], ["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", "Darron Schoen"], ["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", "Darron Schoen"], ["name", "Stephen Dare"], ["description", "Default bundle for service 'Stephen Dare'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:41:37.446596"], ["updated_at", "2018-09-05 05:41:37.446596"]] 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", 6], ["chargeable_service_id", 6]]  (0.7ms) 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.9ms) 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.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (1.0ms) 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", "Darron Schoen"], ["id", 6], ["service_delivery_unit_id", 7], ["LIMIT", 1]] Mks::Rate::ServiceType Load (3.4ms) 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.1ms) 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 (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", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Update (1.2ms) 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 05:41:37.474996"], ["id", 6]] 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", 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", "Darron Schoen"], ["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 (1.74ms) Mks::Auth::User Load (0.9ms) 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.21ms) Completed 200 OK in 42ms (Views: 1.2ms | ActiveRecord: 14.8ms) Mks::Rate::ChargeableService Load (2.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) 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", "damon@mclaughlinbalistreri.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", "Shari Walter"], ["last_name", "Tonia Kertzmann"], ["email", "damon@mclaughlinbalistreri.name"], ["password_digest", "$2a$04$fmc932yVeH2A5TcrYKcJRe/nYoVL8zKBCwvDijbNSZouFSfKFhxiG"], ["created_at", "2018-09-05 05:41:37.511694"], ["updated_at", "2018-09-05 05:41:37.511694"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kaleigh Wuckert"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Gaylord Ernser"], ["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", "Kaleigh Wuckert"], ["name", "Gaylord Ernser"], ["created_at", "2018-09-05 05:41:37.522590"], ["updated_at", "2018-09-05 05:41:37.522590"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Melia Kilback"], ["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", "Melia Kilback"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.530675"], ["updated_at", "2018-09-05 05:41:37.530675"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.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", "Janee Beer"], ["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", "Janee Beer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.537547"], ["updated_at", "2018-09-05 05:41:37.537547"]]  (0.8ms) 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", "Sudie Fadel"], ["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", "Sudie Fadel"], ["name", "Una Grady"], ["address", "Rene Kris"], ["created_at", "2018-09-05 05:41:37.543815"], ["updated_at", "2018-09-05 05:41:37.543815"]]  (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", "Cherly Schultz"], ["service_delivery_unit_id", 8], ["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", "Cherly Schultz"], ["name", "Antonetta Nitzsche"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:41:37.549607"], ["updated_at", "2018-09-05 05:41:37.549607"]] 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", 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", "Cherly Schultz"], ["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", "Cherly Schultz"], ["name", "Antonetta Nitzsche"], ["description", "Default bundle for service 'Antonetta Nitzsche'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:41:37.556154"], ["updated_at", "2018-09-05 05:41:37.556154"]] 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.8ms) 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.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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Cherly Schultz"], ["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 (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", 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.15ms) Completed 422 Unprocessable Entity in 14ms (Views: 1.2ms | ActiveRecord: 7.3ms)  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (0.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", "ling@kris.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", "Jaleesa Blanda"], ["last_name", "Kassandra Wehner"], ["email", "ling@kris.ca"], ["password_digest", "$2a$04$/Uc3xEHlwZfOQBSLcJbMvep9iP5LY3stiBm3g1idY5kK35zIsfy/y"], ["created_at", "2018-09-05 05:41:37.587196"], ["updated_at", "2018-09-05 05:41:37.587196"]]  (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", "Mirta 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", "Mirta Beier"], ["name", "Lynn Hauck"], ["address", "Kati Murray"], ["created_at", "2018-09-05 05:41:37.592312"], ["updated_at", "2018-09-05 05:41:37.592312"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Fatimah Brown"], ["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", "Fatimah Brown"], ["name", "Sharika Paucek"], ["address", "Raeann Kerluke"], ["created_at", "2018-09-05 05:41:37.596167"], ["updated_at", "2018-09-05 05:41:37.596167"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Pam Stiedemann"], ["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", "Rolland Roberts"], ["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", "Pam Stiedemann"], ["name", "Rolland Roberts"], ["created_at", "2018-09-05 05:41:37.604309"], ["updated_at", "2018-09-05 05:41:37.604309"]]  (0.8ms) 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", "Gertude Pouros"], ["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", "Gertude Pouros"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.610682"], ["updated_at", "2018-09-05 05:41:37.610682"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (3.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ruthanne Davis"], ["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", "Ruthanne Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.619653"], ["updated_at", "2018-09-05 05:41:37.619653"]]  (0.7ms) 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", "Ty Reinger"], ["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 (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", "Ty Reinger"], ["name", "Loma Wyman"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:41:37.627119"], ["updated_at", "2018-09-05 05:41:37.627119"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ty Reinger"], ["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", "Ty Reinger"], ["name", "Loma Wyman"], ["description", "Default bundle for service 'Loma Wyman'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:41:37.632657"], ["updated_at", "2018-09-05 05:41:37.632657"]] 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", 8], ["chargeable_service_id", 8]]  (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", "Ozie Spencer"], ["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", "Heide Legros"], ["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", "Ozie Spencer"], ["name", "Heide Legros"], ["created_at", "2018-09-05 05:41:37.642432"], ["updated_at", "2018-09-05 05:41:37.642432"]]  (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", "Rashida Toy"], ["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", "Rashida Toy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.647074"], ["updated_at", "2018-09-05 05:41:37.647074"]]  (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", "Russel Kub"], ["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", "Russel Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.652757"], ["updated_at", "2018-09-05 05:41:37.652757"]]  (0.4ms) 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", "Jeannine Greenfelder"], ["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.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", "Jeannine Greenfelder"], ["name", "Catarina Von"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:41:37.658647"], ["updated_at", "2018-09-05 05:41:37.658647"]] 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", 9], ["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", "Jeannine Greenfelder"], ["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", "Jeannine Greenfelder"], ["name", "Catarina Von"], ["description", "Default bundle for service 'Catarina Von'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:41:37.664289"], ["updated_at", "2018-09-05 05:41:37.664289"]] 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", 9], ["chargeable_service_id", 9]]  (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", "Setsuko Fahey"], ["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", "Tempie Hodkiewicz"], ["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", "Setsuko Fahey"], ["name", "Tempie Hodkiewicz"], ["created_at", "2018-09-05 05:41:37.675890"], ["updated_at", "2018-09-05 05:41:37.675890"]]  (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", "Teofila Bode"], ["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", "Teofila Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.680695"], ["updated_at", "2018-09-05 05:41:37.680695"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Marie Kuhn"], ["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", "Marie Kuhn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.687376"], ["updated_at", "2018-09-05 05:41:37.687376"]]  (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", "Claire Zboncak"], ["service_delivery_unit_id", 10], ["LIMIT", 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", 10], ["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", "Claire Zboncak"], ["name", "Katie O'Kon"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:41:37.693815"], ["updated_at", "2018-09-05 05:41:37.693815"]] 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", "Claire Zboncak"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.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", "Claire Zboncak"], ["name", "Katie O'Kon"], ["description", "Default bundle for service 'Katie O'Kon'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:41:37.699336"], ["updated_at", "2018-09-05 05:41:37.699336"]] 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", 10], ["chargeable_service_id", 10]]  (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", "Wan Bogan"], ["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", "Vivan Breitenberg"], ["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", "Wan Bogan"], ["name", "Vivan Breitenberg"], ["created_at", "2018-09-05 05:41:37.711194"], ["updated_at", "2018-09-05 05:41:37.711194"]]  (0.6ms) 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", "Josefa Bruen"], ["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", "Josefa Bruen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.718744"], ["updated_at", "2018-09-05 05:41:37.718744"]]  (0.5ms) 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", "Renita Weber"], ["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", "Renita Weber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:37.724329"], ["updated_at", "2018-09-05 05:41:37.724329"]]  (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", "Otilia Nikolaus"], ["service_delivery_unit_id", 10], ["LIMIT", 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", 10], ["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", "Otilia Nikolaus"], ["name", "Siobhan Stanton"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:41:37.730659"], ["updated_at", "2018-09-05 05:41:37.730659"]] Mks::Rate::ServiceDeliveryUnit Load (2.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::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Otilia Nikolaus"], ["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", "Otilia Nikolaus"], ["name", "Siobhan Stanton"], ["description", "Default bundle for service 'Siobhan Stanton'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:41:37.738963"], ["updated_at", "2018-09-05 05:41:37.738963"]] 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", 11], ["chargeable_service_id", 11]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (1.0ms) 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 (1.2ms) 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 (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", 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 (1.2ms) 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.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]] [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", 19], ["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", 20], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (1.3ms) 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 (13.94ms) Completed 200 OK in 21ms (Views: 9.9ms | ActiveRecord: 10.3ms)  (1.6ms) ROLLBACK  (1.3ms) 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", "vertie@hilpertchamplin.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", "Nena Tremblay"], ["last_name", "Mardell Treutel"], ["email", "vertie@hilpertchamplin.biz"], ["password_digest", "$2a$04$Bv.f7AQXs2LZIYmsTxk3neNzMjgnG9q/gRUYDo7ZmLyAm5GLhRpiK"], ["created_at", "2018-09-05 05:41:37.779866"], ["updated_at", "2018-09-05 05:41:37.779866"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "tenisha.conroy@wiza.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", "Lai Keebler"], ["last_name", "Arlen Stoltenberg"], ["email", "tenisha.conroy@wiza.biz"], ["password_digest", "$2a$04$qZNnXFfswyiTBFHfZtedN.RHnNE8KNZF/EyshAP.Lwh/sGTcJQrky"], ["created_at", "2018-09-05 05:41:37.792179"], ["updated_at", "2018-09-05 05:41:37.792179"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "andy@jerdeolson.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", "Erica McKenzie"], ["last_name", "Jamaal Swaniawski"], ["email", "andy@jerdeolson.biz"], ["password_digest", "$2a$04$AwQo17kveivGEiAI4RMvNeaAZTm5z1htJX62Rs4RJhP9Dqxnh6fkO"], ["created_at", "2018-09-05 05:41:37.803169"], ["updated_at", "2018-09-05 05:41:37.803169"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.6ms) ROLLBACK  (2.3ms) 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", "mindi_fadel@halvorsonbecker.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", "Clarence Durgan"], ["last_name", "Jaime Wilkinson"], ["email", "mindi_fadel@halvorsonbecker.info"], ["password_digest", "$2a$04$3RfefktU9P.RB.t4sZoNtel.UxNKpnIySTmVBJCiWRA9RFNKRp2Z6"], ["created_at", "2018-09-05 05:41:37.825067"], ["updated_at", "2018-09-05 05:41:37.825067"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "kizzie_hauck@feeneycremin.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", "Adrianna Jakubowski"], ["last_name", "Rory Gutmann"], ["email", "kizzie_hauck@feeneycremin.us"], ["password_digest", "$2a$04$TApttaatHYO0AMLPx49PZOoYvAoUzqixS/XwkFJP9S7dfT1oQ10Jm"], ["created_at", "2018-09-05 05:41:37.836096"], ["updated_at", "2018-09-05 05:41:37.836096"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "marisha.greenholt@labadie.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", "Qiana Gutkowski"], ["last_name", "Betsey Witting"], ["email", "marisha.greenholt@labadie.name"], ["password_digest", "$2a$04$xNpfpAK/Dn/FPjWGT8jH.Ou0PbXKfrQXJPRb0oXcQFYzB.aZW6gy."], ["created_at", "2018-09-05 05:41:37.847545"], ["updated_at", "2018-09-05 05:41:37.847545"]]  (2.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "delores_yost@jenkins.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", "Hettie Haley"], ["last_name", "Chae Bernier"], ["email", "delores_yost@jenkins.co.uk"], ["password_digest", "$2a$04$A2VdfSuEb4wV6JhE5CddJeEV0gl0cxBZeEQYKcC18vHkFq9N8QVp2"], ["created_at", "2018-09-05 05:41:37.862003"], ["updated_at", "2018-09-05 05:41:37.862003"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "shelli@metz.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", "Layla Nienow"], ["last_name", "Elisha Vandervort"], ["email", "shelli@metz.name"], ["password_digest", "$2a$04$rJs3dNaSpYbHEyTg7Cy7POBd1P3mBaO5/dPoeQsXOXBhP8KWizatm"], ["created_at", "2018-09-05 05:41:37.875124"], ["updated_at", "2018-09-05 05:41:37.875124"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) 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", "ayako_miller@harris.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", "Agnes Borer"], ["last_name", "Clementina Carter"], ["email", "ayako_miller@harris.com"], ["password_digest", "$2a$04$YB9kYdA1IFrXbcPhW8Ngdu9iQKx4fAxPs.DethZtOAhcb5yCNZ6oy"], ["created_at", "2018-09-05 05:41:37.886208"], ["updated_at", "2018-09-05 05:41:37.886208"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.9ms) 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", "lasonya@aufderhar.com"], ["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", "Dallas Stiedemann"], ["last_name", "Carlena Hudson"], ["email", "lasonya@aufderhar.com"], ["password_digest", "$2a$04$nXczCvsFW38WETxM/bguG.LjMbKXpeg76KUdx9HZEZVZIu014Yy0G"], ["created_at", "2018-09-05 05:41:37.898500"], ["updated_at", "2018-09-05 05:41:37.898500"]]  (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", "Saran Bins"], ["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", "Saran Bins"], ["name", "Galen Cartwright"], ["address", "Faye Roob"], ["created_at", "2018-09-05 05:41:37.906534"], ["updated_at", "2018-09-05 05:41:37.906534"]]  (0.6ms) 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", "Bette Mraz"], ["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", "Bette Mraz"], ["name", "Avril Ratke"], ["description", "Myrle Abbott"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:41:37.911381"], ["updated_at", "2018-09-05 05:41:37.911381"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 17], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [active_model_serializers] 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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.55ms) Completed 200 OK in 11ms (Views: 4.9ms | ActiveRecord: 4.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.5ms) 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", "jarrod@kertzmann.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", "Samira Franecki"], ["last_name", "Lizabeth Lang"], ["email", "jarrod@kertzmann.us"], ["password_digest", "$2a$04$pjlYsw3IO.AxYQH0m/rPbOoSeSY7Ni1ETbN.F.0OUKnkFPxMcsjnm"], ["created_at", "2018-09-05 05:41:37.937279"], ["updated_at", "2018-09-05 05:41:37.937279"]]  (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", "Keith Nikolaus"], ["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", "Keith Nikolaus"], ["name", "Gracie Ondricka"], ["address", "Raelene Powlowski"], ["created_at", "2018-09-05 05:41:37.942471"], ["updated_at", "2018-09-05 05:41:37.942471"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Dorothy Thompson"], ["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", "Dorothy Thompson"], ["name", "Val Cummings"], ["description", "Gene Howell"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:41:37.948658"], ["updated_at", "2018-09-05 05:41:37.948658"]]  (1.5ms) 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", "Johanne Feil"], ["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", "Johanne Feil"], ["name", "Ching O'Reilly"], ["description", "Randal Murray"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:41:37.956423"], ["updated_at", "2018-09-05 05:41:37.956423"]]  (0.5ms) 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", "Damion Moen"], ["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", "Damion Moen"], ["name", "Clifford Reilly"], ["description", "Felipa Thiel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:41:37.962302"], ["updated_at", "2018-09-05 05:41:37.962302"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["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", 18], ["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", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.35ms) Completed 200 OK in 11ms (Views: 4.5ms | ActiveRecord: 5.0ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) 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", "russell@emard.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", "Wendie Sawayn"], ["last_name", "Louie Abshire"], ["email", "russell@emard.info"], ["password_digest", "$2a$04$jhMqJD50DR1hEj3bk6Vmwer6JiLzc10qtSevFtj5e/07oQFEeQVAW"], ["created_at", "2018-09-05 05:41:37.987875"], ["updated_at", "2018-09-05 05:41:37.987875"]]  (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", "Mercedes Dare"], ["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", "Mercedes Dare"], ["name", "Alishia Friesen"], ["address", "Yong Collins"], ["created_at", "2018-09-05 05:41:37.993286"], ["updated_at", "2018-09-05 05:41:37.993286"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Kami Brekke"], ["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", "Kami Brekke"], ["name", "Valentina Sipes"], ["description", "Maynard Mayert"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:41:37.998835"], ["updated_at", "2018-09-05 05:41:37.998835"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Drucilla Waters"], ["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", "Drucilla Waters"], ["name", "Audrie Torp"], ["description", "Sarah Kilback"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:41:38.006354"], ["updated_at", "2018-09-05 05:41:38.006354"]]  (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", "Garret Hermann"], ["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", "Garret Hermann"], ["name", "Rosann VonRueden"], ["description", "Cordia Schroeder"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:41:38.011056"], ["updated_at", "2018-09-05 05:41:38.011056"]]  (3.3ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Elane Ortiz"], ["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", "Elane Ortiz"], ["name", "Reanna Thompson"], ["address", "Lanell Ledner"], ["created_at", "2018-09-05 05:41:38.022048"], ["updated_at", "2018-09-05 05:41:38.022048"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sade Muller"], ["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", "Sade Muller"], ["name", "Hoa Labadie"], ["description", "Aide Wyman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:41:38.027095"], ["updated_at", "2018-09-05 05:41:38.027095"]]  (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", "Macy Hyatt"], ["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", "Macy Hyatt"], ["name", "Madelene Beatty"], ["address", "Lyman Bartoletti"], ["created_at", "2018-09-05 05:41:38.032773"], ["updated_at", "2018-09-05 05:41:38.032773"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Brunilda Goodwin"], ["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", "Brunilda Goodwin"], ["name", "Rima White"], ["description", "Brandy Hickle"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:41:38.038841"], ["updated_at", "2018-09-05 05:41:38.038841"]]  (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", "Lacy Welch"], ["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", "Lacy Welch"], ["name", "Roselle Cronin"], ["address", "Merissa Powlowski"], ["created_at", "2018-09-05 05:41:38.043965"], ["updated_at", "2018-09-05 05:41:38.043965"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Kennith Hagenes"], ["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", "Kennith Hagenes"], ["name", "Nenita Lowe"], ["description", "Clare Kihn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:41:38.049164"], ["updated_at", "2018-09-05 05:41:38.049164"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 19], ["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", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.23ms) Completed 200 OK in 9ms (Views: 3.7ms | ActiveRecord: 4.3ms)  (0.8ms) ROLLBACK  (0.8ms) 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", "greg.gorczany@hilpert.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", "Shelton Roob"], ["last_name", "Livia Turner"], ["email", "greg.gorczany@hilpert.biz"], ["password_digest", "$2a$04$Wqu6hn58D20agwzkk43Aw.nTUkDyDLbFaH1cvYxsoomSRDMZijbqW"], ["created_at", "2018-09-05 05:41:38.072696"], ["updated_at", "2018-09-05 05:41:38.072696"]]  (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", "Aileen Funk"], ["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", "Aileen Funk"], ["name", "Carleen Kuvalis"], ["address", "Rocco Ebert"], ["created_at", "2018-09-05 05:41:38.078103"], ["updated_at", "2018-09-05 05:41:38.078103"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Marvis Abbott"], ["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", "Marvis Abbott"], ["name", "Trula Brakus"], ["description", "Hilda Trantow"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:41:38.085068"], ["updated_at", "2018-09-05 05:41:38.085068"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} 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]] 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", 22], ["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]] [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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.72ms) Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 3.0ms)  (0.8ms) ROLLBACK  (0.8ms) 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", "chae.bergnaum@stehr.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", "Willene Olson"], ["last_name", "Dennise Grady"], ["email", "chae.bergnaum@stehr.co.uk"], ["password_digest", "$2a$04$YrrGQWUDvFayd.OuowBXpuMkN9iC1AKQgv1f0mo/qbVYtVKxHOjnu"], ["created_at", "2018-09-05 05:41:38.110393"], ["updated_at", "2018-09-05 05:41:38.110393"]]  (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", "Hans Prosacco"], ["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", "Hans Prosacco"], ["name", "Leighann Berge"], ["address", "Jenee Kerluke"], ["created_at", "2018-09-05 05:41:38.116677"], ["updated_at", "2018-09-05 05:41:38.116677"]]  (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", "Theressa Koch"], ["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", "Theressa Koch"], ["name", "First Service Bundle"], ["description", "Magen Kuvalis"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:41:38.122469"], ["updated_at", "2018-09-05 05:41:38.122469"]]  (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", "Joselyn Spinka"], ["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", "Joselyn Spinka"], ["name", "Noelia Price"], ["address", "Hortencia Schuppe"], ["created_at", "2018-09-05 05:41:38.127578"], ["updated_at", "2018-09-05 05:41:38.127578"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Wendi Kulas"], ["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", "Wendi Kulas"], ["name", "Second Service Bundle"], ["description", "Jennefer Durgan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:41:38.134505"], ["updated_at", "2018-09-05 05:41:38.134505"]]  (0.6ms) 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", 21], ["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", 21], ["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.5ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.66ms) Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 4.7ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["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 '%service%') [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", 18], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.58ms) Completed 200 OK in 10ms (Views: 3.3ms | ActiveRecord: 10.6ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.0ms) 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", "lindsy@raustamm.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", "Giovanni Price"], ["last_name", "Marlana Towne"], ["email", "lindsy@raustamm.info"], ["password_digest", "$2a$04$qm3zYSOWG8M8.FKTaXyHQO7lBogfqCvHe904EYkhjTBlTpllHM.GC"], ["created_at", "2018-09-05 05:41:38.168226"], ["updated_at", "2018-09-05 05:41:38.168226"]]  (0.7ms) 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", "Dominga Barrows"], ["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", "Dominga Barrows"], ["name", "Dwayne Williamson"], ["address", "Thomasena Schultz"], ["created_at", "2018-09-05 05:41:38.174414"], ["updated_at", "2018-09-05 05:41:38.174414"]]  (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", "Lakeesha Schiller"], ["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", "Lakeesha Schiller"], ["name", "FIRst Service Bundle"], ["description", "Neda Harris"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:41:38.178892"], ["updated_at", "2018-09-05 05:41:38.178892"]]  (1.8ms) 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", "Noel Williamson"], ["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", "Noel Williamson"], ["name", "Caryl Larkin"], ["address", "Shoshana Sauer"], ["created_at", "2018-09-05 05:41:38.187530"], ["updated_at", "2018-09-05 05:41:38.187530"]]  (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", "Leonida Zboncak"], ["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", "Leonida Zboncak"], ["name", "Second Service Bundle for the firST time"], ["description", "Tyisha Trantow"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:41:38.192107"], ["updated_at", "2018-09-05 05:41:38.192107"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["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", 22], ["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.0ms) 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]] [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 (3.9ms) Completed 200 OK in 11ms (Views: 3.8ms | ActiveRecord: 6.1ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "maurita@little.ca"], ["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", "Ramonita Gleason"], ["last_name", "Florinda Lebsack"], ["email", "maurita@little.ca"], ["password_digest", "$2a$04$F228nI8iwXKqDm3nYU/ouuRXjtmW5T20rWoetP.AOFF.NOk/bASMG"], ["created_at", "2018-09-05 05:41:38.218918"], ["updated_at", "2018-09-05 05:41:38.218918"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Reita Kutch"], ["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", "Reita Kutch"], ["name", "Eboni Franecki"], ["address", "Alfonso Douglas"], ["created_at", "2018-09-05 05:41:38.225553"], ["updated_at", "2018-09-05 05:41:38.225553"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Beatriz Eichmann", "description"=>"Felton Gulgowski", "name"=>"Zachary Runte", "service_delivery_unit_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", 23], ["LIMIT", 1]]  (2.3ms) SAVEPOINT active_record_1 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", 22], ["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", "Beatriz Eichmann"], ["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", "Beatriz Eichmann"], ["name", "Zachary Runte"], ["description", "Felton Gulgowski"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:41:38.239299"], ["updated_at", "2018-09-05 05:41:38.239299"]]  (0.6ms) 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.29ms) Completed 201 Created in 16ms (Views: 1.9ms | ActiveRecord: 8.1ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.6ms) ROLLBACK  (1.2ms) 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", "kami_toy@nitzsche.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", "Joaquina Bartoletti"], ["last_name", "Jolyn Murphy"], ["email", "kami_toy@nitzsche.com"], ["password_digest", "$2a$04$eU4q9FGN7AJtBT.xCSaX5u7ahCniAv9xzqKZN9dSV1AK2boq6iq9q"], ["created_at", "2018-09-05 05:41:38.256069"], ["updated_at", "2018-09-05 05:41:38.256069"]]  (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", "Kelvin Rempel"], ["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", "Kelvin Rempel"], ["name", "Ellie Walter"], ["address", "Bethany Osinski"], ["created_at", "2018-09-05 05:41:38.261091"], ["updated_at", "2018-09-05 05:41:38.261091"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Robert Willms", "description"=>"Laquita Medhurst", "name"=>"Roland Mann", "service_delivery_unit_id"=>"23"}} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["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", 23], ["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", "Robert Willms"], ["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", "Robert Willms"], ["name", "Roland Mann"], ["description", "Laquita Medhurst"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:41:38.274796"], ["updated_at", "2018-09-05 05:41:38.274796"]]  (0.5ms) 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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 15ms (Views: 1.6ms | ActiveRecord: 6.7ms) Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (1.8ms) ROLLBACK  (0.6ms) BEGIN  (1.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", "laverne@huel.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", "Olga Rogahn"], ["last_name", "Rozella Farrell"], ["email", "laverne@huel.biz"], ["password_digest", "$2a$04$TJNlJa1oQXDWzJswX0lE8ubV2BoRhpw5jdsQKrsBbSH8BJnWKv6mK"], ["created_at", "2018-09-05 05:41:38.295030"], ["updated_at", "2018-09-05 05:41:38.295030"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", "Azucena Kshlerin"], ["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", "Azucena Kshlerin"], ["name", "Geralyn Witting"], ["address", "Nikki McKenzie"], ["created_at", "2018-09-05 05:41:38.303137"], ["updated_at", "2018-09-05 05:41:38.303137"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Palma Mohr", "name"=>"Irina Haag", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["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", 24], ["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", ""], ["LIMIT", 1]]  (0.5ms) 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", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 15ms (Views: 7.1ms | ActiveRecord: 4.5ms)  (1.0ms) ROLLBACK  (0.5ms) 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", "catherina_gerlach@kulasbeahan.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (2.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", "Ethel Goldner"], ["last_name", "Kareem Dibbert"], ["email", "catherina_gerlach@kulasbeahan.co.uk"], ["password_digest", "$2a$04$Gi4/Re6NlMotZliIEqtsI.oMeyiIfBU9X8r8OT4BfdVAaJHOwHc4O"], ["created_at", "2018-09-05 05:41:38.330828"], ["updated_at", "2018-09-05 05:41:38.330828"]]  (0.8ms) 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", "Fidelia Schuppe"], ["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", "Fidelia Schuppe"], ["name", "Jason Gottlieb"], ["address", "Keneth Von"], ["created_at", "2018-09-05 05:41:38.347114"], ["updated_at", "2018-09-05 05:41:38.347114"]]  (0.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", "Lorretta Mante"], ["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", "Lorretta Mante"], ["name", "Claude Sauer"], ["description", "Ayana Murazik"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:41:38.353656"], ["updated_at", "2018-09-05 05:41:38.353656"]]  (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", "Genie Daniel"], ["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", "Milagro Jenkins"], ["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", "Genie Daniel"], ["name", "Milagro Jenkins"], ["created_at", "2018-09-05 05:41:38.360211"], ["updated_at", "2018-09-05 05:41:38.360211"]]  (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", "Evalyn Steuber"], ["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", "Evalyn Steuber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:38.364933"], ["updated_at", "2018-09-05 05:41:38.364933"]]  (0.8ms) 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", "Marlin Stamm"], ["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", "Marlin Stamm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:38.370667"], ["updated_at", "2018-09-05 05:41:38.370667"]]  (0.5ms) 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", "Shemika Kuphal"], ["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", "Shemika Kuphal"], ["name", "Miyoko Senger"], ["address", "Darline Grady"], ["created_at", "2018-09-05 05:41:38.375215"], ["updated_at", "2018-09-05 05:41:38.375215"]]  (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", "Sunshine Bogisich"], ["service_delivery_unit_id", 26], ["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", "Sunshine Bogisich"], ["name", "Margorie Renner"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:41:38.379733"], ["updated_at", "2018-09-05 05:41:38.379733"]] 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", 26], ["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", "Sunshine Bogisich"], ["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", "Sunshine Bogisich"], ["name", "Margorie Renner"], ["description", "Default bundle for service 'Margorie Renner'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:41:38.386643"], ["updated_at", "2018-09-05 05:41:38.386643"]] 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", 30], ["chargeable_service_id", 12]]  (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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 29], ["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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 2.7ms)  (0.8ms) ROLLBACK  (0.5ms) 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", "carmelita.kerluke@stoltenberg.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", "Essie Cummings"], ["last_name", "Albertha Smith"], ["email", "carmelita.kerluke@stoltenberg.com"], ["password_digest", "$2a$04$vgrdcbiPBIUvFYB4fiIe4emUKO3gMWLTJiWLh6VUO4Pd33IBaSaEW"], ["created_at", "2018-09-05 05:41:38.416712"], ["updated_at", "2018-09-05 05:41:38.416712"]]  (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", "Clyde Ritchie"], ["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", "Clyde Ritchie"], ["name", "Evelia Ritchie"], ["address", "Kristan Quigley"], ["created_at", "2018-09-05 05:41:38.422949"], ["updated_at", "2018-09-05 05:41:38.422949"]]  (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", "Paul Jones"], ["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", "Paul Jones"], ["name", "Tyler Graham"], ["description", "Stacey Nikolaus"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:41:38.427564"], ["updated_at", "2018-09-05 05:41:38.427564"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Verna Kreiger"}, "id"=>"31"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["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", 27], ["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", "Paul Jones"], ["id", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (0.9ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Verna Kreiger"], ["updated_at", "2018-09-05 05:41:38.439486"], ["id", 31]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.37ms) Completed 200 OK in 15ms (Views: 2.4ms | ActiveRecord: 7.9ms) Mks::Rate::ServiceBundle Load (1.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (1.3ms) 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", "arleen@wehner.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", "Lakiesha Willms"], ["last_name", "Darci Welch"], ["email", "arleen@wehner.ca"], ["password_digest", "$2a$04$EnS/zQ3cJYn5Bkjpfe4xK.iA8ChQqygoKSku6LUtLIJfO22o1CulK"], ["created_at", "2018-09-05 05:41:38.458309"], ["updated_at", "2018-09-05 05:41:38.458309"]]  (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", "Athena Hammes"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Athena Hammes"], ["name", "Evan Weimann"], ["address", "Iraida Buckridge"], ["created_at", "2018-09-05 05:41:38.463906"], ["updated_at", "2018-09-05 05:41:38.463906"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Angie Bauch"], ["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", "Angie Bauch"], ["name", "Kristeen McClure"], ["description", "Colton Bergnaum"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:41:38.471292"], ["updated_at", "2018-09-05 05:41:38.471292"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Barbar Hand"], ["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", "Barbar Hand"], ["name", "Tamara Rath"], ["address", "Joannie Marquardt"], ["created_at", "2018-09-05 05:41:38.479854"], ["updated_at", "2018-09-05 05:41:38.479854"]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Aurore Gutkowski", "description"=>"Sirena Tromp", "name"=>"Alesha White", "service_delivery_unit_id"=>"29"}, "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", 28], ["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", 32], ["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", 29], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.3ms) 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", "Aurore Gutkowski"], ["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.0ms) 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", "Aurore Gutkowski"], ["name", "Alesha White"], ["description", "Sirena Tromp"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:41:38.495067"], ["id", 32]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (2.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.25ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 9.5ms)  (0.9ms) ROLLBACK  (0.6ms) 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", "natacha.walker@wiza.ca"], ["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", "Junior Davis"], ["last_name", "Jeri Armstrong"], ["email", "natacha.walker@wiza.ca"], ["password_digest", "$2a$04$ap.xS7GD6T6X6l1c8x7WQOn5qaIkQWJDXIv7iUiPvjzWRSLvhAAt6"], ["created_at", "2018-09-05 05:41:38.510385"], ["updated_at", "2018-09-05 05:41:38.510385"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lupe Fisher"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lupe Fisher"], ["name", "Estela Glover"], ["address", "Dario Abernathy"], ["created_at", "2018-09-05 05:41:38.520321"], ["updated_at", "2018-09-05 05:41:38.520321"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Jinny Flatley"], ["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", "Jinny Flatley"], ["name", "Keneth Kertzmann"], ["description", "Mike Kshlerin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:41:38.527565"], ["updated_at", "2018-09-05 05:41:38.527565"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.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", "Rolande Hilpert"], ["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", "Rolande Hilpert"], ["name", "Dewitt Goldner"], ["address", "Gaylene Bergnaum"], ["created_at", "2018-09-05 05:41:38.534651"], ["updated_at", "2018-09-05 05:41:38.534651"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Verdell Parker", "name"=>"Jimmie Greenholt", "service_delivery_unit_id"=>"31"}, "id"=>"33"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.8ms) 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", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.2ms) 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", 33], ["LIMIT", 1]]  (0.6ms) 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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 14ms (Views: 1.6ms | ActiveRecord: 7.1ms)  (1.0ms) 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", "elenore@fahey.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", "Josh Kertzmann"], ["last_name", "Contessa Zboncak"], ["email", "elenore@fahey.biz"], ["password_digest", "$2a$04$v6y3z.wAbGOZwLn88KBS4eREyD3/d/zur1LBOEG6W70xsy5ZWKE9."], ["created_at", "2018-09-05 05:41:38.560623"], ["updated_at", "2018-09-05 05:41:38.560623"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Remona O'Conner"], ["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", "Remona O'Conner"], ["name", "Dagmar Schiller"], ["address", "Ilona Kuhic"], ["created_at", "2018-09-05 05:41:38.568854"], ["updated_at", "2018-09-05 05:41:38.568854"]]  (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", "Hong Kreiger"], ["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", "Hong Kreiger"], ["name", "Despina Koelpin"], ["address", "Sue Schinner"], ["created_at", "2018-09-05 05:41:38.573419"], ["updated_at", "2018-09-05 05:41:38.573419"]]  (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", "Magali Franecki"], ["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", "Magali Franecki"], ["name", "Danilo Dickinson"], ["address", "Shana Lang"], ["created_at", "2018-09-05 05:41:38.577691"], ["updated_at", "2018-09-05 05:41:38.577691"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["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", 30], ["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.84ms) Completed 200 OK in 16ms (Views: 11.7ms | ActiveRecord: 3.1ms)  (1.0ms) 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", "melia.weber@dickenspurdy.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", "Estrella Legros"], ["last_name", "Luis Hilll"], ["email", "melia.weber@dickenspurdy.biz"], ["password_digest", "$2a$04$sOh5nwl1CikK9tPhmUefkO27HexB3SfoEMdv6Rss5AVAL1Q0LpDCq"], ["created_at", "2018-09-05 05:41:38.607077"], ["updated_at", "2018-09-05 05:41:38.607077"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Rick Mraz", "code"=>"Antone Hills", "name"=>"Christi Pfeffer"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (1.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", "Antone Hills"], ["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", "Antone Hills"], ["name", "Christi Pfeffer"], ["address", "Rick Mraz"], ["created_at", "2018-09-05 05:41:38.618030"], ["updated_at", "2018-09-05 05:41:38.618030"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.15ms) Mks::Auth::User Load (1.0ms) 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 Mks::Common::MethodResponse (0.23ms) Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 5.6ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.8ms) 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", "derick.romaguera@hyatt.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", "Rosetta Senger"], ["last_name", "Aletha Legros"], ["email", "derick.romaguera@hyatt.us"], ["password_digest", "$2a$04$6W0NMBcqUzSbSF7RND5WLe2Dm.tWo6gz5N/MCMWSP3IV5N9t7ND12"], ["created_at", "2018-09-05 05:41:38.637625"], ["updated_at", "2018-09-05 05:41:38.637625"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Pearl Marks", "code"=>"Dacia Green", "name"=>"Aide McCullough"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 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", "Dacia Green"], ["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", "Dacia Green"], ["name", "Aide McCullough"], ["address", "Pearl Marks"], ["created_at", "2018-09-05 05:41:38.647280"], ["updated_at", "2018-09-05 05:41:38.647280"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.13ms) Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.22ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 6.1ms)  (0.7ms) 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", "antionette_considine@williamson.com"], ["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", "Joesph Fisher"], ["last_name", "Joan Nitzsche"], ["email", "antionette_considine@williamson.com"], ["password_digest", "$2a$04$EHCGXhseVpKSE23gW7xBpuXSqq9RlleMR0m0z9Uoi8MG3yyHJgVCO"], ["created_at", "2018-09-05 05:41:38.662629"], ["updated_at", "2018-09-05 05:41:38.662629"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Ciara Wisozk", "code"=>"", "name"=>"Catherine Ankunding"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 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", ""], ["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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.1ms | ActiveRecord: 3.8ms)  (0.7ms) ROLLBACK  (0.5ms) 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", "bula@schustermosciski.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", "Cesar Huels"], ["last_name", "Denisha Morar"], ["email", "bula@schustermosciski.ca"], ["password_digest", "$2a$04$jOIay31f0DyybLuHEThaG.qW7ANaE/0OuHDN8rIxU20KepimM/BOa"], ["created_at", "2018-09-05 05:41:38.685432"], ["updated_at", "2018-09-05 05:41:38.685432"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Providencia Baumbach"], ["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", "Providencia Baumbach"], ["name", "Roy Sanford"], ["address", "Josue Heidenreich"], ["created_at", "2018-09-05 05:41:38.690779"], ["updated_at", "2018-09-05 05:41:38.690779"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] 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", 37], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Providencia Baumbach"], ["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (0.9ms) 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 05:41:38.704215"], ["id", 37]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.15ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.27ms) Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 7.7ms) 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", 37], ["LIMIT", 1]]  (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", "etsuko_erdman@koelpinwatsica.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", "Miesha Heathcote"], ["last_name", "Marleen Toy"], ["email", "etsuko_erdman@koelpinwatsica.info"], ["password_digest", "$2a$04$q4XaxF8ZJRjpknT/gKhHHu6SiylG1qpBhS7/.OKZPUxlNOGu1d6IS"], ["created_at", "2018-09-05 05:41:38.720763"], ["updated_at", "2018-09-05 05:41:38.720763"]]  (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", "Hien Hoppe"], ["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 Hoppe"], ["name", "Latia Steuber"], ["address", "Gene Goodwin"], ["created_at", "2018-09-05 05:41:38.725888"], ["updated_at", "2018-09-05 05:41:38.725888"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 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", 38], ["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", "Hien Hoppe"], ["id", 38], ["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", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.2ms | ActiveRecord: 5.3ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) 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", "dion@koch.info"], ["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", "Ashli Runolfsson"], ["last_name", "Kathlyn Kertzmann"], ["email", "dion@koch.info"], ["password_digest", "$2a$04$Zj2U62wKuigmaZTXDwpM4.lsHqHJJyevIqd86Fi5iyE/S22C88UOS"], ["created_at", "2018-09-05 05:41:38.749747"], ["updated_at", "2018-09-05 05:41:38.749747"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kayla Haag"], ["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", "Eliza Wehner"], ["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", "Kayla Haag"], ["name", "Eliza Wehner"], ["description", "Rem aut eos et dicta in pariatur sit. Dicta et eligendi et voluptas repellat odio nihil ipsam. Neque ipsum est aut accusamus amet magni occaecati. Et nobis blanditiis perferendis voluptate."], ["created_at", "2018-09-05 05:41:38.852221"], ["updated_at", "2018-09-05 05:41:38.852221"]]  (0.4ms) 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", "Lavinia Reichel"], ["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", "Guadalupe Ebert"], ["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", "Lavinia Reichel"], ["name", "Guadalupe Ebert"], ["description", "Reprehenderit numquam ea sed quaerat illum et. Aut minima a distinctio ullam quibusdam. Ipsa enim est fugiat voluptas itaque doloremque."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:41:38.859084"], ["updated_at", "2018-09-05 05:41:38.859084"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Pamela Glover"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.6ms) 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", "Pamela Glover"], ["name", "Jasmin Reinger"], ["description", "Mimi Thiel"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:41:38.867577"], ["updated_at", "2018-09-05 05:41:38.867577"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Laurena Baumbach"], ["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", "Sanjuana 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", "Laurena Baumbach"], ["name", "Sanjuana Aufderhar"], ["description", "Alla Wolf"], ["created_at", "2018-09-05 05:41:38.908529"], ["updated_at", "2018-09-05 05:41:38.908529"]]  (0.6ms) 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", "Robt Weimann"], ["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", "Robt Weimann"], ["name", "Edward Shanahan"], ["location_type_id", 1], ["description", "Sterling Zemlak"], ["address", "Penni Block"], ["created_at", "2018-09-05 05:41:38.915982"], ["updated_at", "2018-09-05 05:41:38.915982"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Alysia Hermiston"], ["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", "Anton Dach"], ["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", "Alysia Hermiston"], ["name", "Brain Barrows"], ["description", "Kimiko Hills"], ["serial_number", "Anton Dach"], ["brand", "Audry Kozey"], ["item_model", "Belkis Watsica"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:41:38.925901"], ["updated_at", "2018-09-05 05:41:38.925901"]]  (0.7ms) 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", "Brittaney Johnston"], ["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", "Lyn Nitzsche"], ["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", "Brittaney Johnston"], ["name", "Lyn Nitzsche"], ["created_at", "2018-09-05 05:41:38.937989"], ["updated_at", "2018-09-05 05:41:38.937989"]]  (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", "Marty Hermann"], ["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", "Marty Hermann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:38.943240"], ["updated_at", "2018-09-05 05:41:38.943240"]]  (0.7ms) 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", "Lillia Ortiz"], ["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", "Lillia Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:38.949452"], ["updated_at", "2018-09-05 05:41:38.949452"]]  (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", "Rosita Johns"], ["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", "Rosita Johns"], ["name", "Adelle Hessel"], ["address", "Katheryn Osinski"], ["created_at", "2018-09-05 05:41:38.954966"], ["updated_at", "2018-09-05 05:41:38.954966"]]  (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", "Shiloh Turcotte"], ["service_delivery_unit_id", 39], ["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", "Shiloh Turcotte"], ["name", "Leandra Shields"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:41:38.959741"], ["updated_at", "2018-09-05 05:41:38.959741"]] 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 (1.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shiloh Turcotte"], ["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", "Shiloh Turcotte"], ["name", "Leandra Shields"], ["description", "Default bundle for service 'Leandra Shields'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:41:38.966447"], ["updated_at", "2018-09-05 05:41:38.966447"]] 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", 34], ["chargeable_service_id", 13]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.8ms) 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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:41:38.974441"], ["updated_at", "2018-09-05 05:41:38.974441"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Leonor Prohaska"], ["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", "Shela Walter"], ["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", "Leonor Prohaska"], ["name", "Shela Walter"], ["description", "A quia magni provident dignissimos et quisquam. Voluptas excepturi perferendis voluptates voluptatibus aspernatur reiciendis. Quod quibusdam voluptas est nisi dolorem et facere."], ["created_at", "2018-09-05 05:41:38.984249"], ["updated_at", "2018-09-05 05:41:38.984249"]]  (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", "Taneka Bauch"], ["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", "Tiffanie Bayer"], ["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", "Taneka Bauch"], ["name", "Tiffanie Bayer"], ["description", "Ea ullam qui expedita et eaque in optio. Explicabo ut ipsam sit quas. Iure quia ipsa similique perferendis. Consequatur consectetur ut cupiditate quae id."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:41:38.989809"], ["updated_at", "2018-09-05 05:41:38.989809"]]  (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", "Kaitlyn Orn"], ["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", "Kaitlyn Orn"], ["name", "Jovan Hilll"], ["description", "Arcelia Yundt"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:41:38.994475"], ["updated_at", "2018-09-05 05:41:38.994475"]]  (0.7ms) 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", "Elin Rodriguez"], ["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", "Myrtis Hartmann"], ["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", "Elin Rodriguez"], ["name", "Myrtis Hartmann"], ["description", "Minerva Gerhold"], ["created_at", "2018-09-05 05:41:39.002026"], ["updated_at", "2018-09-05 05:41:39.002026"]]  (0.5ms) 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", "Gail Stanton"], ["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", "Gail Stanton"], ["name", "Jude Erdman"], ["location_type_id", 2], ["description", "Basil Kris"], ["address", "Ling Hoeger"], ["created_at", "2018-09-05 05:41:39.006673"], ["updated_at", "2018-09-05 05:41:39.006673"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Dominick Bergnaum"], ["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", "Amal Beier"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Dominick Bergnaum"], ["name", "Augustine Boehm"], ["description", "Chadwick Rath"], ["serial_number", "Amal Beier"], ["brand", "Laurena Blanda"], ["item_model", "Delsie Weimann"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:41:39.013510"], ["updated_at", "2018-09-05 05:41:39.013510"]]  (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", "Chun Kulas"], ["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", "Rachelle Morar"], ["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", "Chun Kulas"], ["name", "Rachelle Morar"], ["created_at", "2018-09-05 05:41:39.021888"], ["updated_at", "2018-09-05 05:41:39.021888"]]  (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", "Nora Ondricka"], ["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", "Nora Ondricka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.027072"], ["updated_at", "2018-09-05 05:41:39.027072"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Zoila King"], ["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", "Zoila King"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.033550"], ["updated_at", "2018-09-05 05:41:39.033550"]]  (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", "Lorette 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", "Lorette Lindgren"], ["name", "Tawny Pagac"], ["address", "Alexander Rodriguez"], ["created_at", "2018-09-05 05:41:39.038453"], ["updated_at", "2018-09-05 05:41:39.038453"]]  (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", "Taren Macejkovic"], ["service_delivery_unit_id", 40], ["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", "Taren Macejkovic"], ["name", "Randall Legros"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:41:39.043629"], ["updated_at", "2018-09-05 05:41:39.043629"]] 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", 40], ["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", "Taren Macejkovic"], ["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", "Taren Macejkovic"], ["name", "Randall Legros"], ["description", "Default bundle for service 'Randall Legros'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:41:39.050262"], ["updated_at", "2018-09-05 05:41:39.050262"]] 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", 35], ["chargeable_service_id", 14]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:41:39.056919"], ["updated_at", "2018-09-05 05:41:39.056919"]]  (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", "Jennine Oberbrunner"], ["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", "Minh Gusikowski"], ["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", "Jennine Oberbrunner"], ["name", "Minh Gusikowski"], ["description", "Architecto assumenda ipsa est id possimus aut. Est quas maxime quos quis. Similique recusandae excepturi sed error animi beatae velit."], ["created_at", "2018-09-05 05:41:39.064931"], ["updated_at", "2018-09-05 05:41:39.064931"]]  (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", "Trudi Mraz"], ["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", "Marion Koss"], ["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", "Trudi Mraz"], ["name", "Marion Koss"], ["description", "Magnam et aperiam reprehenderit non nemo. Cupiditate culpa tenetur in in aliquid autem exercitationem. Voluptatum qui nihil facere eum saepe. Aut quod cupiditate velit veniam."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:41:39.070973"], ["updated_at", "2018-09-05 05:41:39.070973"]]  (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", "Jeff Wisoky"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.6ms) 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", "Jeff Wisoky"], ["name", "Billy Vandervort"], ["description", "Tequila Schroeder"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:41:39.076119"], ["updated_at", "2018-09-05 05:41:39.076119"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Everette Hills"], ["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", "Patrick Muller"], ["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", "Everette Hills"], ["name", "Patrick Muller"], ["description", "Chelsie Braun"], ["created_at", "2018-09-05 05:41:39.084888"], ["updated_at", "2018-09-05 05:41:39.084888"]]  (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", "Ressie Stokes"], ["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", "Ressie Stokes"], ["name", "Margy Krajcik"], ["location_type_id", 3], ["description", "Hermina Weissnat"], ["address", "Bethann Effertz"], ["created_at", "2018-09-05 05:41:39.089578"], ["updated_at", "2018-09-05 05:41:39.089578"]]  (0.8ms) 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", "Nadene Legros"], ["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", "Stacey Watsica"], ["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", "Nadene Legros"], ["name", "Jacki Stoltenberg"], ["description", "Luis Flatley"], ["serial_number", "Stacey Watsica"], ["brand", "Barry Raynor"], ["item_model", "Shaquita Wintheiser"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:41:39.095941"], ["updated_at", "2018-09-05 05:41:39.095941"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Francene Smith"], ["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", "Delbert Rice"], ["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", "Francene Smith"], ["name", "Delbert Rice"], ["created_at", "2018-09-05 05:41:39.104338"], ["updated_at", "2018-09-05 05:41:39.104338"]]  (0.4ms) 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", "Tijuana Aufderhar"], ["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", "Tijuana Aufderhar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.108969"], ["updated_at", "2018-09-05 05:41:39.108969"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Minh Boehm"], ["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", "Minh Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.114886"], ["updated_at", "2018-09-05 05:41:39.114886"]]  (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", "Marge Pacocha"], ["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", "Marge Pacocha"], ["name", "Keila Walker"], ["address", "Corey Ziemann"], ["created_at", "2018-09-05 05:41:39.120779"], ["updated_at", "2018-09-05 05:41:39.120779"]]  (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", "Nikole Lockman"], ["service_delivery_unit_id", 41], ["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", "Nikole Lockman"], ["name", "Edmund Hessel"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:41:39.125646"], ["updated_at", "2018-09-05 05:41:39.125646"]] 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 (2.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nikole Lockman"], ["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", "Nikole Lockman"], ["name", "Edmund Hessel"], ["description", "Default bundle for service 'Edmund Hessel'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:41:39.132915"], ["updated_at", "2018-09-05 05:41:39.132915"]] 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", 36], ["chargeable_service_id", 15]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:41:39.139632"], ["updated_at", "2018-09-05 05:41:39.139632"]]  (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", 36], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.0ms) 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", 13], ["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", 1], ["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", 14], ["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", 2], ["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", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.1ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (12.75ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_rates" Mks::Auth::User Load (1.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.38ms) Completed 200 OK in 23ms (Views: 1.5ms | ActiveRecord: 10.1ms)  (1.2ms) 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", "eddy.johns@kshlerin.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", "Willodean Considine"], ["last_name", "Hollis Ondricka"], ["email", "eddy.johns@kshlerin.info"], ["password_digest", "$2a$04$QlfAjYLk12U55331qje9t.169lZmIBXdSphrBeH.G.2e20CtRiATu"], ["created_at", "2018-09-05 05:41:39.174985"], ["updated_at", "2018-09-05 05:41:39.174985"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Jon Sawayn"], ["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", "Mardell Swaniawski"], ["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", "Jon Sawayn"], ["name", "Mardell Swaniawski"], ["description", "Tenetur magnam dolor repudiandae aut assumenda. Sed ab aut qui nihil non est numquam delectus. Rerum assumenda quaerat vero aut occaecati veniam quidem necessitatibus."], ["created_at", "2018-09-05 05:41:39.184904"], ["updated_at", "2018-09-05 05:41:39.184904"]]  (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", "Elza Connelly"], ["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", "Corazon Parisian"], ["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", "Elza Connelly"], ["name", "Corazon Parisian"], ["description", "Dolorem possimus sapiente voluptatem assumenda corrupti aut. Qui consequuntur nam fugiat tenetur officiis et voluptas. Odit eum officia nemo hic non. Delectus aspernatur et et deleniti voluptatum."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:41:39.190638"], ["updated_at", "2018-09-05 05:41:39.190638"]]  (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", "Kalyn Berge"], ["LIMIT", 1]] Mks::Edm::Equipment Create (2.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", "Kalyn Berge"], ["name", "Chassidy Eichmann"], ["description", "Debbie Boyle"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:41:39.195554"], ["updated_at", "2018-09-05 05:41:39.195554"]]  (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", "Christine Hane"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Nichelle Halvorson"], ["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", "Christine Hane"], ["name", "Nichelle Halvorson"], ["description", "Verona Langworth"], ["created_at", "2018-09-05 05:41:39.204747"], ["updated_at", "2018-09-05 05:41:39.204747"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Delorse Greenholt"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.4ms) 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", "Delorse Greenholt"], ["name", "Thaddeus Denesik"], ["location_type_id", 4], ["description", "Jody Reilly"], ["address", "Sheila Keeling"], ["created_at", "2018-09-05 05:41:39.210859"], ["updated_at", "2018-09-05 05:41:39.210859"]]  (2.0ms) 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", "Arica Schaden"], ["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", "Kellie Hettinger"], ["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", "Arica Schaden"], ["name", "Stefani Fadel"], ["description", "Robt Goodwin"], ["serial_number", "Kellie Hettinger"], ["brand", "Toby Herman"], ["item_model", "Sybil Muller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:41:39.219967"], ["updated_at", "2018-09-05 05:41:39.219967"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Gayle McClure"], ["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", "Shaun Pacocha"], ["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", "Gayle McClure"], ["name", "Shaun Pacocha"], ["created_at", "2018-09-05 05:41:39.233228"], ["updated_at", "2018-09-05 05:41:39.233228"]]  (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", "Georgene 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", "Georgene Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.238564"], ["updated_at", "2018-09-05 05:41:39.238564"]]  (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", "Hien 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", "Hien Goldner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.243105"], ["updated_at", "2018-09-05 05:41:39.243105"]]  (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", "Renda Hoeger"], ["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", "Renda Hoeger"], ["name", "Millicent Grant"], ["address", "Danielle Haag"], ["created_at", "2018-09-05 05:41:39.248307"], ["updated_at", "2018-09-05 05:41:39.248307"]]  (0.5ms) 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", "Sue Anderson"], ["service_delivery_unit_id", 42], ["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", "Sue Anderson"], ["name", "Coralie Labadie"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:41:39.253496"], ["updated_at", "2018-09-05 05:41:39.253496"]] 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", 42], ["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", "Sue Anderson"], ["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", "Sue Anderson"], ["name", "Coralie Labadie"], ["description", "Default bundle for service 'Coralie Labadie'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:41:39.258833"], ["updated_at", "2018-09-05 05:41:39.258833"]] 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", 37], ["chargeable_service_id", 16]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:41:39.266964"], ["updated_at", "2018-09-05 05:41:39.266964"]]  (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", "Felipa Volkman"], ["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", "Melissa O'Conner"], ["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", "Felipa Volkman"], ["name", "Melissa O'Conner"], ["description", "Et nihil perspiciatis dolorem facere quae minima amet occaecati. Vel eveniet nesciunt dolor necessitatibus ut et in enim. Corrupti officia ut quia porro eaque quisquam."], ["created_at", "2018-09-05 05:41:39.274151"], ["updated_at", "2018-09-05 05:41:39.274151"]]  (0.9ms) 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", "Josh Feil"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (2.3ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Stephany Haley"], ["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", "Josh Feil"], ["name", "Stephany Haley"], ["description", "Harum quia dolorem est sint quasi. Ratione aut rerum repudiandae exercitationem non voluptatibus. Eaque sit voluptatum et quaerat rem cumque. Id incidunt quaerat ipsa enim accusantium iste. Sed nobis et voluptatem ratione perferendis quam quae consequatur."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:41:39.283358"], ["updated_at", "2018-09-05 05:41:39.283358"]]  (10.7ms) RELEASE SAVEPOINT active_record_1  (1.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", "Darwin Block"], ["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", "Darwin Block"], ["name", "Claudine Block"], ["description", "Seymour Yundt"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:41:39.300300"], ["updated_at", "2018-09-05 05:41:39.300300"]]  (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", "Maryalice Heathcote"], ["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", "Norman Bauch"], ["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", "Maryalice Heathcote"], ["name", "Norman Bauch"], ["description", "Margarite Douglas"], ["created_at", "2018-09-05 05:41:39.306967"], ["updated_at", "2018-09-05 05:41:39.306967"]]  (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", "Elden Doyle"], ["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", "Elden Doyle"], ["name", "Nelson Sipes"], ["location_type_id", 5], ["description", "Kenyatta Harris"], ["address", "Geri Schaden"], ["created_at", "2018-09-05 05:41:39.311787"], ["updated_at", "2018-09-05 05:41:39.311787"]]  (0.8ms) 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", "Lavonna Stoltenberg"], ["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", "Brigid Morissette"], ["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", "Lavonna Stoltenberg"], ["name", "Yahaira Quitzon"], ["description", "Curt Little"], ["serial_number", "Brigid Morissette"], ["brand", "Francesco Collins"], ["item_model", "Kelley Schneider"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:41:39.319056"], ["updated_at", "2018-09-05 05:41:39.319056"]]  (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", "Haley Paucek"], ["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", "Luanne Leannon"], ["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", "Haley Paucek"], ["name", "Luanne Leannon"], ["created_at", "2018-09-05 05:41:39.325669"], ["updated_at", "2018-09-05 05:41:39.325669"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Christel Cartwright"], ["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", "Christel Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.331819"], ["updated_at", "2018-09-05 05:41:39.331819"]]  (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", "Shelli Tremblay"], ["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", "Shelli Tremblay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.337177"], ["updated_at", "2018-09-05 05:41:39.337177"]]  (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", "Carolyn Kshlerin"], ["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", "Carolyn Kshlerin"], ["name", "Candida Maggio"], ["address", "Elisa Schultz"], ["created_at", "2018-09-05 05:41:39.341935"], ["updated_at", "2018-09-05 05:41:39.341935"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Mose Hodkiewicz"], ["service_delivery_unit_id", 43], ["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", "Mose Hodkiewicz"], ["name", "Francine Monahan"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:41:39.347351"], ["updated_at", "2018-09-05 05:41:39.347351"]] 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", 43], ["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", "Mose Hodkiewicz"], ["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", "Mose Hodkiewicz"], ["name", "Francine Monahan"], ["description", "Default bundle for service 'Francine Monahan'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:41:39.352827"], ["updated_at", "2018-09-05 05:41:39.352827"]] 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", 38], ["chargeable_service_id", 17]]  (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", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:41:39.358915"], ["updated_at", "2018-09-05 05:41:39.358915"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jerrod Kiehn"], ["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", "Tracee Ankunding"], ["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", "Jerrod Kiehn"], ["name", "Tracee Ankunding"], ["description", "Molestiae assumenda qui error quod et esse voluptatum. Sequi officia necessitatibus quibusdam natus minus aut omnis. Odit ab magnam omnis maxime et placeat quod. Et quo fugiat qui consequatur voluptatem et."], ["created_at", "2018-09-05 05:41:39.367329"], ["updated_at", "2018-09-05 05:41:39.367329"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Tamatha O'Conner"], ["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", "Yevette O'Reilly"], ["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", "Tamatha O'Conner"], ["name", "Yevette O'Reilly"], ["description", "Et eius ex eveniet id in possimus. Ea ut et est alias autem tempora. Corporis dicta voluptas nostrum qui asperiores."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:41:39.373356"], ["updated_at", "2018-09-05 05:41:39.373356"]]  (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", "Robin Langosh"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.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", "Robin Langosh"], ["name", "Josphine Heaney"], ["description", "Nicole Murazik"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:41:39.377902"], ["updated_at", "2018-09-05 05:41:39.377902"]]  (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", "Mariel Donnelly"], ["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", "Billi Armstrong"], ["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", "Mariel Donnelly"], ["name", "Billi Armstrong"], ["description", "Taryn Cruickshank"], ["created_at", "2018-09-05 05:41:39.387845"], ["updated_at", "2018-09-05 05:41:39.387845"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Sarina Erdman"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.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", "Sarina Erdman"], ["name", "Imogene Johnston"], ["location_type_id", 6], ["description", "Janett VonRueden"], ["address", "Larraine Crist"], ["created_at", "2018-09-05 05:41:39.394467"], ["updated_at", "2018-09-05 05:41:39.394467"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Cris Blick"], ["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", "Simone Rice"], ["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", "Cris Blick"], ["name", "Cristina Morar"], ["description", "Val Kuhn"], ["serial_number", "Simone Rice"], ["brand", "Marhta Feeney"], ["item_model", "Amy Bode"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:41:39.403454"], ["updated_at", "2018-09-05 05:41:39.403454"]]  (0.7ms) 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", "Gena Raynor"], ["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", "Joanie Wilkinson"], ["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", "Gena Raynor"], ["name", "Joanie Wilkinson"], ["created_at", "2018-09-05 05:41:39.410722"], ["updated_at", "2018-09-05 05:41:39.410722"]]  (1.0ms) 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", "Britteny 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", "Britteny Becker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.417225"], ["updated_at", "2018-09-05 05:41:39.417225"]]  (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", "Betty O'Conner"], ["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", "Betty O'Conner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.421797"], ["updated_at", "2018-09-05 05:41:39.421797"]]  (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", "Chadwick Muller"], ["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", "Chadwick Muller"], ["name", "Tommie Frami"], ["address", "Hope Schultz"], ["created_at", "2018-09-05 05:41:39.426339"], ["updated_at", "2018-09-05 05:41:39.426339"]]  (0.7ms) 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", "Kate Schimmel"], ["service_delivery_unit_id", 44], ["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", "Kate Schimmel"], ["name", "Jeanie Schaden"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:41:39.432229"], ["updated_at", "2018-09-05 05:41:39.432229"]] 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", 44], ["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", "Kate Schimmel"], ["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", "Kate Schimmel"], ["name", "Jeanie Schaden"], ["description", "Default bundle for service 'Jeanie Schaden'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:41:39.437729"], ["updated_at", "2018-09-05 05:41:39.437729"]] 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", 39], ["chargeable_service_id", 18]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (2.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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:41:39.444128"], ["updated_at", "2018-09-05 05:41:39.444128"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates 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", 37], ["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", 37], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 16], ["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", 4], ["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", 42], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 5], ["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", 43], ["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", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (14.98ms) Completed 200 OK in 21ms (Views: 9.2ms | ActiveRecord: 9.8ms)  (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", "matilde@hilpertspencer.info"], ["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", "Colby Wunsch"], ["last_name", "Theo Upton"], ["email", "matilde@hilpertspencer.info"], ["password_digest", "$2a$04$xhgDNzTyTF4v4/CvgJQnTODpFER242K0PNSuQGdXnIFSfq1ev1NDy"], ["created_at", "2018-09-05 05:41:39.479068"], ["updated_at", "2018-09-05 05:41:39.479068"]]  (0.6ms) 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", "Deidre Farrell"], ["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", "Daren Rutherford"], ["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", "Deidre Farrell"], ["name", "Daren Rutherford"], ["created_at", "2018-09-05 05:41:39.485787"], ["updated_at", "2018-09-05 05:41:39.485787"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 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::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.21ms) Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 2.4ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "lyndon.skiles@anderson.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", "Tandra Predovic"], ["last_name", "Sandee Will"], ["email", "lyndon.skiles@anderson.com"], ["password_digest", "$2a$04$lSwupo0eOqlXDgXJuSr8iebyo1sPv7.u.OO9QGBe.oiY.LzQdTvLC"], ["created_at", "2018-09-05 05:41:39.509060"], ["updated_at", "2018-09-05 05:41:39.509060"]]  (1.0ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["code", "Charlene Murphy"], ["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", "Berry Yundt"], ["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", "Charlene Murphy"], ["name", "Berry Yundt"], ["created_at", "2018-09-05 05:41:39.518196"], ["updated_at", "2018-09-05 05:41:39.518196"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["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", 21], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.45ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 3.2ms)  (4.7ms) ROLLBACK  (0.7ms) 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", "chiquita@heller.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", "Willena Lesch"], ["last_name", "Tari Walsh"], ["email", "chiquita@heller.name"], ["password_digest", "$2a$04$Z8R15t23K44by0jcPNs.C.kGBxNPhFmGqpbbkdd3oVkI5xAxrIpXa"], ["created_at", "2018-09-05 05:41:39.542763"], ["updated_at", "2018-09-05 05:41:39.542763"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Tennie Kuhlman", "name"=>"Madaline Harris"}} 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]]  (1.1ms) 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", "Tennie Kuhlman"], ["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", "Madaline Harris"], ["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", "Tennie Kuhlman"], ["name", "Madaline Harris"], ["created_at", "2018-09-05 05:41:39.555041"], ["updated_at", "2018-09-05 05:41:39.555041"]]  (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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.23ms) Completed 201 Created in 11ms (Views: 1.9ms | ActiveRecord: 5.9ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (1.1ms) 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", "hisako.crona@brown.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", "Anh Strosin"], ["last_name", "Lavina Harris"], ["email", "hisako.crona@brown.co.uk"], ["password_digest", "$2a$04$dFHl8mU7beIetEyWbktBJ.Cj2TxcbvbSe4wPgYhEkatEa.HPaDuPO"], ["created_at", "2018-09-05 05:41:39.571045"], ["updated_at", "2018-09-05 05:41:39.571045"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Rodrigo Boyle", "name"=>"Jonna Kulas"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 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", "Rodrigo Boyle"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jonna Kulas"], ["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", "Rodrigo Boyle"], ["name", "Jonna Kulas"], ["created_at", "2018-09-05 05:41:39.582945"], ["updated_at", "2018-09-05 05:41:39.582945"]]  (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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 201 Created in 13ms (Views: 1.7ms | ActiveRecord: 7.5ms) 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.8ms) ROLLBACK  (0.5ms) 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", "harley@hagenes.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", "Keva Ebert"], ["last_name", "Clarence Okuneva"], ["email", "harley@hagenes.name"], ["password_digest", "$2a$04$t8XEF6s21D/9tkIzBufy..aaCKqEShlwlV1noAyuWziloe765/X86"], ["created_at", "2018-09-05 05:41:39.599982"], ["updated_at", "2018-09-05 05:41:39.599982"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Larraine Conn"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 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", ""], ["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", "Larraine Conn"], ["LIMIT", 1]]  (0.5ms) 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.12ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.8ms | ActiveRecord: 4.9ms)  (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", "cary_sanford@denesik.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", "Ralph Gleason"], ["last_name", "Jayme Bogisich"], ["email", "cary_sanford@denesik.com"], ["password_digest", "$2a$04$3GES4..53zVJg105DVjaHOtpYnpyB9va/qQE0nZDZ08afGNvnhFki"], ["created_at", "2018-09-05 05:41:39.622112"], ["updated_at", "2018-09-05 05:41:39.622112"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ettie Hilll"], ["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", "Sanda Crist"], ["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", "Ettie Hilll"], ["name", "Sanda Crist"], ["created_at", "2018-09-05 05:41:39.629203"], ["updated_at", "2018-09-05 05:41:39.629203"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Shellie Langworth"}, "id"=>"24"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["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", 24], ["LIMIT", 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Ettie Hilll"], ["id", 24], ["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", "Shellie Langworth"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Update (1.0ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Shellie Langworth"], ["updated_at", "2018-09-05 05:41:39.640932"], ["id", 24]]  (0.5ms) 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 ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 5.8ms) 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", 24], ["LIMIT", 1]]  (1.1ms) 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", "juan_jakubowski@kulas.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", "Simonne Gleason"], ["last_name", "Mitzie Luettgen"], ["email", "juan_jakubowski@kulas.com"], ["password_digest", "$2a$04$g0eR57HbtxT.lfE3TsgITuCZ.SePDpkdtmxrkvoN.fkHY9aaa3xZ6"], ["created_at", "2018-09-05 05:41:39.656019"], ["updated_at", "2018-09-05 05:41:39.656019"]]  (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", "America Yundt"], ["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", "Guillermo Brown"], ["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", "America Yundt"], ["name", "Guillermo Brown"], ["created_at", "2018-09-05 05:41:39.663458"], ["updated_at", "2018-09-05 05:41:39.663458"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Lea Lehner", "name"=>"Kandra Thiel"}, "id"=>"25"} 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]] 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", 25], ["LIMIT", 1]]  (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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Lea Lehner"], ["id", 25], ["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", "Kandra Thiel"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Update (1.0ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Lea Lehner"], ["name", "Kandra Thiel"], ["updated_at", "2018-09-05 05:41:39.673788"], ["id", 25]]  (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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.24ms) Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 5.6ms)  (1.4ms) ROLLBACK  (0.5ms) 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", "deandra@hilll.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", "Barbra Fritsch"], ["last_name", "Sidney Kertzmann"], ["email", "deandra@hilll.com"], ["password_digest", "$2a$04$dE4LyI7f6DSCxzde4wnpq.Dd9m34a.zmrzr9O1C8UqGmn5hAH9BXi"], ["created_at", "2018-09-05 05:41:39.689055"], ["updated_at", "2018-09-05 05:41:39.689055"]]  (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", "Larry Brakus"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Felipa Christiansen"], ["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", "Larry Brakus"], ["name", "Felipa Christiansen"], ["created_at", "2018-09-05 05:41:39.699176"], ["updated_at", "2018-09-05 05:41:39.699176"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Marion Bailey"}, "id"=>"26"} 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::ServiceType Load (0.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 26], ["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", 26], ["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", "Marion Bailey"], ["id", 26], ["LIMIT", 1]]  (0.6ms) 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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.16ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.5ms | ActiveRecord: 5.4ms)  (1.0ms) ROLLBACK  (0.8ms) 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", "patrick@rohan.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", "Dinah Borer"], ["last_name", "Danille Nicolas"], ["email", "patrick@rohan.biz"], ["password_digest", "$2a$04$/YP6axW.83FPYO17rQehLeS1zl7aB9Gfd1d4RvCVs1UMc3Uqg0kHq"], ["created_at", "2018-09-05 05:41:39.723925"], ["updated_at", "2018-09-05 05:41:39.723925"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Mahalia McKenzie"], ["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", "Mahalia McKenzie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.730896"], ["updated_at", "2018-09-05 05:41:39.730896"]]  (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", "Selene 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", "Selene Fadel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.735703"], ["updated_at", "2018-09-05 05:41:39.735703"]]  (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", "Antonio Klein"], ["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", "Antonio Klein"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.740516"], ["updated_at", "2018-09-05 05:41:39.740516"]]  (0.5ms) 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", 46], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (1.2ms) 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 05:41:39", updated_at: "2018-09-05 05:41:39"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.31ms)  (1.4ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.46ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 4.9ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (1.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", "Ena Armstrong"], ["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", "Abdul Heller"], ["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", "Ena Armstrong"], ["name", "Abdul Heller"], ["created_at", "2018-09-05 05:41:39.767607"], ["updated_at", "2018-09-05 05:41:39.767607"]]  (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", "Rosamond Goldner"], ["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", "Rosamond Goldner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.772459"], ["updated_at", "2018-09-05 05:41:39.772459"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (3.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Tom Emard"], ["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", "Tom Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.780028"], ["updated_at", "2018-09-05 05:41:39.780028"]]  (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", "Rod Hagenes"], ["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", "Rod Hagenes"], ["name", "Marine Jenkins"], ["address", "Carey Roberts"], ["created_at", "2018-09-05 05:41:39.785978"], ["updated_at", "2018-09-05 05:41:39.785978"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Gina Friesen"], ["service_delivery_unit_id", 45], ["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", "Gina Friesen"], ["name", "Sonny Schmidt"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:41:39.792359"], ["updated_at", "2018-09-05 05:41:39.792359"]] 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", 45], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Gina Friesen"], ["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", "Gina Friesen"], ["name", "Sonny Schmidt"], ["description", "Default bundle for service 'Sonny Schmidt'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:41:39.800905"], ["updated_at", "2018-09-05 05:41:39.800905"]] 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", 40], ["chargeable_service_id", 19]]  (0.6ms) 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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Gina Friesen"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) 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", "Suk Dibbert"], ["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", "Rickie Wilkinson"], ["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", "Suk Dibbert"], ["name", "Rickie Wilkinson"], ["created_at", "2018-09-05 05:41:39.819326"], ["updated_at", "2018-09-05 05:41:39.819326"]]  (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", "Winfred 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", "Winfred Botsford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.824245"], ["updated_at", "2018-09-05 05:41:39.824245"]]  (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", "Jennifer West"], ["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", "Jennifer West"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.829269"], ["updated_at", "2018-09-05 05:41:39.829269"]]  (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", "Petronila Hyatt"], ["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", "Petronila Hyatt"], ["name", "Leticia Moore"], ["address", "Gudrun Blanda"], ["created_at", "2018-09-05 05:41:39.835091"], ["updated_at", "2018-09-05 05:41:39.835091"]]  (0.7ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Nancee Koelpin"], ["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", "Calandra Langosh"], ["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", "Nancee Koelpin"], ["name", "Calandra Langosh"], ["created_at", "2018-09-05 05:41:39.849619"], ["updated_at", "2018-09-05 05:41:39.849619"]]  (1.4ms) 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", "Eliza Champlin"], ["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", "Eliza Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.856337"], ["updated_at", "2018-09-05 05:41:39.856337"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Aline Wolf"], ["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", "Aline Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.863246"], ["updated_at", "2018-09-05 05:41:39.863246"]]  (0.6ms) 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", "Mi Jacobs"], ["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", "Mi Jacobs"], ["name", "Bertha Schroeder"], ["address", "Reva Stark"], ["created_at", "2018-09-05 05:41:39.869647"], ["updated_at", "2018-09-05 05:41:39.869647"]]  (0.6ms) 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", "Kizzy Towne"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Curt Carroll"], ["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", "Candida Klein"], ["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", "Curt Carroll"], ["name", "Candida Klein"], ["created_at", "2018-09-05 05:41:39.882973"], ["updated_at", "2018-09-05 05:41:39.882973"]]  (0.6ms) 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", "Echo Bruen"], ["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", "Echo Bruen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.888854"], ["updated_at", "2018-09-05 05:41:39.888854"]]  (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", "Darcel Grant"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Darcel Grant"], ["name", "Randy Beatty"], ["address", "Eulalia Bailey"], ["created_at", "2018-09-05 05:41:39.893920"], ["updated_at", "2018-09-05 05:41:39.893920"]]  (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"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Maisie Schoen"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) 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", "Rosalia Lemke"], ["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", "Deadra Mayer"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (3.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rosalia Lemke"], ["name", "Deadra Mayer"], ["created_at", "2018-09-05 05:41:39.909440"], ["updated_at", "2018-09-05 05:41:39.909440"]]  (0.9ms) 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", "Bella Hoppe"], ["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", "Bella Hoppe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.921205"], ["updated_at", "2018-09-05 05:41:39.921205"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lore Jacobs"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lore Jacobs"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.926101"], ["updated_at", "2018-09-05 05:41:39.926101"]]  (2.4ms) 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" IS NULL LIMIT $2 [["code", "Odell Morissette"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (0.8ms) 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", "Tonette Adams"], ["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", "Aurea Mitchell"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Tonette Adams"], ["name", "Aurea Mitchell"], ["created_at", "2018-09-05 05:41:39.943987"], ["updated_at", "2018-09-05 05:41:39.943987"]]  (0.8ms) 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", "Eve 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", "Eve Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.950916"], ["updated_at", "2018-09-05 05:41:39.950916"]]  (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", "Willette Feeney"], ["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", "Willette Feeney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.955268"], ["updated_at", "2018-09-05 05:41:39.955268"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "Mark Beatty"], ["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", "Mark Beatty"], ["name", "Mckenzie McDermott"], ["address", "Tyler Jones"], ["created_at", "2018-09-05 05:41:39.959846"], ["updated_at", "2018-09-05 05:41:39.959846"]]  (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", "Marco Schmeler"], ["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", "Marco Schmeler"], ["name", "Eula Kub"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:41:39.965394"], ["updated_at", "2018-09-05 05:41:39.965394"]] 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", 49], ["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", "Marco Schmeler"], ["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", "Marco Schmeler"], ["name", "Eula Kub"], ["description", "Default bundle for service 'Eula Kub'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:41:39.971053"], ["updated_at", "2018-09-05 05:41:39.971053"]] 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", 41], ["chargeable_service_id", 20]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Miki Bartell"], ["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", "Sybil Reinger"], ["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", "Miki Bartell"], ["name", "Sybil Reinger"], ["created_at", "2018-09-05 05:41:39.984458"], ["updated_at", "2018-09-05 05:41:39.984458"]]  (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", "Kanisha Aufderhar"], ["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", "Kanisha Aufderhar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.989055"], ["updated_at", "2018-09-05 05:41:39.989055"]]  (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", "Kent VonRueden"], ["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", "Kent VonRueden"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:39.994069"], ["updated_at", "2018-09-05 05:41:39.994069"]]  (1.1ms) 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", "Marco Schmeler"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] 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", 49], ["LIMIT", 1]]  (0.7ms) 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", "Ayana Goyette"], ["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", "Annika Yundt"], ["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", "Ayana Goyette"], ["name", "Annika Yundt"], ["created_at", "2018-09-05 05:41:40.008592"], ["updated_at", "2018-09-05 05:41:40.008592"]]  (0.9ms) 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", "Tracey Doyle"], ["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", "Tracey Doyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.015791"], ["updated_at", "2018-09-05 05:41:40.015791"]]  (0.4ms) 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", "Matilda Prohaska"], ["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", "Matilda Prohaska"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.020771"], ["updated_at", "2018-09-05 05:41:40.020771"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kellee Weber"], ["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", "Kellee Weber"], ["name", "Chrissy Vandervort"], ["address", "Alva Hand"], ["created_at", "2018-09-05 05:41:40.025265"], ["updated_at", "2018-09-05 05:41:40.025265"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Elanor Kerluke"], ["service_delivery_unit_id", 50], ["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", "Elanor Kerluke"], ["name", "Maragret Gerlach"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:41:40.030573"], ["updated_at", "2018-09-05 05:41:40.030573"]] 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", 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", "Elanor Kerluke"], ["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", "Elanor Kerluke"], ["name", "Maragret Gerlach"], ["description", "Default bundle for service 'Maragret Gerlach'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:41:40.036432"], ["updated_at", "2018-09-05 05:41:40.036432"]] 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", 42], ["chargeable_service_id", 21]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", 42]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "gerri_braun@dickinson.info"], ["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", "Phung Cartwright"], ["last_name", "Shandi Kiehn"], ["email", "gerri_braun@dickinson.info"], ["password_digest", "$2a$04$95yERLSl9G5lhaRqr8KLqu4ydCKubUMjHsuZ.ck5kqX2l1pO.cOau"], ["created_at", "2018-09-05 05:41:40.075212"], ["updated_at", "2018-09-05 05:41:40.075212"]]  (1.3ms) 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", "tempie.rosenbaum@schiller.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", "Maryrose McGlynn"], ["last_name", "Pauline Hayes"], ["email", "tempie.rosenbaum@schiller.us"], ["password_digest", "$2a$04$geChbv3B.TlFKV.qqPewYOtx.uSmND8s9YHUJ0dVnbyRbKWNeVNN2"], ["created_at", "2018-09-05 05:41:40.086290"], ["updated_at", "2018-09-05 05:41:40.086290"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Chassidy Koss"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.4ms) 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", "Chassidy Koss"], ["authorized_by", "Carisa Murray"], ["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", 47], ["approved_by_id", 48], ["created_at", "2018-09-05 05:41:40.094154"], ["updated_at", "2018-09-05 05:41:40.094154"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Chassidy Koss"], ["id", 1], ["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", "maud_howe@beckerabshire.co.uk"], ["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", "Holley Bailey"], ["last_name", "Chance Kiehn"], ["email", "maud_howe@beckerabshire.co.uk"], ["password_digest", "$2a$04$.7ietPGS7q9PJw5OvBGbFeZCmPziHoNfm83xTOK4VQYqkvRfh3PvC"], ["created_at", "2018-09-05 05:41:40.109063"], ["updated_at", "2018-09-05 05:41:40.109063"]]  (0.8ms) 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", "alvaro_olson@walter.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", "Lorraine Mosciski"], ["last_name", "Sadie Farrell"], ["email", "alvaro_olson@walter.co.uk"], ["password_digest", "$2a$04$.NVrLCAJqk3CEFKQvl8f8OWeweX0DSJiNiQb4hErbcnVMtEUoWUcy"], ["created_at", "2018-09-05 05:41:40.117449"], ["updated_at", "2018-09-05 05:41:40.117449"]]  (0.6ms) RELEASE 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", "Leslie Kovacek"], ["LIMIT", 1]]  (2.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "reagan@nikolausbartell.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", "Felisa Marvin"], ["last_name", "Rodger Graham"], ["email", "reagan@nikolausbartell.name"], ["password_digest", "$2a$04$r7Doz4cU0kyOoul0sdqcFeLrN61tZ/g/bjYfS60GaykXCRvCNQ3KW"], ["created_at", "2018-09-05 05:41:40.137355"], ["updated_at", "2018-09-05 05:41:40.137355"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.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", "arlie@murphy.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", "Curtis Schmidt"], ["last_name", "Tyron Kautzer"], ["email", "arlie@murphy.biz"], ["password_digest", "$2a$04$HAoKWOeZDPF97tZmPorFDuLbS8inozcf6oPRz0DQ/VR0jK/ZbFAN6"], ["created_at", "2018-09-05 05:41:40.146306"], ["updated_at", "2018-09-05 05:41:40.146306"]]  (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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) 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", "elnora@mayer.name"], ["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", "Karina Braun"], ["last_name", "Beatrice Casper"], ["email", "elnora@mayer.name"], ["password_digest", "$2a$04$hJMc8naMHIXTFE0Uiub7bOpcdPBCecP82BSVex7eqzGrSsM6H1852"], ["created_at", "2018-09-05 05:41:40.159027"], ["updated_at", "2018-09-05 05:41:40.159027"]]  (0.9ms) 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", "genny.schaden@greenfelder.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", "Waneta Moore"], ["last_name", "Hester Macejkovic"], ["email", "genny.schaden@greenfelder.us"], ["password_digest", "$2a$04$wyE/UEGXuCNo7QmreLr0F.0npyxkevyWDHqQd9bvVcYSDhiDQnNTe"], ["created_at", "2018-09-05 05:41:40.167452"], ["updated_at", "2018-09-05 05:41:40.167452"]]  (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", "Jeffery Bosco"], ["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", "Jeffery Bosco"], ["authorized_by", "Madge 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", 53], ["approved_by_id", 54], ["created_at", "2018-09-05 05:41:40.172070"], ["updated_at", "2018-09-05 05:41:40.172070"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.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", "katherina.grady@brekke.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", "Zenobia Hickle"], ["last_name", "Francina Considine"], ["email", "katherina.grady@brekke.name"], ["password_digest", "$2a$04$gud.GWlxbnKgRNRokg0SN.yQ.uebw2I4ZLo9l7A1p.aW4ghuPqtd."], ["created_at", "2018-09-05 05:41:40.181202"], ["updated_at", "2018-09-05 05:41:40.181202"]]  (0.8ms) 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", "brittani.friesen@boyle.ca"], ["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", "Crissy Kiehn"], ["last_name", "Jazmin McDermott"], ["email", "brittani.friesen@boyle.ca"], ["password_digest", "$2a$04$89Y9R.XYS5NuPPClGfFYcuKsHLGvGGF51ul0i73wDzVoCT7oFjD4S"], ["created_at", "2018-09-05 05:41:40.189720"], ["updated_at", "2018-09-05 05:41:40.189720"]]  (1.0ms) 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", "Jeffery Bosco"], ["LIMIT", 1]]  (1.5ms) 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", "tameika@hyatt.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", "Kristan Reynolds"], ["last_name", "Elia Crist"], ["email", "tameika@hyatt.name"], ["password_digest", "$2a$04$QjZjrvzgFiG1zz2WNot/9.10YHJApm28AY9fAD5TMoP1Sc2lHTWVW"], ["created_at", "2018-09-05 05:41:40.205170"], ["updated_at", "2018-09-05 05:41:40.205170"]]  (0.5ms) 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", "sam_ferry@ziemann.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", "Armando Cremin"], ["last_name", "Adolfo Johnston"], ["email", "sam_ferry@ziemann.biz"], ["password_digest", "$2a$04$ZTepoznl6SNNqsi7DUG1au0TOiUxP0RL/T.mnshGDHRn8hKimnwn."], ["created_at", "2018-09-05 05:41:40.213870"], ["updated_at", "2018-09-05 05:41:40.213870"]]  (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", "Lou McGlynn"], ["LIMIT", 1]]  (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", "tobie@cummings.ca"], ["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", "Tamie Cole"], ["last_name", "Berry Kassulke"], ["email", "tobie@cummings.ca"], ["password_digest", "$2a$04$H49tVpbfShauCgnWHMGG4u4YfYdpagVSL26gOqQnyZN0QvOYtHXBa"], ["created_at", "2018-09-05 05:41:40.225915"], ["updated_at", "2018-09-05 05:41:40.225915"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "steven.kuphal@okeefe.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", "Shin Wehner"], ["last_name", "Jess Kerluke"], ["email", "steven.kuphal@okeefe.ca"], ["password_digest", "$2a$04$Dn4h4D.DBUIPVXuePP.zQuQOh.TLCcunXpLBhsiSvIUFhBxEksztm"], ["created_at", "2018-09-05 05:41:40.235604"], ["updated_at", "2018-09-05 05:41:40.235604"]]  (1.1ms) 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" = $1 LIMIT $2 [["reference_number", "Bess Howe"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (1.5ms) BEGIN  (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", "winter.ledner@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", "Alline Paucek"], ["last_name", "Angelena Lesch"], ["email", "winter.ledner@stracke.com"], ["password_digest", "$2a$04$YZppiAf5q5nrtzIkCiidhu.Scri74WzRB9IobkfRTcuB9R4grDM7u"], ["created_at", "2018-09-05 05:41:40.251779"], ["updated_at", "2018-09-05 05:41:40.251779"]]  (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", "noble.kirlin@schowalterdibbert.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", "Elvira Bednar"], ["last_name", "Kenny Kutch"], ["email", "noble.kirlin@schowalterdibbert.biz"], ["password_digest", "$2a$04$s8NDWB5ZEUEdQcjXHIw6w..V1/pd1J3xpm2/7ejqWKI0m6eSFF2VW"], ["created_at", "2018-09-05 05:41:40.258355"], ["updated_at", "2018-09-05 05:41:40.258355"]]  (1.6ms) 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", "Cherise Reichert"], ["LIMIT", 1]]  (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", "nathalie@fritschjerde.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", "Gillian Rutherford"], ["last_name", "Xzbdulia Marquardt"], ["email", "nathalie@fritschjerde.ca"], ["password_digest", "$2a$04$3adI8aS.u8wpqD9qjTvX0.ke9.v.xUXckP2MC4s5oLFJP48YlNw1."], ["created_at", "2018-09-05 05:41:40.272343"], ["updated_at", "2018-09-05 05:41:40.272343"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (3.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", "marsha.goodwin@buckridgeheaney.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", "Fleta Kris"], ["last_name", "Maia Walker"], ["email", "marsha.goodwin@buckridgeheaney.us"], ["password_digest", "$2a$04$5RzVGWAEcuZjkH2iX1PXX.3EOYMcYMAhJ1UuK6ly3kXw9AjuFE8xq"], ["created_at", "2018-09-05 05:41:40.282404"], ["updated_at", "2018-09-05 05:41:40.282404"]]  (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" = $1 LIMIT $2 [["reference_number", "Ervin O'Keefe"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (2.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", "mellie.konopelski@okeefe.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", "Willie Lesch"], ["last_name", "Gussie Kuhic"], ["email", "mellie.konopelski@okeefe.com"], ["password_digest", "$2a$04$kN4Dq8pm8CIMz6adlG9Ch..nstzhfec5Ic4dGd1Qtc8v7lT5ErKMm"], ["created_at", "2018-09-05 05:41:40.299470"], ["updated_at", "2018-09-05 05:41:40.299470"]]  (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", "Melani Schultz"], ["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", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Melani Schultz"], ["authorized_by", "Lisette D'Amore"], ["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", 65], ["created_at", "2018-09-05 05:41:40.304794"], ["updated_at", "2018-09-05 05:41:40.304794"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) 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", "Melani Schultz"], ["id", 3], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (1.0ms) 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", "Yevette Kiehn"], ["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", "Yevette Kiehn"], ["name", "Shayne Gutmann"], ["address", "Aleta Blanda"], ["created_at", "2018-09-05 05:41:40.317125"], ["updated_at", "2018-09-05 05:41:40.317125"]]  (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", "Georgeann Farrell"], ["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", "Georgeann Farrell"], ["name", "Mira Reynolds"], ["description", "Moon Padberg"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:41:40.321886"], ["updated_at", "2018-09-05 05:41:40.321886"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (3.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", "Georgeann Farrell"], ["id", 43], ["LIMIT", 1]]  (1.9ms) ROLLBACK  (0.5ms) BEGIN  (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", "Marlon Schimmel"], ["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", "Marlon Schimmel"], ["name", "Christopher Graham"], ["address", "Ursula Hintz"], ["created_at", "2018-09-05 05:41:40.336630"], ["updated_at", "2018-09-05 05:41:40.336630"]]  (0.5ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) 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", "Darnell Heller"], ["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", "Darnell Heller"], ["name", "Stephanie Collins"], ["address", "Renaldo Heller"], ["created_at", "2018-09-05 05:41:40.348477"], ["updated_at", "2018-09-05 05:41:40.348477"]]  (0.5ms) RELEASE 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", "Von Crist"], ["LIMIT", 1]]  (0.5ms) 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", "Buffy Cronin"], ["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", "Buffy Cronin"], ["name", "Tarra Jewess"], ["address", "Joie Pagac"], ["created_at", "2018-09-05 05:41:40.358190"], ["updated_at", "2018-09-05 05:41:40.358190"]]  (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", "Maureen Barton"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.8ms) BEGIN  (1.1ms) 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", "Jacquetta Emmerich"], ["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", "Jacquetta Emmerich"], ["name", "Precious Collier"], ["address", "Winford O'Hara"], ["created_at", "2018-09-05 05:41:40.371274"], ["updated_at", "2018-09-05 05:41:40.371274"]]  (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", "Cecily Romaguera"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Cecily Romaguera"], ["name", "Alpha O'Hara"], ["description", "John Hermann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:41:40.376798"], ["updated_at", "2018-09-05 05:41:40.376798"]]  (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", "Adelaida Botsford"], ["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 Botsford"], ["name", "Rosalinda Mueller"], ["address", "Esteban Feeney"], ["created_at", "2018-09-05 05:41:40.384266"], ["updated_at", "2018-09-05 05:41:40.384266"]]  (0.7ms) 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", "Cecily Romaguera"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) 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", "Gaye Gibson"], ["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", "Gaye Gibson"], ["name", "Kina Altenwerth"], ["address", "Sandi Koepp"], ["created_at", "2018-09-05 05:41:40.397051"], ["updated_at", "2018-09-05 05:41:40.397051"]]  (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", "Gaye Gibson"], ["id", 57], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) 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.4ms) BEGIN 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", "Tyree Roberts"], ["LIMIT", 1]]  (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", "Elinor 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", "Elinor Bode"], ["name", "Bette Littel"], ["address", "Richelle Nienow"], ["created_at", "2018-09-05 05:41:40.417247"], ["updated_at", "2018-09-05 05:41:40.417247"]]  (0.5ms) RELEASE 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", "Elinor Bode"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Alejandro Wilkinson"], ["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", "Kerry Jenkins"], ["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", "Alejandro Wilkinson"], ["name", "Kerry Jenkins"], ["description", "Sint eligendi quaerat veritatis fugiat natus eos dolorum. Nesciunt ea reprehenderit molestias laudantium ea enim impedit. Temporibus ipsum necessitatibus debitis officia magnam et minus qui."], ["created_at", "2018-09-05 05:41:40.432715"], ["updated_at", "2018-09-05 05:41:40.432715"]]  (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", "Elyse Stark"], ["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", "Alessandra Fritsch"], ["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", "Elyse Stark"], ["name", "Alessandra Fritsch"], ["description", "Consequatur sed tenetur harum non. Possimus incidunt iusto quam laudantium quisquam temporibus. Ad aperiam omnis fugit molestiae. Esse magnam ut ut assumenda dolores dicta. Ab ea quidem dolore saepe et."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:41:40.438353"], ["updated_at", "2018-09-05 05:41:40.438353"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Floyd Quitzon"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.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", "Floyd Quitzon"], ["name", "Katharine Jacobi"], ["description", "Garret Conroy"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:41:40.443967"], ["updated_at", "2018-09-05 05:41:40.443967"]]  (0.7ms) 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", "Charlena Fadel"], ["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", "Michelle Volkman"], ["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", "Charlena Fadel"], ["name", "Michelle Volkman"], ["description", "Tawny Barton"], ["created_at", "2018-09-05 05:41:40.451962"], ["updated_at", "2018-09-05 05:41:40.451962"]]  (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", "Stephine Zboncak"], ["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", "Stephine Zboncak"], ["name", "Jocelyn Wolf"], ["location_type_id", 7], ["description", "Merilyn Rutherford"], ["address", "Barbara Dickinson"], ["created_at", "2018-09-05 05:41:40.456624"], ["updated_at", "2018-09-05 05:41:40.456624"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (2.3ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Krystle Pfeffer"], ["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", "Faustina Stiedemann"], ["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", "Krystle Pfeffer"], ["name", "Eloy Yost"], ["description", "Sheri Quigley"], ["serial_number", "Faustina Stiedemann"], ["brand", "Kimberlee Ward"], ["item_model", "Kaylee Zieme"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:41:40.464606"], ["updated_at", "2018-09-05 05:41:40.464606"]]  (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", "Dede O'Kon"], ["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", "Kathryn Weber"], ["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", "Dede O'Kon"], ["name", "Kathryn Weber"], ["created_at", "2018-09-05 05:41:40.470852"], ["updated_at", "2018-09-05 05:41:40.470852"]]  (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", "Carrol Huel"], ["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", "Carrol Huel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.475257"], ["updated_at", "2018-09-05 05:41:40.475257"]]  (1.1ms) 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", "Josue Wolff"], ["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", "Josue Wolff"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.482446"], ["updated_at", "2018-09-05 05:41:40.482446"]]  (0.7ms) 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", "Earline Fadel"], ["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", "Earline Fadel"], ["name", "Sherron Rohan"], ["address", "Daina Bruen"], ["created_at", "2018-09-05 05:41:40.487684"], ["updated_at", "2018-09-05 05:41:40.487684"]]  (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", "Domitila Robel"], ["service_delivery_unit_id", 59], ["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", "Domitila Robel"], ["name", "Kraig Marquardt"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:41:40.492509"], ["updated_at", "2018-09-05 05:41:40.492509"]] 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", "Domitila 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", "Domitila Robel"], ["name", "Kraig Marquardt"], ["description", "Default bundle for service 'Kraig Marquardt'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:41:40.499074"], ["updated_at", "2018-09-05 05:41:40.499074"]] 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", 22]]  (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", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:41:40.505220"], ["updated_at", "2018-09-05 05:41:40.505220"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) 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", "Robert McLaughlin"], ["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", "Alden Lakin"], ["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", "Robert McLaughlin"], ["name", "Alden Lakin"], ["description", "Tenetur ipsum eos maxime sequi quia dolores voluptas cum. Inventore eos itaque quae illo. Est maiores magnam autem quia omnis sed ea quisquam. Possimus quia omnis laboriosam dicta quo."], ["created_at", "2018-09-05 05:41:40.516488"], ["updated_at", "2018-09-05 05:41:40.516488"]]  (0.4ms) 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", "Angla Torphy"], ["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", "Tynisha Douglas"], ["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", "Angla Torphy"], ["name", "Tynisha Douglas"], ["description", "Nostrum quam voluptates culpa veniam delectus aliquam. Ducimus cumque quas placeat et velit quo et. Eos qui similique consequatur et qui."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:41:40.521479"], ["updated_at", "2018-09-05 05:41:40.521479"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (5.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Stanton Windler"], ["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", "Stanton Windler"], ["name", "Zetta Cronin"], ["description", "Aaron Hoppe"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:41:40.531414"], ["updated_at", "2018-09-05 05:41:40.531414"]]  (1.1ms) 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", "Veola Goldner"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Malissa Padberg"], ["LIMIT", 1]] Mks::Edm::LocationType Create (2.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Veola Goldner"], ["name", "Malissa Padberg"], ["description", "Babette Torphy"], ["created_at", "2018-09-05 05:41:40.541818"], ["updated_at", "2018-09-05 05:41:40.541818"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (2.4ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Muriel Jacobi"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.4ms) 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", "Muriel Jacobi"], ["name", "Chanell Littel"], ["location_type_id", 8], ["description", "Jean Shanahan"], ["address", "Sharie Roob"], ["created_at", "2018-09-05 05:41:40.551242"], ["updated_at", "2018-09-05 05:41:40.551242"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (2.1ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Thomasina Abernathy"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Melodee Romaguera"], ["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", "Thomasina Abernathy"], ["name", "Dreama Kovacek"], ["description", "Joelle Lebsack"], ["serial_number", "Melodee Romaguera"], ["brand", "Krysten Abbott"], ["item_model", "Alfonzo Torp"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:41:40.562879"], ["updated_at", "2018-09-05 05:41:40.562879"]]  (1.0ms) 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", "Kathline Johnson"], ["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", "Jessi Crona"], ["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", "Kathline Johnson"], ["name", "Jessi Crona"], ["created_at", "2018-09-05 05:41:40.572653"], ["updated_at", "2018-09-05 05:41:40.572653"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.0ms) 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", "Wilburn Flatley"], ["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", "Wilburn Flatley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.580576"], ["updated_at", "2018-09-05 05:41:40.580576"]]  (0.8ms) 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", "Delilah Mann"], ["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", "Delilah Mann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.586802"], ["updated_at", "2018-09-05 05:41:40.586802"]]  (0.6ms) 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", "Pablo Bosco"], ["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", "Pablo Bosco"], ["name", "Dallas Daniel"], ["address", "Ione Connelly"], ["created_at", "2018-09-05 05:41:40.592446"], ["updated_at", "2018-09-05 05:41:40.592446"]]  (1.2ms) 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", "Windy Weimann"], ["service_delivery_unit_id", 60], ["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", "Windy Weimann"], ["name", "Mckenzie Bahringer"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:41:40.599597"], ["updated_at", "2018-09-05 05:41:40.599597"]] 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", 60], ["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", "Windy Weimann"], ["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", "Windy Weimann"], ["name", "Mckenzie Bahringer"], ["description", "Default bundle for service 'Mckenzie Bahringer'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:41:40.606313"], ["updated_at", "2018-09-05 05:41:40.606313"]] 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", 46], ["chargeable_service_id", 23]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.5ms) 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", "Song Larson"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Karolyn Wyman"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Song Larson"], ["name", "Karolyn Wyman"], ["description", "Quos minus ducimus non consequatur consequuntur. Sit aut nostrum ex eos recusandae pariatur quis voluptatem. Ad molestiae tenetur enim in vel ex. Voluptatibus animi et corrupti quae consequatur. Quibusdam voluptate incidunt harum sint."], ["created_at", "2018-09-05 05:41:40.625826"], ["updated_at", "2018-09-05 05:41:40.625826"]]  (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", "Melissia Eichmann"], ["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", "Sherice Morar"], ["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", "Melissia Eichmann"], ["name", "Sherice Morar"], ["description", "Est assumenda necessitatibus aliquid et. Perferendis inventore dolore quia eius reiciendis atque necessitatibus ex. Asperiores harum neque aut numquam. Aspernatur nulla quod qui est quaerat. Ipsam voluptas laborum atque sint molestiae voluptatibus reiciendis."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:41:40.634228"], ["updated_at", "2018-09-05 05:41:40.634228"]]  (0.8ms) 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", "Gema Daugherty"], ["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", "Gema Daugherty"], ["name", "Cheree Bins"], ["description", "Nellie Reichert"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:41:40.639856"], ["updated_at", "2018-09-05 05:41:40.639856"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Meghann Walsh"], ["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", "Carolyn Robel"], ["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", "Meghann Walsh"], ["name", "Carolyn Robel"], ["description", "Thersa Legros"], ["created_at", "2018-09-05 05:41:40.649558"], ["updated_at", "2018-09-05 05:41:40.649558"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Taryn Smith"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.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", "Taryn Smith"], ["name", "Laurie Ratke"], ["location_type_id", 9], ["description", "Debi Robel"], ["address", "Rosalba Cole"], ["created_at", "2018-09-05 05:41:40.656804"], ["updated_at", "2018-09-05 05:41:40.656804"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Leanora Harris"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Pei Grant"], ["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", "Leanora Harris"], ["name", "Sabina Kerluke"], ["description", "Christy Hegmann"], ["serial_number", "Pei Grant"], ["brand", "Magaret Pouros"], ["item_model", "Deandrea Streich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:41:40.672915"], ["updated_at", "2018-09-05 05:41:40.672915"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (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", "Dario Auer"], ["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", "Genevive Grady"], ["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", "Dario Auer"], ["name", "Genevive Grady"], ["created_at", "2018-09-05 05:41:40.684015"], ["updated_at", "2018-09-05 05:41:40.684015"]]  (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", "Rosann 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", "Rosann Grant"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.689858"], ["updated_at", "2018-09-05 05:41:40.689858"]]  (0.9ms) 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", "Mervin Wisoky"], ["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", "Mervin Wisoky"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.697171"], ["updated_at", "2018-09-05 05:41:40.697171"]]  (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", "Sherilyn 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", "Sherilyn Wunsch"], ["name", "Reena Larson"], ["address", "Leola Anderson"], ["created_at", "2018-09-05 05:41:40.701820"], ["updated_at", "2018-09-05 05:41:40.701820"]]  (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", "Halley Schiller"], ["service_delivery_unit_id", 61], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.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", "Halley Schiller"], ["name", "Twanna Witting"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:41:40.706337"], ["updated_at", "2018-09-05 05:41:40.706337"]] 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", 61], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Halley Schiller"], ["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", "Halley Schiller"], ["name", "Twanna Witting"], ["description", "Default bundle for service 'Twanna Witting'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:41:40.712724"], ["updated_at", "2018-09-05 05:41:40.712724"]] 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", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "Aurea Medhurst"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Breanne Sipes"], ["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", "Aurea Medhurst"], ["name", "Breanne Sipes"], ["description", "Cupiditate rerum non reiciendis eveniet et quas et. Minima doloribus nesciunt molestias veniam voluptatibus est alias. Minima molestiae molestiae quia dolorum quo."], ["created_at", "2018-09-05 05:41:40.728225"], ["updated_at", "2018-09-05 05:41:40.728225"]]  (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", "Audra Bins"], ["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", "Rita Marquardt"], ["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", "Audra Bins"], ["name", "Rita Marquardt"], ["description", "Maxime doloribus eum ipsam est id vel delectus eveniet. Odit et consequatur dolorem qui. Rerum facere molestiae illum magni quidem."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:41:40.733773"], ["updated_at", "2018-09-05 05:41:40.733773"]]  (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", "Donna Legros"], ["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", "Donna Legros"], ["name", "Marcelina Carroll"], ["description", "Miranda Fisher"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:41:40.738153"], ["updated_at", "2018-09-05 05:41:40.738153"]]  (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", "Ladawn Metz"], ["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", "Rebecca Russel"], ["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", "Ladawn Metz"], ["name", "Rebecca Russel"], ["description", "Ute Hansen"], ["created_at", "2018-09-05 05:41:40.744385"], ["updated_at", "2018-09-05 05:41:40.744385"]]  (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", "Shea Dickens"], ["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", "Shea Dickens"], ["name", "Robbi Brown"], ["location_type_id", 10], ["description", "Gwendolyn Jerde"], ["address", "Lindsay Haag"], ["created_at", "2018-09-05 05:41:40.749626"], ["updated_at", "2018-09-05 05:41:40.749626"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Agueda Rempel"], ["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", "Kena Reynolds"], ["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", "Agueda Rempel"], ["name", "Jenine Simonis"], ["description", "Kristopher Ruecker"], ["serial_number", "Kena Reynolds"], ["brand", "Ping Lehner"], ["item_model", "Sol Ritchie"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:41:40.756599"], ["updated_at", "2018-09-05 05:41:40.756599"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.6ms) 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", "Ken Sauer"], ["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", "Idalia Schulist"], ["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", "Ken Sauer"], ["name", "Idalia Schulist"], ["created_at", "2018-09-05 05:41:40.768813"], ["updated_at", "2018-09-05 05:41:40.768813"]]  (0.5ms) RELEASE 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Ken Sauer"], ["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Idalia Schulist"], ["id", 38], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.7ms) BEGIN Mks::Rate::ServiceType Exists (2.2ms) 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.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rodrigo Hermann"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Beatris Mitchell"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) 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.4ms) 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", "Josefine Jewess"], ["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", "Remedios Purdy"], ["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", "Josefine Jewess"], ["name", "Remedios Purdy"], ["created_at", "2018-09-05 05:41:40.795027"], ["updated_at", "2018-09-05 05:41:40.795027"]]  (1.0ms) RELEASE 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", "Josefine Jewess"], ["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", "Tempie Sipes"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) 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", "Pia Rempel"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Merri Connelly"], ["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", "Pia Rempel"], ["name", "Merri Connelly"], ["created_at", "2018-09-05 05:41:40.811596"], ["updated_at", "2018-09-05 05:41:40.811596"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Latesha Weber"], ["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", "Merri Connelly"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN 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", "Philomena West"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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.8ms) ROLLBACK  (0.4ms) BEGIN 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", "Svetlana Tromp"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Araceli Metz"], ["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", "Araceli Metz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.837543"], ["updated_at", "2018-09-05 05:41:40.837543"]]  (0.7ms) RELEASE 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", "Araceli Metz"], ["LIMIT", 1]]  (1.1ms) 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", "Loreta Breitenberg"], ["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", "Eli Beer"], ["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", "Loreta Breitenberg"], ["name", "Eli Beer"], ["created_at", "2018-09-05 05:41:40.850892"], ["updated_at", "2018-09-05 05:41:40.850892"]]  (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", "Irving Stehr"], ["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", "Irving Stehr"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.855607"], ["updated_at", "2018-09-05 05:41:40.855607"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Elaine Ryan"], ["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", "Elaine Ryan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.862518"], ["updated_at", "2018-09-05 05:41:40.862518"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.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", "Steven Larson"], ["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", "Steven Larson"], ["name", "Gerard Rau"], ["address", "Karina Block"], ["created_at", "2018-09-05 05:41:40.867620"], ["updated_at", "2018-09-05 05:41:40.867620"]]  (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", "Wilmer Barrows"], ["service_delivery_unit_id", 62], ["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", "Wilmer Barrows"], ["name", "Milagro Stiedemann"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:41:40.873285"], ["updated_at", "2018-09-05 05:41:40.873285"]] 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", 62], ["LIMIT", 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", "Wilmer Barrows"], ["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", "Wilmer Barrows"], ["name", "Milagro Stiedemann"], ["description", "Default bundle for service 'Milagro Stiedemann'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:41:40.880634"], ["updated_at", "2018-09-05 05:41:40.880634"]] 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", 48], ["chargeable_service_id", 25]]  (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", "Jonas Goyette"], ["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", "Abe 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", "Jonas Goyette"], ["name", "Abe Heller"], ["created_at", "2018-09-05 05:41:40.890367"], ["updated_at", "2018-09-05 05:41:40.890367"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Yanira Kemmer"], ["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", "Yanira Kemmer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.897342"], ["updated_at", "2018-09-05 05:41:40.897342"]]  (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", "Jacquelyne Zulauf"], ["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", "Jacquelyne Zulauf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.901843"], ["updated_at", "2018-09-05 05:41:40.901843"]]  (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", "Retha Lehner"], ["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", "Retha Lehner"], ["name", "Monty Lebsack"], ["address", "Dahlia Sipes"], ["created_at", "2018-09-05 05:41:40.906439"], ["updated_at", "2018-09-05 05:41:40.906439"]]  (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", "Glendora Quigley"], ["service_delivery_unit_id", 63], ["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", "Glendora Quigley"], ["name", "Louis Haag"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:41:40.911853"], ["updated_at", "2018-09-05 05:41:40.911853"]] 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", 63], ["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", "Glendora Quigley"], ["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", "Glendora Quigley"], ["name", "Louis Haag"], ["description", "Default bundle for service 'Louis Haag'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:41:40.916913"], ["updated_at", "2018-09-05 05:41:40.916913"]] 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", 49], ["chargeable_service_id", 26]]  (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", "Maile Lang"], ["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", "Edmund Aufderhar"], ["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", "Maile Lang"], ["name", "Edmund Aufderhar"], ["created_at", "2018-09-05 05:41:40.927024"], ["updated_at", "2018-09-05 05:41:40.927024"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jeffry Jacobi"], ["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", "Jeffry Jacobi"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.932205"], ["updated_at", "2018-09-05 05:41:40.932205"]]  (0.4ms) 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", "Deadra Kautzer"], ["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", "Deadra Kautzer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.936726"], ["updated_at", "2018-09-05 05:41:40.936726"]]  (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", "Garland McKenzie"], ["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", "Garland McKenzie"], ["name", "Madelyn Bruen"], ["address", "Jewell Schoen"], ["created_at", "2018-09-05 05:41:40.941264"], ["updated_at", "2018-09-05 05:41:40.941264"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Maryjo Strosin"], ["service_delivery_unit_id", 64], ["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", "Maryjo Strosin"], ["name", "Ebony Hermann"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:41:40.947716"], ["updated_at", "2018-09-05 05:41:40.947716"]] 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", 64], ["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", "Maryjo Strosin"], ["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", "Maryjo Strosin"], ["name", "Ebony Hermann"], ["description", "Default bundle for service 'Ebony Hermann'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:41:40.952701"], ["updated_at", "2018-09-05 05:41:40.952701"]] 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", 50], ["chargeable_service_id", 27]]  (0.6ms) 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"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 25], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.0ms) 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", 26], ["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", 25], ["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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:41:40.965232"], ["updated_at", "2018-09-05 05:41:40.965232"]] 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]] 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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:41:40.968194"], ["updated_at", "2018-09-05 05:41:40.968194"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (1.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", "Rhea 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", "Myrna Kilback"], ["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", "Rhea Bergnaum"], ["name", "Myrna Kilback"], ["created_at", "2018-09-05 05:41:40.980576"], ["updated_at", "2018-09-05 05:41:40.980576"]]  (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", "Gwyneth Walsh"], ["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", "Gwyneth Walsh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.985382"], ["updated_at", "2018-09-05 05:41:40.985382"]]  (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", "Donnetta Murray"], ["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", "Donnetta Murray"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:40.989973"], ["updated_at", "2018-09-05 05:41:40.989973"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Suzanne Lemke"], ["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", "Suzanne Lemke"], ["name", "Portia Bernhard"], ["address", "Jule Predovic"], ["created_at", "2018-09-05 05:41:40.995899"], ["updated_at", "2018-09-05 05:41:40.995899"]]  (0.4ms) 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", "Ike Kozey"], ["service_delivery_unit_id", 65], ["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", "Ike Kozey"], ["name", "Chun Ullrich"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:41:41.000557"], ["updated_at", "2018-09-05 05:41:41.000557"]] 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", 65], ["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", "Ike Kozey"], ["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 Kozey"], ["name", "Chun Ullrich"], ["description", "Default bundle for service 'Chun Ullrich'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:41:41.005981"], ["updated_at", "2018-09-05 05:41:41.005981"]] 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", 51], ["chargeable_service_id", 28]]  (0.9ms) 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", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:41:41.015276"], ["updated_at", "2018-09-05 05:41:41.015276"]]  (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"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 28], ["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", 28], ["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 05:41:41.021633"], ["id", 10]]  (0.4ms) 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 (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kiesha@boganwill.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", "Marcelle Hartmann"], ["last_name", "Isis Nienow"], ["email", "kiesha@boganwill.com"], ["password_digest", "$2a$04$7U93E7zE9tyUBMNIOgslXebpZFUED4OC6fZPuZ/SZzIb18k6uQjFW"], ["created_at", "2018-09-05 05:41:41.034180"], ["updated_at", "2018-09-05 05:41:41.034180"]]  (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", "marcell@little.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", "Jeannetta Lehner"], ["last_name", "Isis Walsh"], ["email", "marcell@little.us"], ["password_digest", "$2a$04$8QTuhHe8txmVr.o/8Gtt6e6nMmqb4D2LgRI7uxSHNPGMV/9iDQPSm"], ["created_at", "2018-09-05 05:41:41.041179"], ["updated_at", "2018-09-05 05:41:41.041179"]]  (0.7ms) 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", "assunta_yundt@turner.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", "Denna Reynolds"], ["last_name", "Shirely Gusikowski"], ["email", "assunta_yundt@turner.info"], ["password_digest", "$2a$04$MBHXQqttBXCZ6GVWs0dSeu7ovNlOA50k4pbZlffAzAWpXwVpNHbAe"], ["created_at", "2018-09-05 05:41:41.048815"], ["updated_at", "2018-09-05 05:41:41.048815"]]  (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", "Lavern Brakus"], ["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", "Lavern Brakus"], ["authorized_by", "Antonia Beatty"], ["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", 67], ["approved_by_id", 68], ["created_at", "2018-09-05 05:41:41.053710"], ["updated_at", "2018-09-05 05:41:41.053710"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (3.6ms) 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", "Lavern Brakus"], ["id", 4], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.5ms) 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", 66], ["updated_at", "2018-09-05 05:41:41.063653"], ["id", 4]]  (0.6ms) 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", 4], ["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", 66], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "Maxie Champlin"], ["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", "Maxie Champlin"], ["name", "Kimbra Schumm"], ["address", "Gudrun Romaguera"], ["created_at", "2018-09-05 05:41:41.079249"], ["updated_at", "2018-09-05 05:41:41.079249"]]  (0.9ms) 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", "Tajuana Lindgren"], ["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", "Tajuana Lindgren"], ["name", "Doreen Sporer"], ["description", "Sharita Rau"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:41:41.088105"], ["updated_at", "2018-09-05 05:41:41.088105"]]  (0.7ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["code", "Colby Schumm"], ["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", "Hans Ferry"], ["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", "Colby Schumm"], ["name", "Hans Ferry"], ["created_at", "2018-09-05 05:41:41.096512"], ["updated_at", "2018-09-05 05:41:41.096512"]]  (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", "Tess Tillman"], ["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", "Tess Tillman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.100829"], ["updated_at", "2018-09-05 05:41:41.100829"]]  (0.6ms) 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", "Shanice Graham"], ["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", "Shanice Graham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.105270"], ["updated_at", "2018-09-05 05:41:41.105270"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Kanisha McClure"], ["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", "Kanisha McClure"], ["name", "Refugio Green"], ["address", "Iva Shields"], ["created_at", "2018-09-05 05:41:41.113829"], ["updated_at", "2018-09-05 05:41:41.113829"]]  (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", "Jenniffer Fritsch"], ["service_delivery_unit_id", 67], ["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", "Jenniffer Fritsch"], ["name", "Tuyet Turcotte"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:41:41.118722"], ["updated_at", "2018-09-05 05:41:41.118722"]] 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", 67], ["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", "Jenniffer Fritsch"], ["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", "Jenniffer Fritsch"], ["name", "Tuyet Turcotte"], ["description", "Default bundle for service 'Tuyet Turcotte'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:41:41.123674"], ["updated_at", "2018-09-05 05:41:41.123674"]] 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", 53], ["chargeable_service_id", 29]]  (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", "Sheri Swaniawski"], ["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", "Odis Bruen"], ["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", "Sheri Swaniawski"], ["name", "Odis Bruen"], ["created_at", "2018-09-05 05:41:41.134417"], ["updated_at", "2018-09-05 05:41:41.134417"]]  (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", "Ona Greenfelder"], ["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", "Ona Greenfelder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.139323"], ["updated_at", "2018-09-05 05:41:41.139323"]]  (0.7ms) 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", "Sharon Rath"], ["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", "Sharon Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.145340"], ["updated_at", "2018-09-05 05:41:41.145340"]]  (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", "Magdalene Davis"], ["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", "Magdalene Davis"], ["name", "Myron Daugherty"], ["address", "Lenora Crist"], ["created_at", "2018-09-05 05:41:41.149893"], ["updated_at", "2018-09-05 05:41:41.149893"]]  (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", "Genny Fritsch"], ["service_delivery_unit_id", 68], ["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", "Genny Fritsch"], ["name", "Brett Treutel"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:41:41.154475"], ["updated_at", "2018-09-05 05:41:41.154475"]] 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", 68], ["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", "Genny Fritsch"], ["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", "Genny Fritsch"], ["name", "Brett Treutel"], ["description", "Default bundle for service 'Brett Treutel'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:41:41.160280"], ["updated_at", "2018-09-05 05:41:41.160280"]] 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", 54], ["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", "Jalisa Stiedemann"], ["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", "Leonard Christiansen"], ["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", "Jalisa Stiedemann"], ["name", "Leonard Christiansen"], ["created_at", "2018-09-05 05:41:41.168929"], ["updated_at", "2018-09-05 05:41:41.168929"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Nigel Swift"], ["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", "Nigel Swift"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.175813"], ["updated_at", "2018-09-05 05:41:41.175813"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Tifany Zulauf"], ["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", "Tifany Zulauf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.182672"], ["updated_at", "2018-09-05 05:41:41.182672"]]  (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", "Lenore Schowalter"], ["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", "Lenore Schowalter"], ["name", "Ollie Hoppe"], ["address", "Mireille Wehner"], ["created_at", "2018-09-05 05:41:41.187684"], ["updated_at", "2018-09-05 05:41:41.187684"]]  (0.4ms) 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", "Adriana Dach"], ["service_delivery_unit_id", 69], ["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", "Adriana Dach"], ["name", "Sharmaine McClure"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:41:41.192852"], ["updated_at", "2018-09-05 05:41:41.192852"]] 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", "Adriana Dach"], ["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", "Adriana Dach"], ["name", "Sharmaine McClure"], ["description", "Default bundle for service 'Sharmaine McClure'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:41:41.198829"], ["updated_at", "2018-09-05 05:41:41.198829"]] 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", 55], ["chargeable_service_id", 31]]  (0.5ms) 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", 52]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 29], ["id", 30], ["id", 31]] 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", 52]] 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", 29]] 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", 52], ["chargeable_service_id", 30]] 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", 52], ["chargeable_service_id", 31]]  (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", 52], ["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]]  (1.1ms) 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", "Shela 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", "Shela Lesch"], ["name", "Cherise Keebler"], ["address", "Rosena Bechtelar"], ["created_at", "2018-09-05 05:41:41.230842"], ["updated_at", "2018-09-05 05:41:41.230842"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marlen Quitzon"], ["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", "Marlen Quitzon"], ["name", "Willetta Fisher"], ["description", "Marguerita Quitzon"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:41:41.235096"], ["updated_at", "2018-09-05 05:41:41.235096"]]  (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", "Caleb Romaguera"], ["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", "Erminia Bergnaum"], ["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", "Caleb Romaguera"], ["name", "Erminia Bergnaum"], ["created_at", "2018-09-05 05:41:41.240679"], ["updated_at", "2018-09-05 05:41:41.240679"]]  (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", "Nga Grimes"], ["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", "Nga Grimes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.245619"], ["updated_at", "2018-09-05 05:41:41.245619"]]  (0.4ms) 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", "Mollie Koepp"], ["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", "Mollie Koepp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.249885"], ["updated_at", "2018-09-05 05:41:41.249885"]]  (0.5ms) 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", "Evelina Altenwerth"], ["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", "Evelina Altenwerth"], ["name", "Chung Abernathy"], ["address", "Seema Feil"], ["created_at", "2018-09-05 05:41:41.254200"], ["updated_at", "2018-09-05 05:41:41.254200"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Risa Ferry"], ["service_delivery_unit_id", 71], ["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", "Risa Ferry"], ["name", "Lawerence Schaefer"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:41:41.260304"], ["updated_at", "2018-09-05 05:41:41.260304"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Risa Ferry"], ["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", "Risa Ferry"], ["name", "Lawerence Schaefer"], ["description", "Default bundle for service 'Lawerence Schaefer'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:41:41.266741"], ["updated_at", "2018-09-05 05:41:41.266741"]] 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", 57], ["chargeable_service_id", 32]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Wenona Lakin"], ["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", "Avery D'Amore"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Wenona Lakin"], ["name", "Avery D'Amore"], ["created_at", "2018-09-05 05:41:41.276923"], ["updated_at", "2018-09-05 05:41:41.276923"]]  (1.3ms) 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", "Nora Oga"], ["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", "Nora Oga"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.284414"], ["updated_at", "2018-09-05 05:41:41.284414"]]  (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", "Angelo Smith"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (10.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Angelo Smith"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.289243"], ["updated_at", "2018-09-05 05:41:41.289243"]]  (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", "Kristan 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", "Kristan Wintheiser"], ["name", "Connie Parker"], ["address", "Jenniffer Yost"], ["created_at", "2018-09-05 05:41:41.304092"], ["updated_at", "2018-09-05 05:41:41.304092"]]  (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", "Shirely White"], ["service_delivery_unit_id", 72], ["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", "Shirely White"], ["name", "Nena Strosin"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:41:41.308638"], ["updated_at", "2018-09-05 05:41:41.308638"]] 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", 72], ["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", "Shirely White"], ["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", "Shirely White"], ["name", "Nena Strosin"], ["description", "Default bundle for service 'Nena Strosin'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:41:41.316365"], ["updated_at", "2018-09-05 05:41:41.316365"]] 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", 58], ["chargeable_service_id", 33]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "Jann Cassin"], ["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", "Evia Towne"], ["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", "Jann Cassin"], ["name", "Evia Towne"], ["created_at", "2018-09-05 05:41:41.327415"], ["updated_at", "2018-09-05 05:41:41.327415"]]  (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", "Markus Bailey"], ["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", "Markus Bailey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.332140"], ["updated_at", "2018-09-05 05:41:41.332140"]]  (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", "Pearl Reinger"], ["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", "Pearl Reinger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.336474"], ["updated_at", "2018-09-05 05:41:41.336474"]]  (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", "Muriel Lindgren"], ["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", "Muriel Lindgren"], ["name", "Jaime Gleason"], ["address", "Filiberto Johns"], ["created_at", "2018-09-05 05:41:41.341229"], ["updated_at", "2018-09-05 05:41:41.341229"]]  (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", "Ariel West"], ["service_delivery_unit_id", 73], ["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", "Ariel West"], ["name", "Hortencia Pfannerstill"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:41:41.346526"], ["updated_at", "2018-09-05 05:41:41.346526"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ariel West"], ["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", "Ariel West"], ["name", "Hortencia Pfannerstill"], ["description", "Default bundle for service 'Hortencia Pfannerstill'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:41:41.351594"], ["updated_at", "2018-09-05 05:41:41.351594"]] 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", 34]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 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", 56], ["chargeable_service_id", 32]] 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]] 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", 56], ["chargeable_service_id", 34]]  (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", 56]]  (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 [["id", 34]] 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", 56]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.4ms) 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", 56], ["chargeable_service_id", 32], ["chargeable_service_id", 33]]  (0.8ms) 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", 56], ["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", 56]] 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", 56]]  (0.7ms) 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", "Ardith Carroll"], ["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", "Ardith Carroll"], ["name", "Kerry Kreiger"], ["address", "Kimber Rempel"], ["created_at", "2018-09-05 05:41:41.388144"], ["updated_at", "2018-09-05 05:41:41.388144"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kandace Will"], ["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", "Kandace Will"], ["name", "Mayra Sporer"], ["description", "Mana Lindgren"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:41:41.394093"], ["updated_at", "2018-09-05 05:41:41.394093"]]  (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", "Florentina Heaney"], ["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", "Rayford Franecki"], ["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", "Florentina Heaney"], ["name", "Rayford Franecki"], ["created_at", "2018-09-05 05:41:41.400269"], ["updated_at", "2018-09-05 05:41:41.400269"]]  (0.4ms) 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", "Robbie Gleichner"], ["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", "Robbie Gleichner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.404837"], ["updated_at", "2018-09-05 05:41:41.404837"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Paige Lakin"], ["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", "Paige Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.410979"], ["updated_at", "2018-09-05 05:41:41.410979"]]  (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", "Larita Lynch"], ["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", "Larita Lynch"], ["name", "Deandra Bergnaum"], ["address", "Gregg Howe"], ["created_at", "2018-09-05 05:41:41.416096"], ["updated_at", "2018-09-05 05:41:41.416096"]]  (0.8ms) 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", "Agustin Mohr"], ["service_delivery_unit_id", 75], ["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", "Agustin Mohr"], ["name", "Shondra Stoltenberg"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:41:41.421841"], ["updated_at", "2018-09-05 05:41:41.421841"]] 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 (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Agustin Mohr"], ["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", "Agustin Mohr"], ["name", "Shondra Stoltenberg"], ["description", "Default bundle for service 'Shondra Stoltenberg'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:41:41.429182"], ["updated_at", "2018-09-05 05:41:41.429182"]] 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", 35]]  (0.8ms) 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", "Katherine Christiansen"], ["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", "Patience Purdy"], ["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", "Katherine Christiansen"], ["name", "Patience Purdy"], ["created_at", "2018-09-05 05:41:41.438591"], ["updated_at", "2018-09-05 05:41:41.438591"]]  (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", "Hsiu McCullough"], ["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", "Hsiu McCullough"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.444589"], ["updated_at", "2018-09-05 05:41:41.444589"]]  (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", "Shenika Kuhlman"], ["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", "Shenika Kuhlman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.449650"], ["updated_at", "2018-09-05 05:41:41.449650"]]  (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", "Tressie Grady"], ["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", "Tressie Grady"], ["name", "Zachary Russel"], ["address", "Elvera Hoeger"], ["created_at", "2018-09-05 05:41:41.454201"], ["updated_at", "2018-09-05 05:41:41.454201"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Sanford Cole"], ["service_delivery_unit_id", 76], ["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", "Sanford Cole"], ["name", "Melissa Dibbert"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:41:41.460000"], ["updated_at", "2018-09-05 05:41:41.460000"]] 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", 76], ["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", "Sanford Cole"], ["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", "Sanford Cole"], ["name", "Melissa Dibbert"], ["description", "Default bundle for service 'Melissa Dibbert'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:41:41.465533"], ["updated_at", "2018-09-05 05:41:41.465533"]] 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", 36]]  (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", "Leta Ledner"], ["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", "Augustine Boehm"], ["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", "Leta Ledner"], ["name", "Augustine Boehm"], ["created_at", "2018-09-05 05:41:41.474734"], ["updated_at", "2018-09-05 05:41:41.474734"]]  (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", "Laure Reichel"], ["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", "Laure Reichel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.480377"], ["updated_at", "2018-09-05 05:41:41.480377"]]  (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", "Janene Hodkiewicz"], ["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", "Janene Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.485257"], ["updated_at", "2018-09-05 05:41:41.485257"]]  (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", "Yvette Quitzon"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yvette Quitzon"], ["name", "Bailey Kerluke"], ["address", "Tatyana Tremblay"], ["created_at", "2018-09-05 05:41:41.490041"], ["updated_at", "2018-09-05 05:41:41.490041"]]  (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", "Larraine Casper"], ["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", "Larraine Casper"], ["name", "Farah Yost"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:41:41.496590"], ["updated_at", "2018-09-05 05:41:41.496590"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Larraine Casper"], ["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", "Larraine Casper"], ["name", "Farah Yost"], ["description", "Default bundle for service 'Farah Yost'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:41:41.501671"], ["updated_at", "2018-09-05 05:41:41.501671"]] 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", 63], ["chargeable_service_id", 37]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Eun Cartwright"], ["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", "Noel Howe"], ["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", "Eun Cartwright"], ["name", "Noel Howe"], ["created_at", "2018-09-05 05:41:41.512105"], ["updated_at", "2018-09-05 05:41:41.512105"]]  (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", "Beaulah Lockman"], ["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", "Beaulah Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.516680"], ["updated_at", "2018-09-05 05:41:41.516680"]]  (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", "Will Reichert"], ["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", "Will Reichert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:41:41.521006"], ["updated_at", "2018-09-05 05:41:41.521006"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.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", "Joan Stracke"], ["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", "Joan Stracke"], ["name", "Emmett Wiegand"], ["address", "Josie Lesch"], ["created_at", "2018-09-05 05:41:41.528716"], ["updated_at", "2018-09-05 05:41:41.528716"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.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", "Willow Dickinson"], ["service_delivery_unit_id", 78], ["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", "Willow Dickinson"], ["name", "Melia Collier"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:41:41.536968"], ["updated_at", "2018-09-05 05:41:41.536968"]] 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", 78], ["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", "Willow Dickinson"], ["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", "Willow Dickinson"], ["name", "Melia Collier"], ["description", "Default bundle for service 'Melia Collier'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:41:41.542830"], ["updated_at", "2018-09-05 05:41:41.542830"]] 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", 38]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 60], ["chargeable_service_id", 35]] 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", 36]]  (0.7ms) RELEASE SAVEPOINT active_record_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", 60]]  (0.6ms) 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", 36], ["id", 37], ["id", 38]] Mks::Rate::ChargeableService Load (1.1ms) 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", 60]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.1ms) 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 37]] 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", 60], ["chargeable_service_id", 38]]  (0.9ms) 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", 60], ["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", 60]] 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", 60], ["id", 35], ["LIMIT", 1]] 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", 60]]  (0.8ms) ROLLBACK  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (1.4ms) 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", "bobbie@langworth.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", "Barney Franecki"], ["last_name", "Sage Rempel"], ["email", "bobbie@langworth.name"], ["password_digest", "$2a$04$fUc9KmBLGk/RlHBMMZ/4HOwxAdiXUBhXvREUTVx/qwmqXKxt5kmf2"], ["created_at", "2018-09-05 05:45:17.036547"], ["updated_at", "2018-09-05 05:45:17.036547"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Justina Miller"], ["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", "Marvis Powlowski"], ["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", "Justina Miller"], ["name", "Marvis Powlowski"], ["created_at", "2018-09-05 05:45:17.059559"], ["updated_at", "2018-09-05 05:45:17.059559"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#index as HTML Mks::Auth::User Load (0.6ms) 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::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.38ms) Completed 200 OK in 21ms (Views: 14.5ms | ActiveRecord: 3.5ms)  (1.1ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) 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", "dani.monahan@hansencremin.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", "Ines Hickle"], ["last_name", "Nell Roob"], ["email", "dani.monahan@hansencremin.ca"], ["password_digest", "$2a$04$WGY7NNt4M2LizGNfv/UfNO1CRNM9K7sqwiGc03pGAXq8ByGs4zoC."], ["created_at", "2018-09-05 05:45:35.095700"], ["updated_at", "2018-09-05 05:45:35.095700"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ola Spinka"], ["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", "Garnet Haag"], ["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", "Ola Spinka"], ["name", "Garnet Haag"], ["created_at", "2018-09-05 05:45:35.128843"], ["updated_at", "2018-09-05 05:45:35.128843"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 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::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.39ms) Completed 200 OK in 22ms (Views: 15.1ms | ActiveRecord: 3.3ms)  (1.0ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (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", "danita@morarkuhlman.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", "Leanne Schiller"], ["last_name", "Barton Moore"], ["email", "danita@morarkuhlman.biz"], ["password_digest", "$2a$04$tknR..MylHySpNu3.UNjXO55SnwpXYYfNCe1Og9zm6QquVctWuTLK"], ["created_at", "2018-09-05 05:47:01.238796"], ["updated_at", "2018-09-05 05:47:01.238796"]]  (0.6ms) 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", "Jeanice Koepp"], ["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", "Ming Quitzon"], ["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", "Jeanice Koepp"], ["name", "Ming Quitzon"], ["created_at", "2018-09-05 05:47:01.280479"], ["updated_at", "2018-09-05 05:47:01.280479"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Gale Roob"], ["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", "Gale Roob"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.303079"], ["updated_at", "2018-09-05 05:47:01.303079"]]  (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", "Scottie Doyle"], ["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", "Scottie Doyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.309784"], ["updated_at", "2018-09-05 05:47:01.309784"]]  (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", "Celinda Gleason"], ["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", "Celinda Gleason"], ["name", "Melissa Keebler"], ["address", "Jacque Schneider"], ["created_at", "2018-09-05 05:47:01.326418"], ["updated_at", "2018-09-05 05:47:01.326418"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Lulu Streich"], ["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", "Lulu Streich"], ["name", "Marlin Harvey"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:47:01.334166"], ["updated_at", "2018-09-05 05:47:01.334166"]] 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", 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", "Lulu Streich"], ["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", "Lulu Streich"], ["name", "Marlin Harvey"], ["description", "Default bundle for service 'Marlin Harvey'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:47:01.359986"], ["updated_at", "2018-09-05 05:47:01.359986"]] 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.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", "Christian Schamberger"], ["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", "Zulma Howell"], ["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", "Christian Schamberger"], ["name", "Zulma Howell"], ["created_at", "2018-09-05 05:47:01.386359"], ["updated_at", "2018-09-05 05:47:01.386359"]]  (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", "Barb Wyman"], ["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", "Barb Wyman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.390740"], ["updated_at", "2018-09-05 05:47:01.390740"]]  (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", "Jamey Hodkiewicz"], ["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", "Jamey Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.395514"], ["updated_at", "2018-09-05 05:47:01.395514"]]  (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", "Aliza Klein"], ["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", "Aliza Klein"], ["name", "Libbie Dibbert"], ["address", "Tangela Rippin"], ["created_at", "2018-09-05 05:47:01.400923"], ["updated_at", "2018-09-05 05:47:01.400923"]]  (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", "Zulma Spencer"], ["service_delivery_unit_id", 2], ["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", "Zulma Spencer"], ["name", "Erich Greenholt"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:47:01.405517"], ["updated_at", "2018-09-05 05:47:01.405517"]] 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", 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", "Zulma Spencer"], ["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", "Zulma Spencer"], ["name", "Erich Greenholt"], ["description", "Default bundle for service 'Erich Greenholt'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:47:01.411366"], ["updated_at", "2018-09-05 05:47:01.411366"]] 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", 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", "Belle Runolfsson"], ["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", "Graciela Deckow"], ["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", "Belle Runolfsson"], ["name", "Graciela Deckow"], ["created_at", "2018-09-05 05:47:01.421519"], ["updated_at", "2018-09-05 05:47:01.421519"]]  (0.8ms) 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", "Melinda Donnelly"], ["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 Donnelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.426514"], ["updated_at", "2018-09-05 05:47:01.426514"]]  (0.5ms) 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", "Shan Schroeder"], ["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", "Shan Schroeder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.431682"], ["updated_at", "2018-09-05 05:47:01.431682"]]  (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", "Venice Bahringer"], ["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", "Venice Bahringer"], ["name", "Roselyn Cole"], ["address", "May Wuckert"], ["created_at", "2018-09-05 05:47:01.436110"], ["updated_at", "2018-09-05 05:47:01.436110"]]  (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", "Myrtle Oberbrunner"], ["service_delivery_unit_id", 3], ["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", "Myrtle Oberbrunner"], ["name", "Annis Stracke"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:47:01.441076"], ["updated_at", "2018-09-05 05:47:01.441076"]] 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", "Myrtle Oberbrunner"], ["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", "Myrtle Oberbrunner"], ["name", "Annis Stracke"], ["description", "Default bundle for service 'Annis Stracke'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:47:01.446652"], ["updated_at", "2018-09-05 05:47:01.446652"]] 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.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 1], ["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", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN ($1, $2, $3) [["id", 3], ["id", 2], ["id", 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", 5], ["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", 6], ["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", 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", 3], ["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", 4], ["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", 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (15.5ms) Completed 200 OK in 38ms (Views: 25.7ms | ActiveRecord: 9.8ms)  (1.1ms) 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", "rocco_cormier@smith.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", "Ramonita Murphy"], ["last_name", "Billie Larkin"], ["email", "rocco_cormier@smith.name"], ["password_digest", "$2a$04$qiTjpHl5Ri1HGyvixZ9ggucHxcFJ9AVMtmeCfBKLnR5Ue8hNNRTjC"], ["created_at", "2018-09-05 05:47:01.507990"], ["updated_at", "2018-09-05 05:47:01.507990"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Cuc Yost"], ["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", "Cuc Yost"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.519591"], ["updated_at", "2018-09-05 05:47:01.519591"]]  (0.4ms) 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", "Yuonne Jacobson"], ["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", "Yuonne Jacobson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.525167"], ["updated_at", "2018-09-05 05:47:01.525167"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (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", "Belia Kautzer"], ["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", "Belia Kautzer"], ["name", "Dorotha Heaney"], ["address", "Brenda Tromp"], ["created_at", "2018-09-05 05:47:01.533513"], ["updated_at", "2018-09-05 05:47:01.533513"]]  (1.2ms) 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", "Kathline Thiel"], ["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", "Rodger Schmidt"], ["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", "Kathline Thiel"], ["name", "Rodger Schmidt"], ["created_at", "2018-09-05 05:47:01.543802"], ["updated_at", "2018-09-05 05:47:01.543802"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Tandy Mayer", "name"=>"Vince Borer", "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.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", "Tandy Mayer"], ["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.8ms) 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.9ms) 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", "Tandy Mayer"], ["name", "Vince Borer"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:47:01.564587"], ["updated_at", "2018-09-05 05:47:01.564587"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tandy Mayer"], ["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", "Tandy Mayer"], ["name", "Vince Borer"], ["description", "Default bundle for service 'Vince Borer'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:47:01.570096"], ["updated_at", "2018-09-05 05:47:01.570096"]] 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", 4], ["chargeable_service_id", 4]]  (0.5ms) 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.94ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.27ms) Completed 200 OK in 35ms (Views: 9.1ms | ActiveRecord: 12.5ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.9ms) 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", "donetta_connelly@schultz.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", "Carl Schaden"], ["last_name", "Casey Waters"], ["email", "donetta_connelly@schultz.biz"], ["password_digest", "$2a$04$lDakjYC4yeWIsWK2j7LsvuR5F000LP9.vOqDj1Xaqg8tF8Q8WFoEW"], ["created_at", "2018-09-05 05:47:01.598792"], ["updated_at", "2018-09-05 05:47:01.598792"]]  (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", "Madison Bradtke"], ["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", "Madison Bradtke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.604168"], ["updated_at", "2018-09-05 05:47:01.604168"]]  (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", "Ladonna Jakubowski"], ["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", "Ladonna Jakubowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.608956"], ["updated_at", "2018-09-05 05:47:01.608956"]]  (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", "Muoi Veum"], ["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", "Muoi Veum"], ["name", "Dean Breitenberg"], ["address", "Margert Volkman"], ["created_at", "2018-09-05 05:47:01.613671"], ["updated_at", "2018-09-05 05:47:01.613671"]]  (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", "Liane 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", "Christy Dickinson"], ["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", "Liane Kunde"], ["name", "Christy Dickinson"], ["created_at", "2018-09-05 05:47:01.620052"], ["updated_at", "2018-09-05 05:47:01.620052"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Margarett Gislason", "name"=>"Theola Bayer", "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.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", "Margarett Gislason"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.4ms) 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 (1.7ms) 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.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::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", "Margarett Gislason"], ["name", "Theola Bayer"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:47:01.636784"], ["updated_at", "2018-09-05 05:47:01.636784"]] 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", 5], ["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", "Margarett Gislason"], ["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", "Margarett Gislason"], ["name", "Theola Bayer"], ["description", "Default bundle for service 'Theola Bayer'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:47:01.643345"], ["updated_at", "2018-09-05 05:47:01.643345"]] 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", 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 (2.01ms) 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.3ms) Completed 200 OK in 32ms (Views: 1.6ms | ActiveRecord: 14.1ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "dion_hamill@bahringerkuvalis.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", "Nyla Gerhold"], ["last_name", "Roberto Denesik"], ["email", "dion_hamill@bahringerkuvalis.co.uk"], ["password_digest", "$2a$04$CSKG85fQhIIXbb.dz43vVui1fPwTQc4oQz18AQ1b9ta6D1bZlbmNG"], ["created_at", "2018-09-05 05:47:01.664988"], ["updated_at", "2018-09-05 05:47:01.664988"]]  (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", "Merle Hammes"], ["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", "Merle Hammes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.671329"], ["updated_at", "2018-09-05 05:47:01.671329"]]  (0.8ms) 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", "Claretta Walter"], ["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", "Claretta Walter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.676799"], ["updated_at", "2018-09-05 05:47:01.676799"]]  (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", "Augusta Dare"], ["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", "Augusta Dare"], ["name", "Gaye Lynch"], ["address", "Patrica Heathcote"], ["created_at", "2018-09-05 05:47:01.683330"], ["updated_at", "2018-09-05 05:47:01.683330"]]  (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", "Simona Dach"], ["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", "Amie Krajcik"], ["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", "Simona Dach"], ["name", "Amie Krajcik"], ["created_at", "2018-09-05 05:47:01.690462"], ["updated_at", "2018-09-05 05:47:01.690462"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Cindi Altenwerth", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.9ms) 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", ""], ["service_delivery_unit_id", 6], ["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", 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.9ms) 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.7ms) 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.77ms) Completed 422 Unprocessable Entity in 30ms (Views: 7.1ms | ActiveRecord: 6.9ms)  (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", "sibyl.luettgen@harriscorwin.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", "Milo Parker"], ["last_name", "Sang Padberg"], ["email", "sibyl.luettgen@harriscorwin.co.uk"], ["password_digest", "$2a$04$eBT69TA0Jx4YoyFGqgjkMefDopaPMdDQAsKkQd0/2j6nDiQhZ5HqS"], ["created_at", "2018-09-05 05:47:01.735665"], ["updated_at", "2018-09-05 05:47:01.735665"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Yong Rolfson"], ["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", "Evon Mante"], ["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", "Yong Rolfson"], ["name", "Evon Mante"], ["created_at", "2018-09-05 05:47:01.742917"], ["updated_at", "2018-09-05 05:47:01.742917"]]  (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", "Kary Haag"], ["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", "Kary Haag"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.749132"], ["updated_at", "2018-09-05 05:47:01.749132"]]  (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", "Freddy Hane"], ["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", "Freddy Hane"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.755025"], ["updated_at", "2018-09-05 05:47:01.755025"]]  (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", "Susannah Halvorson"], ["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", "Susannah Halvorson"], ["name", "Patrick Langosh"], ["address", "Angila Hirthe"], ["created_at", "2018-09-05 05:47:01.760151"], ["updated_at", "2018-09-05 05:47:01.760151"]]  (0.7ms) 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", "Jospeh Kertzmann"], ["service_delivery_unit_id", 7], ["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", "Jospeh Kertzmann"], ["name", "Torie Howe"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:47:01.767231"], ["updated_at", "2018-09-05 05:47:01.767231"]] 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", 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", "Jospeh Kertzmann"], ["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", "Jospeh Kertzmann"], ["name", "Torie Howe"], ["description", "Default bundle for service 'Torie Howe'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:47:01.773845"], ["updated_at", "2018-09-05 05:47:01.773845"]] 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 (1.1ms) 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.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.8ms) 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", "Jospeh Kertzmann"], ["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.1ms) 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.2ms) 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 05:47:01.798535"], ["id", 6]] 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", 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", "Jospeh Kertzmann"], ["LIMIT", 1]]  (0.9ms) 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 (1.69ms) Mks::Auth::User Load (0.9ms) 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.21ms) Completed 200 OK in 38ms (Views: 1.2ms | ActiveRecord: 11.8ms) 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", 6], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "marquetta@lesch.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", "Donita Fahey"], ["last_name", "Claris Crooks"], ["email", "marquetta@lesch.us"], ["password_digest", "$2a$04$a.FgPqj9xKkqrol1VRCGT.rJD96KsbQT3zdVfrtt1uWfeXDnV3v0m"], ["created_at", "2018-09-05 05:47:01.831640"], ["updated_at", "2018-09-05 05:47:01.831640"]]  (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", "Sandy 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", "Christoper Reichel"], ["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", "Sandy Yundt"], ["name", "Christoper Reichel"], ["created_at", "2018-09-05 05:47:01.838144"], ["updated_at", "2018-09-05 05:47:01.838144"]]  (0.4ms) 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", "Marcos Hegmann"], ["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", "Marcos Hegmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.842820"], ["updated_at", "2018-09-05 05:47:01.842820"]]  (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", "Elenor Mosciski"], ["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", "Elenor Mosciski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.848003"], ["updated_at", "2018-09-05 05:47:01.848003"]]  (0.4ms) 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", "Nathaniel Hammes"], ["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", "Nathaniel Hammes"], ["name", "Lean Greenholt"], ["address", "Yvette Witting"], ["created_at", "2018-09-05 05:47:01.852399"], ["updated_at", "2018-09-05 05:47:01.852399"]]  (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", "Becky Hane"], ["service_delivery_unit_id", 8], ["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", "Becky Hane"], ["name", "Genevie Mills"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:47:01.857020"], ["updated_at", "2018-09-05 05:47:01.857020"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Becky Hane"], ["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", "Becky Hane"], ["name", "Genevie Mills"], ["description", "Default bundle for service 'Genevie Mills'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:47:01.863337"], ["updated_at", "2018-09-05 05:47:01.863337"]] 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.4ms) 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.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["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", "Becky Hane"], ["id", 7], ["service_delivery_unit_id", 8], ["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", 8], ["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", 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.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", 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.6ms)  (0.7ms) 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", "matthew@pfeffer.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", "Deborah Herman"], ["last_name", "Iraida Metz"], ["email", "matthew@pfeffer.ca"], ["password_digest", "$2a$04$SjFKioMYh0pYPCsciqUkye0tPQJ/mNBlsBxC69plkMQ170mbAV2Zy"], ["created_at", "2018-09-05 05:47:01.891432"], ["updated_at", "2018-09-05 05:47:01.891432"]]  (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", "Jacquline Runolfsson"], ["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", "Jacquline Runolfsson"], ["name", "Paulina Kutch"], ["address", "Jodee Kassulke"], ["created_at", "2018-09-05 05:47:01.896538"], ["updated_at", "2018-09-05 05:47:01.896538"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Alexa Ward"], ["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", "Alexa Ward"], ["name", "Deon Wiegand"], ["address", "Mandi O'Kon"], ["created_at", "2018-09-05 05:47:01.900328"], ["updated_at", "2018-09-05 05:47:01.900328"]]  (0.4ms) 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", "Berneice Hansen"], ["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", "Suzette Predovic"], ["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", "Berneice Hansen"], ["name", "Suzette Predovic"], ["created_at", "2018-09-05 05:47:01.906106"], ["updated_at", "2018-09-05 05:47:01.906106"]]  (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", "Beverley Rau"], ["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", "Beverley Rau"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.910461"], ["updated_at", "2018-09-05 05:47:01.910461"]]  (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", "Kari Heaney"], ["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", "Kari Heaney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.915055"], ["updated_at", "2018-09-05 05:47:01.915055"]]  (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", "Lynetta Keeling"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 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", "Lynetta Keeling"], ["name", "Joella Huels"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:47:01.921632"], ["updated_at", "2018-09-05 05:47:01.921632"]] 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", 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", "Lynetta Keeling"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Lynetta Keeling"], ["name", "Joella Huels"], ["description", "Default bundle for service 'Joella Huels'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:47:01.927610"], ["updated_at", "2018-09-05 05:47:01.927610"]] 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", 8], ["chargeable_service_id", 8]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Jewel Cummings"], ["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", "Marylee Mills"], ["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", "Jewel Cummings"], ["name", "Marylee Mills"], ["created_at", "2018-09-05 05:47:01.938254"], ["updated_at", "2018-09-05 05:47:01.938254"]]  (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", "Carie Marquardt"], ["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", "Carie Marquardt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.942998"], ["updated_at", "2018-09-05 05:47:01.942998"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Jefferson Sawayn"], ["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", "Jefferson Sawayn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.948963"], ["updated_at", "2018-09-05 05:47:01.948963"]]  (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", "Grace Hayes"], ["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.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", "Grace Hayes"], ["name", "Cody Oberbrunner"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:47:01.954878"], ["updated_at", "2018-09-05 05:47:01.954878"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Grace 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", "Grace Hayes"], ["name", "Cody Oberbrunner"], ["description", "Default bundle for service 'Cody Oberbrunner'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:47:01.960629"], ["updated_at", "2018-09-05 05:47:01.960629"]] 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.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", "Eusebio 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", "Georgeann Schuppe"], ["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", "Eusebio Doyle"], ["name", "Georgeann Schuppe"], ["created_at", "2018-09-05 05:47:01.970189"], ["updated_at", "2018-09-05 05:47:01.970189"]]  (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", "Ike Koepp"], ["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", "Ike Koepp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.975368"], ["updated_at", "2018-09-05 05:47:01.975368"]]  (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", "Gabriella Heller"], ["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", "Gabriella Heller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:01.980028"], ["updated_at", "2018-09-05 05:47:01.980028"]]  (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", "Cheryle Kuhn"], ["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", "Cheryle Kuhn"], ["name", "Tandy Goodwin"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:47:01.986393"], ["updated_at", "2018-09-05 05:47:01.986393"]] 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", "Cheryle Kuhn"], ["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", "Cheryle Kuhn"], ["name", "Tandy Goodwin"], ["description", "Default bundle for service 'Tandy Goodwin'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:47:01.991299"], ["updated_at", "2018-09-05 05:47:01.991299"]] 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", 10], ["chargeable_service_id", 10]]  (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", "Felicidad Gusikowski"], ["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", "Krystal Cormier"], ["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", "Felicidad Gusikowski"], ["name", "Krystal Cormier"], ["created_at", "2018-09-05 05:47:02.001271"], ["updated_at", "2018-09-05 05:47:02.001271"]]  (0.4ms) 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", "Tereasa Lindgren"], ["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", "Tereasa Lindgren"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:02.006453"], ["updated_at", "2018-09-05 05:47:02.006453"]]  (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", "Oralee Wunsch"], ["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", "Oralee Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:02.011217"], ["updated_at", "2018-09-05 05:47:02.011217"]]  (0.9ms) 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", "Mellisa Kuhn"], ["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.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", "Mellisa Kuhn"], ["name", "Esmeralda Wilderman"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:47:02.018667"], ["updated_at", "2018-09-05 05:47:02.018667"]] 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", "Mellisa Kuhn"], ["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", "Mellisa Kuhn"], ["name", "Esmeralda Wilderman"], ["description", "Default bundle for service 'Esmeralda Wilderman'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:47:02.023725"], ["updated_at", "2018-09-05 05:47:02.023725"]] 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", 11], ["chargeable_service_id", 11]]  (0.7ms) 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 (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.0ms) 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.7ms) 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.6ms) 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.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]] [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", 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.6ms) 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.58ms) Completed 200 OK in 19ms (Views: 9.2ms | ActiveRecord: 9.1ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "annabel@mertz.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", "Yan Simonis"], ["last_name", "Lela Bashirian"], ["email", "annabel@mertz.biz"], ["password_digest", "$2a$04$6dFdZxIsPQub8FqGocH.X.3.H2DdwlseHMvL0xgMteBbUTmwVp0JW"], ["created_at", "2018-09-05 05:47:02.058639"], ["updated_at", "2018-09-05 05:47:02.058639"]]  (0.5ms) RELEASE SAVEPOINT active_record_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", "mathilde@heaney.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", "Ruth Larson"], ["last_name", "Rupert Ruecker"], ["email", "mathilde@heaney.ca"], ["password_digest", "$2a$04$aHPT44POv2f6FywC6P/PZ.5KcqWB3lS88M1/kZQ3A/u6.mPsnEV5u"], ["created_at", "2018-09-05 05:47:02.068996"], ["updated_at", "2018-09-05 05:47:02.068996"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "christine@feil.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", "Sherill Rolfson"], ["last_name", "Randy Graham"], ["email", "christine@feil.ca"], ["password_digest", "$2a$04$2rJjwKytTaJXFvpfCLZ.weUABs58qnuPxKRsyWn9.7W0X33x5zP3i"], ["created_at", "2018-09-05 05:47:02.080427"], ["updated_at", "2018-09-05 05:47:02.080427"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.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", "shera.goodwin@quigley.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", "Anisha Lindgren"], ["last_name", "Keisha Marvin"], ["email", "shera.goodwin@quigley.name"], ["password_digest", "$2a$04$Uw7/vVG.ehFVGk.W3.eEfexlROn7l/OD5oYrn9I5IcPtu3zCscLK."], ["created_at", "2018-09-05 05:47:02.102687"], ["updated_at", "2018-09-05 05:47:02.102687"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) 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", "shera.bosco@hand.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", "Reynalda Stroman"], ["last_name", "Theo Heathcote"], ["email", "shera.bosco@hand.biz"], ["password_digest", "$2a$04$YBZ/tSw6RhdQeNV1jQzZYeLOfzEb1mpTfSFHKcxnDo.J2U5hMUhRC"], ["created_at", "2018-09-05 05:47:02.114270"], ["updated_at", "2018-09-05 05:47:02.114270"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.7ms) 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", "julie@dibbertleuschke.us"], ["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", "Antonette Stamm"], ["last_name", "Faye Rolfson"], ["email", "julie@dibbertleuschke.us"], ["password_digest", "$2a$04$NeZh.IZ6Tsq0XjATMzV9OuNJp.EACM6gAYvPq/XXSjo6GQVGJvam2"], ["created_at", "2018-09-05 05:47:02.128257"], ["updated_at", "2018-09-05 05:47:02.128257"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) ROLLBACK  (0.9ms) BEGIN  (1.0ms) 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", "lyda_haley@satterfield.name"], ["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", "Galen Price"], ["last_name", "Gregory Torphy"], ["email", "lyda_haley@satterfield.name"], ["password_digest", "$2a$04$XRDJwcj5A4ibOntLXyRDb.lvn6EE2ia.F6uGFKG1fOqOE.ewpW2My"], ["created_at", "2018-09-05 05:47:02.146246"], ["updated_at", "2018-09-05 05:47:02.146246"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "caterina_harber@pacochaconsidine.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", "Stephenie Lakin"], ["last_name", "Everett Stoltenberg"], ["email", "caterina_harber@pacochaconsidine.co.uk"], ["password_digest", "$2a$04$0ZbW0Kr65CooIujnLg28jef/DGIN0GJw/NlMaoaIJBWerOkNabbrm"], ["created_at", "2018-09-05 05:47:02.158500"], ["updated_at", "2018-09-05 05:47:02.158500"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) 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", "joline_abbott@kriskris.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", "Eddie Shanahan"], ["last_name", "Taunya Okuneva"], ["email", "joline_abbott@kriskris.info"], ["password_digest", "$2a$04$eWxE2VwMHvWxHD.S403DL.K/spQAVVWcKDJCnC6EFcrXf6m8Bc3uW"], ["created_at", "2018-09-05 05:47:02.170828"], ["updated_at", "2018-09-05 05:47:02.170828"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (2.6ms) 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", "lizbeth.marvin@kutchtromp.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", "Charis Hermiston"], ["last_name", "Toi Beier"], ["email", "lizbeth.marvin@kutchtromp.ca"], ["password_digest", "$2a$04$7qfO5FXslxmbXYMgEMm51.7JYKE7ajDj1dJT6H3oGvFPy1Hppqypa"], ["created_at", "2018-09-05 05:47:02.186733"], ["updated_at", "2018-09-05 05:47:02.186733"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 Hane"], ["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", "Dale Hane"], ["name", "Diana Stehr"], ["address", "Virgil Nolan"], ["created_at", "2018-09-05 05:47:02.193488"], ["updated_at", "2018-09-05 05:47:02.193488"]]  (1.0ms) 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", "Lan Abshire"], ["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", "Lan Abshire"], ["name", "Kiara Tromp"], ["description", "Naoma Quigley"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:47:02.199294"], ["updated_at", "2018-09-05 05:47:02.199294"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 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]] Mks::Rate::ServiceBundle Load (1.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.55ms) Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 4.2ms)  (0.9ms) 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", "jimmy@mckenziejewess.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", "Billie Runolfsson"], ["last_name", "Magaly Hermiston"], ["email", "jimmy@mckenziejewess.us"], ["password_digest", "$2a$04$fi988yuCF2rM51C..mFCm.LH.i.JgUbqrwsGwqO95IT/UokxZlSzK"], ["created_at", "2018-09-05 05:47:02.223671"], ["updated_at", "2018-09-05 05:47:02.223671"]]  (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", "Un Schmitt"], ["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", "Un Schmitt"], ["name", "Sol Dickens"], ["address", "Graig Casper"], ["created_at", "2018-09-05 05:47:02.228605"], ["updated_at", "2018-09-05 05:47:02.228605"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Vernon Simonis"], ["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", "Vernon Simonis"], ["name", "Daysi Reichel"], ["description", "Wilma Dicki"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:47:02.235063"], ["updated_at", "2018-09-05 05:47:02.235063"]]  (0.8ms) 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", "Nikita Tremblay"], ["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", "Nikita Tremblay"], ["name", "Ina Little"], ["description", "Bridget Douglas"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:47:02.241518"], ["updated_at", "2018-09-05 05:47:02.241518"]]  (0.8ms) 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", "Loyce Windler"], ["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", "Loyce Windler"], ["name", "Kamala Kuhn"], ["description", "Cheyenne Hodkiewicz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:47:02.249417"], ["updated_at", "2018-09-05 05:47:02.249417"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"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", 18], ["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", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["LIMIT", 1]] [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", 12], ["LIMIT", 1]] [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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.68ms) Completed 200 OK in 11ms (Views: 5.1ms | ActiveRecord: 4.9ms)  (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", "yan.friesen@moen.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", "Ronda Lemke"], ["last_name", "Ka Aufderhar"], ["email", "yan.friesen@moen.ca"], ["password_digest", "$2a$04$UZg1c97C9/iupa/NOa6gsOkxxYEn5dug7vH8s.mD4.MV3vBhdLjhO"], ["created_at", "2018-09-05 05:47:02.272524"], ["updated_at", "2018-09-05 05:47:02.272524"]]  (0.6ms) 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", "Aletha Jerde"], ["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", "Aletha Jerde"], ["name", "Chris Lowe"], ["address", "Selina O'Keefe"], ["created_at", "2018-09-05 05:47:02.278189"], ["updated_at", "2018-09-05 05:47:02.278189"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ronald Greenfelder"], ["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", "Ronald Greenfelder"], ["name", "Nga Labadie"], ["description", "Rosemarie Sporer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:47:02.284747"], ["updated_at", "2018-09-05 05:47:02.284747"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Macy Robel"], ["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", "Macy Robel"], ["name", "Josefina Mohr"], ["description", "Audrea Botsford"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:47:02.292474"], ["updated_at", "2018-09-05 05:47:02.292474"]]  (0.8ms) 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", "Tanner Hagenes"], ["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", "Tanner Hagenes"], ["name", "Setsuko Medhurst"], ["description", "Jeanette Zulauf"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:47:02.298602"], ["updated_at", "2018-09-05 05:47:02.298602"]]  (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", "Kari Parisian"], ["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", "Kari Parisian"], ["name", "Tod Hammes"], ["address", "Christoper Nader"], ["created_at", "2018-09-05 05:47:02.305190"], ["updated_at", "2018-09-05 05:47:02.305190"]]  (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", "Sondra Schulist"], ["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", "Sondra Schulist"], ["name", "Kourtney Feeney"], ["description", "Frankie Crooks"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:47:02.311305"], ["updated_at", "2018-09-05 05:47:02.311305"]]  (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", "Juliane Stark"], ["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", "Juliane Stark"], ["name", "Gema Haley"], ["address", "Charleen Schumm"], ["created_at", "2018-09-05 05:47:02.317195"], ["updated_at", "2018-09-05 05:47:02.317195"]]  (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", "Darcy Aufderhar"], ["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", "Darcy Aufderhar"], ["name", "Isabella Cummings"], ["description", "Mira Gerhold"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:47:02.321369"], ["updated_at", "2018-09-05 05:47:02.321369"]]  (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", "Frankie Thiel"], ["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", "Frankie Thiel"], ["name", "Karry Balistreri"], ["address", "Aleta Braun"], ["created_at", "2018-09-05 05:47:02.327673"], ["updated_at", "2018-09-05 05:47:02.327673"]]  (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", "Merlene Witting"], ["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", "Merlene Witting"], ["name", "Jesica Schiller"], ["description", "Efrain Thiel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:47:02.333204"], ["updated_at", "2018-09-05 05:47:02.333204"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (6.07ms) Completed 200 OK in 13ms (Views: 5.8ms | ActiveRecord: 5.5ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "chantel@sanford.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", "Tangela Berge"], ["last_name", "Diann Leannon"], ["email", "chantel@sanford.ca"], ["password_digest", "$2a$04$QjA0V3pDkHscfB9wMEpzNu8nxXsKyaA3UzGpnuateM8PLMItCJmmy"], ["created_at", "2018-09-05 05:47:02.357995"], ["updated_at", "2018-09-05 05:47:02.357995"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Neville Crona"], ["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", "Neville Crona"], ["name", "Awilda Berge"], ["address", "Penny Ritchie"], ["created_at", "2018-09-05 05:47:02.364859"], ["updated_at", "2018-09-05 05:47:02.364859"]]  (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", "Melissa Howe"], ["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", "Melissa Howe"], ["name", "Kristina Jast"], ["description", "Marlo Lang"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:47:02.369706"], ["updated_at", "2018-09-05 05:47:02.369706"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} 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::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", 22], ["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", 20], ["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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.21ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 3.1ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "coletta.smitham@raynor.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", "Donte Huel"], ["last_name", "Titus Orn"], ["email", "coletta.smitham@raynor.us"], ["password_digest", "$2a$04$hmkox9GkPPhJweCYEZqnC.6InmDei4y6z784RPGBG54IQENTnMvoy"], ["created_at", "2018-09-05 05:47:02.388815"], ["updated_at", "2018-09-05 05:47:02.388815"]]  (0.8ms) 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", "Keva 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", "Keva Bosco"], ["name", "Pilar Keeling"], ["address", "Toccara Macejkovic"], ["created_at", "2018-09-05 05:47:02.396472"], ["updated_at", "2018-09-05 05:47:02.396472"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Karol Gleichner"], ["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", "Karol Gleichner"], ["name", "First Service Bundle"], ["description", "Loise Cremin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:47:02.401553"], ["updated_at", "2018-09-05 05:47:02.401553"]]  (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", "Catrice Ryan"], ["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", "Catrice Ryan"], ["name", "Tamara Schmidt"], ["address", "Derick Russel"], ["created_at", "2018-09-05 05:47:02.406684"], ["updated_at", "2018-09-05 05:47:02.406684"]]  (0.4ms) 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", "Rosemarie Frami"], ["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", "Rosemarie Frami"], ["name", "Second Service Bundle"], ["description", "Kevin Zboncak"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:47:02.411202"], ["updated_at", "2018-09-05 05:47:02.411202"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["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.9ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (1.87ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 3.4ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 21], ["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", 21], ["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 '%service%') [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", 18], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.75ms) Completed 200 OK in 9ms (Views: 3.8ms | ActiveRecord: 8.0ms)  (0.7ms) ROLLBACK  (0.4ms) 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", "tonya@schummschuster.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", "Maida Schamberger"], ["last_name", "Erica Grady"], ["email", "tonya@schummschuster.biz"], ["password_digest", "$2a$04$oTv1dfrn7WY8a5FV6Ny72.BvS66fPeLFPE/X0EHsWSrcMKiNViBd."], ["created_at", "2018-09-05 05:47:02.440184"], ["updated_at", "2018-09-05 05:47:02.440184"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.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", "Nohemi Luettgen"], ["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 Luettgen"], ["name", "Filiberto Schultz"], ["address", "Margarett Quitzon"], ["created_at", "2018-09-05 05:47:02.448202"], ["updated_at", "2018-09-05 05:47:02.448202"]]  (0.4ms) 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", "Hue Wehner"], ["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", "Hue Wehner"], ["name", "FIRst Service Bundle"], ["description", "Owen Spencer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:47:02.453481"], ["updated_at", "2018-09-05 05:47:02.453481"]]  (0.7ms) 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", "Hildred Rice"], ["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", "Hildred Rice"], ["name", "Yesenia Kub"], ["address", "Christoper Krajcik"], ["created_at", "2018-09-05 05:47:02.459466"], ["updated_at", "2018-09-05 05:47:02.459466"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Leota Robel"], ["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", "Leota Robel"], ["name", "Second Service Bundle for the firST time"], ["description", "Vannesa Padberg"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:47:02.465992"], ["updated_at", "2018-09-05 05:47:02.465992"]]  (0.9ms) 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", 22], ["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", 22], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.5ms) 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.7ms) 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]] [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 (4.79ms) Completed 200 OK in 12ms (Views: 4.2ms | ActiveRecord: 6.0ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "rubie.lang@koelpin.name"], ["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", "Zena Bayer"], ["last_name", "Mickey Boyer"], ["email", "rubie.lang@koelpin.name"], ["password_digest", "$2a$04$xujyh63sty1lmCwEjEcOEO7xmEJLD2OjftiaF68TP0Y/E9npL2ULe"], ["created_at", "2018-09-05 05:47:02.491607"], ["updated_at", "2018-09-05 05:47:02.491607"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Andrea Johns"], ["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", "Andrea Johns"], ["name", "Becki Wiza"], ["address", "Kimberlie Wolff"], ["created_at", "2018-09-05 05:47:02.502198"], ["updated_at", "2018-09-05 05:47:02.502198"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Emeline Bashirian", "description"=>"Christopher Mohr", "name"=>"Janetta Rowe", "service_delivery_unit_id"=>"22"}} 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]]  (1.0ms) SAVEPOINT active_record_1 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", 22], ["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", "Emeline Bashirian"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Emeline Bashirian"], ["name", "Janetta Rowe"], ["description", "Christopher Mohr"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:47:02.518014"], ["updated_at", "2018-09-05 05:47:02.518014"]]  (0.7ms) 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", 23], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.27ms) Completed 201 Created in 17ms (Views: 2.0ms | ActiveRecord: 8.4ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (1.8ms) 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", "susan@hodkiewicz.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", "Yu Windler"], ["last_name", "Gwenda Rice"], ["email", "susan@hodkiewicz.co.uk"], ["password_digest", "$2a$04$mheKrkprT6c9/5Ch1.z8muEdh6U4bnfQHMu/DW9s/PyP5tO5wehIC"], ["created_at", "2018-09-05 05:47:02.538774"], ["updated_at", "2018-09-05 05:47:02.538774"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Hermelinda Carter"], ["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", "Hermelinda Carter"], ["name", "Celestina Monahan"], ["address", "Lucile Glover"], ["created_at", "2018-09-05 05:47:02.546382"], ["updated_at", "2018-09-05 05:47:02.546382"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Shella Barton", "description"=>"Natalia Tillman", "name"=>"Lorretta Larson", "service_delivery_unit_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", 24], ["LIMIT", 1]]  (0.5ms) 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", 23], ["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", "Shella Barton"], ["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", "Shella Barton"], ["name", "Lorretta Larson"], ["description", "Natalia Tillman"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:47:02.556074"], ["updated_at", "2018-09-05 05:47:02.556074"]]  (1.1ms) 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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 13ms (Views: 2.1ms | ActiveRecord: 6.4ms) Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.7ms) 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", "sid@krajcik.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", "James Flatley"], ["last_name", "Christine Ziemann"], ["email", "sid@krajcik.name"], ["password_digest", "$2a$04$O6uKiRiPYAtCnQrvipJcAenbkoC8jvaczUL01SVJt5kYF1H9oXtDq"], ["created_at", "2018-09-05 05:47:02.577642"], ["updated_at", "2018-09-05 05:47:02.577642"]]  (0.5ms) 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", "Art Fay"], ["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", "Art Fay"], ["name", "Drema VonRueden"], ["address", "Marcelene Runolfsson"], ["created_at", "2018-09-05 05:47:02.584537"], ["updated_at", "2018-09-05 05:47:02.584537"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Coleman Heller", "name"=>"Roger Gerhold", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 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", 24], ["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", ""], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 16ms (Views: 5.7ms | ActiveRecord: 5.9ms)  (1.4ms) ROLLBACK  (1.4ms) BEGIN  (0.9ms) 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", "jenette_stehr@leffler.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", "Marcelo Leffler"], ["last_name", "Jeanine Hegmann"], ["email", "jenette_stehr@leffler.co.uk"], ["password_digest", "$2a$04$rr/U2uk1Uzp1RST0jBWRP.20yYjEr4b9mXCKG2q/mVroiBnGh3xhm"], ["created_at", "2018-09-05 05:47:02.619429"], ["updated_at", "2018-09-05 05:47:02.619429"]]  (0.9ms) 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", "Shaquita Jacobs"], ["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", "Shaquita Jacobs"], ["name", "Antonio Hirthe"], ["address", "Willia Maggio"], ["created_at", "2018-09-05 05:47:02.637133"], ["updated_at", "2018-09-05 05:47:02.637133"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sueann Jakubowski"], ["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", "Sueann Jakubowski"], ["name", "Vanesa Monahan"], ["description", "Sabra Hermiston"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:47:02.642297"], ["updated_at", "2018-09-05 05:47:02.642297"]]  (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", "Daine Hessel"], ["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", "Betsey Swaniawski"], ["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", "Daine Hessel"], ["name", "Betsey Swaniawski"], ["created_at", "2018-09-05 05:47:02.648469"], ["updated_at", "2018-09-05 05:47:02.648469"]]  (1.1ms) 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", "Aaron Stiedemann"], ["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", "Aaron Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:02.655196"], ["updated_at", "2018-09-05 05:47:02.655196"]]  (0.6ms) 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", "Eliana Heathcote"], ["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", "Eliana Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:02.662322"], ["updated_at", "2018-09-05 05:47:02.662322"]]  (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", "Demetra Morar"], ["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", "Demetra Morar"], ["name", "Vaughn Kris"], ["address", "Shakira Balistreri"], ["created_at", "2018-09-05 05:47:02.667646"], ["updated_at", "2018-09-05 05:47:02.667646"]]  (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", "Vesta Pouros"], ["service_delivery_unit_id", 26], ["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", "Vesta Pouros"], ["name", "Xzbdulia Koss"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:47:02.672265"], ["updated_at", "2018-09-05 05:47:02.672265"]] 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", 26], ["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", "Vesta Pouros"], ["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", "Vesta Pouros"], ["name", "Xzbdulia Koss"], ["description", "Default bundle for service 'Xzbdulia Koss'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:47:02.678369"], ["updated_at", "2018-09-05 05:47:02.678369"]] 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", 30], ["chargeable_service_id", 12]]  (0.7ms) RELEASE SAVEPOINT active_record_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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["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", 29], ["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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.06ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 2.7ms)  (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", "leo@stiedemann.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", "Elvin Macejkovic"], ["last_name", "Rodney Abbott"], ["email", "leo@stiedemann.com"], ["password_digest", "$2a$04$Co15mIK5ORQMK8g7rXL4KesT81NjmYnoMRVRQ09Z1BeOmHazabCNq"], ["created_at", "2018-09-05 05:47:02.707240"], ["updated_at", "2018-09-05 05:47:02.707240"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Marni Wyman"], ["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", "Marni Wyman"], ["name", "Akilah Toy"], ["address", "Yesenia Crist"], ["created_at", "2018-09-05 05:47:02.713312"], ["updated_at", "2018-09-05 05:47:02.713312"]]  (0.6ms) 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", "Dong Pouros"], ["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", "Dong Pouros"], ["name", "Jacinta Langosh"], ["description", "Henrietta Stehr"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:47:02.717919"], ["updated_at", "2018-09-05 05:47:02.717919"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Chiquita Wuckert"}, "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", 27], ["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", 31], ["LIMIT", 1]]  (0.6ms) 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", 27], ["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", "Dong Pouros"], ["id", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (0.9ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Chiquita Wuckert"], ["updated_at", "2018-09-05 05:47:02.728291"], ["id", 31]]  (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", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.31ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.5ms) 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", 31], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "ngan_marquardt@hoppejenkins.co.uk"], ["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", "Justine Connelly"], ["last_name", "Adena Langworth"], ["email", "ngan_marquardt@hoppejenkins.co.uk"], ["password_digest", "$2a$04$ZF/0/lmvXxLW4viOp6IzkeNOWAgsYgqRzQznxnMNLLS/cZghWyHeW"], ["created_at", "2018-09-05 05:47:02.743254"], ["updated_at", "2018-09-05 05:47:02.743254"]]  (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", "Bibi Raynor"], ["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", "Bibi Raynor"], ["name", "Ali Bechtelar"], ["address", "Adrianne O'Conner"], ["created_at", "2018-09-05 05:47:02.749206"], ["updated_at", "2018-09-05 05:47:02.749206"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Harriet Altenwerth"], ["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", "Harriet Altenwerth"], ["name", "Harlan Grant"], ["description", "Jeanelle Ratke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:47:02.755138"], ["updated_at", "2018-09-05 05:47:02.755138"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Dustin Kuhn"], ["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", "Dustin Kuhn"], ["name", "Janette Jast"], ["address", "Daniela Klocko"], ["created_at", "2018-09-05 05:47:02.760053"], ["updated_at", "2018-09-05 05:47:02.760053"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Sammie Gaylord", "description"=>"Emily Jaskolski", "name"=>"Rebecka Corkery", "service_delivery_unit_id"=>"29"}, "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", 28], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.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", 29], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.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", "Sammie Gaylord"], ["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.7ms) 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", "Sammie Gaylord"], ["name", "Rebecka Corkery"], ["description", "Emily Jaskolski"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:47:02.779633"], ["id", 32]]  (1.1ms) 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", 28], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.29ms) Completed 200 OK in 19ms (Views: 1.6ms | ActiveRecord: 10.4ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "tarsha_cole@effertzframi.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", "Rosemary Boyer"], ["last_name", "Janet Zemlak"], ["email", "tarsha_cole@effertzframi.biz"], ["password_digest", "$2a$04$oMUNSS/la9hQM003Fj4VbOPFGR2xrzd3T2eVtkj92IyTmnrjy6nCC"], ["created_at", "2018-09-05 05:47:02.796741"], ["updated_at", "2018-09-05 05:47:02.796741"]]  (0.5ms) 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", "Rosalina Boehm"], ["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", "Rosalina Boehm"], ["name", "Annita Lindgren"], ["address", "Bao Purdy"], ["created_at", "2018-09-05 05:47:02.803321"], ["updated_at", "2018-09-05 05:47:02.803321"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lyda Gibson"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Lyda Gibson"], ["name", "Ona Waelchi"], ["description", "Maribel Bashirian"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:47:02.809392"], ["updated_at", "2018-09-05 05:47:02.809392"]]  (0.9ms) 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", "Angeline Deckow"], ["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", "Angeline Deckow"], ["name", "Reggie Mante"], ["address", "Tracee Wiegand"], ["created_at", "2018-09-05 05:47:02.815570"], ["updated_at", "2018-09-05 05:47:02.815570"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Jonathan Kuvalis", "name"=>"Jeanene Wolff", "service_delivery_unit_id"=>"31"}, "id"=>"33"} 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::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]  (0.8ms) 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", 31], ["LIMIT", 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", ""], ["id", 33], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO 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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 13ms (Views: 1.4ms | ActiveRecord: 6.2ms)  (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", "vergie@hettinger.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", "Wilfredo Bartoletti"], ["last_name", "Loreta Fay"], ["email", "vergie@hettinger.us"], ["password_digest", "$2a$04$QmyNdTtWn.d2/GSo4U59xunZK9yFnr3SndLIddG9.aY6TtwtOVEjq"], ["created_at", "2018-09-05 05:47:02.840835"], ["updated_at", "2018-09-05 05:47:02.840835"]]  (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", "Joey Corkery"], ["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", "Joey Corkery"], ["name", "Christinia Parisian"], ["address", "Francisca Langworth"], ["created_at", "2018-09-05 05:47:02.846768"], ["updated_at", "2018-09-05 05:47:02.846768"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "Cyndy 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", "Cyndy Vandervort"], ["name", "Bryon Fadel"], ["address", "Paul Rempel"], ["created_at", "2018-09-05 05:47:02.851429"], ["updated_at", "2018-09-05 05:47:02.851429"]]  (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", "Rosalyn Durgan"], ["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", "Rosalyn Durgan"], ["name", "Florene Renner"], ["address", "Waylon Gleichner"], ["created_at", "2018-09-05 05:47:02.855882"], ["updated_at", "2018-09-05 05:47:02.855882"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#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", 30], ["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", 30], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) 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.7ms) Completed 200 OK in 19ms (Views: 14.9ms | ActiveRecord: 2.7ms)  (1.8ms) 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", "aileen@cummerata.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", "Gussie Heller"], ["last_name", "Lincoln Streich"], ["email", "aileen@cummerata.us"], ["password_digest", "$2a$04$B/L.1K14SfuwUI9oH9PQ5efL5ggSbP6UKoADSuNmVkSkbnJGECkEi"], ["created_at", "2018-09-05 05:47:02.889782"], ["updated_at", "2018-09-05 05:47:02.889782"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Rema Aufderhar", "code"=>"Maxima Leannon", "name"=>"Katelyn Hansen"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 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", "Maxima Leannon"], ["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", "Maxima Leannon"], ["name", "Katelyn Hansen"], ["address", "Rema Aufderhar"], ["created_at", "2018-09-05 05:47:02.901494"], ["updated_at", "2018-09-05 05:47:02.901494"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.15ms) Mks::Auth::User Load (1.1ms) 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 Mks::Common::MethodResponse (0.24ms) Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 5.4ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (1.7ms) 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", "mellissa@kossshields.name"], ["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", "Myong Bruen"], ["last_name", "Gaye Wiza"], ["email", "mellissa@kossshields.name"], ["password_digest", "$2a$04$obwLsJzY3SR8oDlGW6cKs.ADLciooRSPJ.ONPnCQW5uAzrscaratu"], ["created_at", "2018-09-05 05:47:02.923602"], ["updated_at", "2018-09-05 05:47:02.923602"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Sammy Lubowitz", "code"=>"Josue Smitham", "name"=>"Vicki McKenzie"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 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", "Josue Smitham"], ["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", "Josue Smitham"], ["name", "Vicki McKenzie"], ["address", "Sammy Lubowitz"], ["created_at", "2018-09-05 05:47:02.933551"], ["updated_at", "2018-09-05 05:47:02.933551"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.17ms) Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.24ms) Completed 200 OK in 12ms (Views: 1.6ms | ActiveRecord: 6.2ms)  (1.0ms) 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", "sonny@sipesschimmel.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", "Amiee Ernser"], ["last_name", "Pa Grant"], ["email", "sonny@sipesschimmel.com"], ["password_digest", "$2a$04$IsGLqL53hPVPyQmm4uUkBOAqN/FzaPpGUbYG4kI6xbMWWaQalFawS"], ["created_at", "2018-09-05 05:47:02.950209"], ["updated_at", "2018-09-05 05:47:02.950209"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Maira Jones", "code"=>"", "name"=>"Catheryn Kilback"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 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", ""], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO 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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 4.5ms)  (0.8ms) 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", "clementina@vonrueden.biz"], ["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", "Berry Bayer"], ["last_name", "Dean Weissnat"], ["email", "clementina@vonrueden.biz"], ["password_digest", "$2a$04$yG/eCuB0QMNdrDwpLOFjx.o/.wIMk6kBpo8oa98iTqHiRyJZ1xogO"], ["created_at", "2018-09-05 05:47:02.973604"], ["updated_at", "2018-09-05 05:47:02.973604"]]  (3.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Patsy Kerluke"], ["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", "Patsy Kerluke"], ["name", "Brooks Veum"], ["address", "Yahaira Beer"], ["created_at", "2018-09-05 05:47:02.985117"], ["updated_at", "2018-09-05 05:47:02.985117"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["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", 37], ["LIMIT", 1]]  (0.9ms) 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Patsy Kerluke"], ["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (1.1ms) 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 05:47:02.997923"], ["id", 37]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.11ms) Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.27ms) Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 6.7ms) 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", 37], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (2.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (4.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "justin_bosco@lowe.name"], ["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", "Jackqueline Smith"], ["last_name", "Priscilla Cremin"], ["email", "justin_bosco@lowe.name"], ["password_digest", "$2a$04$llBjvC34kt5wbzUf.LF8oOy5z99l/hHnYJ1zGvecH9MnYApruCT7G"], ["created_at", "2018-09-05 05:47:03.021204"], ["updated_at", "2018-09-05 05:47:03.021204"]]  (2.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Malorie Wehner"], ["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", "Malorie Wehner"], ["name", "Lashonda Lang"], ["address", "Julissa Jerde"], ["created_at", "2018-09-05 05:47:03.031795"], ["updated_at", "2018-09-05 05:47:03.031795"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} Mks::Auth::User Load (2.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (4.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]]  (1.2ms) 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Malorie Wehner"], ["id", 38], ["LIMIT", 1]]  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (2.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 422 Unprocessable Entity in 19ms (Views: 1.7ms | ActiveRecord: 12.7ms)  (0.8ms) 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", "josef_shanahan@wymanlubowitz.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", "Rudolph Lynch"], ["last_name", "Kristi Towne"], ["email", "josef_shanahan@wymanlubowitz.info"], ["password_digest", "$2a$04$IaD9oUrhP9Vh5p9ldwN/ZOyPj5DWidjTf8yKizCUakj7HCnLKVo3W"], ["created_at", "2018-09-05 05:47:03.063330"], ["updated_at", "2018-09-05 05:47:03.063330"]]  (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", "Brandi Cassin"], ["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", "Maris Grady"], ["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", "Brandi Cassin"], ["name", "Maris Grady"], ["description", "Cupiditate consequuntur ducimus fugit praesentium optio. Veritatis similique vel veniam delectus. Consequuntur sunt rem quo libero officiis."], ["created_at", "2018-09-05 05:47:03.157749"], ["updated_at", "2018-09-05 05:47:03.157749"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Cherie Stracke"], ["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", "Peggie Becker"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.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", "Cherie Stracke"], ["name", "Peggie Becker"], ["description", "Sed qui quasi voluptas dicta et. Et dolor impedit quos voluptatum. Et et in et esse sed qui et odio. Quaerat quis voluptatibus libero a sequi fugiat."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:47:03.165762"], ["updated_at", "2018-09-05 05:47:03.165762"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Elmo Gaylord"], ["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", "Elmo Gaylord"], ["name", "Shawanda Cartwright"], ["description", "Mechelle Zboncak"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:47:03.172671"], ["updated_at", "2018-09-05 05:47:03.172671"]]  (0.5ms) 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", "Reita Bergnaum"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Marinda Gottlieb"], ["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", "Reita Bergnaum"], ["name", "Marinda Gottlieb"], ["description", "Francisco Upton"], ["created_at", "2018-09-05 05:47:03.210506"], ["updated_at", "2018-09-05 05:47:03.210506"]]  (0.5ms) 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", "Delinda Halvorson"], ["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", "Delinda Halvorson"], ["name", "Daria McClure"], ["location_type_id", 1], ["description", "Mana Abshire"], ["address", "Jessie Schroeder"], ["created_at", "2018-09-05 05:47:03.217189"], ["updated_at", "2018-09-05 05:47:03.217189"]]  (0.6ms) 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", "Xiomara Schmitt"], ["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", "Jolyn Reinger"], ["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", "Xiomara Schmitt"], ["name", "Hannelore Batz"], ["description", "Apolonia Maggio"], ["serial_number", "Jolyn Reinger"], ["brand", "Carline Harber"], ["item_model", "Marc Stroman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:47:03.226843"], ["updated_at", "2018-09-05 05:47:03.226843"]]  (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", "Laverne Hammes"], ["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", "Mui 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", "Laverne Hammes"], ["name", "Mui Glover"], ["created_at", "2018-09-05 05:47:03.236488"], ["updated_at", "2018-09-05 05:47:03.236488"]]  (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", "Maye Ziemann"], ["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", "Maye Ziemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.241026"], ["updated_at", "2018-09-05 05:47:03.241026"]]  (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", "Raquel Volkman"], ["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", "Raquel Volkman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.245654"], ["updated_at", "2018-09-05 05:47:03.245654"]]  (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", "Kori Block"], ["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", "Kori Block"], ["name", "Tesha Ritchie"], ["address", "Bennie Ledner"], ["created_at", "2018-09-05 05:47:03.250242"], ["updated_at", "2018-09-05 05:47:03.250242"]]  (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", "Florinda Auer"], ["service_delivery_unit_id", 39], ["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", "Florinda Auer"], ["name", "Jetta Schmidt"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:47:03.254895"], ["updated_at", "2018-09-05 05:47:03.254895"]] 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 LIMIT $2 [["code", "Florinda Auer"], ["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", "Florinda Auer"], ["name", "Jetta Schmidt"], ["description", "Default bundle for service 'Jetta Schmidt'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:47:03.260084"], ["updated_at", "2018-09-05 05:47:03.260084"]] 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", 34], ["chargeable_service_id", 13]]  (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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:47:03.266805"], ["updated_at", "2018-09-05 05:47:03.266805"]]  (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", "Lavona Wuckert"], ["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", "Laurie Beatty"], ["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", "Lavona Wuckert"], ["name", "Laurie Beatty"], ["description", "Et dolorum corporis aperiam qui ad laborum et. Sed molestiae aut eum mollitia vel sapiente laboriosam vitae. Doloremque alias commodi iste deleniti. Dolores nemo nihil nesciunt corrupti. Sequi in eos id earum."], ["created_at", "2018-09-05 05:47:03.275434"], ["updated_at", "2018-09-05 05:47:03.275434"]]  (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", "Sarita Altenwerth"], ["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", "Emmanuel Altenwerth"], ["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", "Sarita Altenwerth"], ["name", "Emmanuel Altenwerth"], ["description", "Sapiente rerum necessitatibus et aut a consequatur consectetur quam. Hic est ipsa reprehenderit aut reiciendis et. Quibusdam quia eveniet eos et provident fugiat. Est aut reprehenderit repellendus officia quae sit."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:47:03.281148"], ["updated_at", "2018-09-05 05:47:03.281148"]]  (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", "Elisabeth Lehner"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.6ms) 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", "Elisabeth Lehner"], ["name", "Norman Funk"], ["description", "Leticia Raynor"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:47:03.285920"], ["updated_at", "2018-09-05 05:47:03.285920"]]  (1.3ms) 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", "Aliza Raynor"], ["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", "Russell 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", "Aliza Raynor"], ["name", "Russell Shanahan"], ["description", "Gertrudis Dare"], ["created_at", "2018-09-05 05:47:03.295935"], ["updated_at", "2018-09-05 05:47:03.295935"]]  (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", "Rudolph Haley"], ["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", "Rudolph Haley"], ["name", "Suzanne Schmidt"], ["location_type_id", 2], ["description", "Ceola Bednar"], ["address", "Evelina Terry"], ["created_at", "2018-09-05 05:47:03.300301"], ["updated_at", "2018-09-05 05:47:03.300301"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Charolette 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", "Catherine Carroll"], ["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", "Charolette Simonis"], ["name", "Larry Jakubowski"], ["description", "Donny Rohan"], ["serial_number", "Catherine Carroll"], ["brand", "Ouida Thiel"], ["item_model", "Fredia Cummerata"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:47:03.305844"], ["updated_at", "2018-09-05 05:47:03.305844"]]  (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", "Madalyn 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", "Temple Adams"], ["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", "Madalyn Graham"], ["name", "Temple Adams"], ["created_at", "2018-09-05 05:47:03.312334"], ["updated_at", "2018-09-05 05:47:03.312334"]]  (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", "Russ Ernser"], ["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", "Russ Ernser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.317366"], ["updated_at", "2018-09-05 05:47:03.317366"]]  (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", "Isaura 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", "Isaura Volkman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.321808"], ["updated_at", "2018-09-05 05:47:03.321808"]]  (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", "Becky McDermott"], ["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", "Becky McDermott"], ["name", "Marlana Hammes"], ["address", "Toney Wolff"], ["created_at", "2018-09-05 05:47:03.326645"], ["updated_at", "2018-09-05 05:47:03.326645"]]  (9.0ms) RELEASE SAVEPOINT active_record_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", "Maisie Witting"], ["service_delivery_unit_id", 40], ["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", "Maisie Witting"], ["name", "Jefferson Luettgen"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:47:03.340789"], ["updated_at", "2018-09-05 05:47:03.340789"]] 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", 40], ["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", "Maisie Witting"], ["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", "Maisie Witting"], ["name", "Jefferson Luettgen"], ["description", "Default bundle for service 'Jefferson Luettgen'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:47:03.346310"], ["updated_at", "2018-09-05 05:47:03.346310"]] 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", 35], ["chargeable_service_id", 14]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:47:03.353411"], ["updated_at", "2018-09-05 05:47:03.353411"]]  (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", "Dannette Schumm"], ["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", "Pattie Paucek"], ["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", "Dannette Schumm"], ["name", "Pattie Paucek"], ["description", "Qui tempora sit impedit suscipit dolor consequatur quas. Voluptatem et et autem aliquid temporibus. Fuga dolores molestias iusto adipisci consequuntur et. Corrupti expedita sint omnis voluptatem enim reiciendis."], ["created_at", "2018-09-05 05:47:03.361624"], ["updated_at", "2018-09-05 05:47:03.361624"]]  (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", "Brigitte Konopelski"], ["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", "Roberto D'Amore"], ["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", "Brigitte Konopelski"], ["name", "Roberto D'Amore"], ["description", "Dolorem quas harum repellat qui nobis. Quod et laborum qui velit a atque. Accusantium in nesciunt quae ab vitae reiciendis."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:47:03.367001"], ["updated_at", "2018-09-05 05:47:03.367001"]]  (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", "Maria Berge"], ["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", "Maria Berge"], ["name", "Chastity Gorczany"], ["description", "Anabel Abernathy"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:47:03.371566"], ["updated_at", "2018-09-05 05:47:03.371566"]]  (0.9ms) 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", "Kasandra Crooks"], ["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", "Melida Goldner"], ["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", "Kasandra Crooks"], ["name", "Melida Goldner"], ["description", "Wm Nikolaus"], ["created_at", "2018-09-05 05:47:03.378264"], ["updated_at", "2018-09-05 05:47:03.378264"]]  (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", "Tangela Okuneva"], ["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", "Tangela Okuneva"], ["name", "Joycelyn Abbott"], ["location_type_id", 3], ["description", "Annetta Lemke"], ["address", "Rosy Kohler"], ["created_at", "2018-09-05 05:47:03.382721"], ["updated_at", "2018-09-05 05:47:03.382721"]]  (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", "Vonda Tremblay"], ["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", "Ester Hauck"], ["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", "Vonda Tremblay"], ["name", "Tesha Lynch"], ["description", "Dylan O'Reilly"], ["serial_number", "Ester Hauck"], ["brand", "Madaline Williamson"], ["item_model", "Eric Lesch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:47:03.388163"], ["updated_at", "2018-09-05 05:47:03.388163"]]  (0.6ms) 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", "Skye Pacocha"], ["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", "Anissa Prosacco"], ["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", "Skye Pacocha"], ["name", "Anissa Prosacco"], ["created_at", "2018-09-05 05:47:03.395670"], ["updated_at", "2018-09-05 05:47:03.395670"]]  (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", "Dione Rau"], ["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", "Dione Rau"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.400523"], ["updated_at", "2018-09-05 05:47:03.400523"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kathrine Berge"], ["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", "Kathrine Berge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.405207"], ["updated_at", "2018-09-05 05:47:03.405207"]]  (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", "Jan Thompson"], ["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", "Jan Thompson"], ["name", "Bud Wisoky"], ["address", "Lisette Torp"], ["created_at", "2018-09-05 05:47:03.410361"], ["updated_at", "2018-09-05 05:47:03.410361"]]  (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", "Spring Friesen"], ["service_delivery_unit_id", 41], ["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", "Spring Friesen"], ["name", "Flora Oberbrunner"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:47:03.416104"], ["updated_at", "2018-09-05 05:47:03.416104"]] 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 LIMIT $2 [["code", "Spring Friesen"], ["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", "Spring Friesen"], ["name", "Flora Oberbrunner"], ["description", "Default bundle for service 'Flora Oberbrunner'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:47:03.421342"], ["updated_at", "2018-09-05 05:47:03.421342"]] 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", 36], ["chargeable_service_id", 15]]  (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", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:47:03.427544"], ["updated_at", "2018-09-05 05:47:03.427544"]]  (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", 36], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.0ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.4ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.4ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 15], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (16.14ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_rates" 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 24ms (Views: 1.4ms | ActiveRecord: 10.9ms)  (0.9ms) ROLLBACK  (0.6ms) 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", "bianca@grimesparker.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", "Cleotilde Grady"], ["last_name", "Kandace Cormier"], ["email", "bianca@grimesparker.us"], ["password_digest", "$2a$04$MfGv52GIhWY9akwZJ3HM2um5QBsg6p0anpwAZ0idWyea3bno5BqX."], ["created_at", "2018-09-05 05:47:03.463792"], ["updated_at", "2018-09-05 05:47:03.463792"]]  (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", "Valarie Leuschke"], ["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", "Monica Kiehn"], ["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", "Valarie Leuschke"], ["name", "Monica Kiehn"], ["description", "Quas voluptatem laudantium aliquam numquam dolorum dolores aliquid eum. Et quidem illum velit omnis deleniti. Et consequatur nostrum laborum quidem dolores distinctio."], ["created_at", "2018-09-05 05:47:03.471208"], ["updated_at", "2018-09-05 05:47:03.471208"]]  (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", "Joline Volkman"], ["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", "Tristan Heathcote"], ["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", "Joline Volkman"], ["name", "Tristan Heathcote"], ["description", "Ducimus laboriosam quam consequatur odit enim praesentium ipsum. Excepturi et voluptatem dolore quo consequatur quos quod. Aliquid sit debitis nihil in quae consequatur. Autem et rerum voluptatum eaque qui."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:47:03.476590"], ["updated_at", "2018-09-05 05:47:03.476590"]]  (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", "Cassy Corkery"], ["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", "Cassy Corkery"], ["name", "Theola Howell"], ["description", "Vi Dach"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:47:03.481134"], ["updated_at", "2018-09-05 05:47:03.481134"]]  (0.4ms) 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", "Maud Gusikowski"], ["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", "Randy Labadie"], ["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", "Maud Gusikowski"], ["name", "Randy Labadie"], ["description", "Taina Bauch"], ["created_at", "2018-09-05 05:47:03.486980"], ["updated_at", "2018-09-05 05:47:03.486980"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Bernard Watsica"], ["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", "Bernard Watsica"], ["name", "Joy Jacobs"], ["location_type_id", 4], ["description", "Meghan Mueller"], ["address", "Robt Hyatt"], ["created_at", "2018-09-05 05:47:03.491428"], ["updated_at", "2018-09-05 05:47:03.491428"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Teresia Conroy"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Dannielle Maggio"], ["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", "Teresia Conroy"], ["name", "Melvina Altenwerth"], ["description", "Earline Schiller"], ["serial_number", "Dannielle Maggio"], ["brand", "Nedra Considine"], ["item_model", "Zachariah Mills"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:47:03.502534"], ["updated_at", "2018-09-05 05:47:03.502534"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Del Satterfield"], ["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", "Alyssa Halvorson"], ["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", "Del Satterfield"], ["name", "Alyssa Halvorson"], ["created_at", "2018-09-05 05:47:03.516402"], ["updated_at", "2018-09-05 05:47:03.516402"]]  (0.6ms) 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", "Val Flatley"], ["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", "Val Flatley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.522300"], ["updated_at", "2018-09-05 05:47:03.522300"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Harold Bruen"], ["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", "Harold Bruen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.528841"], ["updated_at", "2018-09-05 05:47:03.528841"]]  (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", "Oswaldo Leannon"], ["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", "Oswaldo Leannon"], ["name", "Thao Altenwerth"], ["address", "Sheena Bins"], ["created_at", "2018-09-05 05:47:03.533981"], ["updated_at", "2018-09-05 05:47:03.533981"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Jolanda Huels"], ["service_delivery_unit_id", 42], ["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", "Jolanda Huels"], ["name", "Sherley Kiehn"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:47:03.540022"], ["updated_at", "2018-09-05 05:47:03.540022"]] 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", 42], ["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", "Jolanda Huels"], ["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", "Jolanda Huels"], ["name", "Sherley Kiehn"], ["description", "Default bundle for service 'Sherley Kiehn'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:47:03.546270"], ["updated_at", "2018-09-05 05:47:03.546270"]] 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", 37], ["chargeable_service_id", 16]]  (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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:47:03.552410"], ["updated_at", "2018-09-05 05:47:03.552410"]]  (0.9ms) 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", "Alan Boyle"], ["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", "Lavern O'Keefe"], ["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", "Alan Boyle"], ["name", "Lavern O'Keefe"], ["description", "Dolorem occaecati vitae rerum nulla. Facilis reiciendis alias dolorem saepe qui repellat. Sunt et voluptatibus ad culpa saepe consectetur inventore repellat. Quia qui sint doloribus omnis et. Nemo repellat error ipsa aliquam quidem ad et quia."], ["created_at", "2018-09-05 05:47:03.560757"], ["updated_at", "2018-09-05 05:47:03.560757"]]  (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", "Huong Abshire"], ["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", "Sheryll Friesen"], ["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", "Huong Abshire"], ["name", "Sheryll Friesen"], ["description", "Illo vel architecto laboriosam ducimus ut. Dolores vel accusantium pariatur vel cupiditate quod. Nihil at placeat et enim aspernatur culpa. Perferendis consequatur magni qui nobis."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:47:03.566433"], ["updated_at", "2018-09-05 05:47:03.566433"]]  (0.7ms) 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", "Ignacia Glover"], ["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", "Ignacia Glover"], ["name", "Celia Mayer"], ["description", "Carola Ondricka"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:47:03.571009"], ["updated_at", "2018-09-05 05:47:03.571009"]]  (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", "Genesis Kautzer"], ["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", "Matt Ziemann"], ["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", "Genesis Kautzer"], ["name", "Matt Ziemann"], ["description", "Jessie Heathcote"], ["created_at", "2018-09-05 05:47:03.577162"], ["updated_at", "2018-09-05 05:47:03.577162"]]  (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", "Miguel Wilkinson"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (2.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", "Miguel Wilkinson"], ["name", "Treena Bergnaum"], ["location_type_id", 5], ["description", "Elisha D'Amore"], ["address", "Mao Grant"], ["created_at", "2018-09-05 05:47:03.581480"], ["updated_at", "2018-09-05 05:47:03.581480"]]  (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", "Shaniqua 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", "Dorine Hickle"], ["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", "Shaniqua Kemmer"], ["name", "Patrica Johns"], ["description", "Sal Will"], ["serial_number", "Dorine Hickle"], ["brand", "Stuart Kovacek"], ["item_model", "Stepanie Kutch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:47:03.588501"], ["updated_at", "2018-09-05 05:47:03.588501"]]  (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", "Tempie Harvey"], ["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", "Valeri Berge"], ["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", "Tempie Harvey"], ["name", "Valeri Berge"], ["created_at", "2018-09-05 05:47:03.594646"], ["updated_at", "2018-09-05 05:47:03.594646"]]  (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", "Abby Marvin"], ["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", "Abby Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.599524"], ["updated_at", "2018-09-05 05:47:03.599524"]]  (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", "Harry Dibbert"], ["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", "Harry Dibbert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.605157"], ["updated_at", "2018-09-05 05:47:03.605157"]]  (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", "Tequila Schmidt"], ["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", "Tequila Schmidt"], ["name", "Susana Ryan"], ["address", "Edyth Tremblay"], ["created_at", "2018-09-05 05:47:03.612093"], ["updated_at", "2018-09-05 05:47:03.612093"]]  (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", "Darlena Witting"], ["service_delivery_unit_id", 43], ["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", "Darlena Witting"], ["name", "Roselle Nikolaus"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:47:03.617695"], ["updated_at", "2018-09-05 05:47:03.617695"]] 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", 43], ["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", "Darlena Witting"], ["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", "Darlena Witting"], ["name", "Roselle Nikolaus"], ["description", "Default bundle for service 'Roselle Nikolaus'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:47:03.622866"], ["updated_at", "2018-09-05 05:47:03.622866"]] 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", 38], ["chargeable_service_id", 17]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:47:03.629657"], ["updated_at", "2018-09-05 05:47:03.629657"]]  (0.5ms) 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", "Otto Mayer"], ["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", "Beula Johns"], ["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", "Otto Mayer"], ["name", "Beula Johns"], ["description", "Voluptatem velit nihil quidem at ut et fuga cumque. Quis et officiis voluptatum sint ullam rem sed nihil. Et sunt deserunt dolores voluptatem. Magni tenetur dolores unde soluta consequatur voluptatem iure sed. Molestias quia nulla magnam aut sunt tempora aliquam."], ["created_at", "2018-09-05 05:47:03.636916"], ["updated_at", "2018-09-05 05:47:03.636916"]]  (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", "Tillie Ziemann"], ["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", "Lakisha Casper"], ["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", "Tillie Ziemann"], ["name", "Lakisha Casper"], ["description", "Dolor placeat sunt debitis voluptas quasi sint. Voluptatem odit debitis quis numquam fugiat deserunt. Necessitatibus magni ab amet voluptatibus ullam et aut."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:47:03.642304"], ["updated_at", "2018-09-05 05:47:03.642304"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Maisie Ebert"], ["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", "Maisie Ebert"], ["name", "Ethan Gleichner"], ["description", "Tynisha Friesen"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:47:03.647582"], ["updated_at", "2018-09-05 05:47:03.647582"]]  (0.5ms) 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", "Carina Schuppe"], ["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", "Kimberly Shields"], ["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", "Carina Schuppe"], ["name", "Kimberly Shields"], ["description", "Gearldine Pouros"], ["created_at", "2018-09-05 05:47:03.653981"], ["updated_at", "2018-09-05 05:47:03.653981"]]  (0.6ms) 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", "Denver Swaniawski"], ["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", "Denver Swaniawski"], ["name", "Tameka Hilll"], ["location_type_id", 6], ["description", "Jessia McGlynn"], ["address", "Shelia Johnson"], ["created_at", "2018-09-05 05:47:03.658738"], ["updated_at", "2018-09-05 05:47:03.658738"]]  (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", "Dylan Moen"], ["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", "Johana 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", "Dylan Moen"], ["name", "Margit Hilpert"], ["description", "Son Romaguera"], ["serial_number", "Johana Heaney"], ["brand", "Elfreda Moen"], ["item_model", "Branden Harris"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:47:03.664518"], ["updated_at", "2018-09-05 05:47:03.664518"]]  (0.6ms) 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", "Lorina Reynolds"], ["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", "Marquerite Pacocha"], ["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", "Lorina Reynolds"], ["name", "Marquerite Pacocha"], ["created_at", "2018-09-05 05:47:03.671051"], ["updated_at", "2018-09-05 05:47:03.671051"]]  (0.6ms) 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", "Kathryn Gutmann"], ["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", "Kathryn Gutmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.676212"], ["updated_at", "2018-09-05 05:47:03.676212"]]  (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", "Broderick Bailey"], ["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", "Broderick Bailey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.680886"], ["updated_at", "2018-09-05 05:47:03.680886"]]  (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", "Sheldon Quitzon"], ["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", "Sheldon Quitzon"], ["name", "Norman Purdy"], ["address", "Dion Wolff"], ["created_at", "2018-09-05 05:47:03.685479"], ["updated_at", "2018-09-05 05:47:03.685479"]]  (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", "Michiko Emmerich"], ["service_delivery_unit_id", 44], ["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", "Michiko Emmerich"], ["name", "Marco Connelly"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:47:03.690449"], ["updated_at", "2018-09-05 05:47:03.690449"]] 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", 44], ["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", "Michiko Emmerich"], ["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", "Michiko Emmerich"], ["name", "Marco Connelly"], ["description", "Default bundle for service 'Marco Connelly'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:47:03.695549"], ["updated_at", "2018-09-05 05:47:03.695549"]] 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", 39], ["chargeable_service_id", 18]]  (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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:47:03.701859"], ["updated_at", "2018-09-05 05:47:03.701859"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["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", 37], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 16], ["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", 4], ["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", 42], ["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", 17], ["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", 5], ["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", 43], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.5ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (12.96ms) Completed 200 OK in 21ms (Views: 8.6ms | ActiveRecord: 9.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "bobbye@lockman.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", "Annabel Satterfield"], ["last_name", "Enedina Kuphal"], ["email", "bobbye@lockman.com"], ["password_digest", "$2a$04$uYCeXf6q2pjxOQlbPmLqHu997sJKt/m5PMiwcgHFGQFs8XcKqGfRy"], ["created_at", "2018-09-05 05:47:03.735069"], ["updated_at", "2018-09-05 05:47:03.735069"]]  (0.6ms) 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", "Daisey Nader"], ["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", "Nilda Beahan"], ["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", "Daisey Nader"], ["name", "Nilda Beahan"], ["created_at", "2018-09-05 05:47:03.747551"], ["updated_at", "2018-09-05 05:47:03.747551"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#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", 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::ServiceType Load (0.8ms) 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.39ms) Completed 200 OK in 13ms (Views: 9.2ms | ActiveRecord: 2.5ms)  (2.1ms) ROLLBACK  (1.3ms) BEGIN  (1.1ms) 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", "laquita@sporer.info"], ["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", "Jefferey Hermann"], ["last_name", "Joyce Koepp"], ["email", "laquita@sporer.info"], ["password_digest", "$2a$04$ClvxWTIVuZurXFwfjPUb/.4qQDtEuYuH.f3DbSipwCErNBWlrqq86"], ["created_at", "2018-09-05 05:47:03.779398"], ["updated_at", "2018-09-05 05:47:03.779398"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Sarita Hudson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Genie Kozey"], ["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", "Sarita Hudson"], ["name", "Genie Kozey"], ["created_at", "2018-09-05 05:47:03.790793"], ["updated_at", "2018-09-05 05:47:03.790793"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.3ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 21], ["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", 39], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.36ms) Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 3.3ms)  (1.0ms) ROLLBACK  (1.0ms) BEGIN  (1.3ms) 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", "shanna_veum@nitzschegutkowski.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", "Caitlin Willms"], ["last_name", "Vinita Mitchell"], ["email", "shanna_veum@nitzschegutkowski.name"], ["password_digest", "$2a$04$y2w16CjR9ki4hwEwKVrhk.BLk4JM.d0fwnXnilExsruoSpZ9saI92"], ["created_at", "2018-09-05 05:47:03.816012"], ["updated_at", "2018-09-05 05:47:03.816012"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Clayton Gerhold", "name"=>"Jeanna Altenwerth"}} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]]  (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", "Clayton Gerhold"], ["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", "Jeanna Altenwerth"], ["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", "Clayton Gerhold"], ["name", "Jeanna Altenwerth"], ["created_at", "2018-09-05 05:47:03.831093"], ["updated_at", "2018-09-05 05:47:03.831093"]]  (0.6ms) 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", 40], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.27ms) Completed 201 Created in 14ms (Views: 2.2ms | ActiveRecord: 7.3ms)  (1.6ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (1.0ms) 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", "celina.feest@leffler.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", "Cornelius Weber"], ["last_name", "Maggie Lind"], ["email", "celina.feest@leffler.ca"], ["password_digest", "$2a$04$ktPUQZe1Ufvzoeoh0YB2yulBsrKwDQlb/XXa9OFRkHO9pyVn8FDCm"], ["created_at", "2018-09-05 05:47:03.848414"], ["updated_at", "2018-09-05 05:47:03.848414"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Fred Deckow", "name"=>"Cammie Schaden"}} 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]]  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Fred Deckow"], ["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", "Cammie Schaden"], ["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", "Fred Deckow"], ["name", "Cammie Schaden"], ["created_at", "2018-09-05 05:47:03.860688"], ["updated_at", "2018-09-05 05:47:03.860688"]]  (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", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.28ms) Completed 201 Created in 14ms (Views: 2.6ms | ActiveRecord: 6.6ms) 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]]  (1.2ms) ROLLBACK  (0.6ms) 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", "keely@gloverlittel.ca"], ["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", "Danyelle Hoeger"], ["last_name", "Daniele Grimes"], ["email", "keely@gloverlittel.ca"], ["password_digest", "$2a$04$uWt7o8yWWBGsNrdciyG6vue9sCoOKPIDQ0Yi7WFx295KxYRxEoWp2"], ["created_at", "2018-09-05 05:47:03.879800"], ["updated_at", "2018-09-05 05:47:03.879800"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Rosanne Lockman"}} 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]]  (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", ""], ["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", "Rosanne Lockman"], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.1ms | ActiveRecord: 4.3ms)  (0.6ms) 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", "morgan@prosaccojacobson.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", "Shawna Beatty"], ["last_name", "Adrianna Mante"], ["email", "morgan@prosaccojacobson.co.uk"], ["password_digest", "$2a$04$f.0NS/rxHseZ2s86HUgTzu7oCcsYZSssfpvom.t6/v/OJs5Tyvyay"], ["created_at", "2018-09-05 05:47:03.901673"], ["updated_at", "2018-09-05 05:47:03.901673"]]  (0.6ms) 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", "Roseanna Oga"], ["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", "Morris Walter"], ["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", "Roseanna Oga"], ["name", "Morris Walter"], ["created_at", "2018-09-05 05:47:03.907773"], ["updated_at", "2018-09-05 05:47:03.907773"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Catheryn Mertz"}, "id"=>"24"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["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", 24], ["LIMIT", 1]]  (1.0ms) 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", "Roseanna Oga"], ["id", 24], ["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", "Catheryn Mertz"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.8ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Catheryn Mertz"], ["updated_at", "2018-09-05 05:47:03.918905"], ["id", 24]]  (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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.34ms) Completed 200 OK in 12ms (Views: 1.6ms | ActiveRecord: 6.2ms) 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", 24], ["LIMIT", 1]]  (0.9ms) 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", "walton_lubowitz@wizawuckert.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", "Nila Rodriguez"], ["last_name", "Adelina Schoen"], ["email", "walton_lubowitz@wizawuckert.biz"], ["password_digest", "$2a$04$pubsO9GviHljCtdOrpx/net0NDIsTCetM2fVZ3trRdqC5r19wBkZu"], ["created_at", "2018-09-05 05:47:03.934714"], ["updated_at", "2018-09-05 05:47:03.934714"]]  (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", "Tilda Brakus"], ["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", "Bertha Welch"], ["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", "Tilda Brakus"], ["name", "Bertha Welch"], ["created_at", "2018-09-05 05:47:03.942053"], ["updated_at", "2018-09-05 05:47:03.942053"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Penelope Miller", "name"=>"Larisa Kuphal"}, "id"=>"25"} 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]] 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", 25], ["LIMIT", 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Penelope Miller"], ["id", 25], ["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", "Larisa Kuphal"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.8ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Penelope Miller"], ["name", "Larisa Kuphal"], ["updated_at", "2018-09-05 05:47:03.951460"], ["id", 25]]  (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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.24ms) Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 5.3ms)  (1.0ms) 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", "dean_kerluke@feeneyheidenreich.info"], ["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", "Isa Steuber"], ["last_name", "Fanny Waelchi"], ["email", "dean_kerluke@feeneyheidenreich.info"], ["password_digest", "$2a$04$kw1BeGwEiQaFUXiadBw0M.oYacU8LoAjA0by6QjZufkMYz6sdjrrS"], ["created_at", "2018-09-05 05:47:03.963837"], ["updated_at", "2018-09-05 05:47:03.963837"]]  (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", "Shera Stehr"], ["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", "Teddy Kunze"], ["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", "Shera Stehr"], ["name", "Teddy Kunze"], ["created_at", "2018-09-05 05:47:03.969372"], ["updated_at", "2018-09-05 05:47:03.969372"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Roseanna Bogisich"}, "id"=>"26"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["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", 26], ["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", 26], ["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", "Roseanna Bogisich"], ["id", 26], ["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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.0ms | ActiveRecord: 5.1ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "carmen@romagueraschinner.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", "Jesusita Nitzsche"], ["last_name", "Becky Wilkinson"], ["email", "carmen@romagueraschinner.biz"], ["password_digest", "$2a$04$WscbfiGLJFxHXB9ZIN4JTuUVOJ9wUIG.b3OlpXVkPNY7q6vWOtepC"], ["created_at", "2018-09-05 05:47:03.990924"], ["updated_at", "2018-09-05 05:47:03.990924"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Leighann Erdman"], ["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", "Leighann Erdman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:03.997334"], ["updated_at", "2018-09-05 05:47:03.997334"]]  (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", "Adella Keeling"], ["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", "Adella Keeling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.003552"], ["updated_at", "2018-09-05 05:47:04.003552"]]  (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", "Carlena Bauch"], ["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", "Carlena Bauch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.008015"], ["updated_at", "2018-09-05 05:47:04.008015"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#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", 46], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.7ms) 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 05:47:03", updated_at: "2018-09-05 05:47:03"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.33ms)  (1.0ms) 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", 46], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.43ms) Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 3.5ms)  (0.8ms) 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", "Barabara Kertzmann"], ["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", "Magdalen Kohler"], ["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", "Barabara Kertzmann"], ["name", "Magdalen Kohler"], ["created_at", "2018-09-05 05:47:04.029306"], ["updated_at", "2018-09-05 05:47:04.029306"]]  (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", "France Ullrich"], ["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", "France Ullrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.034155"], ["updated_at", "2018-09-05 05:47:04.034155"]]  (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", "Dia Stehr"], ["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", "Dia Stehr"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.039544"], ["updated_at", "2018-09-05 05:47:04.039544"]]  (0.6ms) 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", "Gerald Barrows"], ["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", "Gerald Barrows"], ["name", "Vanita Boyle"], ["address", "Carmen Brekke"], ["created_at", "2018-09-05 05:47:04.045583"], ["updated_at", "2018-09-05 05:47:04.045583"]]  (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", "Chantel Rodriguez"], ["service_delivery_unit_id", 45], ["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", "Chantel Rodriguez"], ["name", "Kandace Collier"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:47:04.050264"], ["updated_at", "2018-09-05 05:47:04.050264"]] 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", 45], ["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", "Chantel Rodriguez"], ["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", "Chantel Rodriguez"], ["name", "Kandace Collier"], ["description", "Default bundle for service 'Kandace Collier'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:47:04.055451"], ["updated_at", "2018-09-05 05:47:04.055451"]] 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", 40], ["chargeable_service_id", 19]]  (0.6ms) RELEASE 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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Chantel Rodriguez"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.7ms) 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", "Georgetta Denesik"], ["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", "Lavonia Block"], ["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", "Georgetta Denesik"], ["name", "Lavonia Block"], ["created_at", "2018-09-05 05:47:04.070302"], ["updated_at", "2018-09-05 05:47:04.070302"]]  (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", "Elizabeth Nienow"], ["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", "Elizabeth Nienow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.075177"], ["updated_at", "2018-09-05 05:47:04.075177"]]  (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", "Parthenia Hayes"], ["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", "Parthenia Hayes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.079729"], ["updated_at", "2018-09-05 05:47:04.079729"]]  (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", "Juliana Reinger"], ["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", "Juliana Reinger"], ["name", "Amanda Kutch"], ["address", "Alex Reynolds"], ["created_at", "2018-09-05 05:47:04.084615"], ["updated_at", "2018-09-05 05:47:04.084615"]]  (0.4ms) RELEASE 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Danille Parker"], ["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", "Billy Kreiger"], ["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", "Danille Parker"], ["name", "Billy Kreiger"], ["created_at", "2018-09-05 05:47:04.095171"], ["updated_at", "2018-09-05 05:47:04.095171"]]  (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", "Lekisha Macejkovic"], ["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", "Lekisha Macejkovic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.100191"], ["updated_at", "2018-09-05 05:47:04.100191"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Edward Farrell"], ["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", "Edward Farrell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.106570"], ["updated_at", "2018-09-05 05:47:04.106570"]]  (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", "Sheilah Ledner"], ["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", "Sheilah Ledner"], ["name", "Kai Robel"], ["address", "Evan Price"], ["created_at", "2018-09-05 05:47:04.111978"], ["updated_at", "2018-09-05 05:47:04.111978"]]  (0.4ms) 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", "Sook Jaskolski"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.7ms) 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", "Joanne Jast"], ["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", "Talitha Altenwerth"], ["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", "Joanne Jast"], ["name", "Talitha Altenwerth"], ["created_at", "2018-09-05 05:47:04.122546"], ["updated_at", "2018-09-05 05:47:04.122546"]]  (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", "Krystin Parker"], ["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", "Krystin Parker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.128048"], ["updated_at", "2018-09-05 05:47:04.128048"]]  (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", "Jana Lowe"], ["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", "Jana Lowe"], ["name", "Jene McGlynn"], ["address", "Lottie Ruecker"], ["created_at", "2018-09-05 05:47:04.132709"], ["updated_at", "2018-09-05 05:47:04.132709"]]  (0.5ms) RELEASE 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", "Marine Walker"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Caryl Miller"], ["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", "Thomas Doyle"], ["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", "Caryl Miller"], ["name", "Thomas Doyle"], ["created_at", "2018-09-05 05:47:04.147463"], ["updated_at", "2018-09-05 05:47:04.147463"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Twanna Bergnaum"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Twanna Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.154979"], ["updated_at", "2018-09-05 05:47:04.154979"]]  (1.1ms) 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", "Zana Gulgowski"], ["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", "Zana Gulgowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.163656"], ["updated_at", "2018-09-05 05:47:04.163656"]]  (0.6ms) 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"."service_delivery_unit_id" IS NULL LIMIT $2 [["code", "Rasheeda Nikolaus"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kia Welch"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (3.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rosalyn Thiel"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kia Welch"], ["name", "Rosalyn Thiel"], ["created_at", "2018-09-05 05:47:04.182610"], ["updated_at", "2018-09-05 05:47:04.182610"]]  (3.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Annika Gibson"], ["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", "Annika Gibson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.195529"], ["updated_at", "2018-09-05 05:47:04.195529"]]  (0.6ms) 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", "Ashly 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", "Ashly Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.201367"], ["updated_at", "2018-09-05 05:47:04.201367"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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 LIMIT $2 [["code", "Antonetta Rice"], ["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", "Antonetta Rice"], ["name", "Jacquline Schoen"], ["address", "Noelia Schumm"], ["created_at", "2018-09-05 05:47:04.210585"], ["updated_at", "2018-09-05 05:47:04.210585"]]  (1.1ms) 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", "Tory Dibbert"], ["service_delivery_unit_id", 49], ["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", "Tory Dibbert"], ["name", "Jessi Fadel"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:47:04.217445"], ["updated_at", "2018-09-05 05:47:04.217445"]] 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", 49], ["LIMIT", 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", "Tory Dibbert"], ["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", "Tory Dibbert"], ["name", "Jessi Fadel"], ["description", "Default bundle for service 'Jessi Fadel'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:47:04.224928"], ["updated_at", "2018-09-05 05:47:04.224928"]] 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", 41], ["chargeable_service_id", 20]]  (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", "Dong Bogan"], ["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", "Vannesa Murazik"], ["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", "Dong Bogan"], ["name", "Vannesa Murazik"], ["created_at", "2018-09-05 05:47:04.235359"], ["updated_at", "2018-09-05 05:47:04.235359"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Chrystal Bernier"], ["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", "Chrystal Bernier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.242216"], ["updated_at", "2018-09-05 05:47:04.242216"]]  (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", "Christeen Hudson"], ["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", "Christeen Hudson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.247787"], ["updated_at", "2018-09-05 05:47:04.247787"]]  (0.7ms) 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", "Tory Dibbert"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (2.1ms) 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", "Kristel Marks"], ["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", "Verlie Wilkinson"], ["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", "Kristel Marks"], ["name", "Verlie Wilkinson"], ["created_at", "2018-09-05 05:47:04.264007"], ["updated_at", "2018-09-05 05:47:04.264007"]]  (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", "Josiah 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", "Josiah Nolan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.268438"], ["updated_at", "2018-09-05 05:47:04.268438"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Stevie Thiel"], ["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", "Stevie Thiel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.275961"], ["updated_at", "2018-09-05 05:47:04.275961"]]  (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", "Harriet Runolfsdottir"], ["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", "Harriet Runolfsdottir"], ["name", "Soo Gislason"], ["address", "Laurine Jast"], ["created_at", "2018-09-05 05:47:04.281074"], ["updated_at", "2018-09-05 05:47:04.281074"]]  (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", "Ginette Gerlach"], ["service_delivery_unit_id", 50], ["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", "Ginette Gerlach"], ["name", "Cathern Rolfson"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:47:04.285346"], ["updated_at", "2018-09-05 05:47:04.285346"]] Mks::Rate::ServiceDeliveryUnit Load (2.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 (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ginette Gerlach"], ["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", "Ginette Gerlach"], ["name", "Cathern Rolfson"], ["description", "Default bundle for service 'Cathern Rolfson'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:47:04.294484"], ["updated_at", "2018-09-05 05:47:04.294484"]] 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", 42], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 1]]  (1.7ms) 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", 42]]  (0.7ms) 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", "tashia@lind.info"], ["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", "Lana Fisher"], ["last_name", "Maris Parker"], ["email", "tashia@lind.info"], ["password_digest", "$2a$04$tSgq0Prxx5ExE3ntYZeYFekD/mirJPXAZiIF/pYUaz6WN3x87LNYC"], ["created_at", "2018-09-05 05:47:04.331931"], ["updated_at", "2018-09-05 05:47:04.331931"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "sacha@kiehn.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", "Meaghan Oga"], ["last_name", "Erwin Mann"], ["email", "sacha@kiehn.biz"], ["password_digest", "$2a$04$5ToLkaIx.Sru6twADu0IqeuydywcnN23RcVadqSQmNRLeiFLnneMG"], ["created_at", "2018-09-05 05:47:04.345610"], ["updated_at", "2018-09-05 05:47:04.345610"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Conchita Marks"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.6ms) 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", "Conchita Marks"], ["authorized_by", "Granville Durgan"], ["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", 47], ["approved_by_id", 48], ["created_at", "2018-09-05 05:47:04.352901"], ["updated_at", "2018-09-05 05:47:04.352901"]]  (1.2ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Conchita Marks"], ["id", 1], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.4ms) BEGIN  (1.4ms) 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", "shalanda@okon.name"], ["LIMIT", 1]] Mks::Auth::User Create (3.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", "Shaquita Conroy"], ["last_name", "Yu Kshlerin"], ["email", "shalanda@okon.name"], ["password_digest", "$2a$04$/VsZIYQJ/mbKjQ3jQEgaJ.RYhnm5NjUHk5DZYeZ8aVR3n09RyPIaS"], ["created_at", "2018-09-05 05:47:04.379182"], ["updated_at", "2018-09-05 05:47:04.379182"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (2.1ms) 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", "roberto_pollich@lowe.com"], ["LIMIT", 1]] Mks::Auth::User Create (3.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", "Tabitha Grady"], ["last_name", "Evelin Larkin"], ["email", "roberto_pollich@lowe.com"], ["password_digest", "$2a$04$lQJMMc5srunHrcgse7lvWuq1QNWrHCHy6b94rI1KgCspdHUHB4hWa"], ["created_at", "2018-09-05 05:47:04.402208"], ["updated_at", "2018-09-05 05:47:04.402208"]]  (1.8ms) 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 LIMIT $2 [["reference_number", "Diana O'Kon"], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.6ms) 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", "elba@waterswilliamson.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", "Angla Hand"], ["last_name", "Carline Goyette"], ["email", "elba@waterswilliamson.name"], ["password_digest", "$2a$04$rsUccvyNMfSDcFo.M5BuMeDIvflsN/S2lz03xRwyv.Pk51lvN4Ek2"], ["created_at", "2018-09-05 05:47:04.430034"], ["updated_at", "2018-09-05 05:47:04.430034"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (6.2ms) 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", "chaya.armstrong@pfannerstillflatley.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", "Amada Volkman"], ["last_name", "Destiny Goodwin"], ["email", "chaya.armstrong@pfannerstillflatley.co.uk"], ["password_digest", "$2a$04$EuJZMrH6b1krbiNn.iFMV.P0K6QTXNVmVrRo3CD2TCbYZ34RlIlo6"], ["created_at", "2018-09-05 05:47:04.444536"], ["updated_at", "2018-09-05 05:47:04.444536"]]  (0.6ms) 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.9ms) ROLLBACK  (8.3ms) 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", "gwyneth_kub@turnermayert.ca"], ["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", "Joye Weber"], ["last_name", "Luann Schimmel"], ["email", "gwyneth_kub@turnermayert.ca"], ["password_digest", "$2a$04$zQaDPZuLI25HlUnBOnsVnudyudMmJQCa.7y830.ha5ZForWKG20OO"], ["created_at", "2018-09-05 05:47:04.468679"], ["updated_at", "2018-09-05 05:47:04.468679"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (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", "jordan.leffler@morarvandervort.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", "Londa Toy"], ["last_name", "Kirstie Harvey"], ["email", "jordan.leffler@morarvandervort.biz"], ["password_digest", "$2a$04$r/7fKoD0u4ba6DArrduxg.yxsRsRPJ4AhwtK1C2Zh7jd4aUwJXLo6"], ["created_at", "2018-09-05 05:47:04.478621"], ["updated_at", "2018-09-05 05:47:04.478621"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.5ms) 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", "Gaynell Batz"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.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", "Gaynell Batz"], ["authorized_by", "Brande Mohr"], ["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", 53], ["approved_by_id", 54], ["created_at", "2018-09-05 05:47:04.491763"], ["updated_at", "2018-09-05 05:47:04.491763"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (25.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "mavis@swaniawskischaden.ca"], ["LIMIT", 1]] Mks::Auth::User Create (4.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", "Cathleen Cremin"], ["last_name", "Sharee Kutch"], ["email", "mavis@swaniawskischaden.ca"], ["password_digest", "$2a$04$sljvE/fjxuOgVjqXge2CKuHNaQP1DhFegY60BnsA9TwdWTDE/8f0y"], ["created_at", "2018-09-05 05:47:04.528097"], ["updated_at", "2018-09-05 05:47:04.528097"]]  (2.6ms) RELEASE SAVEPOINT active_record_1  (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", "tommye@gislasonhoeger.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", "Deeanna Torp"], ["last_name", "Rutha Schimmel"], ["email", "tommye@gislasonhoeger.biz"], ["password_digest", "$2a$04$1ObabrfJDiOxMfUZDYm1w.1A/XWt2RCB2cVGjoNXAAio74EmDM7GW"], ["created_at", "2018-09-05 05:47:04.550545"], ["updated_at", "2018-09-05 05:47:04.550545"]]  (0.5ms) 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", "Gaynell Batz"], ["LIMIT", 1]]  (1.3ms) ROLLBACK  (0.4ms) 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", "kittie@swiftthiel.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", "Tod Runte"], ["last_name", "Tamekia Walker"], ["email", "kittie@swiftthiel.ca"], ["password_digest", "$2a$04$GfjDphxgssyZrqInsUjSfu2wxc/xNiEoklap0H26IcXFp5bAZ23Lq"], ["created_at", "2018-09-05 05:47:04.565250"], ["updated_at", "2018-09-05 05:47:04.565250"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (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", "clarita@hirthefadel.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", "Ruby Veum"], ["last_name", "Joshua Sporer"], ["email", "clarita@hirthefadel.ca"], ["password_digest", "$2a$04$jPSLR5.74li11EQsg.dWB.U3ts7fPn2Yp/I26qJeexcZibMQdz3a."], ["created_at", "2018-09-05 05:47:04.571533"], ["updated_at", "2018-09-05 05:47:04.571533"]]  (0.5ms) 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", "Martha Abernathy"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "earnestine@beergleichner.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", "Morgan Nader"], ["last_name", "Pauletta Herman"], ["email", "earnestine@beergleichner.ca"], ["password_digest", "$2a$04$AS628c3wL./b26MpstQagerWSBnXy3pVkC.GED9cb7mLctj.KcBV6"], ["created_at", "2018-09-05 05:47:04.584007"], ["updated_at", "2018-09-05 05:47:04.584007"]]  (0.5ms) 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", "renato.wisoky@muellermurray.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", "Denese Zieme"], ["last_name", "Joanne Yundt"], ["email", "renato.wisoky@muellermurray.info"], ["password_digest", "$2a$04$SihiYpZCSbQL3XWUTpR.XuBBreKZI3vOCLxghmeHCnhprmV4ML53G"], ["created_at", "2018-09-05 05:47:04.591877"], ["updated_at", "2018-09-05 05:47:04.591877"]]  (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" = $1 LIMIT $2 [["reference_number", "Mendy Wolf"], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.4ms) 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", "sonya@gusikowski.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", "Melody Homenick"], ["last_name", "Donette Marvin"], ["email", "sonya@gusikowski.name"], ["password_digest", "$2a$04$enMhsGwxPwQOlPsVsqQbVODasn16UCjEFj/.M6yHmZr0fkvhBeGrG"], ["created_at", "2018-09-05 05:47:04.606573"], ["updated_at", "2018-09-05 05:47:04.606573"]]  (0.4ms) 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", "alene_kub@hagenes.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", "Kalyn Kulas"], ["last_name", "Chasidy Ledner"], ["email", "alene_kub@hagenes.biz"], ["password_digest", "$2a$04$a9wDFAMmTQ7UB0Ck0zzs4eMPpoRXNg2i0qv7240YkB5wVGwW.f7Vu"], ["created_at", "2018-09-05 05:47:04.613640"], ["updated_at", "2018-09-05 05:47:04.613640"]]  (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" = $1 LIMIT $2 [["reference_number", "Nanette Kilback"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) 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", "milagros@smitham.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", "Cordell Roberts"], ["last_name", "Isa Mraz"], ["email", "milagros@smitham.us"], ["password_digest", "$2a$04$xU969aGHK07X/tq2y1TpC.D.irmgChO8H5UqjcunxQs8AFB7KCXmm"], ["created_at", "2018-09-05 05:47:04.627084"], ["updated_at", "2018-09-05 05:47:04.627084"]]  (0.6ms) 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", "tiffani@abernathyklein.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", "Charline Frami"], ["last_name", "Milda McLaughlin"], ["email", "tiffani@abernathyklein.ca"], ["password_digest", "$2a$04$IS8F9YtE683gQtFniW.fBu5MnHUsJcC5Lja4dbmC.XGc.d0xJ90.S"], ["created_at", "2018-09-05 05:47:04.634378"], ["updated_at", "2018-09-05 05:47:04.634378"]]  (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", "Rosaura Ritchie"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) 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", "muriel@hoeger.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", "Tyisha Tromp"], ["last_name", "Yoko Daniel"], ["email", "muriel@hoeger.biz"], ["password_digest", "$2a$04$Qqb3ex2pGX66V4L5flWTnuxUsXyQgvaMX1vdYv3NTdBGXkOhjVIRW"], ["created_at", "2018-09-05 05:47:04.649409"], ["updated_at", "2018-09-05 05:47:04.649409"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Fabiola McDermott"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.7ms) 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", "Fabiola McDermott"], ["authorized_by", "Jordan West"], ["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", 65], ["created_at", "2018-09-05 05:47:04.655187"], ["updated_at", "2018-09-05 05:47:04.655187"]]  (0.8ms) 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", "Fabiola McDermott"], ["id", 3], ["LIMIT", 1]]  (0.5ms) 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", "Haydee Pacocha"], ["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", "Haydee Pacocha"], ["name", "Allena Feil"], ["address", "Stacy Kling"], ["created_at", "2018-09-05 05:47:04.667100"], ["updated_at", "2018-09-05 05:47:04.667100"]]  (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", "Salome Willms"], ["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", "Salome Willms"], ["name", "Isreal Walter"], ["description", "Sam Ryan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:47:04.671317"], ["updated_at", "2018-09-05 05:47:04.671317"]]  (0.9ms) RELEASE 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 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Salome Willms"], ["id", 43], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (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", "Lavenia Carter"], ["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", "Lavenia Carter"], ["name", "Towanda Steuber"], ["address", "Lakia Connelly"], ["created_at", "2018-09-05 05:47:04.683998"], ["updated_at", "2018-09-05 05:47:04.683998"]]  (0.4ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) 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", "Monty Balistreri"], ["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", "Monty Balistreri"], ["name", "Elly Bruen"], ["address", "Altha Effertz"], ["created_at", "2018-09-05 05:47:04.693669"], ["updated_at", "2018-09-05 05:47:04.693669"]]  (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", "Temika Kerluke"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Shirely Stanton"], ["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", "Shirely Stanton"], ["name", "Xenia Reynolds"], ["address", "Earl Skiles"], ["created_at", "2018-09-05 05:47:04.703430"], ["updated_at", "2018-09-05 05:47:04.703430"]]  (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", "Bonita Macejkovic"], ["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", "Idell Baumbach"], ["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", "Idell Baumbach"], ["name", "Janean Jewess"], ["address", "Crystal Purdy"], ["created_at", "2018-09-05 05:47:04.713379"], ["updated_at", "2018-09-05 05:47:04.713379"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Janey Bernhard"], ["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", "Janey Bernhard"], ["name", "Carter Schimmel"], ["description", "Elisabeth Baumbach"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:47:04.717898"], ["updated_at", "2018-09-05 05:47:04.717898"]]  (0.9ms) 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", "Ciera Torphy"], ["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", "Ciera Torphy"], ["name", "Rachael Johnson"], ["address", "Ronny Douglas"], ["created_at", "2018-09-05 05:47:04.725097"], ["updated_at", "2018-09-05 05:47:04.725097"]]  (0.5ms) 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", "Janey Bernhard"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Meghann Ratke"], ["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", "Meghann Ratke"], ["name", "Son Graham"], ["address", "Li Russel"], ["created_at", "2018-09-05 05:47:04.734791"], ["updated_at", "2018-09-05 05:47:04.734791"]]  (0.5ms) 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Meghann Ratke"], ["id", 57], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) 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", "Michiko Steuber"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Arletta D'Amore"], ["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", "Arletta D'Amore"], ["name", "Bok Paucek"], ["address", "Azzie Rutherford"], ["created_at", "2018-09-05 05:47:04.752472"], ["updated_at", "2018-09-05 05:47:04.752472"]]  (0.7ms) RELEASE 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", "Arletta D'Amore"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Isabella Bins"], ["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", "Adan Douglas"], ["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", "Isabella Bins"], ["name", "Adan Douglas"], ["description", "Nam est temporibus qui et est nihil. Doloribus est sed ut quia. Tempore ipsam quia ipsa vero natus animi. Omnis aut et atque nihil quis. Sunt quis quaerat temporibus saepe."], ["created_at", "2018-09-05 05:47:04.765300"], ["updated_at", "2018-09-05 05:47:04.765300"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Wiley Feest"], ["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", "Nicolas Lebsack"], ["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", "Wiley Feest"], ["name", "Nicolas Lebsack"], ["description", "Recusandae esse iste aliquid omnis. Quam unde vitae velit et adipisci. Iusto dolor quod id tenetur. Maxime voluptatum non facere temporibus."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:47:04.773936"], ["updated_at", "2018-09-05 05:47:04.773936"]]  (0.6ms) 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", "Xiao Mayert"], ["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", "Xiao Mayert"], ["name", "Renee Boyer"], ["description", "Susannah Morissette"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:47:04.778560"], ["updated_at", "2018-09-05 05:47:04.778560"]]  (0.6ms) 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", "Landon McCullough"], ["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", "Cecille Abernathy"], ["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", "Landon McCullough"], ["name", "Cecille Abernathy"], ["description", "Susie Quigley"], ["created_at", "2018-09-05 05:47:04.784899"], ["updated_at", "2018-09-05 05:47:04.784899"]]  (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", "Lissa Block"], ["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", "Lissa Block"], ["name", "Eileen Homenick"], ["location_type_id", 7], ["description", "India Thompson"], ["address", "Tracy Cartwright"], ["created_at", "2018-09-05 05:47:04.789596"], ["updated_at", "2018-09-05 05:47:04.789596"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Deane Pouros"], ["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", "Joette Bartoletti"], ["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", "Deane Pouros"], ["name", "Creola Beatty"], ["description", "Ima Funk"], ["serial_number", "Joette Bartoletti"], ["brand", "Belkis Schumm"], ["item_model", "Wilber Borer"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:47:04.797070"], ["updated_at", "2018-09-05 05:47:04.797070"]]  (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", "Bruce 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", "Santana Gerhold"], ["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", "Bruce Graham"], ["name", "Santana Gerhold"], ["created_at", "2018-09-05 05:47:04.803136"], ["updated_at", "2018-09-05 05:47:04.803136"]]  (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", "Lynette Okuneva"], ["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", "Lynette Okuneva"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.807808"], ["updated_at", "2018-09-05 05:47:04.807808"]]  (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", "Ling Shanahan"], ["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", "Ling Shanahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.812365"], ["updated_at", "2018-09-05 05:47:04.812365"]]  (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", "Eugene Reynolds"], ["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", "Eugene Reynolds"], ["name", "Jennefer Runte"], ["address", "Christen Marvin"], ["created_at", "2018-09-05 05:47:04.817378"], ["updated_at", "2018-09-05 05:47:04.817378"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Marquita Shanahan"], ["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", "Marquita Shanahan"], ["name", "Trey Hirthe"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:47:04.822318"], ["updated_at", "2018-09-05 05:47:04.822318"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marquita Shanahan"], ["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", "Marquita Shanahan"], ["name", "Trey Hirthe"], ["description", "Default bundle for service 'Trey Hirthe'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:47:04.827196"], ["updated_at", "2018-09-05 05:47:04.827196"]] 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", 22]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (0.8ms) 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", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:47:04.833166"], ["updated_at", "2018-09-05 05:47:04.833166"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Demetria Wisozk"], ["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", "Maud Thiel"], ["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", "Demetria Wisozk"], ["name", "Maud Thiel"], ["description", "Modi qui quo architecto beatae atque perferendis et. Inventore illum non quia maiores ut possimus nemo repellat. Nulla molestiae dolorum et saepe dolor dolores. Aut pariatur sit sunt veniam."], ["created_at", "2018-09-05 05:47:04.842648"], ["updated_at", "2018-09-05 05:47:04.842648"]]  (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", "Chan 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", "Sadye Skiles"], ["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", "Chan Abernathy"], ["name", "Sadye Skiles"], ["description", "In quod et explicabo vero rerum incidunt. Officia et quia ut earum alias recusandae et qui. Placeat quidem dolores dolorem rerum cum blanditiis. Accusamus fuga velit illum quae nihil deleniti quis culpa. Sed molestias est iure autem reiciendis et ut vel."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:47:04.848976"], ["updated_at", "2018-09-05 05:47:04.848976"]]  (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", "Hung Towne"], ["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", "Hung Towne"], ["name", "Princess Stark"], ["description", "Cris Purdy"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:47:04.853380"], ["updated_at", "2018-09-05 05:47:04.853380"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kira Block"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Shawanna Zemlak"], ["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", "Kira Block"], ["name", "Shawanna Zemlak"], ["description", "Elia McClure"], ["created_at", "2018-09-05 05:47:04.861102"], ["updated_at", "2018-09-05 05:47:04.861102"]]  (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", "Valentin Kulas"], ["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", "Valentin Kulas"], ["name", "Lorrine Hand"], ["location_type_id", 8], ["description", "Maryellen Toy"], ["address", "Mazie Goodwin"], ["created_at", "2018-09-05 05:47:04.866043"], ["updated_at", "2018-09-05 05:47:04.866043"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lucy McClure"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (4.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Adolph Krajcik"], ["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", "Lucy McClure"], ["name", "Clelia Beahan"], ["description", "Ernesto Sporer"], ["serial_number", "Adolph Krajcik"], ["brand", "Sam Veum"], ["item_model", "Alvera Miller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:47:04.876694"], ["updated_at", "2018-09-05 05:47:04.876694"]]  (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", "Arlean Rath"], ["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", "Winnifred Bosco"], ["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", "Arlean Rath"], ["name", "Winnifred Bosco"], ["created_at", "2018-09-05 05:47:04.884224"], ["updated_at", "2018-09-05 05:47:04.884224"]]  (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", "Karl Vandervort"], ["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", "Karl Vandervort"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.889641"], ["updated_at", "2018-09-05 05:47:04.889641"]]  (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", "Bunny 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", "Bunny Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.894301"], ["updated_at", "2018-09-05 05:47:04.894301"]]  (1.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", "Jame Bernhard"], ["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", "Jame Bernhard"], ["name", "Jared Abbott"], ["address", "Lissa Oga"], ["created_at", "2018-09-05 05:47:04.900392"], ["updated_at", "2018-09-05 05:47:04.900392"]]  (0.4ms) 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", "Marissa Rowe"], ["service_delivery_unit_id", 60], ["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", "Marissa Rowe"], ["name", "Gregory Steuber"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:47:04.905125"], ["updated_at", "2018-09-05 05:47:04.905125"]] 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", 60], ["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", "Marissa Rowe"], ["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", "Marissa Rowe"], ["name", "Gregory Steuber"], ["description", "Default bundle for service 'Gregory Steuber'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:47:04.910407"], ["updated_at", "2018-09-05 05:47:04.910407"]] 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", 46], ["chargeable_service_id", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Amina Okuneva"], ["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", "Elwanda DuBuque"], ["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", "Amina Okuneva"], ["name", "Elwanda DuBuque"], ["description", "Molestiae cum ipsam est qui asperiores fugiat. Sunt tenetur doloribus amet aut. Laudantium ut repellendus quia minus ullam hic. Aspernatur reiciendis soluta aut natus aliquid mollitia et."], ["created_at", "2018-09-05 05:47:04.924442"], ["updated_at", "2018-09-05 05:47:04.924442"]]  (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", "Daniel Dietrich"], ["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", "Lonny Reilly"], ["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", "Daniel Dietrich"], ["name", "Lonny Reilly"], ["description", "Quia harum molestias alias incidunt est autem et. Sunt sapiente vitae consequatur eos aut rem. Voluptatem doloribus aperiam distinctio nemo itaque aliquid delectus. Possimus aperiam doloremque fugit non. Aliquid veniam et voluptate et velit unde quo."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:47:04.929997"], ["updated_at", "2018-09-05 05:47:04.929997"]]  (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", "Felisha Bashirian"], ["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", "Felisha Bashirian"], ["name", "Shaunna Adams"], ["description", "Anette Schneider"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:47:04.934539"], ["updated_at", "2018-09-05 05:47:04.934539"]]  (0.5ms) 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", "Ernestine Gibson"], ["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", "Bea Fay"], ["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", "Ernestine Gibson"], ["name", "Bea Fay"], ["description", "Renate Wuckert"], ["created_at", "2018-09-05 05:47:04.941520"], ["updated_at", "2018-09-05 05:47:04.941520"]]  (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", "Manie Steuber"], ["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", "Manie Steuber"], ["name", "Eloy Turner"], ["location_type_id", 9], ["description", "Venessa Gerlach"], ["address", "Dori Kovacek"], ["created_at", "2018-09-05 05:47:04.945887"], ["updated_at", "2018-09-05 05:47:04.945887"]]  (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", "Dann Powlowski"], ["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", "Jesus Rosenbaum"], ["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", "Dann Powlowski"], ["name", "Karma Wiza"], ["description", "Sudie Pacocha"], ["serial_number", "Jesus Rosenbaum"], ["brand", "Shavonda Stark"], ["item_model", "Fredericka Jacobi"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:47:04.951211"], ["updated_at", "2018-09-05 05:47:04.951211"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Shirley Thiel"], ["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", "Deena Hudson"], ["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", "Shirley Thiel"], ["name", "Deena Hudson"], ["created_at", "2018-09-05 05:47:04.960242"], ["updated_at", "2018-09-05 05:47:04.960242"]]  (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", "Javier Bosco"], ["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", "Javier Bosco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.966269"], ["updated_at", "2018-09-05 05:47:04.966269"]]  (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", "Lester Wintheiser"], ["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", "Lester Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:04.971510"], ["updated_at", "2018-09-05 05:47:04.971510"]]  (0.7ms) 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", "Colin Turcotte"], ["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", "Colin Turcotte"], ["name", "Sixta Conn"], ["address", "Lani Ruecker"], ["created_at", "2018-09-05 05:47:04.978294"], ["updated_at", "2018-09-05 05:47:04.978294"]]  (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", "Junita Wisozk"], ["service_delivery_unit_id", 61], ["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", "Junita Wisozk"], ["name", "Dan Reichert"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:47:04.983205"], ["updated_at", "2018-09-05 05:47:04.983205"]] 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", 61], ["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", "Junita Wisozk"], ["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", "Junita Wisozk"], ["name", "Dan Reichert"], ["description", "Default bundle for service 'Dan Reichert'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:47:04.988370"], ["updated_at", "2018-09-05 05:47:04.988370"]] 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", 24]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Lindsay Heathcote"], ["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", "Nena Schoen"], ["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", "Lindsay Heathcote"], ["name", "Nena Schoen"], ["description", "Occaecati enim exercitationem eum voluptas. Non iure facilis a illo magnam sit. Facilis excepturi commodi autem quaerat aliquid occaecati eum. Qui illum fuga occaecati eos sed corporis quia."], ["created_at", "2018-09-05 05:47:05.003627"], ["updated_at", "2018-09-05 05:47:05.003627"]]  (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", "Noel Nikolaus"], ["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", "Lupe Bartoletti"], ["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", "Noel Nikolaus"], ["name", "Lupe Bartoletti"], ["description", "Voluptatem natus qui non autem ipsam sunt nihil. Id est voluptatem ducimus est quod odio. Cumque deleniti magni quidem quos."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:47:05.009679"], ["updated_at", "2018-09-05 05:47:05.009679"]]  (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", "Moira Murray"], ["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", "Moira Murray"], ["name", "Tanner Paucek"], ["description", "Junko Hettinger"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:47:05.013971"], ["updated_at", "2018-09-05 05:47:05.013971"]]  (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", "Daniella Hagenes"], ["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", "Paz Altenwerth"], ["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", "Daniella Hagenes"], ["name", "Paz Altenwerth"], ["description", "Kelle Wintheiser"], ["created_at", "2018-09-05 05:47:05.020253"], ["updated_at", "2018-09-05 05:47:05.020253"]]  (0.8ms) 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", "Marci Bogan"], ["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", "Marci Bogan"], ["name", "Adam Cummings"], ["location_type_id", 10], ["description", "Janee Roob"], ["address", "Sheridan Baumbach"], ["created_at", "2018-09-05 05:47:05.026572"], ["updated_at", "2018-09-05 05:47:05.026572"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Mohammed Corkery"], ["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", "Aurore D'Amore"], ["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", "Mohammed Corkery"], ["name", "Valda Crona"], ["description", "Barney Connelly"], ["serial_number", "Aurore D'Amore"], ["brand", "Sarah Tromp"], ["item_model", "Eugena Waelchi"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:47:05.033928"], ["updated_at", "2018-09-05 05:47:05.033928"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.8ms) 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", "Cory Hintz"], ["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", "Ada Kerluke"], ["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", "Cory Hintz"], ["name", "Ada Kerluke"], ["created_at", "2018-09-05 05:47:05.047760"], ["updated_at", "2018-09-05 05:47:05.047760"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) 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", "Cory Hintz"], ["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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", "Ada Kerluke"], ["id", 38], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.9ms) BEGIN Mks::Rate::ServiceType Exists (0.9ms) 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.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Soila O'Connell"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN 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", "Jeneva Von"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) 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.8ms) 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", "Kelli Feeney"], ["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", "Laura Hoppe"], ["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", "Kelli Feeney"], ["name", "Laura Hoppe"], ["created_at", "2018-09-05 05:47:05.074451"], ["updated_at", "2018-09-05 05:47:05.074451"]]  (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", "Kelli Feeney"], ["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", "Janett Sauer"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) 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", "Miss Satterfield"], ["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", "Carin Frami"], ["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", "Miss Satterfield"], ["name", "Carin Frami"], ["created_at", "2018-09-05 05:47:05.088802"], ["updated_at", "2018-09-05 05:47:05.088802"]]  (0.4ms) RELEASE 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", "Dwayne Lockman"], ["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", "Carin Frami"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN 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", "Arnita Rutherford"], ["LIMIT", 1]]  (0.6ms) 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.6ms) ROLLBACK  (0.4ms) 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", "Maxie Altenwerth"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (1.5ms) BEGIN  (2.2ms) 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", "Reyes Ortiz"], ["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", "Reyes Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.118624"], ["updated_at", "2018-09-05 05:47:05.118624"]]  (0.8ms) RELEASE 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", "Reyes Ortiz"], ["LIMIT", 1]]  (2.0ms) ROLLBACK  (0.6ms) 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", "Bettyann Adams"], ["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", "Henry Harvey"], ["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", "Bettyann Adams"], ["name", "Henry Harvey"], ["created_at", "2018-09-05 05:47:05.137471"], ["updated_at", "2018-09-05 05:47:05.137471"]]  (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", "Jaleesa Leannon"], ["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", "Jaleesa Leannon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.142395"], ["updated_at", "2018-09-05 05:47:05.142395"]]  (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", "Pilar Turner"], ["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", "Pilar Turner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.147671"], ["updated_at", "2018-09-05 05:47:05.147671"]]  (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", "Mark Ward"], ["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", "Mark Ward"], ["name", "Wally Lesch"], ["address", "Joslyn Bernhard"], ["created_at", "2018-09-05 05:47:05.152596"], ["updated_at", "2018-09-05 05:47:05.152596"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Hye Hahn"], ["service_delivery_unit_id", 62], ["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", "Hye Hahn"], ["name", "Corine Hilll"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:47:05.158181"], ["updated_at", "2018-09-05 05:47:05.158181"]] 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", 62], ["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", "Hye Hahn"], ["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", "Hye Hahn"], ["name", "Corine Hilll"], ["description", "Default bundle for service 'Corine Hilll'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:47:05.163895"], ["updated_at", "2018-09-05 05:47:05.163895"]] 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", 48], ["chargeable_service_id", 25]]  (0.7ms) 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", "Alaina Rogahn"], ["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", "Leanora Russel"], ["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", "Alaina Rogahn"], ["name", "Leanora Russel"], ["created_at", "2018-09-05 05:47:05.175845"], ["updated_at", "2018-09-05 05:47:05.175845"]]  (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", "George Cormier"], ["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", "George Cormier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.181546"], ["updated_at", "2018-09-05 05:47:05.181546"]]  (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", "Beatrice Turner"], ["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", "Beatrice Turner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.186452"], ["updated_at", "2018-09-05 05:47:05.186452"]]  (1.3ms) 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", "Gaye Kassulke"], ["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", "Gaye Kassulke"], ["name", "Leo McGlynn"], ["address", "Felicidad Wiegand"], ["created_at", "2018-09-05 05:47:05.193615"], ["updated_at", "2018-09-05 05:47:05.193615"]]  (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", "Deja Greenholt"], ["service_delivery_unit_id", 63], ["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", "Deja Greenholt"], ["name", "Nicolle Deckow"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:47:05.198403"], ["updated_at", "2018-09-05 05:47:05.198403"]] 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", 63], ["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", "Deja Greenholt"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Deja Greenholt"], ["name", "Nicolle Deckow"], ["description", "Default bundle for service 'Nicolle Deckow'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:47:05.203121"], ["updated_at", "2018-09-05 05:47:05.203121"]] 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", 49], ["chargeable_service_id", 26]]  (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", "Otilia Paucek"], ["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", "Gretchen Yundt"], ["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", "Otilia Paucek"], ["name", "Gretchen Yundt"], ["created_at", "2018-09-05 05:47:05.212453"], ["updated_at", "2018-09-05 05:47:05.212453"]]  (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", "Ignacia D'Amore"], ["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", "Ignacia D'Amore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.217053"], ["updated_at", "2018-09-05 05:47:05.217053"]]  (0.7ms) 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", "Monte Borer"], ["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", "Monte Borer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.222465"], ["updated_at", "2018-09-05 05:47:05.222465"]]  (0.5ms) 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", "Peg Ryan"], ["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", "Peg Ryan"], ["name", "Lucretia Pouros"], ["address", "Corliss Crooks"], ["created_at", "2018-09-05 05:47:05.227376"], ["updated_at", "2018-09-05 05:47:05.227376"]]  (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", "Dung Sipes"], ["service_delivery_unit_id", 64], ["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", "Dung Sipes"], ["name", "Hallie Zboncak"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:47:05.232543"], ["updated_at", "2018-09-05 05:47:05.232543"]] 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", 64], ["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", "Dung Sipes"], ["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", "Dung Sipes"], ["name", "Hallie Zboncak"], ["description", "Default bundle for service 'Hallie Zboncak'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:47:05.238387"], ["updated_at", "2018-09-05 05:47:05.238387"]] 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", 27]]  (0.7ms) 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", 25], ["LIMIT", 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", 26], ["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", 25], ["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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:47:05.249275"], ["updated_at", "2018-09-05 05:47:05.249275"]] 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]] 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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:47:05.252570"], ["updated_at", "2018-09-05 05:47:05.252570"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Tawnya Effertz"], ["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", "Jessenia Predovic"], ["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", "Tawnya Effertz"], ["name", "Jessenia Predovic"], ["created_at", "2018-09-05 05:47:05.263491"], ["updated_at", "2018-09-05 05:47:05.263491"]]  (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", "George 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", "George Brekke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.268841"], ["updated_at", "2018-09-05 05:47:05.268841"]]  (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", "Tony Treutel"], ["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", "Tony Treutel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.274069"], ["updated_at", "2018-09-05 05:47:05.274069"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Gary Hartmann"], ["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", "Gary Hartmann"], ["name", "Samira Ruecker"], ["address", "Santos Lesch"], ["created_at", "2018-09-05 05:47:05.279689"], ["updated_at", "2018-09-05 05:47:05.279689"]]  (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", "Marinda Haley"], ["service_delivery_unit_id", 65], ["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", "Marinda Haley"], ["name", "Dian Jones"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:47:05.285072"], ["updated_at", "2018-09-05 05:47:05.285072"]] 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", 65], ["LIMIT", 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", "Marinda Haley"], ["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", "Marinda Haley"], ["name", "Dian Jones"], ["description", "Default bundle for service 'Dian Jones'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:47:05.292017"], ["updated_at", "2018-09-05 05:47:05.292017"]] 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", 51], ["chargeable_service_id", 28]]  (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", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:47:05.300801"], ["updated_at", "2018-09-05 05:47:05.300801"]]  (0.6ms) 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", 28], ["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", 28], ["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 05:47:05.307426"], ["id", 10]]  (0.6ms) 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.6ms) 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", "hedy_waelchi@mclaughlinmarvin.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", "Bernadine Douglas"], ["last_name", "Donny Maggio"], ["email", "hedy_waelchi@mclaughlinmarvin.info"], ["password_digest", "$2a$04$/flTeWEnogcEkidwqOYTEurKQfa4rtHs2WA4lGZEh/Rtzq/tJUoZe"], ["created_at", "2018-09-05 05:47:05.319391"], ["updated_at", "2018-09-05 05:47:05.319391"]]  (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", "willa@stracke.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", "Burt Grady"], ["last_name", "Kenya Hartmann"], ["email", "willa@stracke.co.uk"], ["password_digest", "$2a$04$Z5OkSjwONjMrG14vOfs2yeT5OL.qgGul1d4bJxrJkGn1Z3z8ZecPu"], ["created_at", "2018-09-05 05:47:05.326934"], ["updated_at", "2018-09-05 05:47:05.326934"]]  (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", "gerry@effertz.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", "Chung Kiehn"], ["last_name", "Jin Littel"], ["email", "gerry@effertz.us"], ["password_digest", "$2a$04$N17iaCScig.NDMUJWemxiuYmMryVWIPD8XqbiQ7iBKwH5EIjVIgKm"], ["created_at", "2018-09-05 05:47:05.333848"], ["updated_at", "2018-09-05 05:47:05.333848"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Demetrius Reilly"], ["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", "Demetrius Reilly"], ["authorized_by", "Agustina 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", 67], ["approved_by_id", 68], ["created_at", "2018-09-05 05:47:05.339218"], ["updated_at", "2018-09-05 05:47:05.339218"]]  (0.6ms) RELEASE SAVEPOINT active_record_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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Demetrius Reilly"], ["id", 4], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.3ms) 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", 66], ["updated_at", "2018-09-05 05:47:05.345532"], ["id", 4]]  (0.9ms) 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", 4], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 66], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "Candra Pacocha"], ["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", "Candra Pacocha"], ["name", "Noe Reilly"], ["address", "Monet Leannon"], ["created_at", "2018-09-05 05:47:05.361204"], ["updated_at", "2018-09-05 05:47:05.361204"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Casey Erdman"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Casey Erdman"], ["name", "Janett Schaefer"], ["description", "Norine Bernhard"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:47:05.366325"], ["updated_at", "2018-09-05 05:47:05.366325"]]  (0.6ms) 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", "Lisette 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", "Shena Goldner"], ["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", "Lisette Stokes"], ["name", "Shena Goldner"], ["created_at", "2018-09-05 05:47:05.377127"], ["updated_at", "2018-09-05 05:47:05.377127"]]  (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", "Carman Roberts"], ["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", "Carman Roberts"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.382495"], ["updated_at", "2018-09-05 05:47:05.382495"]]  (0.8ms) 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", "Porfirio Quitzon"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Porfirio Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.389038"], ["updated_at", "2018-09-05 05:47:05.389038"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Zenaida Zboncak"], ["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", "Zenaida Zboncak"], ["name", "Nerissa Klocko"], ["address", "Kira Nikolaus"], ["created_at", "2018-09-05 05:47:05.396493"], ["updated_at", "2018-09-05 05:47:05.396493"]]  (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", "Neil Boyer"], ["service_delivery_unit_id", 67], ["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", "Neil Boyer"], ["name", "David Satterfield"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:47:05.401376"], ["updated_at", "2018-09-05 05:47:05.401376"]] 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", 67], ["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", "Neil Boyer"], ["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", "Neil Boyer"], ["name", "David Satterfield"], ["description", "Default bundle for service 'David Satterfield'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:47:05.407041"], ["updated_at", "2018-09-05 05:47:05.407041"]] 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", 53], ["chargeable_service_id", 29]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Lavelle Schoen"], ["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", "Sunshine DuBuque"], ["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", "Lavelle Schoen"], ["name", "Sunshine DuBuque"], ["created_at", "2018-09-05 05:47:05.417148"], ["updated_at", "2018-09-05 05:47:05.417148"]]  (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", "Sallie Barrows"], ["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", "Sallie Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.422108"], ["updated_at", "2018-09-05 05:47:05.422108"]]  (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", "Janee 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", "Janee Halvorson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.427119"], ["updated_at", "2018-09-05 05:47:05.427119"]]  (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", "Keven Lehner"], ["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", "Keven Lehner"], ["name", "Hsiu Towne"], ["address", "Ezra Brekke"], ["created_at", "2018-09-05 05:47:05.431842"], ["updated_at", "2018-09-05 05:47:05.431842"]]  (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", "Vivan Hagenes"], ["service_delivery_unit_id", 68], ["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", "Vivan Hagenes"], ["name", "Rhonda McClure"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:47:05.436516"], ["updated_at", "2018-09-05 05:47:05.436516"]] 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", 68], ["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", "Vivan Hagenes"], ["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", "Vivan Hagenes"], ["name", "Rhonda McClure"], ["description", "Default bundle for service 'Rhonda McClure'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:47:05.441988"], ["updated_at", "2018-09-05 05:47:05.441988"]] 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", 54], ["chargeable_service_id", 30]]  (0.6ms) 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", "Desmond Zieme"], ["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", "Myong Swaniawski"], ["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", "Desmond Zieme"], ["name", "Myong Swaniawski"], ["created_at", "2018-09-05 05:47:05.451080"], ["updated_at", "2018-09-05 05:47:05.451080"]]  (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", "Freddie Bruen"], ["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", "Freddie Bruen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.456067"], ["updated_at", "2018-09-05 05:47:05.456067"]]  (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", "Saundra Murray"], ["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", "Saundra Murray"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.460610"], ["updated_at", "2018-09-05 05:47:05.460610"]]  (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", "Vida Maggio"], ["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", "Vida Maggio"], ["name", "Clarinda Abshire"], ["address", "Kassandra Hickle"], ["created_at", "2018-09-05 05:47:05.465643"], ["updated_at", "2018-09-05 05:47:05.465643"]]  (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", "Mirella Bogisich"], ["service_delivery_unit_id", 69], ["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", "Mirella Bogisich"], ["name", "Lezlie Deckow"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:47:05.470454"], ["updated_at", "2018-09-05 05:47:05.470454"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mirella 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", "Mirella Bogisich"], ["name", "Lezlie Deckow"], ["description", "Default bundle for service 'Lezlie Deckow'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:47:05.475897"], ["updated_at", "2018-09-05 05:47:05.475897"]] 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", 31]]  (0.5ms) 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", 52]]  (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" IN ($1, $2, $3) [["id", 29], ["id", 30], ["id", 31]] Mks::Rate::ChargeableService Load (1.1ms) 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", 52]] 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", 52], ["chargeable_service_id", 29]] 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", 30]] 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 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", 52], ["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.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "Carlie Cummings"], ["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", "Carlie Cummings"], ["name", "Reid Skiles"], ["address", "Miles Doyle"], ["created_at", "2018-09-05 05:47:05.506399"], ["updated_at", "2018-09-05 05:47:05.506399"]]  (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", "Bettie Ankunding"], ["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", "Bettie Ankunding"], ["name", "Sulema Klein"], ["description", "Synthia Klocko"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:47:05.511484"], ["updated_at", "2018-09-05 05:47:05.511484"]]  (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", "Kelsi Ritchie"], ["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", "Tora Mertz"], ["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", "Kelsi Ritchie"], ["name", "Tora Mertz"], ["created_at", "2018-09-05 05:47:05.517954"], ["updated_at", "2018-09-05 05:47:05.517954"]]  (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", "Crista Schaden"], ["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", "Crista Schaden"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.523048"], ["updated_at", "2018-09-05 05:47:05.523048"]]  (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", "Orlando Padberg"], ["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", "Orlando Padberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.527862"], ["updated_at", "2018-09-05 05:47:05.527862"]]  (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", "Tiffani Runolfsson"], ["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", "Tiffani Runolfsson"], ["name", "Julienne Hackett"], ["address", "Malinda Nienow"], ["created_at", "2018-09-05 05:47:05.532704"], ["updated_at", "2018-09-05 05:47:05.532704"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (3.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", "Eura Rogahn"], ["service_delivery_unit_id", 71], ["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", "Eura Rogahn"], ["name", "Peggie Hettinger"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:47:05.542575"], ["updated_at", "2018-09-05 05:47:05.542575"]] 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", 71], ["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", "Eura Rogahn"], ["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", "Eura Rogahn"], ["name", "Peggie Hettinger"], ["description", "Default bundle for service 'Peggie Hettinger'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:47:05.551954"], ["updated_at", "2018-09-05 05:47:05.551954"]] 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", 57], ["chargeable_service_id", 32]]  (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", "Yvone Sanford"], ["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", "Lala Osinski"], ["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", "Yvone Sanford"], ["name", "Lala Osinski"], ["created_at", "2018-09-05 05:47:05.561712"], ["updated_at", "2018-09-05 05:47:05.561712"]]  (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", "Petronila Jerde"], ["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", "Petronila Jerde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.567383"], ["updated_at", "2018-09-05 05:47:05.567383"]]  (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", "Rolande Quitzon"], ["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", "Rolande Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.572642"], ["updated_at", "2018-09-05 05:47:05.572642"]]  (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", "Jonie Gibson"], ["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", "Jonie Gibson"], ["name", "See Greenfelder"], ["address", "Elenore White"], ["created_at", "2018-09-05 05:47:05.577697"], ["updated_at", "2018-09-05 05:47:05.577697"]]  (0.8ms) 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", "Cora Beatty"], ["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", "Cora Beatty"], ["name", "Gail McLaughlin"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:47:05.582775"], ["updated_at", "2018-09-05 05:47:05.582775"]] 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", 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", "Cora Beatty"], ["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", "Cora Beatty"], ["name", "Gail McLaughlin"], ["description", "Default bundle for service 'Gail McLaughlin'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:47:05.588526"], ["updated_at", "2018-09-05 05:47:05.588526"]] 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", 58], ["chargeable_service_id", 33]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Willette 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", "Doyle Bruen"], ["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", "Willette Corkery"], ["name", "Doyle Bruen"], ["created_at", "2018-09-05 05:47:05.598761"], ["updated_at", "2018-09-05 05:47:05.598761"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Sharee Huels"], ["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", "Sharee Huels"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.604191"], ["updated_at", "2018-09-05 05:47:05.604191"]]  (0.8ms) 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", "Mazie Hickle"], ["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", "Mazie Hickle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.610370"], ["updated_at", "2018-09-05 05:47:05.610370"]]  (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", "Clifton O'Kon"], ["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", "Clifton O'Kon"], ["name", "Tommie Miller"], ["address", "Monty Predovic"], ["created_at", "2018-09-05 05:47:05.615003"], ["updated_at", "2018-09-05 05:47:05.615003"]]  (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", "Mara Orn"], ["service_delivery_unit_id", 73], ["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", "Mara Orn"], ["name", "Elna White"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:47:05.620002"], ["updated_at", "2018-09-05 05:47:05.620002"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mara Orn"], ["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", "Mara Orn"], ["name", "Elna White"], ["description", "Default bundle for service 'Elna White'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:47:05.625387"], ["updated_at", "2018-09-05 05:47:05.625387"]] 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", 59], ["chargeable_service_id", 34]]  (0.5ms) 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", 56], ["chargeable_service_id", 32]] 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]] 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", 34]]  (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", 56]]  (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", 34]] 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", 56]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.0ms) 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", 56], ["chargeable_service_id", 32], ["chargeable_service_id", 33]]  (0.8ms) 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", 56], ["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", 56]] Mks::Rate::ChargeableService Load (1.1ms) 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", 56]]  (0.9ms) 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", "Derick 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", "Derick Doyle"], ["name", "Robbyn O'Connell"], ["address", "Chung Marvin"], ["created_at", "2018-09-05 05:47:05.660372"], ["updated_at", "2018-09-05 05:47:05.660372"]]  (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", "Delphine Yost"], ["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", "Delphine Yost"], ["name", "Glenna Feil"], ["description", "Takisha Hilpert"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:47:05.664717"], ["updated_at", "2018-09-05 05:47:05.664717"]]  (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", "Vinnie Hegmann"], ["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", "Blaine Pagac"], ["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", "Vinnie Hegmann"], ["name", "Blaine Pagac"], ["created_at", "2018-09-05 05:47:05.670757"], ["updated_at", "2018-09-05 05:47:05.670757"]]  (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", "Adena 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", "Adena Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.675692"], ["updated_at", "2018-09-05 05:47:05.675692"]]  (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", "Nydia Little"], ["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", "Nydia Little"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.680151"], ["updated_at", "2018-09-05 05:47:05.680151"]]  (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", "Mellisa Rohan"], ["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", "Mellisa Rohan"], ["name", "Missy Morar"], ["address", "Lurlene Purdy"], ["created_at", "2018-09-05 05:47:05.685925"], ["updated_at", "2018-09-05 05:47:05.685925"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Sheryll Gaylord"], ["service_delivery_unit_id", 75], ["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", "Sheryll Gaylord"], ["name", "Arnita Greenholt"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:47:05.691965"], ["updated_at", "2018-09-05 05:47:05.691965"]] 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" = $1 LIMIT $2 [["id", 75], ["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", "Sheryll Gaylord"], ["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", "Sheryll Gaylord"], ["name", "Arnita Greenholt"], ["description", "Default bundle for service 'Arnita Greenholt'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:47:05.699543"], ["updated_at", "2018-09-05 05:47:05.699543"]] 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", 61], ["chargeable_service_id", 35]]  (0.9ms) 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", "Jean Homenick"], ["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", "Lanita Steuber"], ["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", "Jean Homenick"], ["name", "Lanita Steuber"], ["created_at", "2018-09-05 05:47:05.709989"], ["updated_at", "2018-09-05 05:47:05.709989"]]  (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", "Cindy Lockman"], ["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", "Cindy Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.714846"], ["updated_at", "2018-09-05 05:47:05.714846"]]  (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", "Eleanor Becker"], ["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", "Eleanor Becker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.719775"], ["updated_at", "2018-09-05 05:47:05.719775"]]  (0.8ms) 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", "Lizette Pfannerstill"], ["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", "Lizette Pfannerstill"], ["name", "Clementine Klocko"], ["address", "Winnie Ullrich"], ["created_at", "2018-09-05 05:47:05.726573"], ["updated_at", "2018-09-05 05:47:05.726573"]]  (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", "Mamie Predovic"], ["service_delivery_unit_id", 76], ["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", "Mamie Predovic"], ["name", "Shay Batz"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:47:05.732220"], ["updated_at", "2018-09-05 05:47:05.732220"]] 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", 76], ["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", "Mamie Predovic"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Mamie Predovic"], ["name", "Shay Batz"], ["description", "Default bundle for service 'Shay Batz'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:47:05.739215"], ["updated_at", "2018-09-05 05:47:05.739215"]] 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", 62], ["chargeable_service_id", 36]]  (0.6ms) 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", "Weldon 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", "Trish Purdy"], ["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", "Weldon Nader"], ["name", "Trish Purdy"], ["created_at", "2018-09-05 05:47:05.749672"], ["updated_at", "2018-09-05 05:47:05.749672"]]  (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", "Dell Gusikowski"], ["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", "Dell Gusikowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.754672"], ["updated_at", "2018-09-05 05:47:05.754672"]]  (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", "Phyliss Braun"], ["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", "Phyliss Braun"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.759047"], ["updated_at", "2018-09-05 05:47:05.759047"]]  (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", "Michale 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", "Michale Wuckert"], ["name", "Selene Hoeger"], ["address", "Shiloh Wisozk"], ["created_at", "2018-09-05 05:47:05.763616"], ["updated_at", "2018-09-05 05:47:05.763616"]]  (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", "Colene Kuhlman"], ["service_delivery_unit_id", 77], ["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", "Colene Kuhlman"], ["name", "Lieselotte Hansen"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:47:05.768317"], ["updated_at", "2018-09-05 05:47:05.768317"]] 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", 77], ["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", "Colene Kuhlman"], ["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", "Colene Kuhlman"], ["name", "Lieselotte Hansen"], ["description", "Default bundle for service 'Lieselotte Hansen'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:47:05.773811"], ["updated_at", "2018-09-05 05:47:05.773811"]] 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", 63], ["chargeable_service_id", 37]]  (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", "Nu Hermann"], ["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", "Cameron Borer"], ["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", "Nu Hermann"], ["name", "Cameron Borer"], ["created_at", "2018-09-05 05:47:05.783445"], ["updated_at", "2018-09-05 05:47:05.783445"]]  (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", "Sherise Bruen"], ["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", "Sherise Bruen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.788205"], ["updated_at", "2018-09-05 05:47:05.788205"]]  (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", "Tegan Carter"], ["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", "Tegan Carter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:47:05.793264"], ["updated_at", "2018-09-05 05:47:05.793264"]]  (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", "Elna Hartmann"], ["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", "Elna Hartmann"], ["name", "Loris Predovic"], ["address", "Lady Cruickshank"], ["created_at", "2018-09-05 05:47:05.799920"], ["updated_at", "2018-09-05 05:47:05.799920"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Karie Wiegand"], ["service_delivery_unit_id", 78], ["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", "Karie Wiegand"], ["name", "Yan Rogahn"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:47:05.806541"], ["updated_at", "2018-09-05 05:47:05.806541"]] 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", 78], ["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", "Karie Wiegand"], ["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", "Karie Wiegand"], ["name", "Yan Rogahn"], ["description", "Default bundle for service 'Yan Rogahn'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:47:05.811450"], ["updated_at", "2018-09-05 05:47:05.811450"]] 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", 64], ["chargeable_service_id", 38]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 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", 60], ["chargeable_service_id", 35]] 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", 60], ["chargeable_service_id", 36]]  (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", 60]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.2ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 36], ["id", 37], ["id", 38]] 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", 60]] 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", 60], ["chargeable_service_id", 35]] 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]] 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", 38]]  (0.6ms) RELEASE SAVEPOINT active_record_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", 60], ["LIMIT", 1]]  (2.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", 60]] 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", 60], ["id", 35], ["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", 60]]  (0.7ms) ROLLBACK  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) BEGIN  (0.9ms) 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", "laine@kautzer.ca"], ["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", "Thuy Goyette"], ["last_name", "James Will"], ["email", "laine@kautzer.ca"], ["password_digest", "$2a$04$I6.CK7aG56KOMA/P8O2Cle7k6rAeSIui3FSnFdyNHYvJCWUeg01oW"], ["created_at", "2018-09-05 05:58:23.701423"], ["updated_at", "2018-09-05 05:58:23.701423"]]  (0.6ms) 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", "Eugena Bartoletti"], ["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", "Dennise Hegmann"], ["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", "Eugena Bartoletti"], ["name", "Dennise Hegmann"], ["created_at", "2018-09-05 05:58:23.743636"], ["updated_at", "2018-09-05 05:58:23.743636"]]  (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", "Wanetta Bergnaum"], ["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", "Wanetta Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:23.765991"], ["updated_at", "2018-09-05 05:58:23.765991"]]  (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", "Jana Kassulke"], ["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", "Jana Kassulke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:23.772140"], ["updated_at", "2018-09-05 05:58:23.772140"]]  (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", "Missy Price"], ["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", "Missy Price"], ["name", "Bettina Runolfsson"], ["address", "Corie Turner"], ["created_at", "2018-09-05 05:58:23.788696"], ["updated_at", "2018-09-05 05:58:23.788696"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Clement Heaney"], ["service_delivery_unit_id", 1], ["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", "Clement Heaney"], ["name", "Fernanda Yundt"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:58:23.796075"], ["updated_at", "2018-09-05 05:58:23.796075"]] 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", 1], ["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", "Clement Heaney"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Clement Heaney"], ["name", "Fernanda Yundt"], ["description", "Default bundle for service 'Fernanda Yundt'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:58:23.824167"], ["updated_at", "2018-09-05 05:58:23.824167"]] 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", 1], ["chargeable_service_id", 1]]  (0.7ms) 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", "Anika Bayer"], ["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", "Ardell Koch"], ["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", "Anika Bayer"], ["name", "Ardell Koch"], ["created_at", "2018-09-05 05:58:23.854945"], ["updated_at", "2018-09-05 05:58:23.854945"]]  (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", "Yael Wiza"], ["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", "Yael Wiza"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:23.859537"], ["updated_at", "2018-09-05 05:58:23.859537"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vicki 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", "Vicki Romaguera"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:23.864249"], ["updated_at", "2018-09-05 05:58:23.864249"]]  (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", "Lillian Aufderhar"], ["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", "Lillian Aufderhar"], ["name", "Cora Nolan"], ["address", "Stacey Muller"], ["created_at", "2018-09-05 05:58:23.868825"], ["updated_at", "2018-09-05 05:58:23.868825"]]  (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", "Katharine Deckow"], ["service_delivery_unit_id", 2], ["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", "Katharine Deckow"], ["name", "Inger McClure"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:58:23.873514"], ["updated_at", "2018-09-05 05:58:23.873514"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Katharine Deckow"], ["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", "Katharine Deckow"], ["name", "Inger McClure"], ["description", "Default bundle for service 'Inger McClure'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:58:23.878472"], ["updated_at", "2018-09-05 05:58:23.878472"]] 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", 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", "Winston Borer"], ["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", "Alena Feeney"], ["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", "Winston Borer"], ["name", "Alena Feeney"], ["created_at", "2018-09-05 05:58:23.887286"], ["updated_at", "2018-09-05 05:58:23.887286"]]  (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", "Xuan Medhurst"], ["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", "Xuan Medhurst"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:23.891757"], ["updated_at", "2018-09-05 05:58:23.891757"]]  (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", "Eleonor Doyle"], ["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", "Eleonor Doyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:23.896644"], ["updated_at", "2018-09-05 05:58:23.896644"]]  (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 Durgan"], ["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", "Lanell Durgan"], ["name", "Marisol Kilback"], ["address", "Monet Beier"], ["created_at", "2018-09-05 05:58:23.901232"], ["updated_at", "2018-09-05 05:58:23.901232"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Valerie Ledner"], ["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", "Valerie Ledner"], ["name", "Gale Zieme"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:58:23.907027"], ["updated_at", "2018-09-05 05:58:23.907027"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Valerie 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", "Valerie Ledner"], ["name", "Gale Zieme"], ["description", "Default bundle for service 'Gale Zieme'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:58:23.913193"], ["updated_at", "2018-09-05 05:58:23.913193"]] 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.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 1], ["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", 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.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN ($1, $2, $3) [["id", 1], ["id", 3], ["id", 2]] [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", 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] 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", 5], ["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", 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] 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", 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.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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (19.1ms) Completed 200 OK in 44ms (Views: 29.5ms | ActiveRecord: 11.6ms)  (1.2ms) 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", "bettina_lowe@stammpadberg.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", "Virgilio Shields"], ["last_name", "Marnie Reynolds"], ["email", "bettina_lowe@stammpadberg.name"], ["password_digest", "$2a$04$28B7JbgqxhvXtDC5ut6is.WyUTga.hU5AYf8q9tUQXtaomZDIQZS2"], ["created_at", "2018-09-05 05:58:23.982542"], ["updated_at", "2018-09-05 05:58:23.982542"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Shaunta Lehner"], ["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", "Shaunta Lehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:23.994100"], ["updated_at", "2018-09-05 05:58:23.994100"]]  (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", "Garnet Greenholt"], ["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", "Garnet Greenholt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:23.998991"], ["updated_at", "2018-09-05 05:58:23.998991"]]  (0.5ms) 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", "Aileen Cole"], ["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", "Aileen Cole"], ["name", "Collette Kuphal"], ["address", "Claribel Schmitt"], ["created_at", "2018-09-05 05:58:24.004393"], ["updated_at", "2018-09-05 05:58:24.004393"]]  (0.6ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["code", "Denyse Gibson"], ["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", "Craig Thompson"], ["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", "Denyse Gibson"], ["name", "Craig Thompson"], ["created_at", "2018-09-05 05:58:24.012819"], ["updated_at", "2018-09-05 05:58:24.012819"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Krystal Murazik", "name"=>"Lashunda Walker", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.4ms) 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.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", "Krystal Murazik"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.0ms) 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.8ms) 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.9ms) 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", "Krystal Murazik"], ["name", "Lashunda Walker"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:58:24.035385"], ["updated_at", "2018-09-05 05:58:24.035385"]] 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", 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", "Krystal Murazik"], ["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", "Krystal Murazik"], ["name", "Lashunda Walker"], ["description", "Default bundle for service 'Lashunda Walker'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:58:24.041166"], ["updated_at", "2018-09-05 05:58:24.041166"]] 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", 4], ["chargeable_service_id", 4]]  (0.6ms) 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", 8], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.84ms) 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.33ms) Completed 200 OK in 37ms (Views: 9.9ms | ActiveRecord: 12.9ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "alonzo@hellerritchie.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", "Vivien Lebsack"], ["last_name", "Jeniffer Champlin"], ["email", "alonzo@hellerritchie.info"], ["password_digest", "$2a$04$tr1HKQyHIkIPWyUOvaOTVO3CBjSHWvaZulLnhDj/9Jr/VtkMDRpNm"], ["created_at", "2018-09-05 05:58:24.070193"], ["updated_at", "2018-09-05 05:58:24.070193"]]  (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", "Marya Rohan"], ["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", "Marya Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.075562"], ["updated_at", "2018-09-05 05:58:24.075562"]]  (0.5ms) 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", "Mitsuko Johns"], ["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", "Mitsuko Johns"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.080320"], ["updated_at", "2018-09-05 05:58:24.080320"]]  (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", "Carlota Morissette"], ["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", "Carlota Morissette"], ["name", "Gerry Oberbrunner"], ["address", "Wilda Schultz"], ["created_at", "2018-09-05 05:58:24.084801"], ["updated_at", "2018-09-05 05:58:24.084801"]]  (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", "Clementine Welch"], ["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", "Oneida Hirthe"], ["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", "Clementine Welch"], ["name", "Oneida Hirthe"], ["created_at", "2018-09-05 05:58:24.090586"], ["updated_at", "2018-09-05 05:58:24.090586"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Maurice Friesen", "name"=>"Isidra Okuneva", "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.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", "Maurice Friesen"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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 (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", 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", "Maurice Friesen"], ["name", "Isidra Okuneva"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:58:24.106538"], ["updated_at", "2018-09-05 05:58:24.106538"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Maurice Friesen"], ["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", "Maurice Friesen"], ["name", "Isidra Okuneva"], ["description", "Default bundle for service 'Isidra Okuneva'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:58:24.112297"], ["updated_at", "2018-09-05 05:58:24.112297"]] 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", 5], ["chargeable_service_id", 5]]  (0.8ms) 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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.94ms) 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.23ms) Completed 200 OK in 33ms (Views: 1.7ms | ActiveRecord: 13.8ms)  (1.0ms) 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", "marcy@funk.name"], ["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", "Charis Parker"], ["last_name", "Keena Weber"], ["email", "marcy@funk.name"], ["password_digest", "$2a$04$TrOvohG9zPqcFhhsEmEULuLjHku7QqWH7Yvse6RJL0k28vpnaG.ke"], ["created_at", "2018-09-05 05:58:24.137969"], ["updated_at", "2018-09-05 05:58:24.137969"]]  (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", "Tatiana Daniel"], ["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", "Tatiana Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.144702"], ["updated_at", "2018-09-05 05:58:24.144702"]]  (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", "Beula Dickens"], ["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", "Beula Dickens"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.150764"], ["updated_at", "2018-09-05 05:58:24.150764"]]  (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", "Carroll Huel"], ["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", "Carroll Huel"], ["name", "Philomena Fisher"], ["address", "Terrell Rempel"], ["created_at", "2018-09-05 05:58:24.158035"], ["updated_at", "2018-09-05 05:58:24.158035"]]  (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", "Nathanial Aufderhar"], ["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", "Nina Graham"], ["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", "Nathanial Aufderhar"], ["name", "Nina Graham"], ["created_at", "2018-09-05 05:58:24.165452"], ["updated_at", "2018-09-05 05:58:24.165452"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Virgil Adams", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.1ms) 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 (2.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 (1.0ms) 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.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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.64ms) Completed 422 Unprocessable Entity in 31ms (Views: 6.9ms | ActiveRecord: 8.3ms)  (1.2ms) 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", "willie@sanford.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", "Tatiana Leannon"], ["last_name", "Candelaria Roob"], ["email", "willie@sanford.biz"], ["password_digest", "$2a$04$a1yGbAWd0XJ3COVfhcg3iu7yFykXcwsC6Bk0S8vgHj2M0nIZsP/Nu"], ["created_at", "2018-09-05 05:58:24.213663"], ["updated_at", "2018-09-05 05:58:24.213663"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Terese Anderson"], ["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", "Marielle Gottlieb"], ["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", "Terese Anderson"], ["name", "Marielle Gottlieb"], ["created_at", "2018-09-05 05:58:24.223415"], ["updated_at", "2018-09-05 05:58:24.223415"]]  (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", "Bettyann Wilkinson"], ["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", "Bettyann Wilkinson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.229638"], ["updated_at", "2018-09-05 05:58:24.229638"]]  (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", "Adaline Goodwin"], ["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", "Adaline Goodwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.236033"], ["updated_at", "2018-09-05 05:58:24.236033"]]  (0.7ms) 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", "Aracely Mraz"], ["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", "Aracely Mraz"], ["name", "Randal Nikolaus"], ["address", "Leslie Hahn"], ["created_at", "2018-09-05 05:58:24.243508"], ["updated_at", "2018-09-05 05:58:24.243508"]]  (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", "Randell Greenholt"], ["service_delivery_unit_id", 7], ["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", "Randell Greenholt"], ["name", "Petrina Green"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:58:24.250808"], ["updated_at", "2018-09-05 05:58:24.250808"]] 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", 7], ["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", "Randell Greenholt"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Randell Greenholt"], ["name", "Petrina Green"], ["description", "Default bundle for service 'Petrina Green'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:58:24.259906"], ["updated_at", "2018-09-05 05:58:24.259906"]] 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", 6], ["chargeable_service_id", 6]]  (0.6ms) 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.1ms) 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.3ms) 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", "Randell Greenholt"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 7], ["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", 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 05:58:24.284076"], ["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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Randell Greenholt"], ["LIMIT", 1]]  (0.8ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] 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", 14], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.17ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.26ms) Completed 200 OK in 37ms (Views: 1.2ms | ActiveRecord: 11.9ms) 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", 6], ["LIMIT", 1]]  (0.7ms) 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", "flossie.vandervort@bosco.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", "Kaitlyn Emard"], ["last_name", "Phil Marquardt"], ["email", "flossie.vandervort@bosco.us"], ["password_digest", "$2a$04$Ff1ORGr67xHtPIu/dfpOiePXlJ0v.f01hyNQ/i.0CD6fEVtjfpgyK"], ["created_at", "2018-09-05 05:58:24.316833"], ["updated_at", "2018-09-05 05:58:24.316833"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Asuncion Langworth"], ["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", "Korey Sawayn"], ["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", "Asuncion Langworth"], ["name", "Korey Sawayn"], ["created_at", "2018-09-05 05:58:24.324575"], ["updated_at", "2018-09-05 05:58:24.324575"]]  (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", "Rachell Cartwright"], ["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", "Rachell Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.330220"], ["updated_at", "2018-09-05 05:58:24.330220"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Thomas O'Hara"], ["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", "Thomas O'Hara"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.337627"], ["updated_at", "2018-09-05 05:58:24.337627"]]  (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", "Marivel Schultz"], ["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", "Marivel Schultz"], ["name", "Codi Lemke"], ["address", "Ghislaine Shanahan"], ["created_at", "2018-09-05 05:58:24.342899"], ["updated_at", "2018-09-05 05:58:24.342899"]]  (0.9ms) RELEASE SAVEPOINT active_record_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", "Georgianne Ernser"], ["service_delivery_unit_id", 8], ["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", "Georgianne Ernser"], ["name", "Aundrea Gutmann"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:58:24.349246"], ["updated_at", "2018-09-05 05:58:24.349246"]] 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", 8], ["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", "Georgianne Ernser"], ["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", "Georgianne Ernser"], ["name", "Aundrea Gutmann"], ["description", "Default bundle for service 'Aundrea Gutmann'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:58:24.356708"], ["updated_at", "2018-09-05 05:58:24.356708"]] 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.8ms) 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 (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", "Georgianne Ernser"], ["id", 7], ["service_delivery_unit_id", 8], ["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", 8], ["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", 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.5ms) 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", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 13ms (Views: 1.3ms | ActiveRecord: 6.6ms)  (0.6ms) 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", "gwendolyn@borer.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", "Burma Sawayn"], ["last_name", "Ira Kuhlman"], ["email", "gwendolyn@borer.info"], ["password_digest", "$2a$04$g.SZWtdpnbh6jSfvSaIU0uitwQsHB.YAquf5bCbWWThHK.Kep0Sre"], ["created_at", "2018-09-05 05:58:24.383464"], ["updated_at", "2018-09-05 05:58:24.383464"]]  (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", "Shalanda Schimmel"], ["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", "Shalanda Schimmel"], ["name", "Cruz O'Connell"], ["address", "Davida Bechtelar"], ["created_at", "2018-09-05 05:58:24.389302"], ["updated_at", "2018-09-05 05:58:24.389302"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Dia Schuppe"], ["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", "Dia Schuppe"], ["name", "Hue Jerde"], ["address", "Cathie Walsh"], ["created_at", "2018-09-05 05:58:24.393453"], ["updated_at", "2018-09-05 05:58:24.393453"]]  (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", "Alvaro Botsford"], ["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", "Birdie Gottlieb"], ["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", "Alvaro Botsford"], ["name", "Birdie Gottlieb"], ["created_at", "2018-09-05 05:58:24.398834"], ["updated_at", "2018-09-05 05:58:24.398834"]]  (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", "Pauline Carter"], ["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", "Pauline Carter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.403288"], ["updated_at", "2018-09-05 05:58:24.403288"]]  (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", "Antoine Gutmann"], ["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", "Antoine Gutmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.408288"], ["updated_at", "2018-09-05 05:58:24.408288"]]  (0.5ms) 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", "Sam McKenzie"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["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", "Sam McKenzie"], ["name", "Tobi Gleichner"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:58:24.416387"], ["updated_at", "2018-09-05 05:58:24.416387"]] 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", 9], ["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", "Sam 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", "Sam McKenzie"], ["name", "Tobi Gleichner"], ["description", "Default bundle for service 'Tobi Gleichner'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:58:24.423097"], ["updated_at", "2018-09-05 05:58:24.423097"]] 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", 8], ["chargeable_service_id", 8]]  (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", "Winnifred Harber"], ["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", "Shameka Littel"], ["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", "Winnifred Harber"], ["name", "Shameka Littel"], ["created_at", "2018-09-05 05:58:24.434240"], ["updated_at", "2018-09-05 05:58:24.434240"]]  (1.0ms) 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", "Valerie Bins"], ["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", "Valerie Bins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.440543"], ["updated_at", "2018-09-05 05:58:24.440543"]]  (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", "Joy Ondricka"], ["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", "Joy Ondricka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.445349"], ["updated_at", "2018-09-05 05:58:24.445349"]]  (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", "Anette Hilpert"], ["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", "Anette Hilpert"], ["name", "Jade Heller"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:58:24.451491"], ["updated_at", "2018-09-05 05:58:24.451491"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Anette Hilpert"], ["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", "Anette Hilpert"], ["name", "Jade Heller"], ["description", "Default bundle for service 'Jade Heller'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:58:24.456808"], ["updated_at", "2018-09-05 05:58:24.456808"]] 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.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", "Scottie Cole"], ["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", "Danuta Morissette"], ["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", "Scottie Cole"], ["name", "Danuta Morissette"], ["created_at", "2018-09-05 05:58:24.466032"], ["updated_at", "2018-09-05 05:58:24.466032"]]  (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", "Louisa Koepp"], ["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", "Louisa Koepp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.471615"], ["updated_at", "2018-09-05 05:58:24.471615"]]  (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", "Alden Pfannerstill"], ["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", "Alden Pfannerstill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.476331"], ["updated_at", "2018-09-05 05:58:24.476331"]]  (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", "Kimberly Bins"], ["service_delivery_unit_id", 10], ["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", 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", "Kimberly Bins"], ["name", "Margarette Dickens"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:58:24.482456"], ["updated_at", "2018-09-05 05:58:24.482456"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kimberly Bins"], ["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", "Kimberly Bins"], ["name", "Margarette Dickens"], ["description", "Default bundle for service 'Margarette Dickens'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:58:24.487174"], ["updated_at", "2018-09-05 05:58:24.487174"]] 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.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", "Rita Schulist"], ["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", "Melany Langosh"], ["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", "Rita Schulist"], ["name", "Melany Langosh"], ["created_at", "2018-09-05 05:58:24.496598"], ["updated_at", "2018-09-05 05:58:24.496598"]]  (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", "Roxann Corkery"], ["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", "Roxann Corkery"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.501315"], ["updated_at", "2018-09-05 05:58:24.501315"]]  (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", "Angle Beer"], ["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", "Angle Beer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:24.505800"], ["updated_at", "2018-09-05 05:58:24.505800"]]  (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", "Magda Bashirian"], ["service_delivery_unit_id", 10], ["LIMIT", 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", 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", "Magda Bashirian"], ["name", "Bernardine Dibbert"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:58:24.512411"], ["updated_at", "2018-09-05 05:58:24.512411"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Magda Bashirian"], ["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", "Magda Bashirian"], ["name", "Bernardine Dibbert"], ["description", "Default bundle for service 'Bernardine Dibbert'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:58:24.517538"], ["updated_at", "2018-09-05 05:58:24.517538"]] 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.7ms) 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.9ms) 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.8ms) 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 (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", 9], ["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", 19], ["LIMIT", 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", 20], ["LIMIT", 1]] [active_model_serializers] 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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (15.03ms) Completed 200 OK in 21ms (Views: 9.7ms | ActiveRecord: 9.7ms)  (1.0ms) 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", "adalberto.oga@rohan.co.uk"], ["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", "Rebecka Carter"], ["last_name", "Debora Daniel"], ["email", "adalberto.oga@rohan.co.uk"], ["password_digest", "$2a$04$GoxQ1DZAuHe.4fcWlsKDJO5AWORl3wQckhRMrQOmmoqEMGkiqU2je"], ["created_at", "2018-09-05 05:58:24.554172"], ["updated_at", "2018-09-05 05:58:24.554172"]]  (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", "shirley@bednar.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", "September Wunsch"], ["last_name", "Jacquie Murray"], ["email", "shirley@bednar.biz"], ["password_digest", "$2a$04$ZuNCIbUnFu5ePxHxSSpDMuXoU/pa3wytuSO7/bcQjEieZg8tkMVOu"], ["created_at", "2018-09-05 05:58:24.579093"], ["updated_at", "2018-09-05 05:58:24.579093"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "gayle.feeney@gaylordmosciski.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", "Liane Hahn"], ["last_name", "Rema Jast"], ["email", "gayle.feeney@gaylordmosciski.biz"], ["password_digest", "$2a$04$5.GIfM68lCn6eB5980lGQOimHd94qiOKTmTqlxLX4tDAkFUc1xFWW"], ["created_at", "2018-09-05 05:58:24.590140"], ["updated_at", "2018-09-05 05:58:24.590140"]]  (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", "Maria Bahringer"], ["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", "Maria Bahringer"], ["authorized_by", "Eileen Kuhlman"], ["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 05:58:24.595396"], ["updated_at", "2018-09-05 05:58:24.595396"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#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", 8], ["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", 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 05:58:24", updated_at: "2018-09-05 05:58:24"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.43ms) Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 2.8ms)  (1.1ms) 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", "derrick.hahn@barton.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", "Ashlie King"], ["last_name", "Willard Legros"], ["email", "derrick.hahn@barton.info"], ["password_digest", "$2a$04$6KhCTgZI1H8nNvpUCv9Kvu5wOZQAAHWxDf2/BxvtXSs9OntdeRQQy"], ["created_at", "2018-09-05 05:58:24.623144"], ["updated_at", "2018-09-05 05:58:24.623144"]]  (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", "tamiko@klingcorwin.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", "Golden Moore"], ["last_name", "Dominica DuBuque"], ["email", "tamiko@klingcorwin.com"], ["password_digest", "$2a$04$b9R.kMhZ4mxEj5rgoi/VOe7LypSOskVBBt4RH2j4OTjti2nusIkvu"], ["created_at", "2018-09-05 05:58:24.629998"], ["updated_at", "2018-09-05 05:58:24.629998"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "mendy.runte@sanford.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", "Mario Simonis"], ["last_name", "Doloris Waelchi"], ["email", "mendy.runte@sanford.biz"], ["password_digest", "$2a$04$fyNslHGJoVY.Bi0tVxj6g.1UPvx9PjHEdnjrZeI4whMmQybCqMhU."], ["created_at", "2018-09-05 05:58:24.636713"], ["updated_at", "2018-09-05 05:58:24.636713"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Mamie Eichmann"], ["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", "Mamie Eichmann"], ["authorized_by", "Gil Lang"], ["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 05:58:24.641719"], ["updated_at", "2018-09-05 05:58:24.641719"]]  (0.6ms) 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.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.7ms) 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.86ms) Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 2.2ms)  (1.3ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) 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", "bari.gorczany@wunsch.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", "Jessenia Kiehn"], ["last_name", "Jeannine Abbott"], ["email", "bari.gorczany@wunsch.co.uk"], ["password_digest", "$2a$04$mm7UR0Mdty3KLBnUM7qG8.gY832m7NSKEp0tnWpDHsDbZQfyyOIp6"], ["created_at", "2018-09-05 05:58:24.662831"], ["updated_at", "2018-09-05 05:58:24.662831"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) ROLLBACK  (0.8ms) 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", "trenton@herzog.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", "Katherina Mertz"], ["last_name", "Farah O'Kon"], ["email", "trenton@herzog.info"], ["password_digest", "$2a$04$yFilZYGgVSMOr9Pba34gAOL4P30FY8K92K6cPNJBPwtDPSoP0XycO"], ["created_at", "2018-09-05 05:58:24.675436"], ["updated_at", "2018-09-05 05:58:24.675436"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) 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", "marlyn@eichmann.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", "Boyd Kilback"], ["last_name", "Librada Gutkowski"], ["email", "marlyn@eichmann.com"], ["password_digest", "$2a$04$/GU24TdBLUmWcmoQnpVfv.yX1xvqNjp8wkEjYNtZXSkjJS11L.xeO"], ["created_at", "2018-09-05 05:58:24.686009"], ["updated_at", "2018-09-05 05:58:24.686009"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "cassidy.stark@klockoheidenreich.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", "Franklin O'Reilly"], ["last_name", "Jonathon Beatty"], ["email", "cassidy.stark@klockoheidenreich.ca"], ["password_digest", "$2a$04$/E6bjsxdcYbXr9GonBIVbeVUBMkwWhFIk9wxihZzpizBFkqnrm2oG"], ["created_at", "2018-09-05 05:58:24.696545"], ["updated_at", "2018-09-05 05:58:24.696545"]]  (0.8ms) 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", "delmer@waelchi.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", "Aurora Wiza"], ["last_name", "Son Walter"], ["email", "delmer@waelchi.us"], ["password_digest", "$2a$04$RDEafqg9RMo3eJ91TUknZOAUi2xL7Rey/vGsReH8AjPeIvtlAk3sK"], ["created_at", "2018-09-05 05:58:24.705329"], ["updated_at", "2018-09-05 05:58:24.705329"]]  (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", "ernestina_green@beergrimes.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", "Marilu Jacobs"], ["last_name", "Laticia Deckow"], ["email", "ernestina_green@beergrimes.biz"], ["password_digest", "$2a$04$3EYlw2Mdn68k0pdVdZ4VFesscab8ew8s2I2dvd4m9vUxAfG/KD86e"], ["created_at", "2018-09-05 05:58:24.711841"], ["updated_at", "2018-09-05 05:58:24.711841"]]  (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", "Noreen Bechtelar"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.8ms) 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", "Noreen Bechtelar"], ["authorized_by", "Summer Weissnat"], ["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", 18], ["approved_by_id", 19], ["created_at", "2018-09-05 05:58:24.716471"], ["updated_at", "2018-09-05 05:58:24.716471"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Belva Keebler"}, "id"=>"3"} 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::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", 3], ["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", "Noreen Bechtelar"], ["id", 3], ["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", 18], ["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", "Belva Keebler"], ["updated_at", "2018-09-05 05:58:24.729321"], ["id", 3]]  (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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.44ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 5.7ms) 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", 3], ["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", "roxann@schaefer.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", "Dominick Jewess"], ["last_name", "Adaline Fisher"], ["email", "roxann@schaefer.co.uk"], ["password_digest", "$2a$04$Kwb8be5tRVyBZmQ6y8LSw.6yRiKpXHATuXu/eng5K2jWi/uTzcTt2"], ["created_at", "2018-09-05 05:58:24.744790"], ["updated_at", "2018-09-05 05:58:24.744790"]]  (0.6ms) 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", "maximina@rolfson.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", "Arla Nicolas"], ["last_name", "Thea Pfeffer"], ["email", "maximina@rolfson.co.uk"], ["password_digest", "$2a$04$ZyPKE0LiHBp5PIE7lIJam.pyIJua65nwC77mbb2pC63253eIzVJI6"], ["created_at", "2018-09-05 05:58:24.751928"], ["updated_at", "2018-09-05 05:58:24.751928"]]  (0.6ms) 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", "christa@rodriguez.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", "Fatimah Hand"], ["last_name", "Stasia Huel"], ["email", "christa@rodriguez.name"], ["password_digest", "$2a$04$r6KSkT/5Th1t6sFl8hjVhenVe4NB/RlctPtlLrATLA3UTcGt856zO"], ["created_at", "2018-09-05 05:58:24.759322"], ["updated_at", "2018-09-05 05:58:24.759322"]]  (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", "Yung Stroman"], ["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", "Yung Stroman"], ["authorized_by", "Marietta Quitzon"], ["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", 21], ["approved_by_id", 22], ["created_at", "2018-09-05 05:58:24.764587"], ["updated_at", "2018-09-05 05:58:24.764587"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.7ms) 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", "maria_connelly@brown.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", "Monty Yost"], ["last_name", "Agnes Walker"], ["email", "maria_connelly@brown.co.uk"], ["password_digest", "$2a$04$iooGyR3RErDoH/fpBll9Su7oUOK4wAeOT0kSypg0WbELmlLwoFXSS"], ["created_at", "2018-09-05 05:58:24.778223"], ["updated_at", "2018-09-05 05:58:24.778223"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "leisa.mills@ledneryundt.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", "Gene Tillman"], ["last_name", "Demarcus Yundt"], ["email", "leisa.mills@ledneryundt.ca"], ["password_digest", "$2a$04$7A1xIewY.8vnzRYd1WBw.eVvoYHAtNI0wRWVGrWjR1iO6Zq.dbbou"], ["created_at", "2018-09-05 05:58:24.786980"], ["updated_at", "2018-09-05 05:58:24.786980"]]  (0.5ms) 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", "raul@monahankozey.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", "Cornelius Heidenreich"], ["last_name", "Wyatt Abbott"], ["email", "raul@monahankozey.biz"], ["password_digest", "$2a$04$dzFFiuUraTVPlKXT/g0DvOkNqG7C.0lohUitMbe71VZ4xfLGN.ktW"], ["created_at", "2018-09-05 05:58:24.793863"], ["updated_at", "2018-09-05 05:58:24.793863"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Arla Jast"], ["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", "Arla Jast"], ["authorized_by", "Rodrigo Hackett"], ["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 05:58:24.798975"], ["updated_at", "2018-09-05 05:58:24.798975"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (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", "jaime_runolfsson@hagenes.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", "Lynna Gleichner"], ["last_name", "Cris Leuschke"], ["email", "jaime_runolfsson@hagenes.co.uk"], ["password_digest", "$2a$04$T88N/ZX7a0WOYihWorYo1u2HHKW2Hl0k7ZJ.PLtK4KsqazdbVYDN6"], ["created_at", "2018-09-05 05:58:24.810697"], ["updated_at", "2018-09-05 05:58:24.810697"]]  (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", "Darcy Hermann"], ["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", "Darcy Hermann"], ["name", "Candelaria McLaughlin"], ["address", "Alysia Kozey"], ["created_at", "2018-09-05 05:58:24.816437"], ["updated_at", "2018-09-05 05:58:24.816437"]]  (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", "Charis Hyatt"], ["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", "Charis Hyatt"], ["name", "Adah Lynch"], ["description", "Vickey Ebert"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:58:24.820943"], ["updated_at", "2018-09-05 05:58:24.820943"]]  (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", 26], ["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", 26], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.3ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.45ms) Completed 200 OK in 11ms (Views: 5.7ms | ActiveRecord: 3.9ms)  (1.1ms) ROLLBACK  (0.7ms) BEGIN  (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", "brett.bayer@glover.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", "Kassie Wisoky"], ["last_name", "Cristobal Hettinger"], ["email", "brett.bayer@glover.com"], ["password_digest", "$2a$04$MAbaJJrUAX1qgeeCkek07O8Lm8kldFwz197USRXpKM7ObU0iQfVNq"], ["created_at", "2018-09-05 05:58:24.846429"], ["updated_at", "2018-09-05 05:58:24.846429"]]  (0.7ms) 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", "Evelina Larkin"], ["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", "Evelina Larkin"], ["name", "Markus Reichel"], ["address", "Sheila VonRueden"], ["created_at", "2018-09-05 05:58:24.853339"], ["updated_at", "2018-09-05 05:58:24.853339"]]  (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", "Loriann Dare"], ["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", "Loriann Dare"], ["name", "Velda Kunze"], ["description", "Jamila Monahan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:58:24.858846"], ["updated_at", "2018-09-05 05:58:24.858846"]]  (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", "Dalia Dickens"], ["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", "Dalia Dickens"], ["name", "Dennise Block"], ["description", "Mozell Ortiz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:58:24.863825"], ["updated_at", "2018-09-05 05:58:24.863825"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Tana Runte"], ["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", "Tana Runte"], ["name", "Quincy Littel"], ["description", "Issac Ratke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:58:24.869809"], ["updated_at", "2018-09-05 05:58:24.869809"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["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", 27], ["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", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.47ms) Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 3.9ms)  (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", "genie@wunsch.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", "Tera Baumbach"], ["last_name", "Troy Gleason"], ["email", "genie@wunsch.ca"], ["password_digest", "$2a$04$0ngPvbhAQfoL9.r4/7C0ee.yodQy.Jtxo5dDZlo4V4jzt8U.uXcKi"], ["created_at", "2018-09-05 05:58:24.890830"], ["updated_at", "2018-09-05 05:58:24.890830"]]  (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", "Lajuana Koss"], ["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", "Lajuana Koss"], ["name", "Alda Wisozk"], ["address", "Reita Fritsch"], ["created_at", "2018-09-05 05:58:24.895635"], ["updated_at", "2018-09-05 05:58:24.895635"]]  (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", "Regena Barton"], ["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", "Regena Barton"], ["name", "Paulita Wiegand"], ["description", "Mui Ryan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:58:24.900429"], ["updated_at", "2018-09-05 05:58:24.900429"]]  (0.8ms) 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", "Candi Bailey"], ["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", "Candi Bailey"], ["name", "Marceline Christiansen"], ["description", "Audria Reinger"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:58:24.906500"], ["updated_at", "2018-09-05 05:58:24.906500"]]  (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", "Christopher Vandervort"], ["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", "Christopher Vandervort"], ["name", "Jacinto Auer"], ["description", "Eulalia Bartell"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:58:24.911562"], ["updated_at", "2018-09-05 05:58:24.911562"]]  (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", "Jacob Becker"], ["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", "Jacob Becker"], ["name", "Rolanda King"], ["address", "Cherry Lebsack"], ["created_at", "2018-09-05 05:58:24.917147"], ["updated_at", "2018-09-05 05:58:24.917147"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Tony Durgan"], ["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", "Tony Durgan"], ["name", "Kendall Borer"], ["description", "Tamala Homenick"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:58:24.924364"], ["updated_at", "2018-09-05 05:58:24.924364"]]  (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", "Deshawn Keebler"], ["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", "Deshawn Keebler"], ["name", "Corrie Olson"], ["address", "Lynsey Ondricka"], ["created_at", "2018-09-05 05:58:24.932053"], ["updated_at", "2018-09-05 05:58:24.932053"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Gail Kassulke"], ["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", "Gail Kassulke"], ["name", "Dannie Sipes"], ["description", "Junko Weimann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:58:24.937867"], ["updated_at", "2018-09-05 05:58:24.937867"]]  (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", "Colton Aufderhar"], ["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", "Colton Aufderhar"], ["name", "Senaida Ernser"], ["address", "Grady Moore"], ["created_at", "2018-09-05 05:58:24.943064"], ["updated_at", "2018-09-05 05:58:24.943064"]]  (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", "Melba Erdman"], ["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", "Melba Erdman"], ["name", "Coral Littel"], ["description", "Vernia Hermiston"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:58:24.947333"], ["updated_at", "2018-09-05 05:58:24.947333"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["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", 28], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [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", 13], ["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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.29ms) Completed 200 OK in 10ms (Views: 4.3ms | ActiveRecord: 4.7ms)  (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", "shantay@abernathy.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", "Cornelius Keeling"], ["last_name", "Stefani Hegmann"], ["email", "shantay@abernathy.com"], ["password_digest", "$2a$04$Er32hLgk2V52cwWXzYio0eqxEArApBepwiKvQvRlr.uTYLbl4dY.W"], ["created_at", "2018-09-05 05:58:24.969585"], ["updated_at", "2018-09-05 05:58:24.969585"]]  (0.5ms) 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", "Monet Steuber"], ["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", "Monet Steuber"], ["name", "Hertha Gibson"], ["address", "Adrianne Casper"], ["created_at", "2018-09-05 05:58:24.975220"], ["updated_at", "2018-09-05 05:58:24.975220"]]  (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", "Elease Ondricka"], ["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", "Elease Ondricka"], ["name", "Dario Parker"], ["description", "Jesse Prohaska"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:58:24.979932"], ["updated_at", "2018-09-05 05:58:24.979932"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} 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::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 22], ["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]] [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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.68ms) Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 2.8ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "shani.rutherford@bogan.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", "Angelita Howell"], ["last_name", "Emmie Davis"], ["email", "shani.rutherford@bogan.name"], ["password_digest", "$2a$04$2rNNRhcPoLSY.8TAOdvBFOzwAZ5jhcbjJ.JN8dhqg6FCN.puz/koC"], ["created_at", "2018-09-05 05:58:24.999864"], ["updated_at", "2018-09-05 05:58:24.999864"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Bobbye VonRueden"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bobbye VonRueden"], ["name", "Mellisa Douglas"], ["address", "Becki Casper"], ["created_at", "2018-09-05 05:58:25.007397"], ["updated_at", "2018-09-05 05:58:25.007397"]]  (0.7ms) 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", "Natasha Rodriguez"], ["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", "Natasha Rodriguez"], ["name", "First Service Bundle"], ["description", "Candi Hansen"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:58:25.013687"], ["updated_at", "2018-09-05 05:58:25.013687"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Meta Hartmann"], ["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", "Meta Hartmann"], ["name", "Mary Wolff"], ["address", "Renae Gaylord"], ["created_at", "2018-09-05 05:58:25.022090"], ["updated_at", "2018-09-05 05:58:25.022090"]]  (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", "Rudolf Cole"], ["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", "Rudolf Cole"], ["name", "Second Service Bundle"], ["description", "Ellie O'Keefe"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:58:25.026619"], ["updated_at", "2018-09-05 05:58:25.026619"]]  (0.5ms) 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", 30], ["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", 30], ["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 (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", 18], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (1.89ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 4.6ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["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", 30], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) 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.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]] [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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.14ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 8.5ms)  (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", "kelvin_lynch@emmerich.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", "Lucie Schulist"], ["last_name", "Hilton Huels"], ["email", "kelvin_lynch@emmerich.name"], ["password_digest", "$2a$04$mNdIsr4ber2ZcnLUjHawjuECYBcnQcRTGo4O7q6EJ7JNwkM0QMWMS"], ["created_at", "2018-09-05 05:58:25.054744"], ["updated_at", "2018-09-05 05:58:25.054744"]]  (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", "Juliann Adams"], ["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", "Juliann Adams"], ["name", "Stepanie Maggio"], ["address", "Jae Cummings"], ["created_at", "2018-09-05 05:58:25.060493"], ["updated_at", "2018-09-05 05:58:25.060493"]]  (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", "Haywood Pollich"], ["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", "Haywood Pollich"], ["name", "FIRst Service Bundle"], ["description", "Gertude Leuschke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:58:25.065147"], ["updated_at", "2018-09-05 05:58:25.065147"]]  (1.0ms) 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", "Romana Turcotte"], ["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", "Romana Turcotte"], ["name", "Brittani Bruen"], ["address", "Tomika Bahringer"], ["created_at", "2018-09-05 05:58:25.071374"], ["updated_at", "2018-09-05 05:58:25.071374"]]  (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", "Karma Monahan"], ["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", "Karma Monahan"], ["name", "Second Service Bundle for the firST time"], ["description", "Jacquelynn Littel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:58:25.075708"], ["updated_at", "2018-09-05 05:58:25.075708"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} 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::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::ServiceBundle Load (1.2ms) 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.0ms) 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]] [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 (4.31ms) Completed 200 OK in 10ms (Views: 4.1ms | ActiveRecord: 4.6ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (4.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dawn@franeckidubuque.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", "Sun Kreiger"], ["last_name", "Tommy Parisian"], ["email", "dawn@franeckidubuque.co.uk"], ["password_digest", "$2a$04$nD8p./tlYu5j4HqaEcjWFeGQgZ7wq6caKG6Qrs17xPN41wgJFIUDi"], ["created_at", "2018-09-05 05:58:25.101719"], ["updated_at", "2018-09-05 05:58:25.101719"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Bethany Boyer"], ["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", "Bethany Boyer"], ["name", "Santos Paucek"], ["address", "Lekisha Towne"], ["created_at", "2018-09-05 05:58:25.108990"], ["updated_at", "2018-09-05 05:58:25.108990"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Lorina McGlynn", "description"=>"Laurie Mraz", "name"=>"Rachael Rice", "service_delivery_unit_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", 32], ["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", 22], ["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", "Lorina McGlynn"], ["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", "Lorina McGlynn"], ["name", "Rachael Rice"], ["description", "Laurie Mraz"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:58:25.118849"], ["updated_at", "2018-09-05 05:58:25.118849"]]  (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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.43ms) Completed 201 Created in 12ms (Views: 2.0ms | ActiveRecord: 5.2ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "carmelita.senger@murphy.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", "Carmon Hermann"], ["last_name", "Rosalind Borer"], ["email", "carmelita.senger@murphy.com"], ["password_digest", "$2a$04$yjv9k9JbxwPR1ZnS6HJQD.gPk71E6M.t6UTHHgHQPSn8aOWzwdGz."], ["created_at", "2018-09-05 05:58:25.136461"], ["updated_at", "2018-09-05 05:58:25.136461"]]  (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", "Miyoko Wolf"], ["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", "Miyoko Wolf"], ["name", "Trudie Abshire"], ["address", "Corrina Wilkinson"], ["created_at", "2018-09-05 05:58:25.142426"], ["updated_at", "2018-09-05 05:58:25.142426"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Taylor Jacobi", "description"=>"Corinna Schumm", "name"=>"Carlene Raynor", "service_delivery_unit_id"=>"23"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["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", 23], ["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", "Taylor Jacobi"], ["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", "Taylor Jacobi"], ["name", "Carlene Raynor"], ["description", "Corinna Schumm"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:58:25.155838"], ["updated_at", "2018-09-05 05:58:25.155838"]]  (0.5ms) 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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.37ms) Completed 201 Created in 12ms (Views: 2.4ms | ActiveRecord: 5.5ms) 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.8ms) ROLLBACK  (0.6ms) BEGIN  (1.5ms) 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", "wai@willms.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", "Gita Dach"], ["last_name", "Ingeborg Tromp"], ["email", "wai@willms.com"], ["password_digest", "$2a$04$Cwx3xTwAsr.fedGE8NW6zOo9RKkGuIR5gMWhB3C9yxOc/dA7qySgu"], ["created_at", "2018-09-05 05:58:25.176081"], ["updated_at", "2018-09-05 05:58:25.176081"]]  (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", "Enoch Schmidt"], ["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", "Enoch Schmidt"], ["name", "Tequila Grant"], ["address", "Regina Runolfsson"], ["created_at", "2018-09-05 05:58:25.181619"], ["updated_at", "2018-09-05 05:58:25.181619"]]  (3.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Guillermo Greenfelder", "name"=>"Izola Champlin", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.6ms) 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", 24], ["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.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", 34], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.16ms) Completed 422 Unprocessable Entity in 12ms (Views: 4.7ms | ActiveRecord: 4.0ms)  (0.9ms) 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", "roger@vandervort.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", "Chantelle Jast"], ["last_name", "Shawna Leuschke"], ["email", "roger@vandervort.com"], ["password_digest", "$2a$04$f3RQ6b/S9fiYBuhMXiJDju8yOlw2b2Q9i2WxPXHA55bXUrpERhjnW"], ["created_at", "2018-09-05 05:58:25.209404"], ["updated_at", "2018-09-05 05:58:25.209404"]]  (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", "Deandre 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", "Deandre Eichmann"], ["name", "Rocco Skiles"], ["address", "Arthur D'Amore"], ["created_at", "2018-09-05 05:58:25.225718"], ["updated_at", "2018-09-05 05:58:25.225718"]]  (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", "Cordia Labadie"], ["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", "Cordia Labadie"], ["name", "Mimi O'Reilly"], ["description", "Wilber Bergnaum"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:58:25.229998"], ["updated_at", "2018-09-05 05:58:25.229998"]]  (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", "Marlyn Homenick"], ["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", "Arica Von"], ["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", "Marlyn Homenick"], ["name", "Arica Von"], ["created_at", "2018-09-05 05:58:25.235992"], ["updated_at", "2018-09-05 05:58:25.235992"]]  (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", "Twyla Gibson"], ["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", "Twyla Gibson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:25.240643"], ["updated_at", "2018-09-05 05:58:25.240643"]]  (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", "Luigi Marvin"], ["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", "Luigi Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:25.245243"], ["updated_at", "2018-09-05 05:58:25.245243"]]  (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", "Machelle Lemke"], ["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", "Machelle Lemke"], ["name", "Dania Stokes"], ["address", "Stephanie Fisher"], ["created_at", "2018-09-05 05:58:25.249579"], ["updated_at", "2018-09-05 05:58:25.249579"]]  (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", "Santiago Prosacco"], ["service_delivery_unit_id", 26], ["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", "Santiago Prosacco"], ["name", "Hortencia Carroll"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:58:25.254070"], ["updated_at", "2018-09-05 05:58:25.254070"]] 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", 26], ["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", "Santiago Prosacco"], ["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", "Santiago Prosacco"], ["name", "Hortencia Carroll"], ["description", "Default bundle for service 'Hortencia Carroll'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:58:25.259547"], ["updated_at", "2018-09-05 05:58:25.259547"]] 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", 30], ["chargeable_service_id", 12]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["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", 29], ["LIMIT", 1]] Unpermitted parameter: :id Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 3.0ms)  (0.7ms) ROLLBACK  (0.6ms) 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", "georgine.daugherty@jacobi.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", "Kyle Little"], ["last_name", "Joey Reinger"], ["email", "georgine.daugherty@jacobi.name"], ["password_digest", "$2a$04$9GU5ax42D2uw6N1A2sSCi.SfDekiucm/11wWf491Tk/.LM55CueAu"], ["created_at", "2018-09-05 05:58:25.291073"], ["updated_at", "2018-09-05 05:58:25.291073"]]  (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", "Jesica Cormier"], ["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", "Jesica Cormier"], ["name", "George Harvey"], ["address", "Jeffrey Walter"], ["created_at", "2018-09-05 05:58:25.296233"], ["updated_at", "2018-09-05 05:58:25.296233"]]  (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", "Dorian Dare"], ["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", "Dorian Dare"], ["name", "Charisse Jenkins"], ["description", "Steve Langworth"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:58:25.300585"], ["updated_at", "2018-09-05 05:58:25.300585"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Kim Kautzer"}, "id"=>"31"} 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::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", 31], ["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", 27], ["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", "Dorian Dare"], ["id", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (0.9ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Kim Kautzer"], ["updated_at", "2018-09-05 05:58:25.312377"], ["id", 31]]  (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", 36], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.32ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 5.8ms) Mks::Rate::ServiceBundle Load (1.3ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.8ms) BEGIN  (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", "conception@hermistonfeil.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", "Darcey Jones"], ["last_name", "Sal D'Amore"], ["email", "conception@hermistonfeil.biz"], ["password_digest", "$2a$04$tBsQoxe4fOR0CAWT9EIXCOIvYYm9X6lxVliTAlVEC8Fsi8MpFOpbq"], ["created_at", "2018-09-05 05:58:25.331552"], ["updated_at", "2018-09-05 05:58:25.331552"]]  (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", "Deane Jones"], ["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", "Deane Jones"], ["name", "Carey Kilback"], ["address", "Nubia Gislason"], ["created_at", "2018-09-05 05:58:25.339028"], ["updated_at", "2018-09-05 05:58:25.339028"]]  (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", "Mikaela Wiza"], ["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", "Mikaela Wiza"], ["name", "Veta Ankunding"], ["description", "Tasha Mueller"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:58:25.343409"], ["updated_at", "2018-09-05 05:58:25.343409"]]  (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", "Torie 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", "Torie Haag"], ["name", "Taisha Daniel"], ["address", "Cathrine Walsh"], ["created_at", "2018-09-05 05:58:25.348205"], ["updated_at", "2018-09-05 05:58:25.348205"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Chanda Stehr", "description"=>"Ivan Corwin", "name"=>"Oscar Kerluke", "service_delivery_unit_id"=>"29"}, "id"=>"32"} Mks::Auth::User Load (1.1ms) 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.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 32], ["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", 29], ["LIMIT", 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", "Chanda Stehr"], ["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.6ms) 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", "Chanda Stehr"], ["name", "Oscar Kerluke"], ["description", "Ivan Corwin"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:58:25.360566"], ["id", 32]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.44ms) Completed 200 OK in 17ms (Views: 2.9ms | ActiveRecord: 8.2ms)  (0.9ms) 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", "adriane_heathcote@schowalter.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", "Edris Senger"], ["last_name", "Matthew Osinski"], ["email", "adriane_heathcote@schowalter.ca"], ["password_digest", "$2a$04$3BK68WJMhKDhS.MNRhaCtuElRfmxlyg4deTeqNuUXzoZyieprF/Tu"], ["created_at", "2018-09-05 05:58:25.378198"], ["updated_at", "2018-09-05 05:58:25.378198"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mariella 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", "Mariella Bosco"], ["name", "Otis Spencer"], ["address", "Nia Jacobson"], ["created_at", "2018-09-05 05:58:25.386026"], ["updated_at", "2018-09-05 05:58:25.386026"]]  (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", "Edda Jacobs"], ["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", "Edda Jacobs"], ["name", "Logan Heller"], ["description", "Celestine Johnson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:58:25.390572"], ["updated_at", "2018-09-05 05:58:25.390572"]]  (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", "Maryanna Lehner"], ["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", "Maryanna Lehner"], ["name", "Liana Lynch"], ["address", "Noel Bayer"], ["created_at", "2018-09-05 05:58:25.395191"], ["updated_at", "2018-09-05 05:58:25.395191"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Marion Dickens", "name"=>"Denis Morissette", "service_delivery_unit_id"=>"31"}, "id"=>"33"} 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::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", 33], ["LIMIT", 1]]  (0.6ms) 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", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.4ms) 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", 33], ["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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.2ms | ActiveRecord: 6.3ms)  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (1.2ms) 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", "benito.kozey@mclaughlin.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", "Mayme Jacobi"], ["last_name", "Lakeisha Collier"], ["email", "benito.kozey@mclaughlin.biz"], ["password_digest", "$2a$04$Uf5t8xy.gEZEZBgdUq6Icu0knAg.xdf1YqEhEwFDsG/ghNTmiMBcW"], ["created_at", "2018-09-05 05:58:25.421240"], ["updated_at", "2018-09-05 05:58:25.421240"]]  (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", "Paulita Kris"], ["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", "Paulita Kris"], ["name", "Rhonda Schoen"], ["address", "Alleen Rutherford"], ["created_at", "2018-09-05 05:58:25.426459"], ["updated_at", "2018-09-05 05:58:25.426459"]]  (0.5ms) 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", "Madelyn Davis"], ["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", "Madelyn Davis"], ["name", "Cyndi Heller"], ["address", "Emilio Goyette"], ["created_at", "2018-09-05 05:58:25.431738"], ["updated_at", "2018-09-05 05:58:25.431738"]]  (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", "Regine Schumm"], ["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", "Regine Schumm"], ["name", "Pricilla Cormier"], ["address", "Giselle Grady"], ["created_at", "2018-09-05 05:58:25.436857"], ["updated_at", "2018-09-05 05:58:25.436857"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#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", 39], ["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", 39], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) 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.66ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 2.0ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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", "allan_hudson@metz.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", "Brian Pollich"], ["last_name", "Randi Barrows"], ["email", "allan_hudson@metz.biz"], ["password_digest", "$2a$04$G8Q8oKeeF1fZ4WWHi0wiAOmG9TFa5LPQ7yJwxAL/Rg/qrt26mflcK"], ["created_at", "2018-09-05 05:58:25.459744"], ["updated_at", "2018-09-05 05:58:25.459744"]]  (0.5ms) 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"=>"Laraine McKenzie", "code"=>"Greta Kertzmann", "name"=>"Althea Bogisich"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 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", "Greta 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", "Greta Kertzmann"], ["name", "Althea Bogisich"], ["address", "Laraine McKenzie"], ["created_at", "2018-09-05 05:58:25.469777"], ["updated_at", "2018-09-05 05:58:25.469777"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.12ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.26ms) Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 5.4ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.7ms) 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", "deeanna@fritschgoldner.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", "Shondra Wyman"], ["last_name", "Pasquale Schroeder"], ["email", "deeanna@fritschgoldner.name"], ["password_digest", "$2a$04$m7/F3z14SVZOIJ7s0sPgYeu1bvFXCriQPJh0gkwkvZcyqvEScVSfW"], ["created_at", "2018-09-05 05:58:25.485948"], ["updated_at", "2018-09-05 05:58:25.485948"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Claretha Reichel", "code"=>"Josephine O'Kon", "name"=>"Candace Swift"}} 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]]  (0.6ms) 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 LIMIT $2 [["code", "Josephine O'Kon"], ["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", "Josephine O'Kon"], ["name", "Candace Swift"], ["address", "Claretha Reichel"], ["created_at", "2018-09-05 05:58:25.495878"], ["updated_at", "2018-09-05 05:58:25.495878"]]  (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.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 5.6ms)  (0.8ms) 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", "laurinda@jacobslockman.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", "Serafina Sauer"], ["last_name", "Chaya Schumm"], ["email", "laurinda@jacobslockman.name"], ["password_digest", "$2a$04$g8za3Yf1pyn/NN13FnTzhOWbpTKNHS10SnvaUBKplmH9l0mmJeYmq"], ["created_at", "2018-09-05 05:58:25.509494"], ["updated_at", "2018-09-05 05:58:25.509494"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Verdell Leffler", "code"=>"", "name"=>"Willie Kuvalis"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 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", ""], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 4.3ms)  (0.9ms) 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", "stewart@johnsonkulas.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", "Ivelisse O'Hara"], ["last_name", "Hertha Schmeler"], ["email", "stewart@johnsonkulas.name"], ["password_digest", "$2a$04$cJa5ceFPHLviNx5wfs3RUuOBuwPhqtNuyNVPs7h7ZWySxybPieqXW"], ["created_at", "2018-09-05 05:58:25.530363"], ["updated_at", "2018-09-05 05:58:25.530363"]]  (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", "Christin Leffler"], ["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", "Christin Leffler"], ["name", "Heath Herzog"], ["address", "Whitney Carroll"], ["created_at", "2018-09-05 05:58:25.535514"], ["updated_at", "2018-09-05 05:58:25.535514"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["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", 37], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Christin Leffler"], ["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (0.9ms) 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 05:58:25.546303"], ["id", 37]]  (0.5ms) 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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.44ms) Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 5.8ms) 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]]  (0.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", "demetria@murphybartoletti.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", "Ollie O'Hara"], ["last_name", "Lidia Erdman"], ["email", "demetria@murphybartoletti.us"], ["password_digest", "$2a$04$LaqMoyGLc8gU8lZIYb29Gu2Anx9vjYUgzPg9CuWE4Kw0eS.PD03fO"], ["created_at", "2018-09-05 05:58:25.561015"], ["updated_at", "2018-09-05 05:58:25.561015"]]  (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", "Bettina Klein"], ["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", "Bettina Klein"], ["name", "Lanora Reichert"], ["address", "Max Medhurst"], ["created_at", "2018-09-05 05:58:25.565858"], ["updated_at", "2018-09-05 05:58:25.565858"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} 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]] 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", 38], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Bettina Klein"], ["id", 38], ["LIMIT", 1]]  (0.5ms) 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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.18ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.5ms | ActiveRecord: 4.1ms)  (0.9ms) ROLLBACK  (0.6ms) 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", "arturo@towne.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", "Verna Kunde"], ["last_name", "Leota Altenwerth"], ["email", "arturo@towne.us"], ["password_digest", "$2a$04$XX2YxHWbfNOn8.oJbq4d3uXTkvxyuBP.L0tad6KmOvBAfQ2xc.qt."], ["created_at", "2018-09-05 05:58:25.586489"], ["updated_at", "2018-09-05 05:58:25.586489"]]  (0.6ms) 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", "Columbus Block"], ["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", "Joan Boyle"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Columbus Block"], ["name", "Joan Boyle"], ["description", "Sed molestiae fugiat assumenda pariatur minus nihil. Adipisci est odio et facere animi perferendis expedita magni. Quo perferendis distinctio officiis est."], ["created_at", "2018-09-05 05:58:25.676732"], ["updated_at", "2018-09-05 05:58:25.676732"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Roxanna White"], ["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", "Charmaine Borer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.4ms) 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", "Roxanna White"], ["name", "Charmaine Borer"], ["description", "Eveniet et id quaerat earum adipisci. Voluptates ipsa asperiores deleniti dolorem non atque magni maxime. Nihil voluptas praesentium ea ut. Hic perspiciatis et repellendus omnis veritatis veniam et."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:58:25.686141"], ["updated_at", "2018-09-05 05:58:25.686141"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Shantae Batz"], ["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", "Shantae Batz"], ["name", "Xavier Abbott"], ["description", "Walter Kohler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:58:25.692998"], ["updated_at", "2018-09-05 05:58:25.692998"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Chandra Armstrong"], ["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", "Shara Schultz"], ["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", "Chandra Armstrong"], ["name", "Shara Schultz"], ["description", "Keisha Kuhn"], ["created_at", "2018-09-05 05:58:25.728753"], ["updated_at", "2018-09-05 05:58:25.728753"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Stewart Champlin"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.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", "Stewart Champlin"], ["name", "Daphne Kuphal"], ["location_type_id", 1], ["description", "Adan O'Reilly"], ["address", "Kenny Wisozk"], ["created_at", "2018-09-05 05:58:25.736501"], ["updated_at", "2018-09-05 05:58:25.736501"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Corrie Greenfelder"], ["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", "Rudy Johnson"], ["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", "Corrie Greenfelder"], ["name", "Lorina Sauer"], ["description", "Santos Larkin"], ["serial_number", "Rudy Johnson"], ["brand", "Becki Kozey"], ["item_model", "Claris Ritchie"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:58:25.746823"], ["updated_at", "2018-09-05 05:58:25.746823"]]  (0.6ms) 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", "Stacia Konopelski"], ["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", "Rosalva Eichmann"], ["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", "Stacia Konopelski"], ["name", "Rosalva Eichmann"], ["created_at", "2018-09-05 05:58:25.757030"], ["updated_at", "2018-09-05 05:58:25.757030"]]  (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", "Roxana Davis"], ["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", "Roxana Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:25.762396"], ["updated_at", "2018-09-05 05:58:25.762396"]]  (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", "Marisol Schmeler"], ["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", "Marisol Schmeler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:25.768212"], ["updated_at", "2018-09-05 05:58:25.768212"]]  (0.6ms) 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", "Chantelle Berge"], ["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", "Chantelle Berge"], ["name", "Edwardo Lueilwitz"], ["address", "Ivy Schmidt"], ["created_at", "2018-09-05 05:58:25.773700"], ["updated_at", "2018-09-05 05:58:25.773700"]]  (0.8ms) 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", "Dewey Fadel"], ["service_delivery_unit_id", 39], ["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", "Dewey Fadel"], ["name", "Evelyne Predovic"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:58:25.779640"], ["updated_at", "2018-09-05 05:58:25.779640"]] 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", 39], ["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", "Dewey Fadel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Dewey Fadel"], ["name", "Evelyne Predovic"], ["description", "Default bundle for service 'Evelyne Predovic'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:58:25.786150"], ["updated_at", "2018-09-05 05:58:25.786150"]] 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", 34], ["chargeable_service_id", 13]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (2.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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:58:25.794967"], ["updated_at", "2018-09-05 05:58:25.794967"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (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", "Patty Hackett"], ["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", "Mica Schimmel"], ["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", "Patty Hackett"], ["name", "Mica Schimmel"], ["description", "Officiis ut impedit distinctio sit porro. Asperiores tempora facilis neque itaque libero. Repellendus natus quidem possimus corrupti aut. Eos illum voluptatibus dolores voluptatem quae rem fugiat enim."], ["created_at", "2018-09-05 05:58:25.804976"], ["updated_at", "2018-09-05 05:58:25.804976"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Evia Bednar"], ["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", "Devorah Becker"], ["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", "Evia Bednar"], ["name", "Devorah Becker"], ["description", "Vel quia officia iure ad et. Odio eum nisi hic at praesentium temporibus. Enim consequatur voluptas aut quis nihil. Vero soluta tenetur labore quae veniam dolor."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:58:25.816252"], ["updated_at", "2018-09-05 05:58:25.816252"]]  (0.6ms) 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", "Daniel West"], ["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", "Daniel West"], ["name", "Nguyet Jacobi"], ["description", "Hal Reilly"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:58:25.821431"], ["updated_at", "2018-09-05 05:58:25.821431"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Glennie Williamson"], ["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", "Farrah Grimes"], ["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", "Glennie Williamson"], ["name", "Farrah Grimes"], ["description", "Bertram Erdman"], ["created_at", "2018-09-05 05:58:25.828038"], ["updated_at", "2018-09-05 05:58:25.828038"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Vernice Langosh"], ["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", "Vernice Langosh"], ["name", "Esperanza Bechtelar"], ["location_type_id", 2], ["description", "Dani Lehner"], ["address", "Yoshiko Powlowski"], ["created_at", "2018-09-05 05:58:25.835208"], ["updated_at", "2018-09-05 05:58:25.835208"]]  (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", "Ulrike Mosciski"], ["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", "Jae Nikolaus"], ["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", "Ulrike Mosciski"], ["name", "Altagracia Schamberger"], ["description", "Coy Johnston"], ["serial_number", "Jae Nikolaus"], ["brand", "Dianna Schaden"], ["item_model", "Frankie Hettinger"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:58:25.841510"], ["updated_at", "2018-09-05 05:58:25.841510"]]  (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", "Mona Bernhard"], ["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", "Christel Hilpert"], ["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", "Mona Bernhard"], ["name", "Christel Hilpert"], ["created_at", "2018-09-05 05:58:25.848870"], ["updated_at", "2018-09-05 05:58:25.848870"]]  (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", "Kathe Streich"], ["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", "Kathe Streich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:25.854896"], ["updated_at", "2018-09-05 05:58:25.854896"]]  (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", "Celestine Bergnaum"], ["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", "Celestine Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:25.859636"], ["updated_at", "2018-09-05 05:58:25.859636"]]  (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", "Julian Luettgen"], ["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", "Julian Luettgen"], ["name", "Gudrun Nikolaus"], ["address", "Estella Spinka"], ["created_at", "2018-09-05 05:58:25.864485"], ["updated_at", "2018-09-05 05:58:25.864485"]]  (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", "Fredericka Prohaska"], ["service_delivery_unit_id", 40], ["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", "Fredericka Prohaska"], ["name", "Janel Fahey"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:58:25.869451"], ["updated_at", "2018-09-05 05:58:25.869451"]] 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", 40], ["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", "Fredericka Prohaska"], ["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", "Fredericka Prohaska"], ["name", "Janel Fahey"], ["description", "Default bundle for service 'Janel Fahey'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:58:25.874426"], ["updated_at", "2018-09-05 05:58:25.874426"]] 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", 35], ["chargeable_service_id", 14]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:58:25.880859"], ["updated_at", "2018-09-05 05:58:25.880859"]]  (1.0ms) 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", "Tessie Waters"], ["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", "Jacqualine Hammes"], ["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", "Tessie Waters"], ["name", "Jacqualine Hammes"], ["description", "Est at quibusdam pariatur non. Saepe repudiandae eligendi tempore cumque accusantium et voluptatibus. Laborum debitis nulla nostrum ratione atque voluptatibus aspernatur."], ["created_at", "2018-09-05 05:58:25.889517"], ["updated_at", "2018-09-05 05:58:25.889517"]]  (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", "Brandon Farrell"], ["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", "Raul Fahey"], ["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", "Brandon Farrell"], ["name", "Raul Fahey"], ["description", "Illo provident nostrum ad quia nobis placeat. Voluptatem animi vero sit ut placeat qui. Voluptatibus ullam fuga non enim rem. Aspernatur totam sapiente doloremque deleniti repellendus temporibus."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:58:25.896128"], ["updated_at", "2018-09-05 05:58:25.896128"]]  (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", "Joetta Leuschke"], ["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", "Joetta Leuschke"], ["name", "Catharine Boyer"], ["description", "Kaley McGlynn"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:58:25.900997"], ["updated_at", "2018-09-05 05:58:25.900997"]]  (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", "Mirtha Ebert"], ["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", "Hank Bayer"], ["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", "Mirtha Ebert"], ["name", "Hank Bayer"], ["description", "Leandra Zboncak"], ["created_at", "2018-09-05 05:58:25.907524"], ["updated_at", "2018-09-05 05:58:25.907524"]]  (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", "Antony Lang"], ["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", "Antony Lang"], ["name", "Marcos Wyman"], ["location_type_id", 3], ["description", "Zada Wisozk"], ["address", "Valarie Swift"], ["created_at", "2018-09-05 05:58:25.911926"], ["updated_at", "2018-09-05 05:58:25.911926"]]  (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", "Opal Jewess"], ["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", "Tesha Lubowitz"], ["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", "Opal Jewess"], ["name", "Desire Leuschke"], ["description", "Rolande Grady"], ["serial_number", "Tesha Lubowitz"], ["brand", "Hugo VonRueden"], ["item_model", "Bernardine Bauch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:58:25.917567"], ["updated_at", "2018-09-05 05:58:25.917567"]]  (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", "Sandee White"], ["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", "Romaine Steuber"], ["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", "Sandee White"], ["name", "Romaine Steuber"], ["created_at", "2018-09-05 05:58:25.924524"], ["updated_at", "2018-09-05 05:58:25.924524"]]  (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", "Dreama Hamill"], ["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", "Dreama Hamill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:25.929024"], ["updated_at", "2018-09-05 05:58:25.929024"]]  (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", "Dante Tremblay"], ["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", "Dante Tremblay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:25.934502"], ["updated_at", "2018-09-05 05:58:25.934502"]]  (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", "Carri Heathcote"], ["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", "Carri Heathcote"], ["name", "Ying Watsica"], ["address", "Aron Jaskolski"], ["created_at", "2018-09-05 05:58:25.939467"], ["updated_at", "2018-09-05 05:58:25.939467"]]  (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", "Cicely Runte"], ["service_delivery_unit_id", 41], ["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", "Cicely Runte"], ["name", "Valrie Dietrich"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:58:25.944370"], ["updated_at", "2018-09-05 05:58:25.944370"]] 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 (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cicely Runte"], ["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", "Cicely Runte"], ["name", "Valrie Dietrich"], ["description", "Default bundle for service 'Valrie Dietrich'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:58:25.950022"], ["updated_at", "2018-09-05 05:58:25.950022"]] 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", 36], ["chargeable_service_id", 15]]  (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", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:58:25.956754"], ["updated_at", "2018-09-05 05:58:25.956754"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#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", 45], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.0ms) 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", 13], ["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", 1], ["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", 14], ["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", 2], ["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", 15], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.24ms)  (0.8ms) 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", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 20ms (Views: 1.4ms | ActiveRecord: 8.2ms)  (1.2ms) 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", "shaquana@kemmer.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", "Deloise Tromp"], ["last_name", "Hilde Hegmann"], ["email", "shaquana@kemmer.info"], ["password_digest", "$2a$04$DGmGUCIw9gNnIMNg51BXjek0FsbKboOWwR8c5RqU.4d3wueOK8VSW"], ["created_at", "2018-09-05 05:58:25.990163"], ["updated_at", "2018-09-05 05:58:25.990163"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Sana Dickinson"], ["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", "Jon Dickinson"], ["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", "Sana Dickinson"], ["name", "Jon Dickinson"], ["description", "Quam accusamus et quia expedita dolorem. Culpa debitis delectus sed aut nihil. Illum assumenda magni ab omnis non velit occaecati voluptatem. Sunt quisquam atque et reprehenderit iure et."], ["created_at", "2018-09-05 05:58:25.999766"], ["updated_at", "2018-09-05 05:58:25.999766"]]  (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", "Augustina Runolfsdottir"], ["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", "Annice Kulas"], ["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", "Augustina Runolfsdottir"], ["name", "Annice Kulas"], ["description", "Dolores voluptatibus excepturi sit tempora consequuntur necessitatibus. At eveniet quia culpa consectetur cupiditate. Et tenetur nesciunt dolorum vel dicta. Et distinctio quaerat quia veritatis ad ea. Commodi omnis est ut expedita."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:58:26.005665"], ["updated_at", "2018-09-05 05:58:26.005665"]]  (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", "Theodore Reilly"], ["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", "Theodore Reilly"], ["name", "Meridith Treutel"], ["description", "September Kutch"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:58:26.010211"], ["updated_at", "2018-09-05 05:58:26.010211"]]  (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", "Tamra Anderson"], ["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", "Lamar Block"], ["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", "Tamra Anderson"], ["name", "Lamar Block"], ["description", "Adrien Spinka"], ["created_at", "2018-09-05 05:58:26.016359"], ["updated_at", "2018-09-05 05:58:26.016359"]]  (0.7ms) 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", "Cherlyn Moen"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.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", "Cherlyn Moen"], ["name", "Joya Krajcik"], ["location_type_id", 4], ["description", "Tommy Turcotte"], ["address", "Pamelia Hahn"], ["created_at", "2018-09-05 05:58:26.022533"], ["updated_at", "2018-09-05 05:58:26.022533"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Chia Jones"], ["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", "Katharyn Erdman"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Chia Jones"], ["name", "Kortney Simonis"], ["description", "Dannielle Stanton"], ["serial_number", "Katharyn Erdman"], ["brand", "Pandora Abbott"], ["item_model", "Florance O'Kon"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:58:26.030338"], ["updated_at", "2018-09-05 05:58:26.030338"]]  (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", "Erin Harris"], ["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", "Trudie Bergnaum"], ["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", "Erin Harris"], ["name", "Trudie Bergnaum"], ["created_at", "2018-09-05 05:58:26.038902"], ["updated_at", "2018-09-05 05:58:26.038902"]]  (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", "Emmaline Vandervort"], ["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", "Emmaline Vandervort"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.043884"], ["updated_at", "2018-09-05 05:58:26.043884"]]  (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", "Alta Dooley"], ["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", "Alta Dooley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.048618"], ["updated_at", "2018-09-05 05:58:26.048618"]]  (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", "Linwood Swaniawski"], ["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", "Linwood Swaniawski"], ["name", "Darrick Johns"], ["address", "Lucilla Ledner"], ["created_at", "2018-09-05 05:58:26.053300"], ["updated_at", "2018-09-05 05:58:26.053300"]]  (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", "Gerald Mertz"], ["service_delivery_unit_id", 42], ["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", "Gerald Mertz"], ["name", "Christine Stamm"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:58:26.058410"], ["updated_at", "2018-09-05 05:58:26.058410"]] 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", 42], ["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", "Gerald Mertz"], ["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", "Gerald Mertz"], ["name", "Christine Stamm"], ["description", "Default bundle for service 'Christine Stamm'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:58:26.063392"], ["updated_at", "2018-09-05 05:58:26.063392"]] 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", 37], ["chargeable_service_id", 16]]  (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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:58:26.070765"], ["updated_at", "2018-09-05 05:58:26.070765"]]  (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", "Ghislaine Ullrich"], ["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", "Lynda Williamson"], ["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", "Ghislaine Ullrich"], ["name", "Lynda Williamson"], ["description", "Cupiditate sunt sequi vero ut consequatur atque veniam. Iste consequuntur qui voluptatem rerum nulla voluptas ut esse. Quas magni tenetur in sunt pariatur voluptatem vero. In vel aliquam quae illum quia ducimus est eum."], ["created_at", "2018-09-05 05:58:26.077986"], ["updated_at", "2018-09-05 05:58:26.077986"]]  (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", "Lorenza Anderson"], ["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", "Mark McGlynn"], ["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", "Lorenza Anderson"], ["name", "Mark McGlynn"], ["description", "Similique quo fugit praesentium alias eveniet dicta consequuntur aut. Rem quasi quis voluptates deserunt consectetur quia omnis. Ducimus rerum impedit dicta eveniet voluptatem. Voluptatibus in eos iste id perferendis ut sint quis."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:58:26.083514"], ["updated_at", "2018-09-05 05:58:26.083514"]]  (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", "Olga Ratke"], ["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", "Olga Ratke"], ["name", "Yaeko Prosacco"], ["description", "Verlie Eichmann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:58:26.088351"], ["updated_at", "2018-09-05 05:58:26.088351"]]  (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", "Chong Nikolaus"], ["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", "Mari Langworth"], ["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", "Chong Nikolaus"], ["name", "Mari Langworth"], ["description", "Cyrus Fay"], ["created_at", "2018-09-05 05:58:26.094912"], ["updated_at", "2018-09-05 05:58:26.094912"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Cathy Crist"], ["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", "Cathy Crist"], ["name", "Idella Huels"], ["location_type_id", 5], ["description", "Omega Fadel"], ["address", "Estela Strosin"], ["created_at", "2018-09-05 05:58:26.100271"], ["updated_at", "2018-09-05 05:58:26.100271"]]  (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", "Ema Kuphal"], ["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", "Marva Wehner"], ["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", "Ema Kuphal"], ["name", "Cheryl Beahan"], ["description", "Augustus Swift"], ["serial_number", "Marva Wehner"], ["brand", "Tonja O'Hara"], ["item_model", "Judy Larkin"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:58:26.107765"], ["updated_at", "2018-09-05 05:58:26.107765"]]  (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", "Shayla Zboncak"], ["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", "Albina Lehner"], ["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", "Shayla Zboncak"], ["name", "Albina Lehner"], ["created_at", "2018-09-05 05:58:26.114583"], ["updated_at", "2018-09-05 05:58:26.114583"]]  (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", "Maricruz Welch"], ["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", "Maricruz Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.119487"], ["updated_at", "2018-09-05 05:58:26.119487"]]  (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", "Korey Hartmann"], ["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", "Korey Hartmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.124052"], ["updated_at", "2018-09-05 05:58:26.124052"]]  (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", "Abel Block"], ["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", "Abel Block"], ["name", "Ardis Hintz"], ["address", "Lara Rippin"], ["created_at", "2018-09-05 05:58:26.128555"], ["updated_at", "2018-09-05 05:58:26.128555"]]  (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", "Thelma Russel"], ["service_delivery_unit_id", 43], ["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", "Thelma Russel"], ["name", "Maggie Reynolds"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:58:26.133070"], ["updated_at", "2018-09-05 05:58:26.133070"]] 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", 43], ["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", "Thelma Russel"], ["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", "Thelma Russel"], ["name", "Maggie Reynolds"], ["description", "Default bundle for service 'Maggie Reynolds'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:58:26.137752"], ["updated_at", "2018-09-05 05:58:26.137752"]] 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", 38], ["chargeable_service_id", 17]]  (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", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:58:26.144386"], ["updated_at", "2018-09-05 05:58:26.144386"]]  (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", "Lemuel 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", "Winford Koss"], ["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", "Lemuel Klein"], ["name", "Winford Koss"], ["description", "Reprehenderit ex est aliquid repellendus itaque magni molestiae. Et voluptate officia similique consequatur. Doloremque a qui mollitia quis in officiis et. Sint laboriosam quae aut ut eveniet ut deleniti."], ["created_at", "2018-09-05 05:58:26.152647"], ["updated_at", "2018-09-05 05:58:26.152647"]]  (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", "Karol Klocko"], ["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", "Jerrica Schowalter"], ["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", "Karol Klocko"], ["name", "Jerrica Schowalter"], ["description", "Et necessitatibus aliquam error nostrum. Enim reiciendis natus magnam voluptatibus veritatis quod. Sapiente ab numquam quia reiciendis in vitae quia dolorem. Accusamus porro non consectetur rerum commodi debitis sint. Consequatur expedita cupiditate porro facere perferendis aperiam incidunt aut."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:58:26.158162"], ["updated_at", "2018-09-05 05:58:26.158162"]]  (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", "Stella Bins"], ["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", "Stella Bins"], ["name", "Loma Haley"], ["description", "Riva Franecki"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:58:26.162822"], ["updated_at", "2018-09-05 05:58:26.162822"]]  (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", "Anamaria Hermiston"], ["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", "Tifany Friesen"], ["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", "Anamaria Hermiston"], ["name", "Tifany Friesen"], ["description", "Dessie Bosco"], ["created_at", "2018-09-05 05:58:26.168991"], ["updated_at", "2018-09-05 05:58:26.168991"]]  (0.6ms) 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", "Garry Wiza"], ["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", "Garry Wiza"], ["name", "Junita Halvorson"], ["location_type_id", 6], ["description", "Aimee Waters"], ["address", "Asuncion Dach"], ["created_at", "2018-09-05 05:58:26.173694"], ["updated_at", "2018-09-05 05:58:26.173694"]]  (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", "Dagmar O'Kon"], ["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", "Jerry Conn"], ["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", "Dagmar O'Kon"], ["name", "Inge Kuphal"], ["description", "Rosanna Gerhold"], ["serial_number", "Jerry Conn"], ["brand", "Nikki Stark"], ["item_model", "Caryn Considine"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:58:26.179990"], ["updated_at", "2018-09-05 05:58:26.179990"]]  (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", "Laurette Schneider"], ["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", "Darrell Watsica"], ["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", "Laurette Schneider"], ["name", "Darrell Watsica"], ["created_at", "2018-09-05 05:58:26.187807"], ["updated_at", "2018-09-05 05:58:26.187807"]]  (0.5ms) 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", "Marty Maggio"], ["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", "Marty Maggio"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.193259"], ["updated_at", "2018-09-05 05:58:26.193259"]]  (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", "Katelin 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", "Katelin Prosacco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.197943"], ["updated_at", "2018-09-05 05:58:26.197943"]]  (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", "Albertina Mann"], ["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", "Albertina Mann"], ["name", "Dorian Auer"], ["address", "Eryn Grimes"], ["created_at", "2018-09-05 05:58:26.202879"], ["updated_at", "2018-09-05 05:58:26.202879"]]  (0.7ms) RELEASE SAVEPOINT active_record_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", "Miriam Von"], ["service_delivery_unit_id", 44], ["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", "Miriam Von"], ["name", "Renetta Block"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:58:26.209431"], ["updated_at", "2018-09-05 05:58:26.209431"]] 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", 44], ["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", "Miriam Von"], ["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", "Miriam Von"], ["name", "Renetta Block"], ["description", "Default bundle for service 'Renetta Block'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:58:26.214705"], ["updated_at", "2018-09-05 05:58:26.214705"]] 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", 39], ["chargeable_service_id", 18]]  (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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:58:26.220926"], ["updated_at", "2018-09-05 05:58:26.220926"]]  (0.5ms) 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", 46], ["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", 46], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 16], ["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", 4], ["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", 42], ["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", 17], ["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", 5], ["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", 43], ["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", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (13.71ms) Completed 200 OK in 20ms (Views: 9.0ms | ActiveRecord: 8.4ms)  (0.7ms) 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", "carina.schumm@schmitttillman.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", "Frances O'Reilly"], ["last_name", "Edgar Wiza"], ["email", "carina.schumm@schmitttillman.name"], ["password_digest", "$2a$04$e58NFKgd1lBzbXn10L8GMOs.pnLr9ZfnXuc9xHxTblijCb0xno0DO"], ["created_at", "2018-09-05 05:58:26.252853"], ["updated_at", "2018-09-05 05:58:26.252853"]]  (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", "Son Wilkinson"], ["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", "Eartha Windler"], ["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", "Son Wilkinson"], ["name", "Eartha Windler"], ["created_at", "2018-09-05 05:58:26.259108"], ["updated_at", "2018-09-05 05:58:26.259108"]]  (0.5ms) 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", 47], ["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", 47], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) 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.22ms) Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 2.5ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "roy@hamill.co.uk"], ["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", "Chantell Oberbrunner"], ["last_name", "Babara Ritchie"], ["email", "roy@hamill.co.uk"], ["password_digest", "$2a$04$3Yn/lnUczNJGUaIUnl9z4ORB6xAMId9BAt0pTxB.EuCpmt4Gngbv2"], ["created_at", "2018-09-05 05:58:26.282527"], ["updated_at", "2018-09-05 05:58:26.282527"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Sherika Howell"], ["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", "Clarence Green"], ["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", "Sherika Howell"], ["name", "Clarence Green"], ["created_at", "2018-09-05 05:58:26.290692"], ["updated_at", "2018-09-05 05:58:26.290692"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 48], ["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", 21], ["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", 48], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.32ms) Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 2.8ms)  (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", "sol_beier@parisian.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", "Nerissa Wunsch"], ["last_name", "Luise Nitzsche"], ["email", "sol_beier@parisian.com"], ["password_digest", "$2a$04$jJw/c2jg.kRQFm6x3.hVbugQD.o5VgOXd1LzAXjMxKn0x0ZMjIBQG"], ["created_at", "2018-09-05 05:58:26.308667"], ["updated_at", "2018-09-05 05:58:26.308667"]]  (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"=>"Shannon Emard", "name"=>"Drema Bode"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 49], ["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", "Shannon Emard"], ["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", "Drema Bode"], ["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", "Shannon Emard"], ["name", "Drema Bode"], ["created_at", "2018-09-05 05:58:26.319406"], ["updated_at", "2018-09-05 05:58:26.319406"]]  (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", 49], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 201 Created in 10ms (Views: 1.9ms | ActiveRecord: 4.7ms)  (1.6ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.8ms) ROLLBACK  (1.6ms) BEGIN  (1.4ms) 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", "johnathan@bayer.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", "Lewis Klein"], ["last_name", "Charissa Williamson"], ["email", "johnathan@bayer.ca"], ["password_digest", "$2a$04$sSO.PYEsPSbE7k2BYHCNrejzg7gSVvioYkuuG4CuBQXvA81uCU1ai"], ["created_at", "2018-09-05 05:58:26.339616"], ["updated_at", "2018-09-05 05:58:26.339616"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Bobbie Bruen", "name"=>"Roxy Ebert"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Bobbie Bruen"], ["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", "Roxy 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", "Bobbie Bruen"], ["name", "Roxy Ebert"], ["created_at", "2018-09-05 05:58:26.350914"], ["updated_at", "2018-09-05 05:58:26.350914"]]  (0.5ms) 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", 50], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 201 Created in 11ms (Views: 1.8ms | ActiveRecord: 5.9ms) 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.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) 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", "albina_rolfson@kilbackwisoky.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", "Celia Murray"], ["last_name", "Aleen Bechtelar"], ["email", "albina_rolfson@kilbackwisoky.us"], ["password_digest", "$2a$04$4e7YDiC8ZulwWaHi2p8EjuT9RVg.CfdVCuYE/v47Mgbxyw2Kdnv66"], ["created_at", "2018-09-05 05:58:26.366407"], ["updated_at", "2018-09-05 05:58:26.366407"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Della Reichel"}} Mks::Auth::User Load (0.8ms) 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::ServiceType Exists (0.9ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Della Reichel"], ["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", 51], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.0ms | ActiveRecord: 4.1ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "ebonie@kertzmann.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", "Morris Leffler"], ["last_name", "Janise Lynch"], ["email", "ebonie@kertzmann.com"], ["password_digest", "$2a$04$0aRDp.OxdtSaZUzwPZZe/.GTmSgGqEze3SfPPDxtr77CkMtQ7r1Pm"], ["created_at", "2018-09-05 05:58:26.386343"], ["updated_at", "2018-09-05 05:58:26.386343"]]  (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", "Melonie Bode"], ["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", "Lera Schinner"], ["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", "Melonie Bode"], ["name", "Lera Schinner"], ["created_at", "2018-09-05 05:58:26.392121"], ["updated_at", "2018-09-05 05:58:26.392121"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Salvatore Farrell"}, "id"=>"24"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 52], ["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", 24], ["LIMIT", 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Melonie Bode"], ["id", 24], ["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", "Salvatore Farrell"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.8ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Salvatore Farrell"], ["updated_at", "2018-09-05 05:58:26.404288"], ["id", 24]]  (0.4ms) 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", 52], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 6.7ms) 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", 24], ["LIMIT", 1]]  (0.5ms) 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", "lelah@gaylord.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", "Melodee Dooley"], ["last_name", "Hollis Steuber"], ["email", "lelah@gaylord.info"], ["password_digest", "$2a$04$VTfmuwlb.jk/s79tUIOD8eOncbtJ0/YFCSC5VXlNDz8b6Utsoh8qq"], ["created_at", "2018-09-05 05:58:26.419610"], ["updated_at", "2018-09-05 05:58:26.419610"]]  (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", "Francisco Lehner"], ["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", "Charita Wiza"], ["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", "Francisco Lehner"], ["name", "Charita Wiza"], ["created_at", "2018-09-05 05:58:26.425326"], ["updated_at", "2018-09-05 05:58:26.425326"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Nathanael Eichmann", "name"=>"Nicola Cummerata"}, "id"=>"25"} 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]] Mks::Rate::ServiceType Load (1.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 25], ["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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Nathanael Eichmann"], ["id", 25], ["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", "Nicola Cummerata"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.8ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Nathanael Eichmann"], ["name", "Nicola Cummerata"], ["updated_at", "2018-09-05 05:58:26.436893"], ["id", 25]]  (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", 53], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.27ms) Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 7.1ms)  (0.8ms) ROLLBACK  (0.5ms) 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", "bari@daugherty.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", "Melonie Gulgowski"], ["last_name", "Laurette Franecki"], ["email", "bari@daugherty.com"], ["password_digest", "$2a$04$T/bASFrgnvLxfkJP73nru.2MdcYBCVo8zfeQ3DscMbUPBT26QKV.y"], ["created_at", "2018-09-05 05:58:26.449948"], ["updated_at", "2018-09-05 05:58:26.449948"]]  (0.6ms) 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", "Leah Macejkovic"], ["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", "Hershel Quitzon"], ["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", "Leah Macejkovic"], ["name", "Hershel Quitzon"], ["created_at", "2018-09-05 05:58:26.456911"], ["updated_at", "2018-09-05 05:58:26.456911"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Sidney Jenkins"}, "id"=>"26"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["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", 26], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) 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", 26], ["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", "Sidney Jenkins"], ["id", 26], ["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", 54], ["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.3ms)  (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", "adam_robel@wintheiserterry.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", "Shu Hermiston"], ["last_name", "Jeana Krajcik"], ["email", "adam_robel@wintheiserterry.biz"], ["password_digest", "$2a$04$.r0VRefCS2V.0gbEpg/B9OEAifdSbO/jDp0CCJ1uZ4739Wks4J.S2"], ["created_at", "2018-09-05 05:58:26.479169"], ["updated_at", "2018-09-05 05:58:26.479169"]]  (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", "Shirly Hintz"], ["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", "Shirly Hintz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.485228"], ["updated_at", "2018-09-05 05:58:26.485228"]]  (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", "Ava Gutkowski"], ["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", "Ava Gutkowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.489944"], ["updated_at", "2018-09-05 05:58:26.489944"]]  (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", "Alba Marvin"], ["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", "Alba Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.494246"], ["updated_at", "2018-09-05 05:58:26.494246"]]  (0.5ms) 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", 55], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.7ms) 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 05:58:26", updated_at: "2018-09-05 05:58:26"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.28ms)  (1.5ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Auth::User Load (1.5ms) 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.51ms) Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 4.4ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (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", "Harrison Emard"], ["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", "Tam Hartmann"], ["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", "Harrison Emard"], ["name", "Tam Hartmann"], ["created_at", "2018-09-05 05:58:26.519466"], ["updated_at", "2018-09-05 05:58:26.519466"]]  (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", "Stevie Schiller"], ["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", "Stevie Schiller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.524688"], ["updated_at", "2018-09-05 05:58:26.524688"]]  (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", "Yolonda Tillman"], ["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", "Yolonda Tillman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.529390"], ["updated_at", "2018-09-05 05:58:26.529390"]]  (1.1ms) 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", "Breanne Koelpin"], ["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", "Breanne Koelpin"], ["name", "Odilia Schneider"], ["address", "Matilde Gaylord"], ["created_at", "2018-09-05 05:58:26.535784"], ["updated_at", "2018-09-05 05:58:26.535784"]]  (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", "Marie Brekke"], ["service_delivery_unit_id", 45], ["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", "Marie Brekke"], ["name", "Malika Beahan"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:58:26.541116"], ["updated_at", "2018-09-05 05:58:26.541116"]] 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", 45], ["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", "Marie Brekke"], ["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", "Marie Brekke"], ["name", "Malika Beahan"], ["description", "Default bundle for service 'Malika Beahan'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:58:26.546545"], ["updated_at", "2018-09-05 05:58:26.546545"]] 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", 40], ["chargeable_service_id", 19]]  (0.7ms) 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", "Marie Brekke"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) 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", "Stanford Gorczany"], ["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", "Jules Ernser"], ["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", "Stanford Gorczany"], ["name", "Jules Ernser"], ["created_at", "2018-09-05 05:58:26.562640"], ["updated_at", "2018-09-05 05:58:26.562640"]]  (1.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", "Maria Kunde"], ["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", "Maria Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.569303"], ["updated_at", "2018-09-05 05:58:26.569303"]]  (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", "Xzbdulia Donnelly"], ["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", "Xzbdulia Donnelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.574080"], ["updated_at", "2018-09-05 05:58:26.574080"]]  (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", "Ellamae Swift"], ["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", "Ellamae Swift"], ["name", "Cyrus Johnson"], ["address", "Dora Abshire"], ["created_at", "2018-09-05 05:58:26.578749"], ["updated_at", "2018-09-05 05:58:26.578749"]]  (0.6ms) 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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 46], ["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", "Jessenia 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", "Mable Hagenes"], ["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", "Jessenia Witting"], ["name", "Mable Hagenes"], ["created_at", "2018-09-05 05:58:26.591401"], ["updated_at", "2018-09-05 05:58:26.591401"]]  (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", "Gino Marquardt"], ["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", "Gino Marquardt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.597682"], ["updated_at", "2018-09-05 05:58:26.597682"]]  (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", "Assunta 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", "Assunta Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.603467"], ["updated_at", "2018-09-05 05:58:26.603467"]]  (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", "Faustino Gerlach"], ["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", "Faustino Gerlach"], ["name", "Luana McCullough"], ["address", "Jonnie Kihn"], ["created_at", "2018-09-05 05:58:26.608349"], ["updated_at", "2018-09-05 05:58:26.608349"]]  (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", "Doretha Schoen"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.8ms) 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", "Augustina O'Conner"], ["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", "Dahlia Sauer"], ["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", "Augustina O'Conner"], ["name", "Dahlia Sauer"], ["created_at", "2018-09-05 05:58:26.621662"], ["updated_at", "2018-09-05 05:58:26.621662"]]  (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", "Alyce Durgan"], ["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", "Alyce Durgan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.627521"], ["updated_at", "2018-09-05 05:58:26.627521"]]  (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", "Pandora Romaguera"], ["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", "Pandora Romaguera"], ["name", "Autumn Cremin"], ["address", "Verla Hickle"], ["created_at", "2018-09-05 05:58:26.633203"], ["updated_at", "2018-09-05 05:58:26.633203"]]  (0.6ms) 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", "Elva Bogan"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) 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", "Marinda Parker"], ["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", "Brant Terry"], ["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", "Marinda Parker"], ["name", "Brant Terry"], ["created_at", "2018-09-05 05:58:26.644468"], ["updated_at", "2018-09-05 05:58:26.644468"]]  (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", "Bao Kulas"], ["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", "Bao Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.654467"], ["updated_at", "2018-09-05 05:58:26.654467"]]  (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", "Tomas Stoltenberg"], ["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", "Tomas Stoltenberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.660429"], ["updated_at", "2018-09-05 05:58:26.660429"]]  (0.6ms) RELEASE 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" IS NULL LIMIT $2 [["code", "Lesley Keeling"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) 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", "Amparo 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", "Leonel Walker"], ["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", "Amparo Kulas"], ["name", "Leonel Walker"], ["created_at", "2018-09-05 05:58:26.672797"], ["updated_at", "2018-09-05 05:58:26.672797"]]  (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", "Mickie Kunze"], ["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", "Mickie Kunze"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.677314"], ["updated_at", "2018-09-05 05:58:26.677314"]]  (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", "Suk Runolfsson"], ["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", "Suk Runolfsson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.682302"], ["updated_at", "2018-09-05 05:58:26.682302"]]  (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", "Danial Fay"], ["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", "Danial Fay"], ["name", "Shaneka Connelly"], ["address", "Bradly Tremblay"], ["created_at", "2018-09-05 05:58:26.687211"], ["updated_at", "2018-09-05 05:58:26.687211"]]  (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", "Mathilda Pfannerstill"], ["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", "Mathilda Pfannerstill"], ["name", "Earlean Macejkovic"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:58:26.691772"], ["updated_at", "2018-09-05 05:58:26.691772"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mathilda Pfannerstill"], ["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", "Mathilda Pfannerstill"], ["name", "Earlean Macejkovic"], ["description", "Default bundle for service 'Earlean Macejkovic'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:58:26.697209"], ["updated_at", "2018-09-05 05:58:26.697209"]] 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", 41], ["chargeable_service_id", 20]]  (0.8ms) 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", "Bethany Sanford"], ["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", "Enedina Cruickshank"], ["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", "Bethany Sanford"], ["name", "Enedina Cruickshank"], ["created_at", "2018-09-05 05:58:26.709526"], ["updated_at", "2018-09-05 05:58:26.709526"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Nanette Heaney"], ["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", "Nanette Heaney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.716129"], ["updated_at", "2018-09-05 05:58:26.716129"]]  (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", "Ivette Williamson"], ["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", "Ivette Williamson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.721371"], ["updated_at", "2018-09-05 05:58:26.721371"]]  (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", "Mathilda Pfannerstill"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.8ms) 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", "Gerda Leuschke"], ["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", "Valda 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", "Gerda Leuschke"], ["name", "Valda Thompson"], ["created_at", "2018-09-05 05:58:26.735933"], ["updated_at", "2018-09-05 05:58:26.735933"]]  (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", "Cyril Schroeder"], ["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", "Cyril Schroeder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.740508"], ["updated_at", "2018-09-05 05:58:26.740508"]]  (0.7ms) 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", "Lucien Kilback"], ["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", "Lucien Kilback"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:26.745563"], ["updated_at", "2018-09-05 05:58:26.745563"]]  (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", "Coreen Dickens"], ["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", "Coreen Dickens"], ["name", "Bernarda Hermann"], ["address", "Chris Hirthe"], ["created_at", "2018-09-05 05:58:26.751591"], ["updated_at", "2018-09-05 05:58:26.751591"]]  (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", "Sasha Bashirian"], ["service_delivery_unit_id", 50], ["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", "Sasha Bashirian"], ["name", "Jason Smitham"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:58:26.756337"], ["updated_at", "2018-09-05 05:58:26.756337"]] 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", "Sasha Bashirian"], ["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", "Sasha Bashirian"], ["name", "Jason Smitham"], ["description", "Default bundle for service 'Jason Smitham'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:58:26.761137"], ["updated_at", "2018-09-05 05:58:26.761137"]] 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", 42], ["chargeable_service_id", 21]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["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", 42]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "manual@leschullrich.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", "Sanjuanita Bartoletti"], ["last_name", "Tosha Strosin"], ["email", "manual@leschullrich.co.uk"], ["password_digest", "$2a$04$2wP/zd29o8zslJypIt3k7ujV18nJMm79ycmGbVVbcHIOvATuL8HqG"], ["created_at", "2018-09-05 05:58:26.782891"], ["updated_at", "2018-09-05 05:58:26.782891"]]  (0.5ms) 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", "delmer_wilderman@vonruedenbotsford.co.uk"], ["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", "Terrell Prohaska"], ["last_name", "Chia Beatty"], ["email", "delmer_wilderman@vonruedenbotsford.co.uk"], ["password_digest", "$2a$04$oSI.gc13zXG0RoduODgwSudD9GHqWIElwlVlK4IsMKqFCtLQUdXvO"], ["created_at", "2018-09-05 05:58:26.790105"], ["updated_at", "2018-09-05 05:58:26.790105"]]  (0.6ms) 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", "Janiece Wunsch"], ["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", "Janiece Wunsch"], ["authorized_by", "Lupe Heathcote"], ["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", 56], ["approved_by_id", 57], ["created_at", "2018-09-05 05:58:26.795397"], ["updated_at", "2018-09-05 05:58:26.795397"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Janiece Wunsch"], ["id", 6], ["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", "stacia@fritschcarter.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", "Daina Trantow"], ["last_name", "Alyssa Hudson"], ["email", "stacia@fritschcarter.com"], ["password_digest", "$2a$04$1z4r/dMgu9p8tUs6RmTsFO.MVewToVB8V0sSkVC4bPchQG1Itn.Q6"], ["created_at", "2018-09-05 05:58:26.807256"], ["updated_at", "2018-09-05 05:58:26.807256"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "melanie_haley@kunde.name"], ["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", "Bronwyn Terry"], ["last_name", "Maritza Schulist"], ["email", "melanie_haley@kunde.name"], ["password_digest", "$2a$04$9dNTRvMkAd4ftZ/RBCuCE.1Sx86P.SdyIBvHryIWcAtKz0m5Esnta"], ["created_at", "2018-09-05 05:58:26.816818"], ["updated_at", "2018-09-05 05:58:26.816818"]]  (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", "Venus Hammes"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "michiko@christiansenyost.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", "Dana Pacocha"], ["last_name", "Carley Gibson"], ["email", "michiko@christiansenyost.co.uk"], ["password_digest", "$2a$04$1PbP28.3/3m0MWNRKwty6eq4hCpnuh3BmfJuOA68Y7NzfpLalEa1S"], ["created_at", "2018-09-05 05:58:26.833284"], ["updated_at", "2018-09-05 05:58:26.833284"]]  (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", "edris.waelchi@schuster.biz"], ["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", "Geneva Roberts"], ["last_name", "Madaline Mayer"], ["email", "edris.waelchi@schuster.biz"], ["password_digest", "$2a$04$Pb.OzDE0hQc1i77jx/NQm.kxjwHkMG.pNkQpylO2IiPoynsnoiEfe"], ["created_at", "2018-09-05 05:58:26.841011"], ["updated_at", "2018-09-05 05:58:26.841011"]]  (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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) 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", "beulah@larkin.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", "Alaine Kovacek"], ["last_name", "Brandee Muller"], ["email", "beulah@larkin.com"], ["password_digest", "$2a$04$m5CoRrC2pJH1fsq2Z7PnuOSHHNdhHMQwTCm0XqNDTYXWC3kdOzNvC"], ["created_at", "2018-09-05 05:58:26.853816"], ["updated_at", "2018-09-05 05:58:26.853816"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "chauncey_king@tillman.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", "Stacy Smith"], ["last_name", "Lakendra Dietrich"], ["email", "chauncey_king@tillman.com"], ["password_digest", "$2a$04$Dd.X.PyRe2FQAt6Xvdd8Qu3nMPCVmETlRrvKtNHnFjLz8SbP7OstO"], ["created_at", "2018-09-05 05:58:26.860873"], ["updated_at", "2018-09-05 05:58:26.860873"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Ellsworth Fay"], ["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", "Ellsworth Fay"], ["authorized_by", "Margaretta Beier"], ["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", 62], ["approved_by_id", 63], ["created_at", "2018-09-05 05:58:26.867175"], ["updated_at", "2018-09-05 05:58:26.867175"]]  (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", "erna@kassulkemiller.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", "Delmar O'Reilly"], ["last_name", "Hobert Mueller"], ["email", "erna@kassulkemiller.co.uk"], ["password_digest", "$2a$04$mfXQadgr.6hb4MQpip0w2uxriro5BXa//lRbQD0ddxJ0zSHXnbAPu"], ["created_at", "2018-09-05 05:58:26.874288"], ["updated_at", "2018-09-05 05:58:26.874288"]]  (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", "racheal@dachmcdermott.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", "Lee Koelpin"], ["last_name", "Gilbert Upton"], ["email", "racheal@dachmcdermott.co.uk"], ["password_digest", "$2a$04$2gHvO/mdeItbwvHSWgx7W.F05o.xK1mvl4YpfdhDHIuZBx0O0zy1a"], ["created_at", "2018-09-05 05:58:26.881707"], ["updated_at", "2018-09-05 05:58:26.881707"]]  (0.5ms) 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", "Ellsworth Fay"], ["LIMIT", 1]]  (0.6ms) 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", "florene_medhurst@yundt.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", "Merlin Stroman"], ["last_name", "Camelia Torphy"], ["email", "florene_medhurst@yundt.co.uk"], ["password_digest", "$2a$04$N5QiCBLW/Sb7/nodR2VZO.PEWIKJBtsaW2JOhAnt8kiBFxtQXOLTS"], ["created_at", "2018-09-05 05:58:26.893435"], ["updated_at", "2018-09-05 05:58:26.893435"]]  (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", "bonnie.metz@marvin.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", "Julianne Harris"], ["last_name", "Gussie Hintz"], ["email", "bonnie.metz@marvin.info"], ["password_digest", "$2a$04$h1SW077ayv5c9OHHcSWWg.doWs6Stz2PJAJyEl6UXdcFQQWfCvczC"], ["created_at", "2018-09-05 05:58:26.900017"], ["updated_at", "2018-09-05 05:58:26.900017"]]  (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", "Alba Herman"], ["LIMIT", 1]]  (0.6ms) 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", "ronni.rodriguez@kovacek.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", "Aileen Wyman"], ["last_name", "Takako Johns"], ["email", "ronni.rodriguez@kovacek.co.uk"], ["password_digest", "$2a$04$5B0wBzjBlEIdek/h1oBKt.fAUeikki2M4YYYWYQSiy6PlvP.ljaxi"], ["created_at", "2018-09-05 05:58:26.911314"], ["updated_at", "2018-09-05 05:58:26.911314"]]  (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", "andres.feeney@anderson.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", "Krystal Hayes"], ["last_name", "Jacklyn Rippin"], ["email", "andres.feeney@anderson.us"], ["password_digest", "$2a$04$eJnHZRHpVGNVctdlkJPMBOSYi88ymz0Ez8Q09AA8JcZ6SGLS6be4y"], ["created_at", "2018-09-05 05:58:26.918816"], ["updated_at", "2018-09-05 05:58:26.918816"]]  (0.5ms) RELEASE 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", "Guadalupe Bernier"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (2.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", "magali.corkery@glover.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", "Scottie Yost"], ["last_name", "Jere Bayer"], ["email", "magali.corkery@glover.us"], ["password_digest", "$2a$04$tKCIHRTv2tsmJ0xKbssaY.GLpbPgY7FXkf8FUM73zwYSH8SDZDRQC"], ["created_at", "2018-09-05 05:58:26.935357"], ["updated_at", "2018-09-05 05:58:26.935357"]]  (0.9ms) 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", "kenny@cremin.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", "Leila Littel"], ["last_name", "Brook Rath"], ["email", "kenny@cremin.info"], ["password_digest", "$2a$04$uEE28Jcz8FG16ikl/fCSm.wubrK7bJWIkWviQmRxwgJBYF.CgcAyS"], ["created_at", "2018-09-05 05:58:26.942804"], ["updated_at", "2018-09-05 05:58:26.942804"]]  (0.5ms) 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", "Andera Mohr"], ["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", "claude@green.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", "Leilani Stiedemann"], ["last_name", "Tommye Glover"], ["email", "claude@green.name"], ["password_digest", "$2a$04$4ur9/XTHNXG5FMu2H7QMte.A5D/xUuTho/JDBgfG.72nBpelGSOwm"], ["created_at", "2018-09-05 05:58:26.955094"], ["updated_at", "2018-09-05 05:58:26.955094"]]  (0.6ms) 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", "twyla@schmitt.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", "Sindy Schulist"], ["last_name", "Zena Kreiger"], ["email", "twyla@schmitt.biz"], ["password_digest", "$2a$04$PRN7IjnCwheK13wU9Jcd6evkwnDNDqzzfCKSRGLi1Qe0LI73IvaGq"], ["created_at", "2018-09-05 05:58:26.962094"], ["updated_at", "2018-09-05 05:58:26.962094"]]  (0.9ms) 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", "Frances Kunde"], ["LIMIT", 1]]  (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", "antonia_labadie@nitzsche.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", "Mai Quitzon"], ["last_name", "Marlena Abshire"], ["email", "antonia_labadie@nitzsche.name"], ["password_digest", "$2a$04$PRS4AjB5Z1aKtgWkW8ZB5.itXgPbWJrlTIRgoca4TMNgSWnDNkKsW"], ["created_at", "2018-09-05 05:58:26.977459"], ["updated_at", "2018-09-05 05:58:26.977459"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Ezekiel Hammes"], ["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", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Ezekiel Hammes"], ["authorized_by", "Eddie Padberg"], ["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", 74], ["created_at", "2018-09-05 05:58:26.983514"], ["updated_at", "2018-09-05 05:58:26.983514"]]  (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", "Ezekiel Hammes"], ["id", 8], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Rory Kiehn"], ["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", "Rory Kiehn"], ["name", "Crystle Schumm"], ["address", "Roseanna Predovic"], ["created_at", "2018-09-05 05:58:26.993847"], ["updated_at", "2018-09-05 05:58:26.993847"]]  (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", "Lucas Senger"], ["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", "Lucas Senger"], ["name", "Daniell Blick"], ["description", "Easter Klein"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:58:26.998440"], ["updated_at", "2018-09-05 05:58:26.998440"]]  (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 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Lucas Senger"], ["id", 43], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) 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", "Benton Konopelski"], ["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", "Benton Konopelski"], ["name", "Tim Johns"], ["address", "Trisha Monahan"], ["created_at", "2018-09-05 05:58:27.008778"], ["updated_at", "2018-09-05 05:58:27.008778"]]  (0.8ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.8ms) 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", "Leota Boyer"], ["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", "Leota Boyer"], ["name", "Ivory Collins"], ["address", "Jama Gislason"], ["created_at", "2018-09-05 05:58:27.020138"], ["updated_at", "2018-09-05 05:58:27.020138"]]  (0.5ms) 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", "Shavonda Kuphal"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Afton Von"], ["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", "Afton Von"], ["name", "Mitzi Feest"], ["address", "Agustina Roberts"], ["created_at", "2018-09-05 05:58:27.029759"], ["updated_at", "2018-09-05 05:58:27.029759"]]  (0.6ms) 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", "Yasmine Simonis"], ["LIMIT", 1]]  (0.6ms) 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", "Charita Bogan"], ["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", "Charita Bogan"], ["name", "Pamella McDermott"], ["address", "Lashawn Pagac"], ["created_at", "2018-09-05 05:58:27.041361"], ["updated_at", "2018-09-05 05:58:27.041361"]]  (1.0ms) 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", "Marshall Wyman"], ["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", "Marshall Wyman"], ["name", "Laquanda Carter"], ["description", "Andria Auer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:58:27.048717"], ["updated_at", "2018-09-05 05:58:27.048717"]]  (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", "Jacquiline Baumbach"], ["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", "Jacquiline Baumbach"], ["name", "Monserrate Oberbrunner"], ["address", "Sallie Reichel"], ["created_at", "2018-09-05 05:58:27.055151"], ["updated_at", "2018-09-05 05:58:27.055151"]]  (0.5ms) 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", "Marshall Wyman"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (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", "Sybil Block"], ["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", "Sybil Block"], ["name", "Kaci Murphy"], ["address", "Ka Quigley"], ["created_at", "2018-09-05 05:58:27.067028"], ["updated_at", "2018-09-05 05:58:27.067028"]]  (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", "Sybil Block"], ["id", 57], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) 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.6ms) BEGIN 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", "Lesley Harvey"], ["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", "Carmen Hoeger"], ["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", "Carmen Hoeger"], ["name", "Travis Weber"], ["address", "Mitchell Kozey"], ["created_at", "2018-09-05 05:58:27.084689"], ["updated_at", "2018-09-05 05:58:27.084689"]]  (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 LIMIT $2 [["code", "Carmen Hoeger"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "Jazmine Zulauf"], ["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", "Jimmy Mueller"], ["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", "Jazmine Zulauf"], ["name", "Jimmy Mueller"], ["description", "Qui cupiditate consectetur et non cum autem. Atque autem sed aut ad soluta et repudiandae. Nihil voluptatibus id tenetur est omnis."], ["created_at", "2018-09-05 05:58:27.097791"], ["updated_at", "2018-09-05 05:58:27.097791"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Akiko Altenwerth"], ["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", "Genaro Schmitt"], ["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", "Akiko Altenwerth"], ["name", "Genaro Schmitt"], ["description", "Architecto alias et error doloremque debitis. Pariatur quia error qui et nihil dolores. Itaque dolores unde corporis veniam vel non error incidunt. Repellendus aut ut suscipit ut ratione dolor. Consequatur ipsum cumque est veniam ipsa soluta."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:58:27.105143"], ["updated_at", "2018-09-05 05:58:27.105143"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lizeth Nolan"], ["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", "Lizeth Nolan"], ["name", "Deonna Corwin"], ["description", "Ebony Pfeffer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:58:27.109920"], ["updated_at", "2018-09-05 05:58:27.109920"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Summer Kreiger"], ["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", "Dannie Lubowitz"], ["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", "Summer Kreiger"], ["name", "Dannie Lubowitz"], ["description", "Luvenia Ondricka"], ["created_at", "2018-09-05 05:58:27.117751"], ["updated_at", "2018-09-05 05:58:27.117751"]]  (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", "Bambi Lueilwitz"], ["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", "Bambi Lueilwitz"], ["name", "Hallie Bruen"], ["location_type_id", 7], ["description", "Tabatha Collier"], ["address", "Teodora Harvey"], ["created_at", "2018-09-05 05:58:27.122179"], ["updated_at", "2018-09-05 05:58:27.122179"]]  (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", "Andria Krajcik"], ["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", "Lyle Jast"], ["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", "Andria Krajcik"], ["name", "Lucrecia Greenfelder"], ["description", "Tiffiny Denesik"], ["serial_number", "Lyle Jast"], ["brand", "Kanisha Sporer"], ["item_model", "Augustus Botsford"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:58:27.127757"], ["updated_at", "2018-09-05 05:58:27.127757"]]  (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", "Keena Dickens"], ["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", "Sofia Hettinger"], ["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", "Keena Dickens"], ["name", "Sofia Hettinger"], ["created_at", "2018-09-05 05:58:27.134199"], ["updated_at", "2018-09-05 05:58:27.134199"]]  (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", "Andera Rau"], ["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", "Andera Rau"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.139468"], ["updated_at", "2018-09-05 05:58:27.139468"]]  (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", "Jacquetta Marvin"], ["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", "Jacquetta Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.143919"], ["updated_at", "2018-09-05 05:58:27.143919"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Oralee Thiel"], ["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", "Oralee Thiel"], ["name", "Marty Padberg"], ["address", "Edgardo Gutkowski"], ["created_at", "2018-09-05 05:58:27.150808"], ["updated_at", "2018-09-05 05:58:27.150808"]]  (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", "Lamar Sauer"], ["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", "Lamar Sauer"], ["name", "Whitney Bode"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:58:27.155706"], ["updated_at", "2018-09-05 05:58:27.155706"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lamar Sauer"], ["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", "Lamar Sauer"], ["name", "Whitney Bode"], ["description", "Default bundle for service 'Whitney Bode'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:58:27.160932"], ["updated_at", "2018-09-05 05:58:27.160932"]] 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", 45], ["chargeable_service_id", 22]]  (0.7ms) 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", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:58:27.167884"], ["updated_at", "2018-09-05 05:58:27.167884"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (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", "Delisa Connelly"], ["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", "Nichol Jaskolski"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Delisa Connelly"], ["name", "Nichol Jaskolski"], ["description", "Quo nostrum autem voluptates voluptatum ea labore aliquam aut. Voluptatibus omnis consequatur fugit doloribus soluta est rerum. Sit necessitatibus enim impedit alias totam."], ["created_at", "2018-09-05 05:58:27.178258"], ["updated_at", "2018-09-05 05:58:27.178258"]]  (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", "Zula Stanton"], ["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", "Shaun Bechtelar"], ["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", "Zula Stanton"], ["name", "Shaun Bechtelar"], ["description", "Est veniam nam iusto et quas nulla dolores. Aspernatur voluptatem qui fugiat et quia quibusdam ut sunt. Quisquam quia consequatur a dolore adipisci dolor neque qui."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:58:27.184806"], ["updated_at", "2018-09-05 05:58:27.184806"]]  (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", "Earnestine Okuneva"], ["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", "Earnestine Okuneva"], ["name", "Sanford McClure"], ["description", "Daisy Feest"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:58:27.189689"], ["updated_at", "2018-09-05 05:58:27.189689"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Demetrius Prohaska"], ["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", "Meryl Maggio"], ["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", "Demetrius Prohaska"], ["name", "Meryl Maggio"], ["description", "Rosalina Stroman"], ["created_at", "2018-09-05 05:58:27.196210"], ["updated_at", "2018-09-05 05:58:27.196210"]]  (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", "Gerald Mills"], ["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", "Gerald Mills"], ["name", "Maricruz Bins"], ["location_type_id", 8], ["description", "Melida Robel"], ["address", "Lessie Homenick"], ["created_at", "2018-09-05 05:58:27.200579"], ["updated_at", "2018-09-05 05:58:27.200579"]]  (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", "Rhonda Spinka"], ["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", "Clora Morar"], ["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", "Rhonda Spinka"], ["name", "Shante Schaden"], ["description", "Kimberlee Schultz"], ["serial_number", "Clora Morar"], ["brand", "Winston Klocko"], ["item_model", "Darius Lowe"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:58:27.206564"], ["updated_at", "2018-09-05 05:58:27.206564"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Angelina Willms"], ["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", "Robt Denesik"], ["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", "Angelina Willms"], ["name", "Robt Denesik"], ["created_at", "2018-09-05 05:58:27.215516"], ["updated_at", "2018-09-05 05:58:27.215516"]]  (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", "Sylvia Powlowski"], ["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", "Sylvia Powlowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.220340"], ["updated_at", "2018-09-05 05:58:27.220340"]]  (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", "Carlita Wehner"], ["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", "Carlita Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.225121"], ["updated_at", "2018-09-05 05:58:27.225121"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Galina McCullough"], ["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", "Galina McCullough"], ["name", "Zelda O'Keefe"], ["address", "Larita Walker"], ["created_at", "2018-09-05 05:58:27.231375"], ["updated_at", "2018-09-05 05:58:27.231375"]]  (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", "Elfrieda Hickle"], ["service_delivery_unit_id", 60], ["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", "Elfrieda Hickle"], ["name", "Linnie Ruecker"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:58:27.237016"], ["updated_at", "2018-09-05 05:58:27.237016"]] 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", 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", "Elfrieda Hickle"], ["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", "Elfrieda Hickle"], ["name", "Linnie Ruecker"], ["description", "Default bundle for service 'Linnie Ruecker'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:58:27.241975"], ["updated_at", "2018-09-05 05:58:27.241975"]] 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", 46], ["chargeable_service_id", 23]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Salina Leffler"], ["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", "Shanell Bernhard"], ["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", "Salina Leffler"], ["name", "Shanell Bernhard"], ["description", "Sunt libero omnis porro suscipit molestiae. A nam corrupti voluptatem natus molestiae omnis. Esse dolorem nisi ut qui. Numquam dolorem odio eaque et. Fugiat eius enim pariatur mollitia et illo qui."], ["created_at", "2018-09-05 05:58:27.258000"], ["updated_at", "2018-09-05 05:58:27.258000"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Dollie Mosciski"], ["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", "Phillis Rath"], ["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", "Dollie Mosciski"], ["name", "Phillis Rath"], ["description", "Et quia explicabo culpa vero nisi quibusdam repellat earum. Qui possimus quis excepturi non in. Eum incidunt cumque aut impedit modi doloremque sit."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:58:27.264940"], ["updated_at", "2018-09-05 05:58:27.264940"]]  (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", "Coralie Haag"], ["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", "Coralie Haag"], ["name", "Carmen Heidenreich"], ["description", "Shannon Crist"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:58:27.269700"], ["updated_at", "2018-09-05 05:58:27.269700"]]  (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", "Daren Cole"], ["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", "Kari Swaniawski"], ["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", "Daren Cole"], ["name", "Kari Swaniawski"], ["description", "Sherwood Kozey"], ["created_at", "2018-09-05 05:58:27.275827"], ["updated_at", "2018-09-05 05:58:27.275827"]]  (0.6ms) 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", "Giselle Leuschke"], ["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", "Giselle Leuschke"], ["name", "Ruthanne Gulgowski"], ["location_type_id", 9], ["description", "Arthur Rodriguez"], ["address", "Sammy Carroll"], ["created_at", "2018-09-05 05:58:27.280358"], ["updated_at", "2018-09-05 05:58:27.280358"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Providencia Goodwin"], ["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", "Somer Waelchi"], ["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", "Providencia Goodwin"], ["name", "Ahmad Heathcote"], ["description", "Kenia Greenholt"], ["serial_number", "Somer Waelchi"], ["brand", "Robby Cassin"], ["item_model", "Tova King"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:58:27.287249"], ["updated_at", "2018-09-05 05:58:27.287249"]]  (0.6ms) 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", "Harriet Fay"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jacqualine Lynch"], ["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", "Harriet Fay"], ["name", "Jacqualine Lynch"], ["created_at", "2018-09-05 05:58:27.298675"], ["updated_at", "2018-09-05 05:58:27.298675"]]  (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", "Myrtie Kuhlman"], ["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", "Myrtie Kuhlman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.306054"], ["updated_at", "2018-09-05 05:58:27.306054"]]  (0.6ms) 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", "Alesia Beer"], ["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", "Alesia Beer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.312297"], ["updated_at", "2018-09-05 05:58:27.312297"]]  (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", "Doretha 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", "Doretha Bode"], ["name", "Frances Gottlieb"], ["address", "Shemika Becker"], ["created_at", "2018-09-05 05:58:27.318841"], ["updated_at", "2018-09-05 05:58:27.318841"]]  (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", "Jesusita Gusikowski"], ["service_delivery_unit_id", 61], ["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", "Jesusita Gusikowski"], ["name", "Coralie Gorczany"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:58:27.323755"], ["updated_at", "2018-09-05 05:58:27.323755"]] 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", 61], ["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", "Jesusita Gusikowski"], ["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", "Jesusita Gusikowski"], ["name", "Coralie Gorczany"], ["description", "Default bundle for service 'Coralie Gorczany'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:58:27.329498"], ["updated_at", "2018-09-05 05:58:27.329498"]] 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", 24]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Barb Macejkovic"], ["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", "Tori Auer"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.6ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Barb Macejkovic"], ["name", "Tori Auer"], ["description", "Autem sapiente est nemo earum officiis. Molestiae tempore vel qui eligendi voluptas. Nostrum similique maiores reiciendis et. Ut non dolorem consequatur et. Rem soluta ut beatae cupiditate."], ["created_at", "2018-09-05 05:58:27.345604"], ["updated_at", "2018-09-05 05:58:27.345604"]]  (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", "Reanna McKenzie"], ["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", "Mandi Walsh"], ["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", "Reanna McKenzie"], ["name", "Mandi Walsh"], ["description", "Vero perferendis sed sit vel. Libero et quo reiciendis necessitatibus accusamus ut perferendis nostrum. Laudantium quaerat similique temporibus sit assumenda. Officiis necessitatibus aut voluptatum qui. Alias et placeat sit sit."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:58:27.353099"], ["updated_at", "2018-09-05 05:58:27.353099"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Tajuana Turcotte"], ["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", "Tajuana Turcotte"], ["name", "Hedy Brekke"], ["description", "Francina Dibbert"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:58:27.358439"], ["updated_at", "2018-09-05 05:58:27.358439"]]  (0.6ms) 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", "Emilia Marvin"], ["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", "Julie Grant"], ["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", "Emilia Marvin"], ["name", "Julie Grant"], ["description", "Stephen Lindgren"], ["created_at", "2018-09-05 05:58:27.365491"], ["updated_at", "2018-09-05 05:58:27.365491"]]  (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", "Natalya Stehr"], ["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", "Natalya Stehr"], ["name", "Emmett Graham"], ["location_type_id", 10], ["description", "Yvette DuBuque"], ["address", "Jerald Rohan"], ["created_at", "2018-09-05 05:58:27.369997"], ["updated_at", "2018-09-05 05:58:27.369997"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Yolanda Durgan"], ["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", "Reiko Swift"], ["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", "Yolanda Durgan"], ["name", "Kelle Auer"], ["description", "Particia Heller"], ["serial_number", "Reiko Swift"], ["brand", "Valeria Satterfield"], ["item_model", "Tova Stokes"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:58:27.377161"], ["updated_at", "2018-09-05 05:58:27.377161"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) 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", "Adelaide Powlowski"], ["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", "Audie Bednar"], ["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", "Adelaide Powlowski"], ["name", "Audie Bednar"], ["created_at", "2018-09-05 05:58:27.388914"], ["updated_at", "2018-09-05 05:58:27.388914"]]  (0.5ms) 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", "Adelaide Powlowski"], ["id", 38], ["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", "Audie Bednar"], ["id", 38], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.8ms) BEGIN Mks::Rate::ServiceType Exists (0.9ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Chauncey Gottlieb"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN 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", "Francisca Gottlieb"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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.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", "Mitch 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", "Shin Doyle"], ["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", "Mitch Buckridge"], ["name", "Shin Doyle"], ["created_at", "2018-09-05 05:58:27.413428"], ["updated_at", "2018-09-05 05:58:27.413428"]]  (0.6ms) 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", "Mitch Buckridge"], ["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", "Marcellus Medhurst"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (1.0ms) 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", "Carole Schmidt"], ["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 Feil"], ["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", "Carole Schmidt"], ["name", "Margo Feil"], ["created_at", "2018-09-05 05:58:27.428715"], ["updated_at", "2018-09-05 05:58:27.428715"]]  (0.5ms) 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", "Gidget Gottlieb"], ["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", "Margo Feil"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN 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", "Andree Grady"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) 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", "Etha Macejkovic"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Miyoko Wolff"], ["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", "Miyoko Wolff"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.457444"], ["updated_at", "2018-09-05 05:58:27.457444"]]  (0.6ms) RELEASE 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", "Miyoko Wolff"], ["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", "Glenn Dietrich"], ["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", "Sherri Cartwright"], ["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", "Glenn Dietrich"], ["name", "Sherri Cartwright"], ["created_at", "2018-09-05 05:58:27.473188"], ["updated_at", "2018-09-05 05:58:27.473188"]]  (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", "Jackie Yundt"], ["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", "Jackie Yundt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.477951"], ["updated_at", "2018-09-05 05:58:27.477951"]]  (0.8ms) 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", "Lorri Upton"], ["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", "Lorri Upton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.484362"], ["updated_at", "2018-09-05 05:58:27.484362"]]  (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", "Darlena Fisher"], ["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", "Darlena Fisher"], ["name", "Launa Hoeger"], ["address", "Katelin Berge"], ["created_at", "2018-09-05 05:58:27.489350"], ["updated_at", "2018-09-05 05:58:27.489350"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lory Kerluke"], ["service_delivery_unit_id", 62], ["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", "Lory Kerluke"], ["name", "Warren Watsica"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:58:27.494648"], ["updated_at", "2018-09-05 05:58:27.494648"]] 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", 62], ["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", "Lory Kerluke"], ["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", "Lory Kerluke"], ["name", "Warren Watsica"], ["description", "Default bundle for service 'Warren Watsica'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:58:27.499789"], ["updated_at", "2018-09-05 05:58:27.499789"]] 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", 48], ["chargeable_service_id", 25]]  (0.9ms) 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", "Mistie Yundt"], ["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", "Otha Doyle"], ["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", "Mistie Yundt"], ["name", "Otha Doyle"], ["created_at", "2018-09-05 05:58:27.511636"], ["updated_at", "2018-09-05 05:58:27.511636"]]  (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", "Julius Brown"], ["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", "Julius Brown"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.518044"], ["updated_at", "2018-09-05 05:58:27.518044"]]  (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", "Love Welch"], ["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", "Love Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.522795"], ["updated_at", "2018-09-05 05:58:27.522795"]]  (0.5ms) 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", "Raphael Ferry"], ["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", "Raphael Ferry"], ["name", "Anette Wisoky"], ["address", "Roman Ondricka"], ["created_at", "2018-09-05 05:58:27.533821"], ["updated_at", "2018-09-05 05:58:27.533821"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Leeanne Schowalter"], ["service_delivery_unit_id", 63], ["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", "Leeanne Schowalter"], ["name", "Vincent Nolan"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:58:27.543812"], ["updated_at", "2018-09-05 05:58:27.543812"]] 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", 63], ["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", "Leeanne Schowalter"], ["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", "Leeanne Schowalter"], ["name", "Vincent Nolan"], ["description", "Default bundle for service 'Vincent Nolan'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:58:27.549015"], ["updated_at", "2018-09-05 05:58:27.549015"]] 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", 49], ["chargeable_service_id", 26]]  (0.8ms) 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", "Will Thompson"], ["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", "Brianne Hoppe"], ["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", "Will Thompson"], ["name", "Brianne Hoppe"], ["created_at", "2018-09-05 05:58:27.559445"], ["updated_at", "2018-09-05 05:58:27.559445"]]  (0.9ms) 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", "Ola Bernier"], ["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", "Ola Bernier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.564989"], ["updated_at", "2018-09-05 05:58:27.564989"]]  (0.8ms) 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", "Jeff Brekke"], ["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", "Jeff Brekke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.570358"], ["updated_at", "2018-09-05 05:58:27.570358"]]  (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", "Tesha Lynch"], ["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", "Tesha Lynch"], ["name", "Enrique Lehner"], ["address", "Sierra Wilkinson"], ["created_at", "2018-09-05 05:58:27.575073"], ["updated_at", "2018-09-05 05:58:27.575073"]]  (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", "Debbie Waelchi"], ["service_delivery_unit_id", 64], ["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", "Debbie Waelchi"], ["name", "Leonarda Wyman"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:58:27.580206"], ["updated_at", "2018-09-05 05:58:27.580206"]] 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", 64], ["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", "Debbie Waelchi"], ["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", "Debbie Waelchi"], ["name", "Leonarda Wyman"], ["description", "Default bundle for service 'Leonarda Wyman'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:58:27.585334"], ["updated_at", "2018-09-05 05:58:27.585334"]] 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", 27]]  (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", 25], ["LIMIT", 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", 26], ["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", 25], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (0.8ms) 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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:58:27.596912"], ["updated_at", "2018-09-05 05:58:27.596912"]] 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", 26], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (0.8ms) 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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:58:27.599951"], ["updated_at", "2018-09-05 05:58:27.599951"]]  (0.5ms) 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", "Cristen Stark"], ["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", "Hayley 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", "Cristen Stark"], ["name", "Hayley Zboncak"], ["created_at", "2018-09-05 05:58:27.610563"], ["updated_at", "2018-09-05 05:58:27.610563"]]  (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", "Terra Vandervort"], ["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", "Terra Vandervort"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.615374"], ["updated_at", "2018-09-05 05:58:27.615374"]]  (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", "Karlene Trantow"], ["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", "Karlene Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.619874"], ["updated_at", "2018-09-05 05:58:27.619874"]]  (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", "Elmer Schaden"], ["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", "Elmer Schaden"], ["name", "Minerva Denesik"], ["address", "Darius Corkery"], ["created_at", "2018-09-05 05:58:27.624169"], ["updated_at", "2018-09-05 05:58:27.624169"]]  (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", "Renae Gottlieb"], ["service_delivery_unit_id", 65], ["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", "Renae Gottlieb"], ["name", "Yelena Koss"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:58:27.628692"], ["updated_at", "2018-09-05 05:58:27.628692"]] 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", 65], ["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", "Renae Gottlieb"], ["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", "Renae Gottlieb"], ["name", "Yelena Koss"], ["description", "Default bundle for service 'Yelena Koss'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:58:27.633609"], ["updated_at", "2018-09-05 05:58:27.633609"]] 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", 51], ["chargeable_service_id", 28]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:58:27.640191"], ["updated_at", "2018-09-05 05:58:27.640191"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (1.3ms) 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", 28], ["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", 28], ["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 05:58:27.648237"], ["id", 10]]  (0.6ms) 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.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", "nannette@shieldskautzer.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", "Aurora McClure"], ["last_name", "Randolph Hayes"], ["email", "nannette@shieldskautzer.name"], ["password_digest", "$2a$04$SdYSDW/wxzdWwDysE50Ht.pIuwcP1TMZ3AGRI/0/oT94ZRlEqIxV2"], ["created_at", "2018-09-05 05:58:27.660067"], ["updated_at", "2018-09-05 05:58:27.660067"]]  (0.8ms) 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", "rich_welch@russelkling.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", "Trevor Hills"], ["last_name", "Kami Jacobs"], ["email", "rich_welch@russelkling.us"], ["password_digest", "$2a$04$k/X5/xPRwZziRMBq9AxLwunc6WBO1qye39wAGPdWoOhV8M7EWZdv2"], ["created_at", "2018-09-05 05:58:27.668307"], ["updated_at", "2018-09-05 05:58:27.668307"]]  (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", "sherlyn.koch@reynolds.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", "Tomiko D'Amore"], ["last_name", "Josef Hansen"], ["email", "sherlyn.koch@reynolds.info"], ["password_digest", "$2a$04$MnZigVlxrAaO1G0oL/CcK.zYj4FbC16JRT2eiNi.umW53w5aTRUjS"], ["created_at", "2018-09-05 05:58:27.676528"], ["updated_at", "2018-09-05 05:58:27.676528"]]  (0.9ms) 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", "Josie Heathcote"], ["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", "Josie Heathcote"], ["authorized_by", "Bobette Gutmann"], ["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", 76], ["approved_by_id", 77], ["created_at", "2018-09-05 05:58:27.682653"], ["updated_at", "2018-09-05 05:58:27.682653"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Josie Heathcote"], ["id", 9], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.2ms) 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", 75], ["updated_at", "2018-09-05 05:58:27.689066"], ["id", 9]]  (0.6ms) RELEASE SAVEPOINT active_record_1 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", 9], ["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", 75], ["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", "Brain Strosin"], ["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", "Brain Strosin"], ["name", "Sherita Collier"], ["address", "Kaycee Nader"], ["created_at", "2018-09-05 05:58:27.703122"], ["updated_at", "2018-09-05 05:58:27.703122"]]  (0.5ms) 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", "Britt Brekke"], ["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", "Britt Brekke"], ["name", "Marguerite Schmeler"], ["description", "Columbus Prohaska"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:58:27.708002"], ["updated_at", "2018-09-05 05:58:27.708002"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Christina Hills"], ["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", "Barrie Purdy"], ["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", "Christina Hills"], ["name", "Barrie Purdy"], ["created_at", "2018-09-05 05:58:27.715259"], ["updated_at", "2018-09-05 05:58:27.715259"]]  (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", "Myles Ullrich"], ["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", "Myles Ullrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.720403"], ["updated_at", "2018-09-05 05:58:27.720403"]]  (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", "Caridad Howell"], ["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", "Caridad Howell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.725042"], ["updated_at", "2018-09-05 05:58:27.725042"]]  (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", "Michael 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", "Michael Kertzmann"], ["name", "Keisha Morissette"], ["address", "Vivien Miller"], ["created_at", "2018-09-05 05:58:27.729585"], ["updated_at", "2018-09-05 05:58:27.729585"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Lahoma Murphy"], ["service_delivery_unit_id", 67], ["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", "Lahoma Murphy"], ["name", "Dorla Yundt"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:58:27.736142"], ["updated_at", "2018-09-05 05:58:27.736142"]] 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", 67], ["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", "Lahoma Murphy"], ["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", "Lahoma Murphy"], ["name", "Dorla Yundt"], ["description", "Default bundle for service 'Dorla Yundt'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:58:27.742661"], ["updated_at", "2018-09-05 05:58:27.742661"]] 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", 53], ["chargeable_service_id", 29]]  (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", "Lavonne Collins"], ["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", "Milda Treutel"], ["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", "Lavonne Collins"], ["name", "Milda Treutel"], ["created_at", "2018-09-05 05:58:27.752855"], ["updated_at", "2018-09-05 05:58:27.752855"]]  (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", "Marcus 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", "Marcus Howe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.757536"], ["updated_at", "2018-09-05 05:58:27.757536"]]  (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", "Gilberto Friesen"], ["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", "Gilberto Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.762209"], ["updated_at", "2018-09-05 05:58:27.762209"]]  (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", "Gretchen Cormier"], ["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", "Gretchen Cormier"], ["name", "Tisa Stoltenberg"], ["address", "Myrna Konopelski"], ["created_at", "2018-09-05 05:58:27.767720"], ["updated_at", "2018-09-05 05:58:27.767720"]]  (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", "Oscar Grady"], ["service_delivery_unit_id", 68], ["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", "Oscar Grady"], ["name", "Joslyn Ullrich"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:58:27.772641"], ["updated_at", "2018-09-05 05:58:27.772641"]] 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", 68], ["LIMIT", 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", "Oscar Grady"], ["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", "Oscar Grady"], ["name", "Joslyn Ullrich"], ["description", "Default bundle for service 'Joslyn Ullrich'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:58:27.778738"], ["updated_at", "2018-09-05 05:58:27.778738"]] 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", 54], ["chargeable_service_id", 30]]  (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", "Ardell Kuphal"], ["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", "Steve McGlynn"], ["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", "Ardell Kuphal"], ["name", "Steve McGlynn"], ["created_at", "2018-09-05 05:58:27.789145"], ["updated_at", "2018-09-05 05:58:27.789145"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Randall Bernhard"], ["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", "Randall Bernhard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.794597"], ["updated_at", "2018-09-05 05:58:27.794597"]]  (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", "Janet Daugherty"], ["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", "Janet Daugherty"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.799651"], ["updated_at", "2018-09-05 05:58:27.799651"]]  (0.6ms) 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", "Neva Altenwerth"], ["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", "Neva Altenwerth"], ["name", "Alease Robel"], ["address", "Lindy Roob"], ["created_at", "2018-09-05 05:58:27.805166"], ["updated_at", "2018-09-05 05:58:27.805166"]]  (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", "Maira Haley"], ["service_delivery_unit_id", 69], ["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", "Maira Haley"], ["name", "Wanita Wehner"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:58:27.810393"], ["updated_at", "2018-09-05 05:58:27.810393"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Maira Haley"], ["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", "Maira Haley"], ["name", "Wanita Wehner"], ["description", "Default bundle for service 'Wanita Wehner'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:58:27.816772"], ["updated_at", "2018-09-05 05:58:27.816772"]] 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", 31]]  (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", 52]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 29], ["id", 30], ["id", 31]] Mks::Rate::ChargeableService Load (1.1ms) 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", 52]] 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", 52], ["chargeable_service_id", 29]] 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", 30]] 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", 52], ["chargeable_service_id", 31]]  (0.5ms) RELEASE SAVEPOINT active_record_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", 52], ["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.6ms) ROLLBACK  (0.5ms) 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", "Edgardo Harber"], ["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", "Edgardo Harber"], ["name", "Jackie Conn"], ["address", "Luann Reichel"], ["created_at", "2018-09-05 05:58:27.849418"], ["updated_at", "2018-09-05 05:58:27.849418"]]  (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", "Demetrius Stark"], ["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", "Demetrius Stark"], ["name", "Shari Gaylord"], ["description", "Terresa Friesen"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:58:27.854479"], ["updated_at", "2018-09-05 05:58:27.854479"]]  (0.7ms) 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", "Donna Bayer"], ["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", "Annamarie Turner"], ["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", "Donna Bayer"], ["name", "Annamarie Turner"], ["created_at", "2018-09-05 05:58:27.861944"], ["updated_at", "2018-09-05 05:58:27.861944"]]  (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", "Chin 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", "Chin Morissette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.867038"], ["updated_at", "2018-09-05 05:58:27.867038"]]  (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", "Dwayne Wunsch"], ["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", "Dwayne Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.871782"], ["updated_at", "2018-09-05 05:58:27.871782"]]  (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", "Nereida Lubowitz"], ["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", "Nereida Lubowitz"], ["name", "Delilah Feeney"], ["address", "Retta Koch"], ["created_at", "2018-09-05 05:58:27.876544"], ["updated_at", "2018-09-05 05:58:27.876544"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Willetta Lynch"], ["service_delivery_unit_id", 71], ["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", "Willetta Lynch"], ["name", "Teresita Nader"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:58:27.882810"], ["updated_at", "2018-09-05 05:58:27.882810"]] 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", 71], ["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", "Willetta Lynch"], ["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", "Willetta Lynch"], ["name", "Teresita Nader"], ["description", "Default bundle for service 'Teresita Nader'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:58:27.890484"], ["updated_at", "2018-09-05 05:58:27.890484"]] 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", 57], ["chargeable_service_id", 32]]  (0.9ms) 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", "Bettie Davis"], ["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", "Merlyn Bogisich"], ["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", "Bettie Davis"], ["name", "Merlyn Bogisich"], ["created_at", "2018-09-05 05:58:27.901302"], ["updated_at", "2018-09-05 05:58:27.901302"]]  (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", "Estella Jaskolski"], ["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", "Estella Jaskolski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.906509"], ["updated_at", "2018-09-05 05:58:27.906509"]]  (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", "Enid Johnston"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Enid Johnston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.911794"], ["updated_at", "2018-09-05 05:58:27.911794"]]  (0.7ms) 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", "Bobbye Watsica"], ["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", "Bobbye Watsica"], ["name", "Arnette Nader"], ["address", "Ivana Windler"], ["created_at", "2018-09-05 05:58:27.918999"], ["updated_at", "2018-09-05 05:58:27.918999"]]  (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", "Santo Cronin"], ["service_delivery_unit_id", 72], ["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", "Santo Cronin"], ["name", "Milda Treutel"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:58:27.924872"], ["updated_at", "2018-09-05 05:58:27.924872"]] 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", 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", "Santo Cronin"], ["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", "Santo Cronin"], ["name", "Milda Treutel"], ["description", "Default bundle for service 'Milda Treutel'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:58:27.932106"], ["updated_at", "2018-09-05 05:58:27.932106"]] 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", 33]]  (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", "Valery Heller"], ["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", "Avril Schuppe"], ["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", "Valery Heller"], ["name", "Avril Schuppe"], ["created_at", "2018-09-05 05:58:27.941528"], ["updated_at", "2018-09-05 05:58:27.941528"]]  (0.4ms) 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", "Gertrud Quigley"], ["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", "Gertrud Quigley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.945924"], ["updated_at", "2018-09-05 05:58:27.945924"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jolie Gutkowski"], ["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", "Jolie Gutkowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:27.950429"], ["updated_at", "2018-09-05 05:58:27.950429"]]  (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", "Lucille Pacocha"], ["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", "Lucille Pacocha"], ["name", "Luana Hilpert"], ["address", "Kim Lockman"], ["created_at", "2018-09-05 05:58:27.955210"], ["updated_at", "2018-09-05 05:58:27.955210"]]  (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", "Kyung Waters"], ["service_delivery_unit_id", 73], ["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", "Kyung Waters"], ["name", "Deandre Volkman"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:58:27.959821"], ["updated_at", "2018-09-05 05:58:27.959821"]] 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", 73], ["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", "Kyung Waters"], ["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", "Kyung Waters"], ["name", "Deandre Volkman"], ["description", "Default bundle for service 'Deandre Volkman'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:58:27.964630"], ["updated_at", "2018-09-05 05:58:27.964630"]] 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", 34]]  (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", 56], ["chargeable_service_id", 32]] 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]] 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", 56], ["chargeable_service_id", 34]]  (0.7ms) RELEASE SAVEPOINT active_record_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", 56]]  (0.6ms) 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", 34]] 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", 56]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.0ms) 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", 56], ["chargeable_service_id", 32], ["chargeable_service_id", 33]]  (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", 56], ["LIMIT", 1]]  (1.4ms) 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", 56]] 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", 56]]  (0.6ms) ROLLBACK  (0.6ms) 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", "Deloise Block"], ["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", "Deloise Block"], ["name", "Lenard Johns"], ["address", "Yuko Schultz"], ["created_at", "2018-09-05 05:58:28.000550"], ["updated_at", "2018-09-05 05:58:28.000550"]]  (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", "Chloe Hand"], ["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", "Chloe Hand"], ["name", "Nanci Stark"], ["description", "Arthur Deckow"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:58:28.005618"], ["updated_at", "2018-09-05 05:58:28.005618"]]  (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", "Dolores Beahan"], ["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", "Vasiliki Toy"], ["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", "Dolores Beahan"], ["name", "Vasiliki Toy"], ["created_at", "2018-09-05 05:58:28.012450"], ["updated_at", "2018-09-05 05:58:28.012450"]]  (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", "Lupita Wyman"], ["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", "Lupita Wyman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:28.017316"], ["updated_at", "2018-09-05 05:58:28.017316"]]  (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", "Khalilah Paucek"], ["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", "Khalilah Paucek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:28.022141"], ["updated_at", "2018-09-05 05:58:28.022141"]]  (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", "Barbara Kuhic"], ["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", "Barbara Kuhic"], ["name", "Mercedez Harvey"], ["address", "Catharine Vandervort"], ["created_at", "2018-09-05 05:58:28.026665"], ["updated_at", "2018-09-05 05:58:28.026665"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Taylor Towne"], ["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", "Taylor Towne"], ["name", "Reagan Carroll"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:58:28.031876"], ["updated_at", "2018-09-05 05:58:28.031876"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Taylor Towne"], ["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", "Taylor Towne"], ["name", "Reagan Carroll"], ["description", "Default bundle for service 'Reagan Carroll'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:58:28.038515"], ["updated_at", "2018-09-05 05:58:28.038515"]] 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", 61], ["chargeable_service_id", 35]]  (0.8ms) 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", "Chong Langosh"], ["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", "Cliff Schmidt"], ["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", "Chong Langosh"], ["name", "Cliff Schmidt"], ["created_at", "2018-09-05 05:58:28.049161"], ["updated_at", "2018-09-05 05:58:28.049161"]]  (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", "Linnea Heaney"], ["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", "Linnea Heaney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:28.054035"], ["updated_at", "2018-09-05 05:58:28.054035"]]  (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", "Kala 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", "Kala Senger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:28.060507"], ["updated_at", "2018-09-05 05:58:28.060507"]]  (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", "Hortencia McLaughlin"], ["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", "Hortencia McLaughlin"], ["name", "Avelina Funk"], ["address", "Cathleen Bailey"], ["created_at", "2018-09-05 05:58:28.065791"], ["updated_at", "2018-09-05 05:58:28.065791"]]  (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", "Venetta Nolan"], ["service_delivery_unit_id", 76], ["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", "Venetta Nolan"], ["name", "Kaley Bayer"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:58:28.070632"], ["updated_at", "2018-09-05 05:58:28.070632"]] 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", 76], ["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", "Venetta Nolan"], ["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", "Venetta Nolan"], ["name", "Kaley Bayer"], ["description", "Default bundle for service 'Kaley Bayer'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:58:28.075401"], ["updated_at", "2018-09-05 05:58:28.075401"]] 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", 62], ["chargeable_service_id", 36]]  (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", "Jeffie Leffler"], ["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", "Trinity 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", "Jeffie Leffler"], ["name", "Trinity Fahey"], ["created_at", "2018-09-05 05:58:28.085641"], ["updated_at", "2018-09-05 05:58:28.085641"]]  (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", "Jenice Stanton"], ["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", "Jenice Stanton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:28.090275"], ["updated_at", "2018-09-05 05:58:28.090275"]]  (0.5ms) 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", "Tennille Wiza"], ["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", "Tennille Wiza"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:28.095994"], ["updated_at", "2018-09-05 05:58:28.095994"]]  (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", "Larita Leuschke"], ["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", "Larita Leuschke"], ["name", "Gracie Farrell"], ["address", "Machelle Abbott"], ["created_at", "2018-09-05 05:58:28.101143"], ["updated_at", "2018-09-05 05:58:28.101143"]]  (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", "Colleen Jacobson"], ["service_delivery_unit_id", 77], ["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", "Colleen Jacobson"], ["name", "Kaitlyn Cartwright"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:58:28.105954"], ["updated_at", "2018-09-05 05:58:28.105954"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Colleen 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", "Colleen Jacobson"], ["name", "Kaitlyn Cartwright"], ["description", "Default bundle for service 'Kaitlyn Cartwright'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:58:28.111540"], ["updated_at", "2018-09-05 05:58:28.111540"]] 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", 63], ["chargeable_service_id", 37]]  (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", "Bao Jacobson"], ["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", "Lea Yost"], ["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", "Bao Jacobson"], ["name", "Lea Yost"], ["created_at", "2018-09-05 05:58:28.120898"], ["updated_at", "2018-09-05 05:58:28.120898"]]  (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", "Eileen Macejkovic"], ["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", "Eileen Macejkovic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:28.126145"], ["updated_at", "2018-09-05 05:58:28.126145"]]  (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", "Qiana 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", "Qiana Medhurst"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:58:28.131783"], ["updated_at", "2018-09-05 05:58:28.131783"]]  (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", "Derick Bernhard"], ["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", "Derick Bernhard"], ["name", "Cara Borer"], ["address", "Xavier Heller"], ["created_at", "2018-09-05 05:58:28.136651"], ["updated_at", "2018-09-05 05:58:28.136651"]]  (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", "Mozella Wyman"], ["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", "Mozella Wyman"], ["name", "Micki Lockman"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:58:28.141631"], ["updated_at", "2018-09-05 05:58:28.141631"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mozella Wyman"], ["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", "Mozella Wyman"], ["name", "Micki Lockman"], ["description", "Default bundle for service 'Micki Lockman'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:58:28.146379"], ["updated_at", "2018-09-05 05:58:28.146379"]] 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", 38]]  (0.5ms) 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", 60], ["chargeable_service_id", 35]] 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", 36]]  (0.5ms) 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", 60]]  (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" IN ($1, $2, $3) [["id", 36], ["id", 37], ["id", 38]] 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", 60]] 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", 60], ["chargeable_service_id", 35]] 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]] 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", 38]]  (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", 60], ["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", 60]] Mks::Rate::ChargeableService Exists (1.1ms) 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", 60], ["id", 35], ["LIMIT", 1]] 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", 60]]  (0.6ms) ROLLBACK  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) 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", "mollie.wiza@hilpertleannon.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", "Nicky D'Amore"], ["last_name", "Phylis Walsh"], ["email", "mollie.wiza@hilpertleannon.co.uk"], ["password_digest", "$2a$04$4c.zyu/IvM8Ga3/w4Xz78uzSGVCqvtW9aogRmU2UxCrFZNW9Qqqhm"], ["created_at", "2018-09-05 05:59:18.205468"], ["updated_at", "2018-09-05 05:59:18.205468"]]  (1.1ms) 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", "Frank Jaskolski"], ["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", "Cammy Miller"], ["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", "Frank Jaskolski"], ["name", "Cammy Miller"], ["created_at", "2018-09-05 05:59:18.250539"], ["updated_at", "2018-09-05 05:59:18.250539"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (3.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lottie Kuhic"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lottie Kuhic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.298334"], ["updated_at", "2018-09-05 05:59:18.298334"]]  (3.5ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Marvin Leuschke"], ["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", "Marvin Leuschke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.313135"], ["updated_at", "2018-09-05 05:59:18.313135"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (3.4ms) 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", "Elanor Hettinger"], ["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", "Elanor Hettinger"], ["name", "Mathilde Beer"], ["address", "Elia Yost"], ["created_at", "2018-09-05 05:59:18.349913"], ["updated_at", "2018-09-05 05:59:18.349913"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Marcos Hand"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Marcos Hand"], ["name", "Marquita Torphy"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:59:18.361415"], ["updated_at", "2018-09-05 05:59:18.361415"]] 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", 1], ["LIMIT", 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", "Marcos Hand"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Marcos Hand"], ["name", "Marquita Torphy"], ["description", "Default bundle for service 'Marquita Torphy'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 05:59:18.401932"], ["updated_at", "2018-09-05 05:59:18.401932"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.2ms) 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.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", "Trinidad Bode"], ["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", "Florentina Prohaska"], ["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", "Trinidad Bode"], ["name", "Florentina Prohaska"], ["created_at", "2018-09-05 05:59:18.444837"], ["updated_at", "2018-09-05 05:59:18.444837"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Moses Hirthe"], ["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", "Moses Hirthe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.452645"], ["updated_at", "2018-09-05 05:59:18.452645"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (3.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", "Annita Lueilwitz"], ["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", "Annita Lueilwitz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.462960"], ["updated_at", "2018-09-05 05:59:18.462960"]]  (0.6ms) 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", "Duane Moore"], ["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", "Duane Moore"], ["name", "Vonda Sipes"], ["address", "Shellie Green"], ["created_at", "2018-09-05 05:59:18.469591"], ["updated_at", "2018-09-05 05:59:18.469591"]]  (0.7ms) 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", "Quintin Graham"], ["service_delivery_unit_id", 2], ["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", "Quintin Graham"], ["name", "Shaun Koelpin"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:59:18.476352"], ["updated_at", "2018-09-05 05:59:18.476352"]] 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", 2], ["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", "Quintin Graham"], ["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", "Quintin Graham"], ["name", "Shaun Koelpin"], ["description", "Default bundle for service 'Shaun Koelpin'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 05:59:18.483897"], ["updated_at", "2018-09-05 05:59:18.483897"]] 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", 2], ["chargeable_service_id", 2]]  (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", "Rachele Stehr"], ["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", "Tracie Kub"], ["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", "Rachele Stehr"], ["name", "Tracie Kub"], ["created_at", "2018-09-05 05:59:18.497911"], ["updated_at", "2018-09-05 05:59:18.497911"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (3.1ms) 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", "Tena Weissnat"], ["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", "Tena Weissnat"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.508797"], ["updated_at", "2018-09-05 05:59:18.508797"]]  (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", "Emery Corkery"], ["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", "Emery Corkery"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.514950"], ["updated_at", "2018-09-05 05:59:18.514950"]]  (0.7ms) 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", "Ossie Langworth"], ["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", "Ossie Langworth"], ["name", "Lacy Hessel"], ["address", "Billie Morissette"], ["created_at", "2018-09-05 05:59:18.521384"], ["updated_at", "2018-09-05 05:59:18.521384"]]  (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", "Ayanna Robel"], ["service_delivery_unit_id", 3], ["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", "Ayanna Robel"], ["name", "Dorthea Moen"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:59:18.526984"], ["updated_at", "2018-09-05 05:59:18.526984"]] Mks::Rate::ServiceDeliveryUnit Load (19.1ms) 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ayanna Robel"], ["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", "Ayanna Robel"], ["name", "Dorthea Moen"], ["description", "Default bundle for service 'Dorthea Moen'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 05:59:18.552712"], ["updated_at", "2018-09-05 05:59:18.552712"]] 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", 3], ["chargeable_service_id", 3]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 1], ["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", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC 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" IN ($1, $2, $3) [["id", 3], ["id", 1], ["id", 2]] [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", 5], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.6ms) 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 (1.2ms) 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.4ms) 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 (1.0ms) 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 (1.4ms) 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 (3.0ms) 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 (1.3ms) 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (34.94ms) Completed 200 OK in 66ms (Views: 46.8ms | ActiveRecord: 16.4ms)  (1.8ms) ROLLBACK  (0.8ms) 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", "doloris.mante@beatty.co.uk"], ["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", "Gaylord Welch"], ["last_name", "Page Reichel"], ["email", "doloris.mante@beatty.co.uk"], ["password_digest", "$2a$04$tuJzqY.ROoKUYsimFyrhQOU/9Z5WibZlCJYvbBEraCqH52IjNiwz6"], ["created_at", "2018-09-05 05:59:18.651463"], ["updated_at", "2018-09-05 05:59:18.651463"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (2.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jeffie Towne"], ["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", "Jeffie Towne"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.678121"], ["updated_at", "2018-09-05 05:59:18.678121"]]  (0.9ms) 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", "Lindy Waelchi"], ["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", "Lindy Waelchi"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.688844"], ["updated_at", "2018-09-05 05:59:18.688844"]]  (0.7ms) 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", "Gilberte Ankunding"], ["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", "Gilberte Ankunding"], ["name", "Elin Schroeder"], ["address", "Yu Paucek"], ["created_at", "2018-09-05 05:59:18.696313"], ["updated_at", "2018-09-05 05:59:18.696313"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gabriella Lueilwitz"], ["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", "Raymundo Bruen"], ["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", "Gabriella Lueilwitz"], ["name", "Raymundo Bruen"], ["created_at", "2018-09-05 05:59:18.705331"], ["updated_at", "2018-09-05 05:59:18.705331"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Alina Stanton", "name"=>"Marvel McDermott", "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.8ms) 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", "Alina Stanton"], ["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.8ms) 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.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", "Alina Stanton"], ["name", "Marvel McDermott"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:59:18.725017"], ["updated_at", "2018-09-05 05:59:18.725017"]] 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", 4], ["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", "Alina Stanton"], ["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", "Alina Stanton"], ["name", "Marvel McDermott"], ["description", "Default bundle for service 'Marvel McDermott'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 05:59:18.731205"], ["updated_at", "2018-09-05 05:59:18.731205"]] 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", 4], ["chargeable_service_id", 4]]  (0.8ms) 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.7ms) 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.49ms) Completed 200 OK in 38ms (Views: 11.2ms | ActiveRecord: 13.4ms)  (1.5ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.0ms) ROLLBACK  (0.8ms) 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", "isidro@rice.ca"], ["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", "Marcos Abernathy"], ["last_name", "Aleshia Hudson"], ["email", "isidro@rice.ca"], ["password_digest", "$2a$04$4B7gOsalGDsdNZAY626UMeLkuHt2Iz.HEB/3jCGRcKX4y1owhgZZy"], ["created_at", "2018-09-05 05:59:18.764879"], ["updated_at", "2018-09-05 05:59:18.764879"]]  (0.8ms) 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", "Hettie 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", "Hettie Paucek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.771611"], ["updated_at", "2018-09-05 05:59:18.771611"]]  (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", "Lavern Kerluke"], ["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", "Lavern Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.776706"], ["updated_at", "2018-09-05 05:59:18.776706"]]  (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", "Jaimie Rau"], ["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", "Jaimie Rau"], ["name", "Cordie Klocko"], ["address", "Lynna Langworth"], ["created_at", "2018-09-05 05:59:18.782084"], ["updated_at", "2018-09-05 05:59:18.782084"]]  (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", "Lora King"], ["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", "Pennie Crist"], ["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", "Lora King"], ["name", "Pennie Crist"], ["created_at", "2018-09-05 05:59:18.788296"], ["updated_at", "2018-09-05 05:59:18.788296"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Gwendolyn White", "name"=>"Glinda Walsh", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.9ms) 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", "Gwendolyn White"], ["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.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::ChargeableService Create (2.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", "Gwendolyn White"], ["name", "Glinda Walsh"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:59:18.804824"], ["updated_at", "2018-09-05 05:59:18.804824"]] 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", 5], ["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", "Gwendolyn White"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Gwendolyn White"], ["name", "Glinda Walsh"], ["description", "Default bundle for service 'Glinda Walsh'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 05:59:18.813007"], ["updated_at", "2018-09-05 05:59:18.813007"]] 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", 5], ["chargeable_service_id", 5]]  (0.5ms) RELEASE SAVEPOINT active_record_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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.78ms) Mks::Auth::User Load (1.3ms) 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.7ms) Completed 200 OK in 35ms (Views: 2.7ms | ActiveRecord: 16.9ms)  (1.5ms) 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", "joselyn.armstrong@wuckert.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", "Berneice Kuhic"], ["last_name", "Viki Williamson"], ["email", "joselyn.armstrong@wuckert.us"], ["password_digest", "$2a$04$Le6cx19xoJS1MM8T.CklL.T3N9I4BTHt9kMoY1ot0.KJMy/z7chwy"], ["created_at", "2018-09-05 05:59:18.839973"], ["updated_at", "2018-09-05 05:59:18.839973"]]  (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", "Dorris Rodriguez"], ["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", "Dorris Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.847382"], ["updated_at", "2018-09-05 05:59:18.847382"]]  (0.8ms) 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", "Milda Zboncak"], ["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", "Milda Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.854411"], ["updated_at", "2018-09-05 05:59:18.854411"]]  (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", "Gayle Watsica"], ["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", "Gayle Watsica"], ["name", "Christine Sauer"], ["address", "Trinidad Bartell"], ["created_at", "2018-09-05 05:59:18.860288"], ["updated_at", "2018-09-05 05:59:18.860288"]]  (0.6ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["code", "Rochell Lehner"], ["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", "Leola Satterfield"], ["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", "Rochell Lehner"], ["name", "Leola Satterfield"], ["created_at", "2018-09-05 05:59:18.868597"], ["updated_at", "2018-09-05 05:59:18.868597"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Merle Conroy", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.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.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", ""], ["service_delivery_unit_id", 6], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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.2ms) 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.6ms) ROLLBACK TO 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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.21ms) Completed 422 Unprocessable Entity in 30ms (Views: 6.2ms | ActiveRecord: 9.2ms)  (1.7ms) ROLLBACK  (0.4ms) 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", "felica.mitchell@rutherford.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", "Deandre Runolfsson"], ["last_name", "Evangelina Hettinger"], ["email", "felica.mitchell@rutherford.biz"], ["password_digest", "$2a$04$IBN9dUUU4xs7K6rD2beeye.SjYcibMIuUStPZbaB9Qp/JxKYTbQd2"], ["created_at", "2018-09-05 05:59:18.916526"], ["updated_at", "2018-09-05 05:59:18.916526"]]  (0.5ms) 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", "Victorina Weber"], ["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", "Gladys Klein"], ["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", "Victorina Weber"], ["name", "Gladys Klein"], ["created_at", "2018-09-05 05:59:18.925499"], ["updated_at", "2018-09-05 05:59:18.925499"]]  (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", "Araceli Cronin"], ["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", "Araceli Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.930806"], ["updated_at", "2018-09-05 05:59:18.930806"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Stefany Kemmer"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stefany Kemmer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:18.936505"], ["updated_at", "2018-09-05 05:59:18.936505"]]  (0.5ms) RELEASE SAVEPOINT active_record_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", "Dann Zboncak"], ["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", "Dann Zboncak"], ["name", "Minta Quigley"], ["address", "Barry Harvey"], ["created_at", "2018-09-05 05:59:18.942822"], ["updated_at", "2018-09-05 05:59:18.942822"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Joaquina Wuckert"], ["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", "Joaquina Wuckert"], ["name", "Jaye Mertz"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:59:18.950014"], ["updated_at", "2018-09-05 05:59:18.950014"]] 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 (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Joaquina Wuckert"], ["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", "Joaquina Wuckert"], ["name", "Jaye Mertz"], ["description", "Default bundle for service 'Jaye Mertz'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 05:59:18.958056"], ["updated_at", "2018-09-05 05:59:18.958056"]] 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.7ms) 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.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.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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Joaquina Wuckert"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 7], ["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", 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.0ms) 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 05:59:18.980771"], ["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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Joaquina Wuckert"], ["LIMIT", 1]]  (0.9ms) 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", 14], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.63ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.45ms) Completed 200 OK in 37ms (Views: 1.4ms | ActiveRecord: 11.0ms) Mks::Rate::ChargeableService Load (1.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (1.0ms) 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", "gay@pouros.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", "Kasha Hessel"], ["last_name", "Nikki Mitchell"], ["email", "gay@pouros.name"], ["password_digest", "$2a$04$CPFfQrWEDoWktavGHssaJOLwko.M1Tuk6FCwgwIYidqbrYjNOfKDK"], ["created_at", "2018-09-05 05:59:19.014304"], ["updated_at", "2018-09-05 05:59:19.014304"]]  (0.8ms) 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", "Thomas Ledner"], ["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", "Kari Balistreri"], ["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", "Thomas Ledner"], ["name", "Kari Balistreri"], ["created_at", "2018-09-05 05:59:19.021888"], ["updated_at", "2018-09-05 05:59:19.021888"]]  (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", "Colene Thiel"], ["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", "Colene Thiel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.027733"], ["updated_at", "2018-09-05 05:59:19.027733"]]  (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", "Odell Wintheiser"], ["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", "Odell Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.032401"], ["updated_at", "2018-09-05 05:59:19.032401"]]  (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", "Milagros Jenkins"], ["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", "Milagros Jenkins"], ["name", "Lynetta Dietrich"], ["address", "Yvonne Boyer"], ["created_at", "2018-09-05 05:59:19.037490"], ["updated_at", "2018-09-05 05:59:19.037490"]]  (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", "Lee Mosciski"], ["service_delivery_unit_id", 8], ["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", "Lee Mosciski"], ["name", "Dionne Durgan"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:59:19.042410"], ["updated_at", "2018-09-05 05:59:19.042410"]] 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 (1.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lee 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", "Lee Mosciski"], ["name", "Dionne Durgan"], ["description", "Default bundle for service 'Dionne Durgan'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 05:59:19.049079"], ["updated_at", "2018-09-05 05:59:19.049079"]] 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.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"7"} Mks::Auth::User Load (1.0ms) 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.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.6ms) 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", "Lee Mosciski"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.0ms) 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 (1.5ms) 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 (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", 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.1ms) Completed 422 Unprocessable Entity in 16ms (Views: 1.1ms | ActiveRecord: 8.5ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (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", "krysten@gleason.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", "Emile Wisoky"], ["last_name", "Raven Kozey"], ["email", "krysten@gleason.co.uk"], ["password_digest", "$2a$04$AMyVL3qsgWVpGHGtaF3oD.5b/GMDXanIAJYTp0FH8YlxqWuzt0B6q"], ["created_at", "2018-09-05 05:59:19.081378"], ["updated_at", "2018-09-05 05:59:19.081378"]]  (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", "Meri Mohr"], ["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", "Meri Mohr"], ["name", "Tashina Greenfelder"], ["address", "Jodie Haley"], ["created_at", "2018-09-05 05:59:19.087024"], ["updated_at", "2018-09-05 05:59:19.087024"]]  (1.1ms) 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", "Marquita Schinner"], ["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", "Marquita Schinner"], ["name", "Mikel Morar"], ["address", "Laurence Farrell"], ["created_at", "2018-09-05 05:59:19.093058"], ["updated_at", "2018-09-05 05:59:19.093058"]]  (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", "Aracely Collier"], ["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", "Leana Farrell"], ["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", "Aracely Collier"], ["name", "Leana Farrell"], ["created_at", "2018-09-05 05:59:19.099279"], ["updated_at", "2018-09-05 05:59:19.099279"]]  (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", "Waltraud Okuneva"], ["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", "Waltraud Okuneva"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.103957"], ["updated_at", "2018-09-05 05:59:19.103957"]]  (0.6ms) 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", "Kieth Pacocha"], ["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", "Kieth Pacocha"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.109105"], ["updated_at", "2018-09-05 05:59:19.109105"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Jenine Will"], ["service_delivery_unit_id", 9], ["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", 9], ["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", "Jenine Will"], ["name", "Kayleen Orn"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:59:19.117314"], ["updated_at", "2018-09-05 05:59:19.117314"]] 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", 9], ["LIMIT", 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", "Jenine Will"], ["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", "Jenine Will"], ["name", "Kayleen Orn"], ["description", "Default bundle for service 'Kayleen Orn'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:59:19.124085"], ["updated_at", "2018-09-05 05:59:19.124085"]] 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.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", "Francoise Bednar"], ["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", "Tory Douglas"], ["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", "Francoise Bednar"], ["name", "Tory Douglas"], ["created_at", "2018-09-05 05:59:19.133825"], ["updated_at", "2018-09-05 05:59:19.133825"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.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", "Tony Fahey"], ["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", "Tony Fahey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.139976"], ["updated_at", "2018-09-05 05:59:19.139976"]]  (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", "Jesusita Berge"], ["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", "Jesusita Berge"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.144685"], ["updated_at", "2018-09-05 05:59:19.144685"]]  (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", "Mistie Lockman"], ["service_delivery_unit_id", 9], ["LIMIT", 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", 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", "Mistie Lockman"], ["name", "Sanda Russel"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:59:19.151104"], ["updated_at", "2018-09-05 05:59:19.151104"]] 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", 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", "Mistie Lockman"], ["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", "Mistie Lockman"], ["name", "Sanda Russel"], ["description", "Default bundle for service 'Sanda Russel'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 05:59:19.156591"], ["updated_at", "2018-09-05 05:59:19.156591"]] 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.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", "Anamaria Adams"], ["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", "Cody Little"], ["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", "Anamaria Adams"], ["name", "Cody Little"], ["created_at", "2018-09-05 05:59:19.165534"], ["updated_at", "2018-09-05 05:59:19.165534"]]  (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", "Sue Wolf"], ["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", "Sue Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.170823"], ["updated_at", "2018-09-05 05:59:19.170823"]]  (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", "Rena Swift"], ["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", "Rena Swift"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.177016"], ["updated_at", "2018-09-05 05:59:19.177016"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Faustina Medhurst"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] 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", 10], ["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", "Faustina Medhurst"], ["name", "Ray Yundt"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:59:19.185552"], ["updated_at", "2018-09-05 05:59:19.185552"]] 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", 10], ["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", "Faustina Medhurst"], ["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", "Faustina Medhurst"], ["name", "Ray Yundt"], ["description", "Default bundle for service 'Ray Yundt'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:59:19.193004"], ["updated_at", "2018-09-05 05:59:19.193004"]] 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", 10], ["chargeable_service_id", 10]]  (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", "Hyacinth Osinski"], ["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", "Alfredo Weber"], ["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", "Hyacinth Osinski"], ["name", "Alfredo Weber"], ["created_at", "2018-09-05 05:59:19.202751"], ["updated_at", "2018-09-05 05:59:19.202751"]]  (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", "Pam White"], ["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", "Pam White"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.208470"], ["updated_at", "2018-09-05 05:59:19.208470"]]  (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", "Zelma 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", "Zelma Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:19.213325"], ["updated_at", "2018-09-05 05:59:19.213325"]]  (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", "Phylis Johns"], ["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.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", "Phylis Johns"], ["name", "Soila Haley"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:59:19.219692"], ["updated_at", "2018-09-05 05:59:19.219692"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Phylis Johns"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Phylis Johns"], ["name", "Soila Haley"], ["description", "Default bundle for service 'Soila Haley'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 05:59:19.225099"], ["updated_at", "2018-09-05 05:59:19.225099"]] 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", 11], ["chargeable_service_id", 11]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (1.1ms) 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.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.1ms) 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 (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", 9], ["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", 17], ["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", 18], ["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", 9], ["LIMIT", 1]] [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", 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.8ms) 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.82ms) Completed 200 OK in 19ms (Views: 8.5ms | ActiveRecord: 9.4ms)  (1.3ms) 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", "bradley@pagaccollier.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", "Lynette Littel"], ["last_name", "Matilda Turcotte"], ["email", "bradley@pagaccollier.com"], ["password_digest", "$2a$04$esE8w8jbgw2x/2ZLlJsHIuq0sYw/9Jozf2OLTIBBiThkvNORA2sEu"], ["created_at", "2018-09-05 05:59:19.261750"], ["updated_at", "2018-09-05 05:59:19.261750"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "nikole@kub.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", "Yi Runolfsson"], ["last_name", "Wilfred Nikolaus"], ["email", "nikole@kub.ca"], ["password_digest", "$2a$04$TIXgag9hD8ziygpOIULx/e8KLFHJ8Q1UZAU2bbFMZB5PBmM0Tu4uW"], ["created_at", "2018-09-05 05:59:19.286027"], ["updated_at", "2018-09-05 05:59:19.286027"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "eugenie.kilback@terry.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", "Gertrudis Bauch"], ["last_name", "Alisia Barrows"], ["email", "eugenie.kilback@terry.com"], ["password_digest", "$2a$04$0KOqdPTFxdjm8c8Gq4YzGeJ284xuzkvVCFmba5.y70lgqnt8LG10K"], ["created_at", "2018-09-05 05:59:19.296022"], ["updated_at", "2018-09-05 05:59:19.296022"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Leah DuBuque"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.8ms) 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", "Leah DuBuque"], ["authorized_by", "Luetta Carter"], ["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 05:59:19.301467"], ["updated_at", "2018-09-05 05:59:19.301467"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#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", 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.9ms) 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 05:59:19", updated_at: "2018-09-05 05:59:19"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.43ms) Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 2.5ms)  (1.2ms) ROLLBACK  (0.6ms) BEGIN  (1.2ms) 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", "jillian.heathcote@olsonromaguera.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", "Kermit Price"], ["last_name", "Reuben Haley"], ["email", "jillian.heathcote@olsonromaguera.us"], ["password_digest", "$2a$04$nut1QOpo3NFghYsJQQNMteQEty50/cMBx1fkxIvexVb.w.FjTupR."], ["created_at", "2018-09-05 05:59:19.332025"], ["updated_at", "2018-09-05 05:59:19.332025"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "rudolf@zieme.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", "Tanika Strosin"], ["last_name", "Marcelino Nienow"], ["email", "rudolf@zieme.us"], ["password_digest", "$2a$04$fkpQ1fko.bIDz74n56QYouxSgIIO4WKQiOl4GvoGP/EXZjbAgsAdW"], ["created_at", "2018-09-05 05:59:19.340915"], ["updated_at", "2018-09-05 05:59:19.340915"]]  (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", "janyce@mann.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", "Lura Powlowski"], ["last_name", "Sheldon Abshire"], ["email", "janyce@mann.co.uk"], ["password_digest", "$2a$04$XydhKS44eXuVA4L5U9vcTeOBs9fcRHBk6tUunqOG5grNNSp6T7RMe"], ["created_at", "2018-09-05 05:59:19.347766"], ["updated_at", "2018-09-05 05:59:19.347766"]]  (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", "Gracia Powlowski"], ["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", "Gracia Powlowski"], ["authorized_by", "Marnie Wolf"], ["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 05:59:19.353625"], ["updated_at", "2018-09-05 05:59:19.353625"]]  (0.6ms) 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.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 (1.0ms) 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.49ms) Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 2.8ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "edith@stiedemannschulist.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", "Leon Kulas"], ["last_name", "Lynetta Harber"], ["email", "edith@stiedemannschulist.name"], ["password_digest", "$2a$04$Ld3nmxNzt1mz0oqTmMIBH.g6oa/AKxQSU3Dyd0kHpx3iuY2pUIu6G"], ["created_at", "2018-09-05 05:59:19.375540"], ["updated_at", "2018-09-05 05:59:19.375540"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "william@farrell.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", "Ophelia Green"], ["last_name", "Shanita Wyman"], ["email", "william@farrell.com"], ["password_digest", "$2a$04$AvUxqXJJ30pODvc2S/rqEepVhGXd7FUNUJjy7nThROTeQQ9enjXJW"], ["created_at", "2018-09-05 05:59:19.388433"], ["updated_at", "2018-09-05 05:59:19.388433"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.6ms) 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", "roy_treutel@lebsackmiller.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", "Rena Boyle"], ["last_name", "Franklin Glover"], ["email", "roy_treutel@lebsackmiller.us"], ["password_digest", "$2a$04$ks4.KlHQcwS86vf8n0PKA.mJcLSIDcZTYGPybXaJKu7IGM998p3yC"], ["created_at", "2018-09-05 05:59:19.399183"], ["updated_at", "2018-09-05 05:59:19.399183"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.9ms) BEGIN  (1.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", "berniece.ledner@quigley.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", "Bernarda Reichert"], ["last_name", "Simone Donnelly"], ["email", "berniece.ledner@quigley.info"], ["password_digest", "$2a$04$FTvBcjUFM5/OersDjsDa2OlaB526lr3IxNYf1joTt.QCO8XIgi6TO"], ["created_at", "2018-09-05 05:59:19.412940"], ["updated_at", "2018-09-05 05:59:19.412940"]]  (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", "angle.harber@gorczany.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", "Ava Mayer"], ["last_name", "Jocelyn O'Keefe"], ["email", "angle.harber@gorczany.com"], ["password_digest", "$2a$04$uZoLpt3m/lbzVxvLQRIMJenh8InLC39La8BQ5PWDrKEIVM54WlGFO"], ["created_at", "2018-09-05 05:59:19.420127"], ["updated_at", "2018-09-05 05:59:19.420127"]]  (1.1ms) 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", "anastasia_flatley@hessel.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", "Dione Hand"], ["last_name", "Jaunita Bergstrom"], ["email", "anastasia_flatley@hessel.info"], ["password_digest", "$2a$04$NLOUdSfrZjhnEDzCmnAMm.UG6mHINCmDBterpgtvhQllduULt4W9m"], ["created_at", "2018-09-05 05:59:19.428410"], ["updated_at", "2018-09-05 05:59:19.428410"]]  (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", "Jesusa Towne"], ["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", "Jesusa Towne"], ["authorized_by", "Tony Bernhard"], ["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", 18], ["approved_by_id", 19], ["created_at", "2018-09-05 05:59:19.433059"], ["updated_at", "2018-09-05 05:59:19.433059"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Maranda Cremin"}, "id"=>"3"} 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]] 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", 3], ["LIMIT", 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Jesusa Towne"], ["id", 3], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.4ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Maranda Cremin"], ["updated_at", "2018-09-05 05:59:19.446722"], ["id", 3]]  (0.7ms) 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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.38ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 7.3ms) 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", 3], ["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", "judith@koss.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", "Maryland Stracke"], ["last_name", "Kaci Rau"], ["email", "judith@koss.name"], ["password_digest", "$2a$04$iSOEev9zSNy.JfHa/HcfB.ipi2t9Gj4CGom4o2yDrn4AhnX7D26.G"], ["created_at", "2018-09-05 05:59:19.463885"], ["updated_at", "2018-09-05 05:59:19.463885"]]  (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", "randall_waelchi@macejkovicbrakus.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", "Yolanda Ortiz"], ["last_name", "Elvera Hartmann"], ["email", "randall_waelchi@macejkovicbrakus.biz"], ["password_digest", "$2a$04$gN38BODRPqQp3AzUERubpeijfe6MAzKYpSeqNoe9/3f7ND05PWj4y"], ["created_at", "2018-09-05 05:59:19.471016"], ["updated_at", "2018-09-05 05:59:19.471016"]]  (0.5ms) 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", "matilde_ullrich@eichmannlarkin.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", "Stevie VonRueden"], ["last_name", "Kareen Grady"], ["email", "matilde_ullrich@eichmannlarkin.us"], ["password_digest", "$2a$04$gJ6c//eo.sP.LURyJofdre./dcI041SBg2tHi94VB2vRfRY79iQii"], ["created_at", "2018-09-05 05:59:19.477634"], ["updated_at", "2018-09-05 05:59:19.477634"]]  (0.8ms) 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", "Shonta Dickinson"], ["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", "Shonta Dickinson"], ["authorized_by", "Herma Hintz"], ["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", 21], ["approved_by_id", 22], ["created_at", "2018-09-05 05:59:19.482752"], ["updated_at", "2018-09-05 05:59:19.482752"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.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", "tamekia.lockman@corkery.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", "Shila Gleichner"], ["last_name", "Nevada Walter"], ["email", "tamekia.lockman@corkery.info"], ["password_digest", "$2a$04$TSkUiSl.Wm.CZWnVfEh2quC5Xa.5pAutVCuRjxkzkm81dPRC8Lk7m"], ["created_at", "2018-09-05 05:59:19.494262"], ["updated_at", "2018-09-05 05:59:19.494262"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "trina@blandavolkman.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", "Beaulah Hoeger"], ["last_name", "Stepanie Rice"], ["email", "trina@blandavolkman.biz"], ["password_digest", "$2a$04$odqXuya3EjVpD9jW1DoNfuJ0FIpsDghP9TS4.5A9fg31W3p3BibW."], ["created_at", "2018-09-05 05:59:19.503082"], ["updated_at", "2018-09-05 05:59:19.503082"]]  (1.3ms) 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", "annie@westdurgan.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", "Belia McGlynn"], ["last_name", "Lauri Orn"], ["email", "annie@westdurgan.info"], ["password_digest", "$2a$04$2wBZeoM06pQFIYniJa1lWO4m8dUdOJfr4ActMFjqzbrOtns/YeY3S"], ["created_at", "2018-09-05 05:59:19.511146"], ["updated_at", "2018-09-05 05:59:19.511146"]]  (0.8ms) 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 LIMIT $2 [["reference_number", "Samara Daugherty"], ["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", "Samara Daugherty"], ["authorized_by", "Laverna Prohaska"], ["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 05:59:19.516796"], ["updated_at", "2018-09-05 05:59:19.516796"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "charline@predovicfeil.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", "Alex Lynch"], ["last_name", "Sabine Schaden"], ["email", "charline@predovicfeil.name"], ["password_digest", "$2a$04$bYqQqQtDTSo2vPuB.GL5seyhuGgF0iHXAWbmZVjfrvWeKpETkeVK."], ["created_at", "2018-09-05 05:59:19.528580"], ["updated_at", "2018-09-05 05:59:19.528580"]]  (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", "Laverna Waters"], ["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", "Laverna Waters"], ["name", "Ellis Blanda"], ["address", "Patience Konopelski"], ["created_at", "2018-09-05 05:59:19.534423"], ["updated_at", "2018-09-05 05:59:19.534423"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Hee Gerhold"], ["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", "Hee Gerhold"], ["name", "Javier Reilly"], ["description", "Russ Bailey"], ["percent_discount", 100.0], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 05:59:19.540922"], ["updated_at", "2018-09-05 05:59:19.540922"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#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", 26], ["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", 26], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [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", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.5ms) Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 3.8ms)  (1.4ms) ROLLBACK  (1.3ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "shiloh_gulgowski@weissnatabshire.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", "Elodia Schowalter"], ["last_name", "Drema Deckow"], ["email", "shiloh_gulgowski@weissnatabshire.biz"], ["password_digest", "$2a$04$pkO7OQariAw6HkvN4fPSZOzz3CwpTBO.GTvstU5x7.KLMPJhWspvu"], ["created_at", "2018-09-05 05:59:19.573372"], ["updated_at", "2018-09-05 05:59:19.573372"]]  (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", "Jolene Toy"], ["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", "Jolene Toy"], ["name", "Olive Davis"], ["address", "Shana Wunsch"], ["created_at", "2018-09-05 05:59:19.579106"], ["updated_at", "2018-09-05 05:59:19.579106"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Harry Jewess"], ["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", "Harry Jewess"], ["name", "Lenita Witting"], ["description", "Jason Murray"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:59:19.584205"], ["updated_at", "2018-09-05 05:59:19.584205"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Silas Schneider"], ["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", "Silas Schneider"], ["name", "Mohammad Labadie"], ["description", "Alissa Reilly"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:59:19.589632"], ["updated_at", "2018-09-05 05:59:19.589632"]]  (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", "Leonore Gusikowski"], ["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", "Leonore Gusikowski"], ["name", "Kent Stracke"], ["description", "Candance Boyer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 05:59:19.594586"], ["updated_at", "2018-09-05 05:59:19.594586"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"12"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 12]] [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", 12], ["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", 12], ["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", 12], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.9ms) Completed 200 OK in 12ms (Views: 5.4ms | ActiveRecord: 5.3ms)  (0.8ms) 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", "dominga_dach@rodriguez.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", "Nichol Nitzsche"], ["last_name", "Sung Oga"], ["email", "dominga_dach@rodriguez.com"], ["password_digest", "$2a$04$E9ivuyNfDTn8G4yGYIb/JOU3cQh53XwqMYziceFzzXszBQfcyMf56"], ["created_at", "2018-09-05 05:59:19.617662"], ["updated_at", "2018-09-05 05:59:19.617662"]]  (0.5ms) 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", "Alexis Little"], ["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", "Alexis Little"], ["name", "Ruthann Walter"], ["address", "Carola Mueller"], ["created_at", "2018-09-05 05:59:19.623993"], ["updated_at", "2018-09-05 05:59:19.623993"]]  (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", "Elda Ferry"], ["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", "Elda Ferry"], ["name", "Amparo Schowalter"], ["description", "Margo Reichel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:59:19.628999"], ["updated_at", "2018-09-05 05:59:19.628999"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Evia Hilll"], ["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", "Evia Hilll"], ["name", "Johnie Renner"], ["description", "Shane Hodkiewicz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:59:19.635173"], ["updated_at", "2018-09-05 05:59:19.635173"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (2.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (10.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Russell Ritchie"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (5.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", "Russell Ritchie"], ["name", "Patrica Legros"], ["description", "Marie Bashirian"], ["percent_discount", 100.0], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 05:59:19.655573"], ["updated_at", "2018-09-05 05:59:19.655573"]]  (2.7ms) RELEASE SAVEPOINT active_record_1  (2.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dwain Auer"], ["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", "Dwain Auer"], ["name", "Bret Smith"], ["address", "Jazmine Fahey"], ["created_at", "2018-09-05 05:59:19.674062"], ["updated_at", "2018-09-05 05:59:19.674062"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Juliette Marvin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (4.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", "Juliette Marvin"], ["name", "Tammara Robel"], ["description", "Jean Macejkovic"], ["percent_discount", 100.0], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 05:59:19.682258"], ["updated_at", "2018-09-05 05:59:19.682258"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (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", "Walter Huel"], ["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", "Walter Huel"], ["name", "Ying Zboncak"], ["address", "Suzi Ryan"], ["created_at", "2018-09-05 05:59:19.694625"], ["updated_at", "2018-09-05 05:59:19.694625"]]  (0.9ms) 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", "Merrill Langworth"], ["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", "Merrill Langworth"], ["name", "Dane Bernhard"], ["description", "Annamaria Greenfelder"], ["percent_discount", 100.0], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 05:59:19.702086"], ["updated_at", "2018-09-05 05:59:19.702086"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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", "Valerie Mertz"], ["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", "Valerie Mertz"], ["name", "Alisia Lueilwitz"], ["address", "Marianna Lesch"], ["created_at", "2018-09-05 05:59:19.711212"], ["updated_at", "2018-09-05 05:59:19.711212"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mikaela Hudson"], ["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", "Mikaela Hudson"], ["name", "Frieda Kuvalis"], ["description", "Corinne O'Kon"], ["percent_discount", 100.0], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 05:59:19.720826"], ["updated_at", "2018-09-05 05:59:19.720826"]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"13"} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 28], ["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", 28], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 13]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (2.9ms) 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]] [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", 13], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (9.39ms) Completed 200 OK in 17ms (Views: 6.3ms | ActiveRecord: 9.3ms)  (1.5ms) ROLLBACK  (1.4ms) BEGIN  (1.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", "dannie@howerau.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", "Shiloh Adams"], ["last_name", "Tamala Greenfelder"], ["email", "dannie@howerau.us"], ["password_digest", "$2a$04$1QFwtPIpsHMRkECguy7Ave2gWr4NxUM7eb.pWFcPjm9EZ6OZeU.ga"], ["created_at", "2018-09-05 05:59:19.757740"], ["updated_at", "2018-09-05 05:59:19.757740"]]  (0.7ms) 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", "Betty Windler"], ["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", "Betty Windler"], ["name", "Leo Ritchie"], ["address", "Marsha Howell"], ["created_at", "2018-09-05 05:59:19.763872"], ["updated_at", "2018-09-05 05:59:19.763872"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Scotty Conn"], ["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", "Scotty Conn"], ["name", "Lakesha Kertzmann"], ["description", "Vicenta Bartell"], ["percent_discount", 100.0], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 05:59:19.770389"], ["updated_at", "2018-09-05 05:59:19.770389"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["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", 22], ["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]] [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", 17], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.03ms) Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 3.2ms)  (1.1ms) 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", "lenore_torphy@kuhlman.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", "Delia Kiehn"], ["last_name", "Isadora Hyatt"], ["email", "lenore_torphy@kuhlman.name"], ["password_digest", "$2a$04$spcoNhEv2kHf8ZL2.Tt.W.OKCAK8gGYSZLkFku5pYuW/1Q.EvRG/."], ["created_at", "2018-09-05 05:59:19.792077"], ["updated_at", "2018-09-05 05:59:19.792077"]]  (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", "Aimee Hayes"], ["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", "Aimee Hayes"], ["name", "Lang Powlowski"], ["address", "Shavon Miller"], ["created_at", "2018-09-05 05:59:19.797533"], ["updated_at", "2018-09-05 05:59:19.797533"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Maud Grady"], ["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", "Maud Grady"], ["name", "First Service Bundle"], ["description", "Clemente Sawayn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 05:59:19.802124"], ["updated_at", "2018-09-05 05:59:19.802124"]]  (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", "Randal Tillman"], ["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", "Randal Tillman"], ["name", "Tanika Pfannerstill"], ["address", "Mercedes Ebert"], ["created_at", "2018-09-05 05:59:19.808435"], ["updated_at", "2018-09-05 05:59:19.808435"]]  (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", "Anibal Klein"], ["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", "Anibal Klein"], ["name", "Second Service Bundle"], ["description", "Aida O'Conner"], ["percent_discount", 100.0], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 05:59:19.812951"], ["updated_at", "2018-09-05 05:59:19.812951"]]  (0.5ms) 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", 30], ["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", 30], ["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 (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", 18], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.07ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 4.1ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (2.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 30], ["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 '%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", 18], ["LIMIT", 1]] [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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.57ms) Completed 200 OK in 12ms (Views: 3.8ms | ActiveRecord: 10.5ms)  (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", "cecille@raynor.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", "Alex Tillman"], ["last_name", "Vi Klein"], ["email", "cecille@raynor.ca"], ["password_digest", "$2a$04$9WoVyQ77THpmvcA/XvcwdesSV1YpONg9fyDVaj9K6QV7ZBBUdgO2m"], ["created_at", "2018-09-05 05:59:19.846479"], ["updated_at", "2018-09-05 05:59:19.846479"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (3.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Otto Bashirian"], ["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", "Otto Bashirian"], ["name", "Kathryne VonRueden"], ["address", "Ivonne Dooley"], ["created_at", "2018-09-05 05:59:19.855072"], ["updated_at", "2018-09-05 05:59:19.855072"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Darin Pouros"], ["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", "Darin Pouros"], ["name", "FIRst Service Bundle"], ["description", "Norbert Jast"], ["percent_discount", 100.0], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 05:59:19.860342"], ["updated_at", "2018-09-05 05:59:19.860342"]]  (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", "Hosea Haag"], ["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", "Hosea Haag"], ["name", "Hana Borer"], ["address", "Ozella Jacobson"], ["created_at", "2018-09-05 05:59:19.865390"], ["updated_at", "2018-09-05 05:59:19.865390"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Young Bahringer"], ["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", "Young Bahringer"], ["name", "Second Service Bundle for the firST time"], ["description", "Tiny Haag"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 05:59:19.870389"], ["updated_at", "2018-09-05 05:59:19.870389"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["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.0ms) 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]] [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 (3.75ms) Completed 200 OK in 11ms (Views: 4.2ms | ActiveRecord: 5.1ms)  (1.1ms) 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", "ahmad_nicolas@kris.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", "Katharine Gibson"], ["last_name", "Bunny Bergstrom"], ["email", "ahmad_nicolas@kris.com"], ["password_digest", "$2a$04$Bfa6Dfr.TZdFnUGOVaVX4ugdorcRPGqH9Br9KaM.tk4W8EHuiWzW."], ["created_at", "2018-09-05 05:59:19.895400"], ["updated_at", "2018-09-05 05:59:19.895400"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Carmen Wilderman"], ["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", "Carmen Wilderman"], ["name", "Ardelle Konopelski"], ["address", "Kyoko Erdman"], ["created_at", "2018-09-05 05:59:19.901790"], ["updated_at", "2018-09-05 05:59:19.901790"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Anamaria Dietrich", "description"=>"Joni Smitham", "name"=>"Kandice Huels", "service_delivery_unit_id"=>"22"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.6ms) 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", 22], ["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", "Anamaria Dietrich"], ["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", "Anamaria Dietrich"], ["name", "Kandice Huels"], ["description", "Joni Smitham"], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 05:59:19.911362"], ["updated_at", "2018-09-05 05:59:19.911362"]]  (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", 32], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.26ms) Completed 201 Created in 11ms (Views: 1.8ms | ActiveRecord: 5.3ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.9ms) ROLLBACK  (0.5ms) 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", "eugena@bode.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", "Kellee Fritsch"], ["last_name", "Leoma Rutherford"], ["email", "eugena@bode.co.uk"], ["password_digest", "$2a$04$dErlhXE2zyx9SAsaCWMGwOB4KNhs8mTKbZoRLXvIDEdaaRgOCmKNq"], ["created_at", "2018-09-05 05:59:19.927379"], ["updated_at", "2018-09-05 05:59:19.927379"]]  (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", "Wynell Stiedemann"], ["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", "Wynell Stiedemann"], ["name", "Eric Waelchi"], ["address", "Wenona Stehr"], ["created_at", "2018-09-05 05:59:19.934578"], ["updated_at", "2018-09-05 05:59:19.934578"]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Sharice Predovic", "description"=>"Stephan Monahan", "name"=>"Fermin Hilpert", "service_delivery_unit_id"=>"23"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 33], ["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", 23], ["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", "Sharice Predovic"], ["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", "Sharice Predovic"], ["name", "Fermin Hilpert"], ["description", "Stephan Monahan"], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 05:59:19.949029"], ["updated_at", "2018-09-05 05:59:19.949029"]]  (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", 33], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.47ms) Completed 201 Created in 12ms (Views: 2.0ms | ActiveRecord: 5.6ms) 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]]  (1.2ms) ROLLBACK  (0.6ms) 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", "yong@jones.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", "Cory Kassulke"], ["last_name", "Britteny Harber"], ["email", "yong@jones.co.uk"], ["password_digest", "$2a$04$Z3C/sfioaxeFEtkNAtpqKuP4WzG4e.vOkP.2Dz5ui9VIKvgaYU/Ve"], ["created_at", "2018-09-05 05:59:19.966486"], ["updated_at", "2018-09-05 05:59:19.966486"]]  (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", "Domingo Reynolds"], ["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", "Domingo Reynolds"], ["name", "Kathyrn Swift"], ["address", "Lydia Wyman"], ["created_at", "2018-09-05 05:59:19.971888"], ["updated_at", "2018-09-05 05:59:19.971888"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Zackary Beier", "name"=>"Diedre Mills", "service_delivery_unit_id"=>"24"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["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", 24], ["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", ""], ["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", 34], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.09ms) Completed 422 Unprocessable Entity in 14ms (Views: 5.2ms | ActiveRecord: 5.2ms)  (0.9ms) ROLLBACK  (0.5ms) 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", "myles@kling.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", "Rachelle Grady"], ["last_name", "Francis Moore"], ["email", "myles@kling.biz"], ["password_digest", "$2a$04$Uuhjme4VGM5vMPH9EhIhu.G57tDtOQJZ4HJLBOmJgL6Z2Dllo0OmS"], ["created_at", "2018-09-05 05:59:19.998528"], ["updated_at", "2018-09-05 05:59:19.998528"]]  (0.7ms) 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", "Iris Yost"], ["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", "Iris Yost"], ["name", "Whitley Grant"], ["address", "Anissa Cummings"], ["created_at", "2018-09-05 05:59:20.015064"], ["updated_at", "2018-09-05 05:59:20.015064"]]  (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", "Lynette Heathcote"], ["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", "Lynette Heathcote"], ["name", "Amparo Graham"], ["description", "Dayna Rohan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 05:59:20.019420"], ["updated_at", "2018-09-05 05:59:20.019420"]]  (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", "Eva Lemke"], ["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", "Karina Batz"], ["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", "Eva Lemke"], ["name", "Karina Batz"], ["created_at", "2018-09-05 05:59:20.026185"], ["updated_at", "2018-09-05 05:59:20.026185"]]  (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", "Kasha Rath"], ["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", "Kasha Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.030811"], ["updated_at", "2018-09-05 05:59:20.030811"]]  (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", "Meagan Effertz"], ["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", "Meagan Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.035547"], ["updated_at", "2018-09-05 05:59:20.035547"]]  (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", "Mayola Hackett"], ["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", "Mayola Hackett"], ["name", "Molly Langosh"], ["address", "Eneida Barton"], ["created_at", "2018-09-05 05:59:20.041232"], ["updated_at", "2018-09-05 05:59:20.041232"]]  (0.5ms) 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", "Armandina Luettgen"], ["service_delivery_unit_id", 26], ["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", "Armandina Luettgen"], ["name", "Vanesa Tillman"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:59:20.046079"], ["updated_at", "2018-09-05 05:59:20.046079"]] 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", 26], ["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", "Armandina Luettgen"], ["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", "Armandina Luettgen"], ["name", "Vanesa Tillman"], ["description", "Default bundle for service 'Vanesa Tillman'"], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 05:59:20.051633"], ["updated_at", "2018-09-05 05:59:20.051633"]] 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", 30], ["chargeable_service_id", 12]]  (0.6ms) 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", 29]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["12"], "id"=>"29"} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.3ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] Unpermitted parameter: :id Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 3.8ms)  (0.7ms) ROLLBACK  (0.6ms) 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", "leandro_gerlach@spencerpfannerstill.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", "Hilario Hahn"], ["last_name", "Loida Jakubowski"], ["email", "leandro_gerlach@spencerpfannerstill.biz"], ["password_digest", "$2a$04$n4eWPMetL1BSlGlERdpTfuo5tVUzMPpGww9Txe6W6mu/KabAQ5bH."], ["created_at", "2018-09-05 05:59:20.082185"], ["updated_at", "2018-09-05 05:59:20.082185"]]  (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", "Noe Johnson"], ["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", "Noe Johnson"], ["name", "Gillian Emmerich"], ["address", "Neida Powlowski"], ["created_at", "2018-09-05 05:59:20.087732"], ["updated_at", "2018-09-05 05:59:20.087732"]]  (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", "Carmelo Spencer"], ["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", "Carmelo Spencer"], ["name", "Edris Ledner"], ["description", "Caitlyn Bernier"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 05:59:20.092138"], ["updated_at", "2018-09-05 05:59:20.092138"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Jesus Cartwright"}, "id"=>"31"} 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::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", 31], ["LIMIT", 1]]  (0.6ms) 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", 27], ["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", "Carmelo Spencer"], ["id", 31], ["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", "Jesus Cartwright"], ["updated_at", "2018-09-05 05:59:20.102869"], ["id", 31]]  (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", 36], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.28ms) Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 6.2ms) Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]]  (1.3ms) 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", "marylee@marks.co.uk"], ["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", "Yon Altenwerth"], ["last_name", "Kandra Brakus"], ["email", "marylee@marks.co.uk"], ["password_digest", "$2a$04$aPaGxI7IKXu3zJfDANY18OM0tHTICFOp.R0m6PKTqk/osGfZNAyMi"], ["created_at", "2018-09-05 05:59:20.118928"], ["updated_at", "2018-09-05 05:59:20.118928"]]  (0.6ms) 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", "Darnell Jacobs"], ["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", "Darnell Jacobs"], ["name", "Marline Kertzmann"], ["address", "Bonnie Anderson"], ["created_at", "2018-09-05 05:59:20.125982"], ["updated_at", "2018-09-05 05:59:20.125982"]]  (0.7ms) 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", "Kacey Beier"], ["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", "Kacey Beier"], ["name", "Randy Tromp"], ["description", "Jestine Corkery"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 05:59:20.131107"], ["updated_at", "2018-09-05 05:59:20.131107"]]  (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", "Marva Rolfson"], ["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", "Marva Rolfson"], ["name", "Shin Pfannerstill"], ["address", "Felicitas Kunde"], ["created_at", "2018-09-05 05:59:20.136172"], ["updated_at", "2018-09-05 05:59:20.136172"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Arianne Greenfelder", "description"=>"Alana Mayer", "name"=>"Mack Romaguera", "service_delivery_unit_id"=>"29"}, "id"=>"32"} Mks::Auth::User Load (0.9ms) 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"."id" = $1 LIMIT $2 [["id", 32], ["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", 29], ["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", "Arianne Greenfelder"], ["id", 32], ["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", "Arianne Greenfelder"], ["name", "Mack Romaguera"], ["description", "Alana Mayer"], ["service_delivery_unit_id", 29], ["updated_at", "2018-09-05 05:59:20.147966"], ["id", 32]]  (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", 37], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.3ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 6.8ms)  (1.2ms) 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", "lashawnda@hansenbode.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", "Lilly Marquardt"], ["last_name", "Britta Boyle"], ["email", "lashawnda@hansenbode.co.uk"], ["password_digest", "$2a$04$r00iPxUZsEXVp6XSKA/iQ.YQJ0ITHe.1CKWnRXjMEL2C.00B1wLvS"], ["created_at", "2018-09-05 05:59:20.163281"], ["updated_at", "2018-09-05 05:59:20.163281"]]  (0.5ms) 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", "Theodora Hackett"], ["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", "Theodora Hackett"], ["name", "Aleisha Stracke"], ["address", "Antonetta Friesen"], ["created_at", "2018-09-05 05:59:20.169495"], ["updated_at", "2018-09-05 05:59:20.169495"]]  (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", "Lashaun Graham"], ["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", "Lashaun Graham"], ["name", "Lashell Romaguera"], ["description", "Rochel Kreiger"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 05:59:20.175069"], ["updated_at", "2018-09-05 05:59:20.175069"]]  (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", "Lakia 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", "Lakia Morissette"], ["name", "Alonso Keeling"], ["address", "Darrick Walter"], ["created_at", "2018-09-05 05:59:20.179897"], ["updated_at", "2018-09-05 05:59:20.179897"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Gabriella Gerhold", "name"=>"Arla Abernathy", "service_delivery_unit_id"=>"31"}, "id"=>"33"} 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::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", 33], ["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", 31], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) 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", 33], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO 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", 38], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.5ms | ActiveRecord: 6.7ms)  (1.0ms) ROLLBACK  (0.6ms) 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", "lorri_koss@bashirianwilderman.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", "Tyrell Monahan"], ["last_name", "Shandra Keebler"], ["email", "lorri_koss@bashirianwilderman.ca"], ["password_digest", "$2a$04$RkRVQyV9WotfC9A4bfW.euS4z3NjHEktKiAz90.MSGtX7uDInTI3K"], ["created_at", "2018-09-05 05:59:20.206216"], ["updated_at", "2018-09-05 05:59:20.206216"]]  (0.6ms) 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", "Blanche Koss"], ["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", "Blanche Koss"], ["name", "Isaiah Osinski"], ["address", "Ivonne Ritchie"], ["created_at", "2018-09-05 05:59:20.211643"], ["updated_at", "2018-09-05 05:59:20.211643"]]  (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", "Donna Hintz"], ["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", "Donna Hintz"], ["name", "Vida Heidenreich"], ["address", "Claude Bogisich"], ["created_at", "2018-09-05 05:59:20.215964"], ["updated_at", "2018-09-05 05:59:20.215964"]]  (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", "Heidi Konopelski"], ["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", "Heidi Konopelski"], ["name", "Mardell Leannon"], ["address", "Santos Wyman"], ["created_at", "2018-09-05 05:59:20.220506"], ["updated_at", "2018-09-05 05:59:20.220506"]]  (0.6ms) 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", 39], ["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", 39], ["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.63ms) Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 2.5ms)  (1.2ms) 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", "calvin.kihn@walter.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", "Riley Hessel"], ["last_name", "Leatrice Schmidt"], ["email", "calvin.kihn@walter.name"], ["password_digest", "$2a$04$lNxChmggjtf6tQNMiCVOwet4dYRp/T2gPw51pWqQ1jMJVl1lN/Faq"], ["created_at", "2018-09-05 05:59:20.243717"], ["updated_at", "2018-09-05 05:59:20.243717"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Myron Dare", "code"=>"Tamekia Reichel", "name"=>"Galina Torphy"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]]  (0.7ms) 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", "Tamekia Reichel"], ["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", "Tamekia Reichel"], ["name", "Galina Torphy"], ["address", "Myron Dare"], ["created_at", "2018-09-05 05:59:20.254728"], ["updated_at", "2018-09-05 05:59:20.254728"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.11ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.28ms) Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 6.2ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.6ms) 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", "joe@konopelskicummings.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", "Adrian Rau"], ["last_name", "Maryln Wehner"], ["email", "joe@konopelskicummings.us"], ["password_digest", "$2a$04$8cK5mErB.Op5bbUiM5gDIu./nBHTWB3CUJhT7Wbutm.uRQjxuoDhq"], ["created_at", "2018-09-05 05:59:20.272029"], ["updated_at", "2018-09-05 05:59:20.272029"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Lashonda Conroy", "code"=>"Mirta Little", "name"=>"Qiana Reilly"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 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", "Mirta Little"], ["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", "Mirta Little"], ["name", "Qiana Reilly"], ["address", "Lashonda Conroy"], ["created_at", "2018-09-05 05:59:20.283454"], ["updated_at", "2018-09-05 05:59:20.283454"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.17ms) Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.28ms) Completed 200 OK in 12ms (Views: 1.6ms | ActiveRecord: 5.9ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "gerry@auer.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", "Demetra Schneider"], ["last_name", "Caterina Larkin"], ["email", "gerry@auer.us"], ["password_digest", "$2a$04$EACG/.EAlI/2i.G46/P3JuPtOyHjy4nTWkP0F8XyubFN.M6w6VZYi"], ["created_at", "2018-09-05 05:59:20.298083"], ["updated_at", "2018-09-05 05:59:20.298083"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Reid Nader", "code"=>"", "name"=>"Wanetta Yost"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["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", ""], ["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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.3ms | ActiveRecord: 3.8ms)  (0.9ms) 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", "frederic_watsica@howell.info"], ["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", "Ella Johnson"], ["last_name", "Shantel Johnston"], ["email", "frederic_watsica@howell.info"], ["password_digest", "$2a$04$BR9TGgZ3yZ3roniWnaKxfupGOhRenHb7ZdKHsjGwE2r/HxqkNRQvG"], ["created_at", "2018-09-05 05:59:20.318076"], ["updated_at", "2018-09-05 05:59:20.318076"]]  (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", "Ahmed Ortiz"], ["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", "Ahmed Ortiz"], ["name", "Lady Kuvalis"], ["address", "Derek Harber"], ["created_at", "2018-09-05 05:59:20.324222"], ["updated_at", "2018-09-05 05:59:20.324222"]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"37"} 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]] 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", 37], ["LIMIT", 1]]  (0.7ms) 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Ahmed Ortiz"], ["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (0.9ms) 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 05:59:20.339207"], ["id", 37]]  (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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.25ms) Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 7.8ms) 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", 37], ["LIMIT", 1]]  (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", "willis.stracke@kuvalisborer.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", "Georgetta McKenzie"], ["last_name", "Brigid Terry"], ["email", "willis.stracke@kuvalisborer.com"], ["password_digest", "$2a$04$U8WjEORXZHEi6UZc0ujSCuWJKhBszGE4TFhKApCw5INDlhyY7lLgu"], ["created_at", "2018-09-05 05:59:20.353566"], ["updated_at", "2018-09-05 05:59:20.353566"]]  (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", "Laurena Stehr"], ["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", "Laurena Stehr"], ["name", "Catrice Boyer"], ["address", "Erlene Hartmann"], ["created_at", "2018-09-05 05:59:20.358837"], ["updated_at", "2018-09-05 05:59:20.358837"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"38"} 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]] 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", 38], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Laurena Stehr"], ["id", 38], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.1ms | ActiveRecord: 4.5ms)  (0.7ms) ROLLBACK  (0.9ms) BEGIN  (1.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (3.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "nikia@marksziemann.ca"], ["LIMIT", 1]] Mks::Auth::User Create (7.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", "Linwood Hilpert"], ["last_name", "Darrick Zemlak"], ["email", "nikia@marksziemann.ca"], ["password_digest", "$2a$04$8KHeiqk3d39lP4us7YgtcuR63DlOmVDGrOjf4hBz8wFk4qEa/Pgpu"], ["created_at", "2018-09-05 05:59:20.384381"], ["updated_at", "2018-09-05 05:59:20.384381"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (2.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Jordon Davis"], ["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", "Anjelica Satterfield"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (2.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jordon Davis"], ["name", "Anjelica Satterfield"], ["description", "Modi sit est provident alias ullam magnam voluptatem rerum. Vitae voluptatem molestiae repellendus reprehenderit corporis. Sed est suscipit eaque sit nisi rerum repudiandae voluptatem. Magni et iure fuga dolorem optio quidem occaecati tempore. Officia minus ut magni itaque saepe aut."], ["created_at", "2018-09-05 05:59:20.522043"], ["updated_at", "2018-09-05 05:59:20.522043"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.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", "Shanelle Lehner"], ["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", "Natalie Russel"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (2.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", "Shanelle Lehner"], ["name", "Natalie Russel"], ["description", "Nesciunt maiores ut asperiores consequatur modi. Beatae quia est optio perspiciatis eos incidunt repellat delectus. Illum animi fuga distinctio voluptas quis repellat asperiores. Quis veritatis et nam inventore aut ducimus. Ipsam delectus tenetur omnis impedit quidem voluptas debitis."], ["equipment_type_id", 1], ["created_at", "2018-09-05 05:59:20.533495"], ["updated_at", "2018-09-05 05:59:20.533495"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "January Cartwright"], ["LIMIT", 1]] Mks::Edm::Equipment Create (2.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", "January Cartwright"], ["name", "Kori Powlowski"], ["description", "Aaron Dickens"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 05:59:20.543155"], ["updated_at", "2018-09-05 05:59:20.543155"]]  (0.5ms) 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", "Susann Mueller"], ["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", "Ashlee Mertz"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Susann Mueller"], ["name", "Ashlee Mertz"], ["description", "Devin Fay"], ["created_at", "2018-09-05 05:59:20.581217"], ["updated_at", "2018-09-05 05:59:20.581217"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jolyn Nicolas"], ["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", "Jolyn Nicolas"], ["name", "Blossom Schaefer"], ["location_type_id", 1], ["description", "America Oberbrunner"], ["address", "Noelle Leannon"], ["created_at", "2018-09-05 05:59:20.589955"], ["updated_at", "2018-09-05 05:59:20.589955"]]  (0.9ms) 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", "Felisa Lehner"], ["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", "Clyde Gulgowski"], ["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", "Felisa Lehner"], ["name", "Leone Ernser"], ["description", "Lorine Emmerich"], ["serial_number", "Clyde Gulgowski"], ["brand", "Lieselotte Ankunding"], ["item_model", "Joseph Senger"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 05:59:20.601942"], ["updated_at", "2018-09-05 05:59:20.601942"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Barrett Adams"], ["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", "Alla Lang"], ["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", "Barrett Adams"], ["name", "Alla Lang"], ["created_at", "2018-09-05 05:59:20.612870"], ["updated_at", "2018-09-05 05:59:20.612870"]]  (0.4ms) 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", "Carl Runolfsdottir"], ["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", "Carl Runolfsdottir"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.617866"], ["updated_at", "2018-09-05 05:59:20.617866"]]  (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", "Brenton Friesen"], ["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", "Brenton Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.623052"], ["updated_at", "2018-09-05 05:59:20.623052"]]  (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", "Marylouise Kunze"], ["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", "Marylouise Kunze"], ["name", "Veronique Jones"], ["address", "Talisha Russel"], ["created_at", "2018-09-05 05:59:20.627680"], ["updated_at", "2018-09-05 05:59:20.627680"]]  (0.4ms) 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", "Darin Parisian"], ["service_delivery_unit_id", 39], ["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", "Darin Parisian"], ["name", "Augustina Lynch"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:59:20.632323"], ["updated_at", "2018-09-05 05:59:20.632323"]] 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", 39], ["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", "Darin Parisian"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Darin Parisian"], ["name", "Augustina Lynch"], ["description", "Default bundle for service 'Augustina Lynch'"], ["service_delivery_unit_id", 39], ["created_at", "2018-09-05 05:59:20.637873"], ["updated_at", "2018-09-05 05:59:20.637873"]] 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", 34], ["chargeable_service_id", 13]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.6ms) 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", 13], ["equipment_item_id", 1], ["created_at", "2018-09-05 05:59:20.645898"], ["updated_at", "2018-09-05 05:59:20.645898"]]  (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", "Carmelo Lowe"], ["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", "Shanae Larson"], ["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", "Carmelo Lowe"], ["name", "Shanae Larson"], ["description", "Sint laudantium officia ex velit. Et harum cum amet placeat quia architecto. Omnis fugiat ducimus qui aut in cumque et. Non perspiciatis voluptatum reprehenderit minus."], ["created_at", "2018-09-05 05:59:20.653699"], ["updated_at", "2018-09-05 05:59:20.653699"]]  (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", "Willena Hammes"], ["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", "Tomika Lynch"], ["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", "Willena Hammes"], ["name", "Tomika Lynch"], ["description", "Qui in quibusdam ab et. Sed distinctio repudiandae a soluta. Tenetur architecto nobis quibusdam quia voluptates. Dignissimos delectus quasi maiores a et voluptatem veritatis. Illum voluptatum praesentium explicabo labore necessitatibus velit aut qui."], ["equipment_type_id", 2], ["created_at", "2018-09-05 05:59:20.664088"], ["updated_at", "2018-09-05 05:59:20.664088"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Riley Zieme"], ["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", "Riley Zieme"], ["name", "Marsha Bernier"], ["description", "Denis Carroll"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 05:59:20.670248"], ["updated_at", "2018-09-05 05:59:20.670248"]]  (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", "Avis Raynor"], ["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", "Dorian Senger"], ["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", "Avis Raynor"], ["name", "Dorian Senger"], ["description", "Percy Quigley"], ["created_at", "2018-09-05 05:59:20.676713"], ["updated_at", "2018-09-05 05:59:20.676713"]]  (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", "Cody Walker"], ["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", "Cody Walker"], ["name", "Almeda Gottlieb"], ["location_type_id", 2], ["description", "Myra Ratke"], ["address", "Lelah Bashirian"], ["created_at", "2018-09-05 05:59:20.680838"], ["updated_at", "2018-09-05 05:59:20.680838"]]  (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", "Andrea Boyle"], ["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", "Jeanie Jakubowski"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Andrea Boyle"], ["name", "Corey Doyle"], ["description", "Hana Friesen"], ["serial_number", "Jeanie Jakubowski"], ["brand", "Alida Erdman"], ["item_model", "Whitley Kilback"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 05:59:20.687431"], ["updated_at", "2018-09-05 05:59:20.687431"]]  (0.6ms) 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", "Florrie Sanford"], ["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", "Ashley Hintz"], ["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", "Florrie Sanford"], ["name", "Ashley Hintz"], ["created_at", "2018-09-05 05:59:20.695420"], ["updated_at", "2018-09-05 05:59:20.695420"]]  (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", "Ola Towne"], ["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", "Ola Towne"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.700355"], ["updated_at", "2018-09-05 05:59:20.700355"]]  (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", "Samara Morissette"], ["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", "Samara Morissette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.705761"], ["updated_at", "2018-09-05 05:59:20.705761"]]  (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", "Dannie Sporer"], ["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", "Dannie Sporer"], ["name", "Keeley Trantow"], ["address", "Mathilde Gutmann"], ["created_at", "2018-09-05 05:59:20.710173"], ["updated_at", "2018-09-05 05:59:20.710173"]]  (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", "Daine Rogahn"], ["service_delivery_unit_id", 40], ["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", "Daine Rogahn"], ["name", "Rafael Rosenbaum"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:59:20.714514"], ["updated_at", "2018-09-05 05:59:20.714514"]] 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", 40], ["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", "Daine Rogahn"], ["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", "Daine Rogahn"], ["name", "Rafael Rosenbaum"], ["description", "Default bundle for service 'Rafael Rosenbaum'"], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 05:59:20.719202"], ["updated_at", "2018-09-05 05:59:20.719202"]] 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", 35], ["chargeable_service_id", 14]]  (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", 14], ["equipment_item_id", 2], ["created_at", "2018-09-05 05:59:20.725259"], ["updated_at", "2018-09-05 05:59:20.725259"]]  (0.8ms) 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", "Elnora Abbott"], ["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", "Chrissy Thiel"], ["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", "Elnora Abbott"], ["name", "Chrissy Thiel"], ["description", "Nulla eveniet quas amet totam saepe nemo. Commodi reprehenderit qui consequatur aut rem. Vero ut ipsa et odit. Nobis et dolorum sunt eos fugiat cum est voluptatem. Earum autem sed fugit qui quisquam."], ["created_at", "2018-09-05 05:59:20.732665"], ["updated_at", "2018-09-05 05:59:20.732665"]]  (0.8ms) 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", "Craig Gislason"], ["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", "Anh Huels"], ["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", "Craig Gislason"], ["name", "Anh Huels"], ["description", "Iure unde quos est illum. Nihil rerum recusandae repellat voluptatem. Reprehenderit voluptate at consectetur earum qui."], ["equipment_type_id", 3], ["created_at", "2018-09-05 05:59:20.738923"], ["updated_at", "2018-09-05 05:59:20.738923"]]  (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", "Angelina Ziemann"], ["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", "Angelina Ziemann"], ["name", "Melonie Yost"], ["description", "Paige Nolan"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 05:59:20.743143"], ["updated_at", "2018-09-05 05:59:20.743143"]]  (0.4ms) 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", "Ahmad Considine"], ["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", "Georgene Fritsch"], ["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", "Ahmad Considine"], ["name", "Georgene Fritsch"], ["description", "Gregg Ward"], ["created_at", "2018-09-05 05:59:20.749034"], ["updated_at", "2018-09-05 05:59:20.749034"]]  (0.4ms) 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", "Kris Ward"], ["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", "Kris Ward"], ["name", "Janel Beer"], ["location_type_id", 3], ["description", "Lesley Reichel"], ["address", "Noel King"], ["created_at", "2018-09-05 05:59:20.753778"], ["updated_at", "2018-09-05 05:59:20.753778"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lucien Spinka"], ["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", "Rosalia Jakubowski"], ["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", "Lucien Spinka"], ["name", "Robert Weber"], ["description", "Bianca Christiansen"], ["serial_number", "Rosalia Jakubowski"], ["brand", "Dayle Raynor"], ["item_model", "Dennis Ziemann"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 05:59:20.759804"], ["updated_at", "2018-09-05 05:59:20.759804"]]  (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", "Leslee Mills"], ["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", "Otha O'Connell"], ["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", "Leslee Mills"], ["name", "Otha O'Connell"], ["created_at", "2018-09-05 05:59:20.766310"], ["updated_at", "2018-09-05 05:59:20.766310"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Eloy Spencer"], ["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", "Eloy Spencer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.770576"], ["updated_at", "2018-09-05 05:59:20.770576"]]  (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", "Rolf McCullough"], ["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", "Rolf McCullough"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.775098"], ["updated_at", "2018-09-05 05:59:20.775098"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "Clelia Gislason"], ["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", "Clelia Gislason"], ["name", "Shizue Pfannerstill"], ["address", "Vikki Raynor"], ["created_at", "2018-09-05 05:59:20.780368"], ["updated_at", "2018-09-05 05:59:20.780368"]]  (0.7ms) 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", "Jenna Macejkovic"], ["service_delivery_unit_id", 41], ["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", "Jenna Macejkovic"], ["name", "Rebekah Stokes"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:59:20.785491"], ["updated_at", "2018-09-05 05:59:20.785491"]] 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 LIMIT $2 [["code", "Jenna Macejkovic"], ["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", "Jenna Macejkovic"], ["name", "Rebekah Stokes"], ["description", "Default bundle for service 'Rebekah Stokes'"], ["service_delivery_unit_id", 41], ["created_at", "2018-09-05 05:59:20.790594"], ["updated_at", "2018-09-05 05:59:20.790594"]] 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", 36], ["chargeable_service_id", 15]]  (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", 15], ["equipment_item_id", 3], ["created_at", "2018-09-05 05:59:20.797375"], ["updated_at", "2018-09-05 05:59:20.797375"]]  (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", 45], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.0ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 13], ["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", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 14], ["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", 2], ["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", 15], ["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", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.8ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_rates" Mks::Auth::User Load (0.8ms) 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 Mks::Common::MethodResponse (0.34ms) Completed 200 OK in 21ms (Views: 1.5ms | ActiveRecord: 8.4ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "mirta@langosh.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", "Maddie Wilderman"], ["last_name", "Shakita Stokes"], ["email", "mirta@langosh.info"], ["password_digest", "$2a$04$lDJbb37yGnj.79U/hNlc5eyYWVlb03VwbEJ5cam9P56BWIdY9mz3O"], ["created_at", "2018-09-05 05:59:20.831457"], ["updated_at", "2018-09-05 05:59:20.831457"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Wayne Pacocha"], ["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", "Darlene Dickinson"], ["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", "Wayne Pacocha"], ["name", "Darlene Dickinson"], ["description", "Totam quas id iste deserunt qui assumenda ad. Et ratione aut esse nobis vel dicta blanditiis ut. Neque nemo sed et ea. Aperiam et dolores molestias voluptatibus voluptatum est et."], ["created_at", "2018-09-05 05:59:20.839525"], ["updated_at", "2018-09-05 05:59:20.839525"]]  (0.4ms) 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", "Daina Medhurst"], ["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", "Hung Sanford"], ["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", "Daina Medhurst"], ["name", "Hung Sanford"], ["description", "Porro molestiae non quaerat quis voluptatibus ut animi quidem. Quos sequi voluptate aut dignissimos sit nihil quam. Voluptatem nihil officia non possimus dolorum. Voluptatibus esse est qui fugiat animi perferendis et."], ["equipment_type_id", 4], ["created_at", "2018-09-05 05:59:20.845098"], ["updated_at", "2018-09-05 05:59:20.845098"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Nellie Bins"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.6ms) 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", "Nellie Bins"], ["name", "Tamesha Heaney"], ["description", "Mariana Jacobs"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 05:59:20.850415"], ["updated_at", "2018-09-05 05:59:20.850415"]]  (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", "Ettie Mante"], ["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", "Tamera Veum"], ["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", "Ettie Mante"], ["name", "Tamera Veum"], ["description", "Marivel Waters"], ["created_at", "2018-09-05 05:59:20.857555"], ["updated_at", "2018-09-05 05:59:20.857555"]]  (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", "Margie Wolf"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.4ms) 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", "Margie Wolf"], ["name", "Kami Price"], ["location_type_id", 4], ["description", "Tracy Kautzer"], ["address", "Reinaldo Gutkowski"], ["created_at", "2018-09-05 05:59:20.863180"], ["updated_at", "2018-09-05 05:59:20.863180"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Bernie Morar"], ["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", "Lashawn Macejkovic"], ["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", "Bernie Morar"], ["name", "Jaymie Cormier"], ["description", "Riva Torp"], ["serial_number", "Lashawn Macejkovic"], ["brand", "Anjelica Stehr"], ["item_model", "Bob Rempel"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 05:59:20.871161"], ["updated_at", "2018-09-05 05:59:20.871161"]]  (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", "Latrina Ziemann"], ["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", "Kasey Morar"], ["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", "Latrina Ziemann"], ["name", "Kasey Morar"], ["created_at", "2018-09-05 05:59:20.877399"], ["updated_at", "2018-09-05 05:59:20.877399"]]  (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", "Darrell 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", "Darrell Rolfson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.882219"], ["updated_at", "2018-09-05 05:59:20.882219"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jacquelyn Ullrich"], ["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", "Jacquelyn Ullrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.888317"], ["updated_at", "2018-09-05 05:59:20.888317"]]  (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", "Sanford Robel"], ["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", "Sanford Robel"], ["name", "Wiley Kautzer"], ["address", "Tonja O'Reilly"], ["created_at", "2018-09-05 05:59:20.893187"], ["updated_at", "2018-09-05 05:59:20.893187"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Silvia McCullough"], ["service_delivery_unit_id", 42], ["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", "Silvia McCullough"], ["name", "Rick Kreiger"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:59:20.898234"], ["updated_at", "2018-09-05 05:59:20.898234"]] 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", 42], ["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", "Silvia McCullough"], ["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", "Silvia McCullough"], ["name", "Rick Kreiger"], ["description", "Default bundle for service 'Rick Kreiger'"], ["service_delivery_unit_id", 42], ["created_at", "2018-09-05 05:59:20.903722"], ["updated_at", "2018-09-05 05:59:20.903722"]] 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", 37], ["chargeable_service_id", 16]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.3ms) 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", 16], ["equipment_item_id", 4], ["created_at", "2018-09-05 05:59:20.910237"], ["updated_at", "2018-09-05 05:59:20.910237"]]  (0.7ms) 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", "Angelina Wisozk"], ["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", "Francisca Balistreri"], ["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", "Angelina Wisozk"], ["name", "Francisca Balistreri"], ["description", "Et in aperiam debitis enim eligendi. Quod dolor autem sed aperiam explicabo voluptatibus. Enim et quis perferendis eaque qui. Est nihil molestiae eos repellat adipisci."], ["created_at", "2018-09-05 05:59:20.918725"], ["updated_at", "2018-09-05 05:59:20.918725"]]  (0.4ms) 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", "Dahlia Hudson"], ["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", "Luis Hilll"], ["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", "Dahlia Hudson"], ["name", "Luis Hilll"], ["description", "Dignissimos vero quibusdam magni atque voluptas. Aliquid ipsum sed et aspernatur. Ut soluta non et voluptatibus ut voluptatem quisquam."], ["equipment_type_id", 5], ["created_at", "2018-09-05 05:59:20.924319"], ["updated_at", "2018-09-05 05:59:20.924319"]]  (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", "Raymonde Sanford"], ["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", "Raymonde Sanford"], ["name", "Jason Nikolaus"], ["description", "Garnet Erdman"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 05:59:20.928468"], ["updated_at", "2018-09-05 05:59:20.928468"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Migdalia Zulauf"], ["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", "Grazyna Barton"], ["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", "Migdalia Zulauf"], ["name", "Grazyna Barton"], ["description", "Rozella Little"], ["created_at", "2018-09-05 05:59:20.935479"], ["updated_at", "2018-09-05 05:59:20.935479"]]  (0.6ms) 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", "Thu Abernathy"], ["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", "Thu Abernathy"], ["name", "Jaime Wilderman"], ["location_type_id", 5], ["description", "Rickie Buckridge"], ["address", "Duane Wunsch"], ["created_at", "2018-09-05 05:59:20.940540"], ["updated_at", "2018-09-05 05:59:20.940540"]]  (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", "Tonita Pagac"], ["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", "Horacio Daugherty"], ["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", "Tonita Pagac"], ["name", "Boyd Parker"], ["description", "Noreen Sanford"], ["serial_number", "Horacio Daugherty"], ["brand", "Gayla Davis"], ["item_model", "Marleen Emmerich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 05:59:20.946744"], ["updated_at", "2018-09-05 05:59:20.946744"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Winifred Bartoletti"], ["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", "Tosha Barton"], ["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", "Winifred Bartoletti"], ["name", "Tosha Barton"], ["created_at", "2018-09-05 05:59:20.953449"], ["updated_at", "2018-09-05 05:59:20.953449"]]  (0.4ms) 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", "Janella Abbott"], ["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", "Janella Abbott"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.957843"], ["updated_at", "2018-09-05 05:59:20.957843"]]  (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", "Natalia Cummerata"], ["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", "Natalia Cummerata"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:20.962550"], ["updated_at", "2018-09-05 05:59:20.962550"]]  (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", "Claire Blanda"], ["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", "Claire Blanda"], ["name", "Nina Wolff"], ["address", "Else Donnelly"], ["created_at", "2018-09-05 05:59:20.966967"], ["updated_at", "2018-09-05 05:59:20.966967"]]  (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", "Galina Crist"], ["service_delivery_unit_id", 43], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.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", "Galina Crist"], ["name", "Darcey Schamberger"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:59:20.971505"], ["updated_at", "2018-09-05 05:59:20.971505"]] 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", 43], ["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", "Galina Crist"], ["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", "Galina Crist"], ["name", "Darcey Schamberger"], ["description", "Default bundle for service 'Darcey Schamberger'"], ["service_delivery_unit_id", 43], ["created_at", "2018-09-05 05:59:20.976224"], ["updated_at", "2018-09-05 05:59:20.976224"]] 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", 38], ["chargeable_service_id", 17]]  (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", 17], ["equipment_item_id", 5], ["created_at", "2018-09-05 05:59:20.981834"], ["updated_at", "2018-09-05 05:59:20.981834"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lucio Cummings"], ["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", "Shannon Wilkinson"], ["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", "Lucio Cummings"], ["name", "Shannon Wilkinson"], ["description", "Debitis tempore et harum exercitationem facere eum. Sunt quibusdam nemo et consectetur repellendus quidem quo. Doloremque maiores vero a quas porro rem sit. Tenetur optio ab qui possimus quis ipsum quidem libero. Maxime repellendus commodi in qui est."], ["created_at", "2018-09-05 05:59:20.988812"], ["updated_at", "2018-09-05 05:59:20.988812"]]  (0.4ms) 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", "Brigette Friesen"], ["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", "Freda Walter"], ["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", "Brigette Friesen"], ["name", "Freda Walter"], ["description", "Fugit natus aut tempora ea perferendis qui ad repudiandae. Suscipit nihil expedita ut at explicabo perferendis sequi a. Eos beatae voluptatem reprehenderit consequuntur doloribus qui cumque quia. Quibusdam quis ut porro minus dolorum. Sunt ea hic sint aliquid beatae soluta quia iste."], ["equipment_type_id", 6], ["created_at", "2018-09-05 05:59:20.993728"], ["updated_at", "2018-09-05 05:59:20.993728"]]  (0.4ms) 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", "Cassondra Bailey"], ["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", "Cassondra Bailey"], ["name", "Josephine Rowe"], ["description", "Hsiu Haag"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 05:59:20.997932"], ["updated_at", "2018-09-05 05:59:20.997932"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Shala Reichel"], ["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", "Hisako Emard"], ["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", "Shala Reichel"], ["name", "Hisako Emard"], ["description", "Nestor Dare"], ["created_at", "2018-09-05 05:59:21.006027"], ["updated_at", "2018-09-05 05:59:21.006027"]]  (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", "Pauletta Torp"], ["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", "Pauletta Torp"], ["name", "Foster Lebsack"], ["location_type_id", 6], ["description", "Maragret Krajcik"], ["address", "Cheryle Mertz"], ["created_at", "2018-09-05 05:59:21.010504"], ["updated_at", "2018-09-05 05:59:21.010504"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", "Cameron Halvorson"], ["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", "Vivienne Cartwright"], ["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", "Cameron Halvorson"], ["name", "Sylvia Morar"], ["description", "Betty Stokes"], ["serial_number", "Vivienne Cartwright"], ["brand", "Awilda Smith"], ["item_model", "Irving O'Reilly"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 05:59:21.016084"], ["updated_at", "2018-09-05 05:59:21.016084"]]  (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", "Rene 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", "Lanette Kreiger"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rene Bosco"], ["name", "Lanette Kreiger"], ["created_at", "2018-09-05 05:59:21.022328"], ["updated_at", "2018-09-05 05:59:21.022328"]]  (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", "Mafalda Jenkins"], ["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", "Mafalda Jenkins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.026973"], ["updated_at", "2018-09-05 05:59:21.026973"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Becky D'Amore"], ["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", "Becky D'Amore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.032210"], ["updated_at", "2018-09-05 05:59:21.032210"]]  (1.1ms) 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", "Merissa Maggio"], ["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", "Merissa Maggio"], ["name", "Bruce Volkman"], ["address", "Lizbeth Greenfelder"], ["created_at", "2018-09-05 05:59:21.038500"], ["updated_at", "2018-09-05 05:59:21.038500"]]  (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", "Miesha Schaden"], ["service_delivery_unit_id", 44], ["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", "Miesha Schaden"], ["name", "Isidra Lebsack"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:59:21.042852"], ["updated_at", "2018-09-05 05:59:21.042852"]] 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", 44], ["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", "Miesha Schaden"], ["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", "Miesha Schaden"], ["name", "Isidra Lebsack"], ["description", "Default bundle for service 'Isidra Lebsack'"], ["service_delivery_unit_id", 44], ["created_at", "2018-09-05 05:59:21.047574"], ["updated_at", "2018-09-05 05:59:21.047574"]] 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", 39], ["chargeable_service_id", 18]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", 18], ["equipment_item_id", 6], ["created_at", "2018-09-05 05:59:21.054185"], ["updated_at", "2018-09-05 05:59:21.054185"]]  (0.5ms) 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", 46], ["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", 46], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [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", 16], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (1.1ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 4], ["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", 42], ["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", 17], ["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", 5], ["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", 43], ["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", 18], ["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", 6], ["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", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (14.49ms) Completed 200 OK in 21ms (Views: 9.3ms | ActiveRecord: 9.0ms)  (0.6ms) ROLLBACK  (0.4ms) 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", "altagracia.emard@mann.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", "Darrel Sipes"], ["last_name", "Helene Dicki"], ["email", "altagracia.emard@mann.biz"], ["password_digest", "$2a$04$XLVLVfnFxavf7K8nxIAEquzSZGwjUg7nFP4OhDN2x2FvPvxAJonmO"], ["created_at", "2018-09-05 05:59:21.086428"], ["updated_at", "2018-09-05 05:59:21.086428"]]  (0.4ms) 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", "Junior Rempel"], ["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", "Adrian Schuppe"], ["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 Rempel"], ["name", "Adrian Schuppe"], ["created_at", "2018-09-05 05:59:21.092345"], ["updated_at", "2018-09-05 05:59:21.092345"]]  (0.5ms) 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", 47], ["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", 47], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) 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.25ms) Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 2.2ms)  (1.0ms) ROLLBACK  (0.6ms) 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", "mara@schinnergreen.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", "Elvera Little"], ["last_name", "Chrystal Hayes"], ["email", "mara@schinnergreen.us"], ["password_digest", "$2a$04$ljXIMJeWnW826wjtVNUns.inXB3JzpH/.Llca71bSd/uEvJHxwspe"], ["created_at", "2018-09-05 05:59:21.113281"], ["updated_at", "2018-09-05 05:59:21.113281"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Sueann Dietrich"], ["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", "Lacresha Marvin"], ["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", "Sueann Dietrich"], ["name", "Lacresha Marvin"], ["created_at", "2018-09-05 05:59:21.121611"], ["updated_at", "2018-09-05 05:59:21.121611"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"21"} 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::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 21], ["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", 48], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.4ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 2.2ms)  (0.8ms) 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", "augusta_eichmann@hayes.ca"], ["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", "Myrtice Schroeder"], ["last_name", "Ping Hartmann"], ["email", "augusta_eichmann@hayes.ca"], ["password_digest", "$2a$04$QOWsJimdhG0l945ruvhLNuqt.eIB.eyzIgQc5lRHEpkYyxNr/giNu"], ["created_at", "2018-09-05 05:59:21.138920"], ["updated_at", "2018-09-05 05:59:21.138920"]]  (0.6ms) 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"=>"Kathyrn Lemke", "name"=>"Lucretia Gutkowski"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]]  (0.8ms) 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", "Kathyrn Lemke"], ["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", "Lucretia Gutkowski"], ["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", "Kathyrn Lemke"], ["name", "Lucretia Gutkowski"], ["created_at", "2018-09-05 05:59:21.152524"], ["updated_at", "2018-09-05 05:59:21.152524"]]  (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", 49], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.34ms) Completed 201 Created in 12ms (Views: 2.0ms | ActiveRecord: 6.3ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (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", "nicky_bruen@grimes.name"], ["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", "Lindsay Jacobson"], ["last_name", "Kelley Green"], ["email", "nicky_bruen@grimes.name"], ["password_digest", "$2a$04$NZFnKxUzsJI.8r206F41ZOz06DeH1JBmcAoHy/trMDyCD.T3KWAb."], ["created_at", "2018-09-05 05:59:21.167358"], ["updated_at", "2018-09-05 05:59:21.167358"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Lucius Gerhold", "name"=>"Lillian Hudson"}} 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.9ms) 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", "Lucius Gerhold"], ["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", "Lillian Hudson"], ["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", "Lucius Gerhold"], ["name", "Lillian Hudson"], ["created_at", "2018-09-05 05:59:21.178377"], ["updated_at", "2018-09-05 05:59:21.178377"]]  (0.5ms) 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", 50], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.23ms) Completed 201 Created in 10ms (Views: 1.5ms | ActiveRecord: 5.5ms) Mks::Rate::ServiceType Load (1.1ms) 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.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", "ehtel@hellerbaumbach.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", "Ailene Schmitt"], ["last_name", "Phillis Sawayn"], ["email", "ehtel@hellerbaumbach.com"], ["password_digest", "$2a$04$rVhQ8o.rMuD9sjpGd5jD9uuSb7etQ/QaFTDf0pixX5gNjV31AFo5e"], ["created_at", "2018-09-05 05:59:21.194515"], ["updated_at", "2018-09-05 05:59:21.194515"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Pearlene Gleichner"}} Mks::Auth::User Load (0.8ms) 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::ServiceType Exists (1.0ms) 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Pearlene Gleichner"], ["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", 51], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 4.4ms)  (0.9ms) ROLLBACK  (0.6ms) 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", "shenna_botsford@brown.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", "Armida Dare"], ["last_name", "Margery Wiza"], ["email", "shenna_botsford@brown.biz"], ["password_digest", "$2a$04$mT.ESQ/iSuq243VX8H8MlucSIwH.azw1woPKWhWCLkEOOdySDwfAK"], ["created_at", "2018-09-05 05:59:21.216279"], ["updated_at", "2018-09-05 05:59:21.216279"]]  (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", "Johnnie Daniel"], ["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", "Rolland Hayes"], ["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", "Johnnie Daniel"], ["name", "Rolland Hayes"], ["created_at", "2018-09-05 05:59:21.223761"], ["updated_at", "2018-09-05 05:59:21.223761"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Kira O'Reilly"}, "id"=>"24"} 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]] 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", 24], ["LIMIT", 1]]  (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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Johnnie Daniel"], ["id", 24], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) 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", "Kira O'Reilly"], ["id", 24], ["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", "Kira O'Reilly"], ["updated_at", "2018-09-05 05:59:21.236558"], ["id", 24]]  (0.8ms) 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", 52], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 6.9ms) 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", 24], ["LIMIT", 1]]  (0.8ms) 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", "mitzie@mitchell.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", "Sherice Rempel"], ["last_name", "Tamela Kuhlman"], ["email", "mitzie@mitchell.ca"], ["password_digest", "$2a$04$Cu43iAf5ofrZxFgS1j62aez5uFjtIJ3l4mU5HdjoNkAIXNtdqeFH."], ["created_at", "2018-09-05 05:59:21.251301"], ["updated_at", "2018-09-05 05:59:21.251301"]]  (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", "Efrain West"], ["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", "Artie Waelchi"], ["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", "Efrain West"], ["name", "Artie Waelchi"], ["created_at", "2018-09-05 05:59:21.257822"], ["updated_at", "2018-09-05 05:59:21.257822"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Alyssa Hilll", "name"=>"Dorene Fisher"}, "id"=>"25"} 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]] 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", 25], ["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", "Alyssa Hilll"], ["id", 25], ["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", "Dorene Fisher"], ["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceType Update (1.0ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Alyssa Hilll"], ["name", "Dorene Fisher"], ["updated_at", "2018-09-05 05:59:21.267664"], ["id", 25]]  (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", 53], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.27ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.8ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) 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", "latanya.greenfelder@walkermayert.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", "Jeffry Breitenberg"], ["last_name", "Mika Connelly"], ["email", "latanya.greenfelder@walkermayert.biz"], ["password_digest", "$2a$04$5wYLcLUK015bD0IXlvGe3.P6.m9EhKcVqpuXugGE4rhftGijTvYPK"], ["created_at", "2018-09-05 05:59:21.280628"], ["updated_at", "2018-09-05 05:59:21.280628"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Annita Rath"], ["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", "Ed Kub"], ["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", "Annita Rath"], ["name", "Ed Kub"], ["created_at", "2018-09-05 05:59:21.290305"], ["updated_at", "2018-09-05 05:59:21.290305"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Brittani Morissette"}, "id"=>"26"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["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", 26], ["LIMIT", 1]]  (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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", ""], ["id", 26], ["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", "Brittani Morissette"], ["id", 26], ["LIMIT", 1]]  (1.2ms) 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", 54], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 5.8ms)  (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", "shawnta_wuckert@hilpertsatterfield.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", "Zelma Tillman"], ["last_name", "Vernell Dietrich"], ["email", "shawnta_wuckert@hilpertsatterfield.co.uk"], ["password_digest", "$2a$04$g5pjGAI5YEWli8IZXkvrcuBcrqb6m4Mzp2NaiZ903bK/efZGTQYWK"], ["created_at", "2018-09-05 05:59:21.313004"], ["updated_at", "2018-09-05 05:59:21.313004"]]  (0.9ms) 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", "Freeda Stroman"], ["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", "Freeda Stroman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.319487"], ["updated_at", "2018-09-05 05:59:21.319487"]]  (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", "Iesha Jacobi"], ["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", "Iesha Jacobi"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.324064"], ["updated_at", "2018-09-05 05:59:21.324064"]]  (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", "Denver Hilpert"], ["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", "Denver Hilpert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.330140"], ["updated_at", "2018-09-05 05:59:21.330140"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#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", 55], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.7ms) 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 05:59:21", updated_at: "2018-09-05 05:59:21"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.27ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Auth::User Load (1.1ms) 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.89ms) Completed 200 OK in 12ms (Views: 2.1ms | ActiveRecord: 3.9ms)  (1.6ms) ROLLBACK  (0.5ms) BEGIN  (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", "Leanna Lakin"], ["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", "Carson Russel"], ["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", "Leanna Lakin"], ["name", "Carson Russel"], ["created_at", "2018-09-05 05:59:21.356542"], ["updated_at", "2018-09-05 05:59:21.356542"]]  (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", "Georgann 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", "Georgann Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.361996"], ["updated_at", "2018-09-05 05:59:21.361996"]]  (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", "Roxann Johnson"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roxann Johnson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.366991"], ["updated_at", "2018-09-05 05:59:21.366991"]]  (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", "Ozell Brown"], ["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", "Ozell Brown"], ["name", "Phyllis Bergstrom"], ["address", "Cherly Welch"], ["created_at", "2018-09-05 05:59:21.373362"], ["updated_at", "2018-09-05 05:59:21.373362"]]  (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", "Clora Hackett"], ["service_delivery_unit_id", 45], ["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", "Clora Hackett"], ["name", "Evelynn Johnson"], ["service_type_id", 27], ["base_unit_id", 42], ["utilization_unit_id", 43], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:59:21.378240"], ["updated_at", "2018-09-05 05:59:21.378240"]] 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", 45], ["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", "Clora Hackett"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Clora Hackett"], ["name", "Evelynn Johnson"], ["description", "Default bundle for service 'Evelynn Johnson'"], ["service_delivery_unit_id", 45], ["created_at", "2018-09-05 05:59:21.383637"], ["updated_at", "2018-09-05 05:59:21.383637"]] 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", 40], ["chargeable_service_id", 19]]  (1.1ms) 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", "Clora Hackett"], ["id", 19], ["service_delivery_unit_id", 45], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) 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", "Lissa Blick"], ["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", "Angelena Friesen"], ["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", "Lissa Blick"], ["name", "Angelena Friesen"], ["created_at", "2018-09-05 05:59:21.399146"], ["updated_at", "2018-09-05 05:59:21.399146"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Tammi 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", "Tammi Stanton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.407251"], ["updated_at", "2018-09-05 05:59:21.407251"]]  (0.9ms) 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", "Wally Monahan"], ["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", "Wally Monahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.414188"], ["updated_at", "2018-09-05 05:59:21.414188"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Imelda Pagac"], ["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", "Imelda Pagac"], ["name", "Luann Spencer"], ["address", "Jule Dach"], ["created_at", "2018-09-05 05:59:21.419931"], ["updated_at", "2018-09-05 05:59:21.419931"]]  (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", 46], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.8ms) BEGIN  (0.9ms) 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", "Cecelia Keeling"], ["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", "Eleonora Franecki"], ["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", "Cecelia Keeling"], ["name", "Eleonora Franecki"], ["created_at", "2018-09-05 05:59:21.434378"], ["updated_at", "2018-09-05 05:59:21.434378"]]  (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", "Alanna Leuschke"], ["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", "Alanna Leuschke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.440071"], ["updated_at", "2018-09-05 05:59:21.440071"]]  (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", "Kelsi Stark"], ["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", "Kelsi Stark"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.444532"], ["updated_at", "2018-09-05 05:59:21.444532"]]  (0.6ms) 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", "Blythe Schowalter"], ["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", "Blythe Schowalter"], ["name", "Coleman Dickinson"], ["address", "Emile Lesch"], ["created_at", "2018-09-05 05:59:21.450972"], ["updated_at", "2018-09-05 05:59:21.450972"]]  (0.8ms) 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", "Samara Pfannerstill"], ["service_delivery_unit_id", 47], ["LIMIT", 1]]  (0.7ms) 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", "Lamar Schmitt"], ["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", "Renaldo Strosin"], ["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", "Lamar Schmitt"], ["name", "Renaldo Strosin"], ["created_at", "2018-09-05 05:59:21.462867"], ["updated_at", "2018-09-05 05:59:21.462867"]]  (0.8ms) 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", "William 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", "William Gleichner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.468038"], ["updated_at", "2018-09-05 05:59:21.468038"]]  (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", "Son Koch"], ["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", "Son Koch"], ["name", "Rueben Walsh"], ["address", "Alexis Dach"], ["created_at", "2018-09-05 05:59:21.472846"], ["updated_at", "2018-09-05 05:59:21.472846"]]  (0.4ms) 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", "Lovetta D'Amore"], ["service_delivery_unit_id", 48], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.4ms) 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", "Eleanora 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", "Jennefer Stracke"], ["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", "Eleanora Greenfelder"], ["name", "Jennefer Stracke"], ["created_at", "2018-09-05 05:59:21.484884"], ["updated_at", "2018-09-05 05:59:21.484884"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Clint Schmitt"], ["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", "Clint Schmitt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.494689"], ["updated_at", "2018-09-05 05:59:21.494689"]]  (0.6ms) 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", "Necole Legros"], ["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", "Necole Legros"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.500567"], ["updated_at", "2018-09-05 05:59:21.500567"]]  (0.5ms) 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" IS NULL LIMIT $2 [["code", "Lory Larson"], ["LIMIT", 1]]  (0.6ms) 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", "Duane Hilll"], ["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", "Adena Kreiger"], ["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", "Duane Hilll"], ["name", "Adena Kreiger"], ["created_at", "2018-09-05 05:59:21.511162"], ["updated_at", "2018-09-05 05:59:21.511162"]]  (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", "Renate Collier"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Renate Collier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.515621"], ["updated_at", "2018-09-05 05:59:21.515621"]]  (0.6ms) 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", "Rubye Frami"], ["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", "Rubye Frami"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.521389"], ["updated_at", "2018-09-05 05:59:21.521389"]]  (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", "Kiera Kuhn"], ["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", "Kiera Kuhn"], ["name", "Leta Farrell"], ["address", "Blair Considine"], ["created_at", "2018-09-05 05:59:21.527026"], ["updated_at", "2018-09-05 05:59:21.527026"]]  (0.4ms) 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", "Charlie Bogisich"], ["service_delivery_unit_id", 49], ["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", "Charlie Bogisich"], ["name", "Yong Bernhard"], ["service_type_id", 32], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:59:21.531617"], ["updated_at", "2018-09-05 05:59:21.531617"]] 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", 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", "Charlie Bogisich"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Charlie Bogisich"], ["name", "Yong Bernhard"], ["description", "Default bundle for service 'Yong Bernhard'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 05:59:21.537226"], ["updated_at", "2018-09-05 05:59:21.537226"]] 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", 41], ["chargeable_service_id", 20]]  (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", "Ileen Aufderhar"], ["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", "Emile Schroeder"], ["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", "Ileen Aufderhar"], ["name", "Emile Schroeder"], ["created_at", "2018-09-05 05:59:21.548967"], ["updated_at", "2018-09-05 05:59:21.548967"]]  (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", "Lucy 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", "Lucy Will"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.554661"], ["updated_at", "2018-09-05 05:59:21.554661"]]  (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", "Ricky Little"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ricky Little"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.559157"], ["updated_at", "2018-09-05 05:59:21.559157"]]  (0.4ms) RELEASE 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", "Charlie Bogisich"], ["service_delivery_unit_id", 49], ["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", 49], ["LIMIT", 1]]  (0.7ms) 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", "Giselle Herzog"], ["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", "Candida Bednar"], ["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", "Giselle Herzog"], ["name", "Candida Bednar"], ["created_at", "2018-09-05 05:59:21.571643"], ["updated_at", "2018-09-05 05:59:21.571643"]]  (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", "Felton Stehr"], ["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", "Felton Stehr"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.575963"], ["updated_at", "2018-09-05 05:59:21.575963"]]  (0.4ms) 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", "Lucie 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", "Lucie Paucek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.580080"], ["updated_at", "2018-09-05 05:59:21.580080"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jacques Kerluke"], ["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", "Jacques Kerluke"], ["name", "Russell Kutch"], ["address", "Risa Kris"], ["created_at", "2018-09-05 05:59:21.585993"], ["updated_at", "2018-09-05 05:59:21.585993"]]  (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", "Ardith Kuhn"], ["service_delivery_unit_id", 50], ["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", "Ardith Kuhn"], ["name", "Gracie Schimmel"], ["service_type_id", 34], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:59:21.590771"], ["updated_at", "2018-09-05 05:59:21.590771"]] 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", 50], ["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", "Ardith Kuhn"], ["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", "Ardith Kuhn"], ["name", "Gracie Schimmel"], ["description", "Default bundle for service 'Gracie Schimmel'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 05:59:21.595760"], ["updated_at", "2018-09-05 05:59:21.595760"]] 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", 42], ["chargeable_service_id", 21]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["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", 42]]  (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", "ivory_huel@bergnaummacejkovic.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", "Joe Dickens"], ["last_name", "Hedwig Hettinger"], ["email", "ivory_huel@bergnaummacejkovic.biz"], ["password_digest", "$2a$04$lfpipCfdWySzObBDurVFuexGer.1WL17rE5Fcy3UF3DGHiBoIk/Oq"], ["created_at", "2018-09-05 05:59:21.615380"], ["updated_at", "2018-09-05 05:59:21.615380"]]  (0.7ms) 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", "ila@auer.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", "Evie Gorczany"], ["last_name", "Sandy Hudson"], ["email", "ila@auer.com"], ["password_digest", "$2a$04$p76zaVVY9PpAwNhmzUMFUeipjjtleb1sGQW56UD.kgGjJoZA/JWsG"], ["created_at", "2018-09-05 05:59:21.623136"], ["updated_at", "2018-09-05 05:59:21.623136"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Roseline Hills"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.4ms) 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", "Roseline Hills"], ["authorized_by", "Marleen Zboncak"], ["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", 56], ["approved_by_id", 57], ["created_at", "2018-09-05 05:59:21.627696"], ["updated_at", "2018-09-05 05:59:21.627696"]]  (0.7ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Roseline Hills"], ["id", 6], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "bryon_kuhlman@cartwright.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", "Sal Nolan"], ["last_name", "Marvin Tillman"], ["email", "bryon_kuhlman@cartwright.com"], ["password_digest", "$2a$04$6vqbtPvTktt9Uheg0E2KLO1Vm4Zh9pwrygxqoAlaf5tRKg3Pet2TS"], ["created_at", "2018-09-05 05:59:21.642174"], ["updated_at", "2018-09-05 05:59:21.642174"]]  (0.7ms) 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", "erinn.maggio@monahanrussel.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", "Dahlia Lebsack"], ["last_name", "Jean Konopelski"], ["email", "erinn.maggio@monahanrussel.ca"], ["password_digest", "$2a$04$p74aHnD/rqJbaIyQJiKFde92Kojyjj7f8y7kbUY9J6mUSiaAbdExm"], ["created_at", "2018-09-05 05:59:21.650560"], ["updated_at", "2018-09-05 05:59:21.650560"]]  (0.5ms) 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", "Angela Murazik"], ["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", "sharolyn@kilback.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", "Lamonica McCullough"], ["last_name", "Jacquline Gottlieb"], ["email", "sharolyn@kilback.co.uk"], ["password_digest", "$2a$04$G9AfejTQ8WU1OBXFUXWiL..iYXQZa2xzP4qwWS7Srhgnf7kGCGBIi"], ["created_at", "2018-09-05 05:59:21.663439"], ["updated_at", "2018-09-05 05:59:21.663439"]]  (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", "giselle.balistreri@wilkinson.info"], ["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", "Minnie Schowalter"], ["last_name", "Damien Collins"], ["email", "giselle.balistreri@wilkinson.info"], ["password_digest", "$2a$04$ZREDffroQjNcBZOryXmYpOfKLmTzPwky7pT5x5VP1hDy4Iu8jVdBC"], ["created_at", "2018-09-05 05:59:21.670475"], ["updated_at", "2018-09-05 05:59:21.670475"]]  (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" IS NULL LIMIT $1 [["LIMIT", 1]]  (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", "marlene@nitzsche.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", "Charlena Daniel"], ["last_name", "Mara Hagenes"], ["email", "marlene@nitzsche.info"], ["password_digest", "$2a$04$QuWeWLTA/ip/LRZUzUPStuDisGoTqoAVH1MaFwz6xA1CFMUV0ooyS"], ["created_at", "2018-09-05 05:59:21.681797"], ["updated_at", "2018-09-05 05:59:21.681797"]]  (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", "kristina@batzeffertz.co.uk"], ["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", "Allena Ziemann"], ["last_name", "Judie Jones"], ["email", "kristina@batzeffertz.co.uk"], ["password_digest", "$2a$04$kOuNYd1RJG57/jz0zdXbIufQsSiqRTTflh5pIfE1Txol3frmwFTz2"], ["created_at", "2018-09-05 05:59:21.688320"], ["updated_at", "2018-09-05 05:59:21.688320"]]  (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", "Sharlene Gorczany"], ["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", "Sharlene Gorczany"], ["authorized_by", "Naomi Klocko"], ["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", 62], ["approved_by_id", 63], ["created_at", "2018-09-05 05:59:21.693984"], ["updated_at", "2018-09-05 05:59:21.693984"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (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", "roxie.lockman@brown.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", "Margarite Wunsch"], ["last_name", "Merlin Thiel"], ["email", "roxie.lockman@brown.info"], ["password_digest", "$2a$04$99bpgTvoiS9dcRXHTGybjeYGjVCRyO4VIShBPh6e4LjLNNWKqlclu"], ["created_at", "2018-09-05 05:59:21.703074"], ["updated_at", "2018-09-05 05:59:21.703074"]]  (0.6ms) 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", "erasmo@walker.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", "Steve Ebert"], ["last_name", "Christina Kunze"], ["email", "erasmo@walker.info"], ["password_digest", "$2a$04$aY13XSkJnZPZAwotKVErfuHz63cggGdYKkR5q.QrCjNFj567/8nie"], ["created_at", "2018-09-05 05:59:21.710036"], ["updated_at", "2018-09-05 05:59:21.710036"]]  (0.5ms) 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" = $1 LIMIT $2 [["reference_number", "Sharlene Gorczany"], ["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", "vernice@larkin.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", "Eva Sauer"], ["last_name", "Lance Prohaska"], ["email", "vernice@larkin.ca"], ["password_digest", "$2a$04$HBSc6Jbz3pUEr1e8l8QcHOXLpVpLqvOrHEBKvlfjX6NM9kv1vwwi6"], ["created_at", "2018-09-05 05:59:21.721783"], ["updated_at", "2018-09-05 05:59:21.721783"]]  (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", "lael@trantowmoore.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", "Hedwig Haley"], ["last_name", "Mitchell Metz"], ["email", "lael@trantowmoore.us"], ["password_digest", "$2a$04$pNgEU/jjwNLd21rXMDXOLuhsCg2BLqnPDH/5UdMXBecBmkSm8XFFa"], ["created_at", "2018-09-05 05:59:21.728259"], ["updated_at", "2018-09-05 05:59:21.728259"]]  (0.5ms) 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" = $1 LIMIT $2 [["reference_number", "Jone Rolfson"], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.6ms) 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", "see.koss@nikolausbecker.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", "Vince Glover"], ["last_name", "Olen Grady"], ["email", "see.koss@nikolausbecker.co.uk"], ["password_digest", "$2a$04$zarYmUps7ruS6z9/4vUyCOvQ2mBZPAxWMiYiZD38br1QBDs/NRfRG"], ["created_at", "2018-09-05 05:59:21.742088"], ["updated_at", "2018-09-05 05:59:21.742088"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "wilmer@rodriguezhessel.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", "Rubin Aufderhar"], ["last_name", "Domingo Nader"], ["email", "wilmer@rodriguezhessel.com"], ["password_digest", "$2a$04$hKR480o.dO.UF4C2auzRWO/4/oYbPgs3OZb/JEU90EhlOaN.Wxn2u"], ["created_at", "2018-09-05 05:59:21.748331"], ["updated_at", "2018-09-05 05:59:21.748331"]]  (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" = $1 LIMIT $2 [["reference_number", "Leonard Schoen"], ["LIMIT", 1]]  (1.1ms) 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", "maximina@rippin.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", "Tory Nader"], ["last_name", "Truman Casper"], ["email", "maximina@rippin.us"], ["password_digest", "$2a$04$fvN/mPQcXCl6rZjVEJ1Gj.OZ318uyrMRTbze.26CVtd/0Kg8TAD3e"], ["created_at", "2018-09-05 05:59:21.762524"], ["updated_at", "2018-09-05 05:59:21.762524"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "gillian@reinger.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", "Winona Fahey"], ["last_name", "Peg Cummings"], ["email", "gillian@reinger.name"], ["password_digest", "$2a$04$LXZebbi.DbVG43B1qnw30eqpLotXmRfctxH3ZTQDwly.xSjF9VlPi"], ["created_at", "2018-09-05 05:59:21.770043"], ["updated_at", "2018-09-05 05:59:21.770043"]]  (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 LIMIT $2 [["reference_number", "Olga Wunsch"], ["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", "evon_mayer@bogisich.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", "Darleen Bergnaum"], ["last_name", "Lakendra Adams"], ["email", "evon_mayer@bogisich.com"], ["password_digest", "$2a$04$S0.rTQLtWehjRR4gPLvcDObjyYbuLhc71glnnGdVlpDp4vl7AyXuW"], ["created_at", "2018-09-05 05:59:21.781946"], ["updated_at", "2018-09-05 05:59:21.781946"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "conception.corkery@millerwintheiser.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", "Vickey Tremblay"], ["last_name", "Loyd Fahey"], ["email", "conception.corkery@millerwintheiser.us"], ["password_digest", "$2a$04$w86op.k2XEcbJUrg9HmDJuPjPw8INUffSzakyzhDjWRuFia76FZLq"], ["created_at", "2018-09-05 05:59:21.789236"], ["updated_at", "2018-09-05 05:59:21.789236"]]  (1.0ms) 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", "Juan Grant"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) 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", "brittanie@kuvalisstark.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", "Sung Bradtke"], ["last_name", "Rolf Mills"], ["email", "brittanie@kuvalisstark.name"], ["password_digest", "$2a$04$J2mKjs0MoPqbPQ7k2waINOo9S6nCmieV7UtUcQ2U9YKX.MJBeLm9S"], ["created_at", "2018-09-05 05:59:21.805297"], ["updated_at", "2018-09-05 05:59:21.805297"]]  (0.5ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["reference_number", "Kira O'Keefe"], ["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", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Kira O'Keefe"], ["authorized_by", "Lisandra Champlin"], ["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", 74], ["created_at", "2018-09-05 05:59:21.810215"], ["updated_at", "2018-09-05 05:59:21.810215"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Kira O'Keefe"], ["id", 8], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (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", "Cris Kuphal"], ["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", "Cris Kuphal"], ["name", "Dahlia Johnston"], ["address", "Anya Balistreri"], ["created_at", "2018-09-05 05:59:21.820592"], ["updated_at", "2018-09-05 05:59:21.820592"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tamie Cummerata"], ["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", "Tamie Cummerata"], ["name", "Dallas Johnson"], ["description", "Margarett Maggio"], ["percent_discount", 100.0], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 05:59:21.825169"], ["updated_at", "2018-09-05 05:59:21.825169"]]  (0.9ms) 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", "Tamie Cummerata"], ["id", 43], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.9ms) BEGIN  (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", "Gale 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", "Gale Toy"], ["name", "Blake Hauck"], ["address", "Cleotilde Feest"], ["created_at", "2018-09-05 05:59:21.840063"], ["updated_at", "2018-09-05 05:59:21.840063"]]  (0.9ms) 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]]  (1.3ms) ROLLBACK  (1.1ms) BEGIN  (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", "Dia Kshlerin"], ["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", "Dia Kshlerin"], ["name", "Leo Hyatt"], ["address", "Genia Wuckert"], ["created_at", "2018-09-05 05:59:21.855789"], ["updated_at", "2018-09-05 05:59:21.855789"]]  (0.6ms) 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" = $1 LIMIT $2 [["code", "Cinthia Cole"], ["LIMIT", 1]]  (2.0ms) ROLLBACK  (0.6ms) BEGIN  (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", "Blythe Smitham"], ["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", "Blythe Smitham"], ["name", "Exie Stark"], ["address", "Xavier Quigley"], ["created_at", "2018-09-05 05:59:21.870192"], ["updated_at", "2018-09-05 05:59:21.870192"]]  (0.7ms) 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", "Bret DuBuque"], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (1.0ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Theda Ullrich"], ["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", "Theda Ullrich"], ["name", "Winter Bode"], ["address", "Tiffanie Wisoky"], ["created_at", "2018-09-05 05:59:21.885271"], ["updated_at", "2018-09-05 05:59:21.885271"]]  (0.9ms) 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", "Flavia Abernathy"], ["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", "Flavia Abernathy"], ["name", "Patrice Mueller"], ["description", "Man Volkman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 05:59:21.891968"], ["updated_at", "2018-09-05 05:59:21.891968"]]  (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", "Marissa 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", "Marissa Schmidt"], ["name", "Gia Jast"], ["address", "Trish Reichert"], ["created_at", "2018-09-05 05:59:21.898160"], ["updated_at", "2018-09-05 05:59:21.898160"]]  (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", "Flavia Abernathy"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Tommy Jacobi"], ["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", "Tommy Jacobi"], ["name", "Katelyn Waelchi"], ["address", "Cordia Gutmann"], ["created_at", "2018-09-05 05:59:21.907411"], ["updated_at", "2018-09-05 05:59:21.907411"]]  (0.5ms) RELEASE 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", "Tommy Jacobi"], ["id", 57], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN 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", "Cira Rosenbaum"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "Maryellen 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", "Maryellen Rolfson"], ["name", "Nubia Wilderman"], ["address", "Rachel Vandervort"], ["created_at", "2018-09-05 05:59:21.928002"], ["updated_at", "2018-09-05 05:59:21.928002"]]  (0.5ms) RELEASE 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", "Maryellen Rolfson"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.4ms) 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", "Sheridan Bergstrom"], ["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", "Ginger Osinski"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sheridan Bergstrom"], ["name", "Ginger Osinski"], ["description", "Molestiae non ut sunt iusto reprehenderit. Culpa tempora totam pariatur quia sapiente ut in ab. Animi a suscipit ut veritatis itaque. Libero voluptatibus minus facilis voluptatem. Deleniti consequatur ab eos sed ut quia ut illum."], ["created_at", "2018-09-05 05:59:21.941575"], ["updated_at", "2018-09-05 05:59:21.941575"]]  (0.6ms) 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", "Mina Dare"], ["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", "Armando Howell"], ["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", "Mina Dare"], ["name", "Armando Howell"], ["description", "Repellat ad molestias voluptatem tempore nulla voluptatem. Quasi error neque asperiores enim a. Sint et nemo architecto adipisci. Alias ea officiis dignissimos modi."], ["equipment_type_id", 7], ["created_at", "2018-09-05 05:59:21.947780"], ["updated_at", "2018-09-05 05:59:21.947780"]]  (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", "Ria Baumbach"], ["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", "Ria Baumbach"], ["name", "Melodi Ledner"], ["description", "Matilda Hauck"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 05:59:21.952454"], ["updated_at", "2018-09-05 05:59:21.952454"]]  (0.5ms) 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", "Lynetta Dibbert"], ["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", "Andrew Hane"], ["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", "Lynetta Dibbert"], ["name", "Andrew Hane"], ["description", "Paulene Schneider"], ["created_at", "2018-09-05 05:59:21.960005"], ["updated_at", "2018-09-05 05:59:21.960005"]]  (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", "Rudolph Kub"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.6ms) 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", "Rudolph Kub"], ["name", "Darnell Mraz"], ["location_type_id", 7], ["description", "Virginia Mayert"], ["address", "Mellisa Hagenes"], ["created_at", "2018-09-05 05:59:21.965459"], ["updated_at", "2018-09-05 05:59:21.965459"]]  (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", "Noel Vandervort"], ["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", "Aurora Morar"], ["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", "Noel Vandervort"], ["name", "Vernita Sanford"], ["description", "Joselyn Lowe"], ["serial_number", "Aurora Morar"], ["brand", "Elayne Lind"], ["item_model", "Wilma Schiller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 05:59:21.972241"], ["updated_at", "2018-09-05 05:59:21.972241"]]  (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", "Mariana Olson"], ["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", "Deedra Turner"], ["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", "Mariana Olson"], ["name", "Deedra Turner"], ["created_at", "2018-09-05 05:59:21.978445"], ["updated_at", "2018-09-05 05:59:21.978445"]]  (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", "Dennis Ruecker"], ["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", "Dennis Ruecker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.983085"], ["updated_at", "2018-09-05 05:59:21.983085"]]  (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", "Luz Stark"], ["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", "Luz Stark"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:21.987991"], ["updated_at", "2018-09-05 05:59:21.987991"]]  (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", "Yessenia Labadie"], ["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", "Yessenia Labadie"], ["name", "Gordon Schmidt"], ["address", "Pok Bednar"], ["created_at", "2018-09-05 05:59:21.992873"], ["updated_at", "2018-09-05 05:59:21.992873"]]  (0.4ms) 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", "Jerri Jacobi"], ["service_delivery_unit_id", 59], ["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", "Jerri Jacobi"], ["name", "Nathanial Dicki"], ["service_type_id", 35], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:59:21.997270"], ["updated_at", "2018-09-05 05:59:21.997270"]] 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", 59], ["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", "Jerri Jacobi"], ["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", "Jerri Jacobi"], ["name", "Nathanial Dicki"], ["description", "Default bundle for service 'Nathanial Dicki'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 05:59:22.003298"], ["updated_at", "2018-09-05 05:59:22.003298"]] 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", 22]]  (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", 22], ["equipment_item_id", 7], ["created_at", "2018-09-05 05:59:22.009239"], ["updated_at", "2018-09-05 05:59:22.009239"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (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", "Rima Weimann"], ["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", "Starr Leannon"], ["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", "Rima Weimann"], ["name", "Starr Leannon"], ["description", "Aliquid illum cumque ducimus officiis tempora delectus quia. Eum provident qui magni alias in laboriosam et. Consequatur et est a laborum. Officiis voluptatem quo atque iure eius aperiam excepturi. Voluptatem beatae nobis totam odio illum quos."], ["created_at", "2018-09-05 05:59:22.019566"], ["updated_at", "2018-09-05 05:59:22.019566"]]  (0.4ms) 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", "Shellie Huel"], ["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", "Lenard Feest"], ["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", "Shellie Huel"], ["name", "Lenard Feest"], ["description", "In enim repellat optio quasi voluptatem mollitia. Aliquid cupiditate maxime inventore eligendi a. Iusto aut omnis nemo id velit eligendi provident aliquam."], ["equipment_type_id", 8], ["created_at", "2018-09-05 05:59:22.024652"], ["updated_at", "2018-09-05 05:59:22.024652"]]  (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", "Edra Wuckert"], ["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", "Edra Wuckert"], ["name", "Bridgett Bartoletti"], ["description", "Dakota Kutch"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 05:59:22.029356"], ["updated_at", "2018-09-05 05:59:22.029356"]]  (0.8ms) 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", "Cherrie Lehner"], ["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", "Rachelle Hudson"], ["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", "Cherrie Lehner"], ["name", "Rachelle Hudson"], ["description", "Bobby Weissnat"], ["created_at", "2018-09-05 05:59:22.036167"], ["updated_at", "2018-09-05 05:59:22.036167"]]  (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", "Nickie Swift"], ["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", "Nickie Swift"], ["name", "Kristan Hahn"], ["location_type_id", 8], ["description", "Tawanna Grady"], ["address", "Joie Von"], ["created_at", "2018-09-05 05:59:22.040276"], ["updated_at", "2018-09-05 05:59:22.040276"]]  (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", "Isaura Ryan"], ["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", "Pricilla Luettgen"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Isaura Ryan"], ["name", "Tambra Nienow"], ["description", "Shelly Lang"], ["serial_number", "Pricilla Luettgen"], ["brand", "Thanh King"], ["item_model", "Barton Reichel"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 05:59:22.046088"], ["updated_at", "2018-09-05 05:59:22.046088"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Twanna Stracke"], ["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", "Karole Reynolds"], ["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", "Twanna Stracke"], ["name", "Karole Reynolds"], ["created_at", "2018-09-05 05:59:22.056749"], ["updated_at", "2018-09-05 05:59:22.056749"]]  (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", "Darci Heathcote"], ["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", "Darci Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.061538"], ["updated_at", "2018-09-05 05:59:22.061538"]]  (0.5ms) 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", "Eilene Spencer"], ["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", "Eilene Spencer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.067174"], ["updated_at", "2018-09-05 05:59:22.067174"]]  (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", "Arlie Cormier"], ["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", "Arlie Cormier"], ["name", "Kathleen Gottlieb"], ["address", "Marielle Oberbrunner"], ["created_at", "2018-09-05 05:59:22.071894"], ["updated_at", "2018-09-05 05:59:22.071894"]]  (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", "Kyra Bogan"], ["service_delivery_unit_id", 60], ["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", "Kyra Bogan"], ["name", "Erich Haag"], ["service_type_id", 36], ["base_unit_id", 59], ["utilization_unit_id", 60], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:59:22.076540"], ["updated_at", "2018-09-05 05:59:22.076540"]] 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", 60], ["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", "Kyra Bogan"], ["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", "Kyra Bogan"], ["name", "Erich Haag"], ["description", "Default bundle for service 'Erich Haag'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 05:59:22.082684"], ["updated_at", "2018-09-05 05:59:22.082684"]] 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", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Joycelyn Cartwright"], ["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", "Tiana Swift"], ["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", "Joycelyn Cartwright"], ["name", "Tiana Swift"], ["description", "Recusandae labore iusto temporibus dolores ratione odio consequatur. Incidunt quidem et cumque eum voluptas. Enim nemo est doloribus voluptatem. Consectetur fugit amet nobis voluptatibus. Consectetur veniam non itaque eligendi ab delectus beatae."], ["created_at", "2018-09-05 05:59:22.096761"], ["updated_at", "2018-09-05 05:59:22.096761"]]  (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", "Rosalie Treutel"], ["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", "Tiny Sawayn"], ["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", "Rosalie Treutel"], ["name", "Tiny Sawayn"], ["description", "Sed sed at in animi voluptatem. Error quia dolores inventore rerum ratione labore. Officia et assumenda odio esse corporis rerum. Quo sit distinctio autem ex doloremque magni. Debitis nisi ex architecto deleniti sit quae."], ["equipment_type_id", 9], ["created_at", "2018-09-05 05:59:22.102238"], ["updated_at", "2018-09-05 05:59:22.102238"]]  (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", "Rheba Predovic"], ["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", "Rheba Predovic"], ["name", "Lenora Pollich"], ["description", "Tonette Toy"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 05:59:22.106674"], ["updated_at", "2018-09-05 05:59:22.106674"]]  (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", "Cherryl Willms"], ["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", "Prince Satterfield"], ["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", "Cherryl Willms"], ["name", "Prince Satterfield"], ["description", "Kim Kovacek"], ["created_at", "2018-09-05 05:59:22.112991"], ["updated_at", "2018-09-05 05:59:22.112991"]]  (0.7ms) 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", "Victor Jakubowski"], ["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", "Victor Jakubowski"], ["name", "Katelin Leffler"], ["location_type_id", 9], ["description", "Valentine Hane"], ["address", "Sigrid O'Conner"], ["created_at", "2018-09-05 05:59:22.118046"], ["updated_at", "2018-09-05 05:59:22.118046"]]  (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", "Stephani Kirlin"], ["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", "Isela Cummerata"], ["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", "Stephani Kirlin"], ["name", "Lorna Windler"], ["description", "Charla Beier"], ["serial_number", "Isela Cummerata"], ["brand", "David Becker"], ["item_model", "Arvilla Bogan"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 05:59:22.123678"], ["updated_at", "2018-09-05 05:59:22.123678"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Wei Pouros"], ["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", "Pedro Sporer"], ["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", "Wei Pouros"], ["name", "Pedro Sporer"], ["created_at", "2018-09-05 05:59:22.131892"], ["updated_at", "2018-09-05 05:59:22.131892"]]  (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", "Hazel Block"], ["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", "Hazel Block"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.136570"], ["updated_at", "2018-09-05 05:59:22.136570"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kena Beier"], ["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", "Kena Beier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.142477"], ["updated_at", "2018-09-05 05:59:22.142477"]]  (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", "Yolanda Miller"], ["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", "Yolanda Miller"], ["name", "Darryl Gibson"], ["address", "Refugio Johnston"], ["created_at", "2018-09-05 05:59:22.147028"], ["updated_at", "2018-09-05 05:59:22.147028"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Zaida Mertz"], ["service_delivery_unit_id", 61], ["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", "Zaida Mertz"], ["name", "Emmaline Johnson"], ["service_type_id", 37], ["base_unit_id", 61], ["utilization_unit_id", 62], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:59:22.153912"], ["updated_at", "2018-09-05 05:59:22.153912"]] 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", 61], ["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", "Zaida Mertz"], ["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", "Zaida Mertz"], ["name", "Emmaline Johnson"], ["description", "Default bundle for service 'Emmaline Johnson'"], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 05:59:22.159152"], ["updated_at", "2018-09-05 05:59:22.159152"]] 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", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (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", "Lila Walsh"], ["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", "Lindsay Labadie"], ["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", "Lila Walsh"], ["name", "Lindsay Labadie"], ["description", "Sunt porro quam eum autem corrupti vel aut qui. Et perferendis incidunt quia quibusdam mollitia. Et vero cumque velit quos distinctio et accusantium omnis."], ["created_at", "2018-09-05 05:59:22.172793"], ["updated_at", "2018-09-05 05:59:22.172793"]]  (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", "Yan Lakin"], ["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", "Yulanda Fay"], ["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", "Yan Lakin"], ["name", "Yulanda Fay"], ["description", "Et expedita temporibus quo rerum sit porro sed. Aut explicabo veritatis fugit aliquam illo sed. Ratione dolore voluptatem consequatur aut et est est perspiciatis. Quo ad facere officia occaecati eos quasi qui dolor."], ["equipment_type_id", 10], ["created_at", "2018-09-05 05:59:22.178528"], ["updated_at", "2018-09-05 05:59:22.178528"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Cathryn Hoppe"], ["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", "Cathryn Hoppe"], ["name", "Mariam Conn"], ["description", "Lottie Conroy"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 05:59:22.184083"], ["updated_at", "2018-09-05 05:59:22.184083"]]  (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", "Yuko Zboncak"], ["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", "Desiree Thompson"], ["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", "Yuko Zboncak"], ["name", "Desiree Thompson"], ["description", "Gus Cummings"], ["created_at", "2018-09-05 05:59:22.190109"], ["updated_at", "2018-09-05 05:59:22.190109"]]  (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", "Eliana Larkin"], ["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", "Eliana Larkin"], ["name", "Robena Pagac"], ["location_type_id", 10], ["description", "Cari Kulas"], ["address", "Amee Roberts"], ["created_at", "2018-09-05 05:59:22.194340"], ["updated_at", "2018-09-05 05:59:22.194340"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Brenton Schaefer"], ["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", "Jeri Kuhn"], ["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", "Brenton Schaefer"], ["name", "Madlyn Balistreri"], ["description", "Lara Oga"], ["serial_number", "Jeri Kuhn"], ["brand", "Lenita Huels"], ["item_model", "Elyse Satterfield"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 05:59:22.201443"], ["updated_at", "2018-09-05 05:59:22.201443"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.5ms) 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", "Janita Nienow"], ["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", "Irina Emard"], ["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", "Janita Nienow"], ["name", "Irina Emard"], ["created_at", "2018-09-05 05:59:22.212909"], ["updated_at", "2018-09-05 05:59:22.212909"]]  (1.0ms) 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", "Janita Nienow"], ["id", 38], ["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", "Irina Emard"], ["id", 38], ["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" IS NULL LIMIT $1 [["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", "Elinor Erdman"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) 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", "Chelsey Green"], ["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]]  (1.1ms) 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", "Gay Bechtelar"], ["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", "Oretha Crooks"], ["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", "Gay Bechtelar"], ["name", "Oretha Crooks"], ["created_at", "2018-09-05 05:59:22.239297"], ["updated_at", "2018-09-05 05:59:22.239297"]]  (0.5ms) RELEASE 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", "Gay Bechtelar"], ["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", "Abbie Shields"], ["LIMIT", 1]]  (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", "Jamaal Rippin"], ["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", "Masako Christiansen"], ["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", "Jamaal Rippin"], ["name", "Masako Christiansen"], ["created_at", "2018-09-05 05:59:22.253449"], ["updated_at", "2018-09-05 05:59:22.253449"]]  (0.7ms) 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", "Chantay Toy"], ["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", "Masako Christiansen"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "Victorina Skiles"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) 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.6ms) ROLLBACK  (0.4ms) BEGIN 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", "Mariette Stiedemann"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "Geri Toy"], ["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", "Geri Toy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.282507"], ["updated_at", "2018-09-05 05:59:22.282507"]]  (0.8ms) RELEASE 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", "Geri Toy"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) 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", "Courtney Anderson"], ["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", "Jonah Heathcote"], ["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", "Courtney Anderson"], ["name", "Jonah Heathcote"], ["created_at", "2018-09-05 05:59:22.296637"], ["updated_at", "2018-09-05 05:59:22.296637"]]  (0.7ms) 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", "Darci Klein"], ["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", "Darci Klein"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.303376"], ["updated_at", "2018-09-05 05:59:22.303376"]]  (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", "Andrew Kiehn"], ["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", "Andrew Kiehn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.308346"], ["updated_at", "2018-09-05 05:59:22.308346"]]  (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", "Louisa Kerluke"], ["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", "Louisa Kerluke"], ["name", "Dino Haley"], ["address", "Elna Weber"], ["created_at", "2018-09-05 05:59:22.313028"], ["updated_at", "2018-09-05 05:59:22.313028"]]  (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", "Latoya Raynor"], ["service_delivery_unit_id", 62], ["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", "Latoya Raynor"], ["name", "Deandra Marvin"], ["service_type_id", 41], ["base_unit_id", 64], ["utilization_unit_id", 65], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:59:22.318139"], ["updated_at", "2018-09-05 05:59:22.318139"]] 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", 62], ["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", "Latoya Raynor"], ["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", "Latoya Raynor"], ["name", "Deandra Marvin"], ["description", "Default bundle for service 'Deandra Marvin'"], ["service_delivery_unit_id", 62], ["created_at", "2018-09-05 05:59:22.324017"], ["updated_at", "2018-09-05 05:59:22.324017"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 48], ["chargeable_service_id", 25]]  (1.4ms) 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", "Jani Kassulke"], ["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", "Odis Reichel"], ["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", "Jani Kassulke"], ["name", "Odis Reichel"], ["created_at", "2018-09-05 05:59:22.339037"], ["updated_at", "2018-09-05 05:59:22.339037"]]  (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", "Rosalinda Gutmann"], ["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", "Rosalinda Gutmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.343763"], ["updated_at", "2018-09-05 05:59:22.343763"]]  (0.6ms) 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", "Alecia Roberts"], ["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", "Alecia Roberts"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.349466"], ["updated_at", "2018-09-05 05:59:22.349466"]]  (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", "Kathern Turcotte"], ["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", "Kathern Turcotte"], ["name", "Kirstin Rath"], ["address", "Quintin Schowalter"], ["created_at", "2018-09-05 05:59:22.358582"], ["updated_at", "2018-09-05 05:59:22.358582"]]  (0.7ms) 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", "Tracie Luettgen"], ["service_delivery_unit_id", 63], ["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", "Tracie Luettgen"], ["name", "Truman Larkin"], ["service_type_id", 42], ["base_unit_id", 66], ["utilization_unit_id", 67], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:59:22.364848"], ["updated_at", "2018-09-05 05:59:22.364848"]] 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", 63], ["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", "Tracie Luettgen"], ["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", "Tracie Luettgen"], ["name", "Truman Larkin"], ["description", "Default bundle for service 'Truman Larkin'"], ["service_delivery_unit_id", 63], ["created_at", "2018-09-05 05:59:22.369499"], ["updated_at", "2018-09-05 05:59:22.369499"]] 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", 26]]  (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", "Stevie Kirlin"], ["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", "Carey Daugherty"], ["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", "Stevie Kirlin"], ["name", "Carey Daugherty"], ["created_at", "2018-09-05 05:59:22.378653"], ["updated_at", "2018-09-05 05:59:22.378653"]]  (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", "Candi Macejkovic"], ["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", "Candi Macejkovic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.384405"], ["updated_at", "2018-09-05 05:59:22.384405"]]  (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", "Yadira Kirlin"], ["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", "Yadira Kirlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.389326"], ["updated_at", "2018-09-05 05:59:22.389326"]]  (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", "Christen Williamson"], ["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", "Christen Williamson"], ["name", "Kip Jacobson"], ["address", "Daniela Miller"], ["created_at", "2018-09-05 05:59:22.393653"], ["updated_at", "2018-09-05 05:59:22.393653"]]  (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", "Myra Von"], ["service_delivery_unit_id", 64], ["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", "Myra Von"], ["name", "Shelley Hettinger"], ["service_type_id", 43], ["base_unit_id", 68], ["utilization_unit_id", 69], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:59:22.398111"], ["updated_at", "2018-09-05 05:59:22.398111"]] 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", 64], ["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", "Myra Von"], ["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", "Myra Von"], ["name", "Shelley Hettinger"], ["description", "Default bundle for service 'Shelley Hettinger'"], ["service_delivery_unit_id", 64], ["created_at", "2018-09-05 05:59:22.402862"], ["updated_at", "2018-09-05 05:59:22.402862"]] 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", 27]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (1.0ms) 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", 25], ["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", 26], ["LIMIT", 1]]  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (1.5ms) 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", 25], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 05:59:22.418355"], ["updated_at", "2018-09-05 05:59:22.418355"]] 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", 26], ["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", 26], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 05:59:22.422926"], ["updated_at", "2018-09-05 05:59:22.422926"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.7ms) 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", "Ginger Kuvalis"], ["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", "Clinton 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", "Ginger Kuvalis"], ["name", "Clinton Glover"], ["created_at", "2018-09-05 05:59:22.433330"], ["updated_at", "2018-09-05 05:59:22.433330"]]  (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", "Logan Ledner"], ["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", "Logan Ledner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.438052"], ["updated_at", "2018-09-05 05:59:22.438052"]]  (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", "Marcellus 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", "Marcellus Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.442745"], ["updated_at", "2018-09-05 05:59:22.442745"]]  (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", "Maryellen Collins"], ["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", "Maryellen Collins"], ["name", "Vinita Welch"], ["address", "Paul Bergstrom"], ["created_at", "2018-09-05 05:59:22.447582"], ["updated_at", "2018-09-05 05:59:22.447582"]]  (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", "Jordan Spinka"], ["service_delivery_unit_id", 65], ["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", "Jordan Spinka"], ["name", "Johna Rutherford"], ["service_type_id", 44], ["base_unit_id", 70], ["utilization_unit_id", 71], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:59:22.452932"], ["updated_at", "2018-09-05 05:59:22.452932"]] 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", 65], ["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", "Jordan Spinka"], ["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", "Jordan Spinka"], ["name", "Johna Rutherford"], ["description", "Default bundle for service 'Johna Rutherford'"], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 05:59:22.458358"], ["updated_at", "2018-09-05 05:59:22.458358"]] 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", 51], ["chargeable_service_id", 28]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_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", 28], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 05:59:22.465941"], ["updated_at", "2018-09-05 05:59:22.465941"]]  (0.8ms) 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", 28], ["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", 28], ["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 05:59:22.473196"], ["id", 10]]  (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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (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", "kris_haley@turcotte.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", "Frank Braun"], ["last_name", "Nita Marquardt"], ["email", "kris_haley@turcotte.com"], ["password_digest", "$2a$04$/kwfCk3LD9eRgZfgUDzv8uxsgO3Xn9e/sdigF45wChduSsPHRAbEW"], ["created_at", "2018-09-05 05:59:22.485443"], ["updated_at", "2018-09-05 05:59:22.485443"]]  (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", "kevin@white.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", "Candy Hermiston"], ["last_name", "Phebe Parker"], ["email", "kevin@white.com"], ["password_digest", "$2a$04$vk4e16oZq3PB5obUiXmewOgxLzQqUIhEa4PhhsPVCG9dd75zWZZO2"], ["created_at", "2018-09-05 05:59:22.492170"], ["updated_at", "2018-09-05 05:59:22.492170"]]  (0.4ms) 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", "robena_rice@flatley.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", "Jolanda Lebsack"], ["last_name", "Shay Ward"], ["email", "robena_rice@flatley.info"], ["password_digest", "$2a$04$gH2Bq4Ma2lgQXHRV6m4Ohu/SPM9OUipyDSip.N0XmxQlFliUI15Y2"], ["created_at", "2018-09-05 05:59:22.498739"], ["updated_at", "2018-09-05 05:59:22.498739"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Broderick McDermott"], ["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", "Broderick McDermott"], ["authorized_by", "Kasie Torphy"], ["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", 76], ["approved_by_id", 77], ["created_at", "2018-09-05 05:59:22.503630"], ["updated_at", "2018-09-05 05:59:22.503630"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Broderick McDermott"], ["id", 9], ["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", 75], ["updated_at", "2018-09-05 05:59:22.509368"], ["id", 9]]  (0.6ms) RELEASE SAVEPOINT active_record_1 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", 9], ["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", 75], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (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", "Max Toy"], ["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", "Max Toy"], ["name", "Harley Watsica"], ["address", "Johanna Stokes"], ["created_at", "2018-09-05 05:59:22.524269"], ["updated_at", "2018-09-05 05:59:22.524269"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lamar Monahan"], ["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", "Lamar Monahan"], ["name", "Barabara Torp"], ["description", "Bernardina O'Reilly"], ["percent_discount", 100.0], ["service_delivery_unit_id", 66], ["created_at", "2018-09-05 05:59:22.529241"], ["updated_at", "2018-09-05 05:59:22.529241"]]  (0.9ms) 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", "Easter Cole"], ["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", "Daysi Kuphal"], ["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", "Easter Cole"], ["name", "Daysi Kuphal"], ["created_at", "2018-09-05 05:59:22.536804"], ["updated_at", "2018-09-05 05:59:22.536804"]]  (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", "Lucinda Hodkiewicz"], ["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", "Lucinda Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.541358"], ["updated_at", "2018-09-05 05:59:22.541358"]]  (0.4ms) 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", "Selena Hickle"], ["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", "Selena Hickle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.545655"], ["updated_at", "2018-09-05 05:59:22.545655"]]  (0.4ms) 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", "Estela McGlynn"], ["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", "Estela McGlynn"], ["name", "Jean Buckridge"], ["address", "Racheal Schneider"], ["created_at", "2018-09-05 05:59:22.549891"], ["updated_at", "2018-09-05 05:59:22.549891"]]  (0.6ms) 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", "Kizzy King"], ["service_delivery_unit_id", 67], ["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", "Kizzy King"], ["name", "Loise Zulauf"], ["service_type_id", 45], ["base_unit_id", 72], ["utilization_unit_id", 73], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:59:22.555757"], ["updated_at", "2018-09-05 05:59:22.555757"]] 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", 67], ["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", "Kizzy King"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Kizzy King"], ["name", "Loise Zulauf"], ["description", "Default bundle for service 'Loise Zulauf'"], ["service_delivery_unit_id", 67], ["created_at", "2018-09-05 05:59:22.563837"], ["updated_at", "2018-09-05 05:59:22.563837"]] 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", 53], ["chargeable_service_id", 29]]  (0.7ms) 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", "Ethan Purdy"], ["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", "Herschel Gaylord"], ["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", "Ethan Purdy"], ["name", "Herschel Gaylord"], ["created_at", "2018-09-05 05:59:22.574674"], ["updated_at", "2018-09-05 05:59:22.574674"]]  (0.4ms) 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", "Carlyn Kilback"], ["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", "Carlyn Kilback"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.579413"], ["updated_at", "2018-09-05 05:59:22.579413"]]  (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", "Anabel Runte"], ["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", "Anabel Runte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.584351"], ["updated_at", "2018-09-05 05:59:22.584351"]]  (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", "Denisse 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", "Denisse Kuhlman"], ["name", "Dean Considine"], ["address", "Audrie Corkery"], ["created_at", "2018-09-05 05:59:22.589287"], ["updated_at", "2018-09-05 05:59:22.589287"]]  (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", "Norine Jones"], ["service_delivery_unit_id", 68], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.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", "Norine Jones"], ["name", "Janett Hammes"], ["service_type_id", 46], ["base_unit_id", 74], ["utilization_unit_id", 75], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:59:22.593998"], ["updated_at", "2018-09-05 05:59:22.593998"]] 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", 68], ["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", "Norine Jones"], ["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", "Norine Jones"], ["name", "Janett Hammes"], ["description", "Default bundle for service 'Janett Hammes'"], ["service_delivery_unit_id", 68], ["created_at", "2018-09-05 05:59:22.598798"], ["updated_at", "2018-09-05 05:59:22.598798"]] 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", 54], ["chargeable_service_id", 30]]  (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", "Bernita Klein"], ["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", "Isabella Ankunding"], ["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", "Bernita Klein"], ["name", "Isabella Ankunding"], ["created_at", "2018-09-05 05:59:22.608094"], ["updated_at", "2018-09-05 05:59:22.608094"]]  (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", "Anderson Ward"], ["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", "Anderson Ward"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.612846"], ["updated_at", "2018-09-05 05:59:22.612846"]]  (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", "Anjanette Sipes"], ["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", "Anjanette Sipes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.617533"], ["updated_at", "2018-09-05 05:59:22.617533"]]  (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", "Nana Predovic"], ["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", "Nana Predovic"], ["name", "Taina Abbott"], ["address", "Loni Crona"], ["created_at", "2018-09-05 05:59:22.622482"], ["updated_at", "2018-09-05 05:59:22.622482"]]  (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", "Vena Mertz"], ["service_delivery_unit_id", 69], ["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", "Vena Mertz"], ["name", "Georgiana Weissnat"], ["service_type_id", 47], ["base_unit_id", 76], ["utilization_unit_id", 77], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:59:22.626899"], ["updated_at", "2018-09-05 05:59:22.626899"]] 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 (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Vena Mertz"], ["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", "Vena Mertz"], ["name", "Georgiana Weissnat"], ["description", "Default bundle for service 'Georgiana Weissnat'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 05:59:22.633052"], ["updated_at", "2018-09-05 05:59:22.633052"]] 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", 31]]  (0.5ms) 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", 52]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 29], ["id", 30], ["id", 31]] 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", 52]] 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", 52], ["chargeable_service_id", 29]] 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", 30]] 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.5ms) RELEASE SAVEPOINT active_record_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", 52], ["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.7ms) 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", "Chu Rutherford"], ["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", "Chu Rutherford"], ["name", "Shakia Cronin"], ["address", "Kimbery Huel"], ["created_at", "2018-09-05 05:59:22.663348"], ["updated_at", "2018-09-05 05:59:22.663348"]]  (0.4ms) 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", "Annmarie Langworth"], ["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", "Annmarie Langworth"], ["name", "Adriene Botsford"], ["description", "Edith Reilly"], ["percent_discount", 100.0], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 05:59:22.668735"], ["updated_at", "2018-09-05 05:59:22.668735"]]  (0.6ms) 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", "Kelsie Paucek"], ["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", "Breanna Rohan"], ["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", "Kelsie Paucek"], ["name", "Breanna Rohan"], ["created_at", "2018-09-05 05:59:22.675953"], ["updated_at", "2018-09-05 05:59:22.675953"]]  (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", "Venita 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", "Venita Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.681162"], ["updated_at", "2018-09-05 05:59:22.681162"]]  (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", "Jacquline Stark"], ["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", "Jacquline Stark"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.685993"], ["updated_at", "2018-09-05 05:59:22.685993"]]  (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", "Reda Hauck"], ["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", "Reda Hauck"], ["name", "Gayle Mosciski"], ["address", "Kena Heaney"], ["created_at", "2018-09-05 05:59:22.690184"], ["updated_at", "2018-09-05 05:59:22.690184"]]  (0.5ms) 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", "Zora Murazik"], ["service_delivery_unit_id", 71], ["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", "Zora Murazik"], ["name", "Hee Stamm"], ["service_type_id", 48], ["base_unit_id", 78], ["utilization_unit_id", 79], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:59:22.695481"], ["updated_at", "2018-09-05 05:59:22.695481"]] 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", 71], ["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", "Zora Murazik"], ["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", "Zora Murazik"], ["name", "Hee Stamm"], ["description", "Default bundle for service 'Hee Stamm'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 05:59:22.701401"], ["updated_at", "2018-09-05 05:59:22.701401"]] 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", 32]]  (0.5ms) 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", "Saran Kuphal"], ["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", "Marine Sporer"], ["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", "Saran Kuphal"], ["name", "Marine Sporer"], ["created_at", "2018-09-05 05:59:22.710938"], ["updated_at", "2018-09-05 05:59:22.710938"]]  (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", "Kathi Nader"], ["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", "Kathi Nader"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.716759"], ["updated_at", "2018-09-05 05:59:22.716759"]]  (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", "Gia Weber"], ["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", "Gia Weber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.721137"], ["updated_at", "2018-09-05 05:59:22.721137"]]  (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", "Emerita Haag"], ["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", "Emerita Haag"], ["name", "Bao Schultz"], ["address", "Marybeth Bauch"], ["created_at", "2018-09-05 05:59:22.725932"], ["updated_at", "2018-09-05 05:59:22.725932"]]  (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", "Farah Stoltenberg"], ["service_delivery_unit_id", 72], ["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", "Farah Stoltenberg"], ["name", "Lynette Borer"], ["service_type_id", 49], ["base_unit_id", 80], ["utilization_unit_id", 81], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:59:22.731688"], ["updated_at", "2018-09-05 05:59:22.731688"]] 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", 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", "Farah Stoltenberg"], ["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", "Farah Stoltenberg"], ["name", "Lynette Borer"], ["description", "Default bundle for service 'Lynette Borer'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 05:59:22.736719"], ["updated_at", "2018-09-05 05:59:22.736719"]] 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", 33]]  (0.6ms) 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", "Letisha 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", "Garland Stracke"], ["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", "Letisha Nader"], ["name", "Garland Stracke"], ["created_at", "2018-09-05 05:59:22.745816"], ["updated_at", "2018-09-05 05:59:22.745816"]]  (0.7ms) 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", "Sherlene Rodriguez"], ["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", "Sherlene Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.751481"], ["updated_at", "2018-09-05 05:59:22.751481"]]  (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", "Toby Ruecker"], ["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", "Toby Ruecker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.756230"], ["updated_at", "2018-09-05 05:59:22.756230"]]  (0.4ms) 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", "Tressa Douglas"], ["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", "Tressa Douglas"], ["name", "Eleonor Steuber"], ["address", "Matt Brekke"], ["created_at", "2018-09-05 05:59:22.760946"], ["updated_at", "2018-09-05 05:59:22.760946"]]  (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", "Tyrell Schuppe"], ["service_delivery_unit_id", 73], ["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", "Tyrell Schuppe"], ["name", "Johana Jaskolski"], ["service_type_id", 50], ["base_unit_id", 82], ["utilization_unit_id", 83], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:59:22.765378"], ["updated_at", "2018-09-05 05:59:22.765378"]] 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", "Tyrell Schuppe"], ["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", "Tyrell Schuppe"], ["name", "Johana Jaskolski"], ["description", "Default bundle for service 'Johana Jaskolski'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 05:59:22.770601"], ["updated_at", "2018-09-05 05:59:22.770601"]] 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", 34]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 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", 56], ["chargeable_service_id", 32]] 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", 56], ["chargeable_service_id", 33]] 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", 56], ["chargeable_service_id", 34]]  (0.5ms) 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", 56]]  (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", 34]] 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", 56]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.2ms) 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", 56], ["chargeable_service_id", 32], ["chargeable_service_id", 33]]  (0.7ms) 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", 56], ["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", 56]] 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", 56]]  (0.9ms) ROLLBACK  (0.7ms) 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", "Judith Dibbert"], ["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", "Judith Dibbert"], ["name", "Lamonica Beer"], ["address", "Doretha Bechtelar"], ["created_at", "2018-09-05 05:59:22.806414"], ["updated_at", "2018-09-05 05:59:22.806414"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Hermina Mueller"], ["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", "Hermina Mueller"], ["name", "Destiny Kuvalis"], ["description", "Martina Kassulke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 05:59:22.812945"], ["updated_at", "2018-09-05 05:59:22.812945"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Kenya Koepp"], ["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", "Dolly Koch"], ["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", "Kenya Koepp"], ["name", "Dolly Koch"], ["created_at", "2018-09-05 05:59:22.820081"], ["updated_at", "2018-09-05 05:59:22.820081"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Deetta Purdy"], ["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", "Deetta Purdy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.826763"], ["updated_at", "2018-09-05 05:59:22.826763"]]  (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", "Susie Collins"], ["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", "Susie Collins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.833777"], ["updated_at", "2018-09-05 05:59:22.833777"]]  (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", "Shin Daniel"], ["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", "Shin Daniel"], ["name", "Sherice Schowalter"], ["address", "Michelina Strosin"], ["created_at", "2018-09-05 05:59:22.839564"], ["updated_at", "2018-09-05 05:59:22.839564"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Dovie Hahn"], ["service_delivery_unit_id", 75], ["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", "Dovie Hahn"], ["name", "Clarisa Krajcik"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:59:22.845423"], ["updated_at", "2018-09-05 05:59:22.845423"]] 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", 75], ["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", "Dovie Hahn"], ["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", "Dovie Hahn"], ["name", "Clarisa Krajcik"], ["description", "Default bundle for service 'Clarisa Krajcik'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 05:59:22.851654"], ["updated_at", "2018-09-05 05:59:22.851654"]] 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", 35]]  (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", "Lisa Klocko"], ["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", "Chanelle Cummings"], ["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", "Lisa Klocko"], ["name", "Chanelle Cummings"], ["created_at", "2018-09-05 05:59:22.861292"], ["updated_at", "2018-09-05 05:59:22.861292"]]  (1.2ms) 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", "Alan Marvin"], ["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", "Alan Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.866901"], ["updated_at", "2018-09-05 05:59:22.866901"]]  (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", "Eugena 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", "Eugena Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.871163"], ["updated_at", "2018-09-05 05:59:22.871163"]]  (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", "Charmain Bartoletti"], ["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", "Charmain Bartoletti"], ["name", "Dorthy Gulgowski"], ["address", "Despina Hickle"], ["created_at", "2018-09-05 05:59:22.875929"], ["updated_at", "2018-09-05 05:59:22.875929"]]  (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", "Steve Rutherford"], ["service_delivery_unit_id", 76], ["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", "Steve Rutherford"], ["name", "Delta Beier"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:59:22.880517"], ["updated_at", "2018-09-05 05:59:22.880517"]] 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", 76], ["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", "Steve Rutherford"], ["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", "Steve Rutherford"], ["name", "Delta Beier"], ["description", "Default bundle for service 'Delta Beier'"], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 05:59:22.886815"], ["updated_at", "2018-09-05 05:59:22.886815"]] 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", 36]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Camie Schowalter"], ["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", "Frankie 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", "Camie Schowalter"], ["name", "Frankie Buckridge"], ["created_at", "2018-09-05 05:59:22.895870"], ["updated_at", "2018-09-05 05:59:22.895870"]]  (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", "Gayle Kovacek"], ["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", "Gayle Kovacek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.900666"], ["updated_at", "2018-09-05 05:59:22.900666"]]  (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", "Larae Osinski"], ["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", "Larae Osinski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.905236"], ["updated_at", "2018-09-05 05:59:22.905236"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Teddy Batz"], ["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", "Teddy Batz"], ["name", "Donella Huels"], ["address", "Laveta Gutmann"], ["created_at", "2018-09-05 05:59:22.909264"], ["updated_at", "2018-09-05 05:59:22.909264"]]  (0.4ms) 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", "Alexa Hermann"], ["service_delivery_unit_id", 77], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.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", "Alexa Hermann"], ["name", "Billy Mueller"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:59:22.913895"], ["updated_at", "2018-09-05 05:59:22.913895"]] 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", 77], ["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", "Alexa Hermann"], ["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", "Alexa Hermann"], ["name", "Billy Mueller"], ["description", "Default bundle for service 'Billy Mueller'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 05:59:22.919057"], ["updated_at", "2018-09-05 05:59:22.919057"]] 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", 63], ["chargeable_service_id", 37]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Renna Cormier"], ["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", "Nam Keebler"], ["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", "Renna Cormier"], ["name", "Nam Keebler"], ["created_at", "2018-09-05 05:59:22.927919"], ["updated_at", "2018-09-05 05:59:22.927919"]]  (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", "Geoffrey Wehner"], ["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", "Geoffrey Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.933175"], ["updated_at", "2018-09-05 05:59:22.933175"]]  (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", "Rhoda Osinski"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rhoda Osinski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 05:59:22.937745"], ["updated_at", "2018-09-05 05:59:22.937745"]]  (0.4ms) 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", "Naomi Konopelski"], ["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", "Naomi Konopelski"], ["name", "Marquerite Nolan"], ["address", "Camie Effertz"], ["created_at", "2018-09-05 05:59:22.942134"], ["updated_at", "2018-09-05 05:59:22.942134"]]  (0.4ms) 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", "Kristen Jewess"], ["service_delivery_unit_id", 78], ["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", "Kristen Jewess"], ["name", "Evelia Jones"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:59:22.946794"], ["updated_at", "2018-09-05 05:59:22.946794"]] 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", 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", "Kristen Jewess"], ["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", "Kristen Jewess"], ["name", "Evelia Jones"], ["description", "Default bundle for service 'Evelia Jones'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 05:59:22.952012"], ["updated_at", "2018-09-05 05:59:22.952012"]] 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", 38]]  (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", 60], ["chargeable_service_id", 35]] 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", 36]]  (0.7ms) RELEASE SAVEPOINT active_record_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", 60]]  (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" IN ($1, $2, $3) [["id", 36], ["id", 37], ["id", 38]] 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", 60]] 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" = $2 [["service_bundle_id", 60], ["chargeable_service_id", 35]] 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]] 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", 38]]  (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", 60], ["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", 60]] Mks::Rate::ChargeableService Exists (1.3ms) 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", 60], ["id", 35], ["LIMIT", 1]] 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", 60]]  (1.2ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.2ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (3.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "shayna.kling@howell.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", "Angelena Rodriguez"], ["last_name", "Toni Jakubowski"], ["email", "shayna.kling@howell.biz"], ["password_digest", "$2a$04$BqoS93aZ/kEfcKcQUJoZPePaviCkwcDtRVVZ3Fl.nbTI4cMYYgDKK"], ["created_at", "2018-09-05 06:00:17.367037"], ["updated_at", "2018-09-05 06:00:17.367037"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "winford.witting@vonlind.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", "Cori Nienow"], ["last_name", "Bruno Dickinson"], ["email", "winford.witting@vonlind.com"], ["password_digest", "$2a$04$In/DD8ZX4hMb3RukjCCHheybgNJkAXNrFKk03IahjsM9.3YR9JLZ6"], ["created_at", "2018-09-05 06:00:17.401214"], ["updated_at", "2018-09-05 06:00:17.401214"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "enrique.wyman@kuhnkoch.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", "Kindra Hamill"], ["last_name", "Billie Nitzsche"], ["email", "enrique.wyman@kuhnkoch.us"], ["password_digest", "$2a$04$obORsSJh46vUGKrN9WnS0OnWx4IvHfVkEy3CxH1kDawr9hNBikaPe"], ["created_at", "2018-09-05 06:00:17.417780"], ["updated_at", "2018-09-05 06:00:17.417780"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kiersten Stroman"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.8ms) 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", "Kiersten Stroman"], ["authorized_by", "Willette Deckow"], ["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", 2], ["approved_by_id", 3], ["created_at", "2018-09-05 06:00:17.426950"], ["updated_at", "2018-09-05 06:00:17.426950"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#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", 1], ["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", 1], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (1.0ms) 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: 2, approved_by_id: 3, remark: nil, created_at: "2018-09-05 06:00:17", updated_at: "2018-09-05 06:00:17"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.73ms) Completed 200 OK in 25ms (Views: 17.5ms | ActiveRecord: 3.9ms)  (1.4ms) ROLLBACK  (1.2ms) 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", "lupita.champlin@kulas.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", "Shawnda Heller"], ["last_name", "Tyree Fritsch"], ["email", "lupita.champlin@kulas.com"], ["password_digest", "$2a$04$bjgrAnT5v/0h9KfiUI3epeIoU4OcM2Mcpa04h2Mpv8af.UpZEl9PO"], ["created_at", "2018-09-05 06:00:17.476962"], ["updated_at", "2018-09-05 06:00:17.476962"]]  (0.6ms) 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", "elwanda_mccullough@fishertromp.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", "Hoyt Barton"], ["last_name", "America Halvorson"], ["email", "elwanda_mccullough@fishertromp.us"], ["password_digest", "$2a$04$FSJhBoE76swxY.MuwkRQ3eVcJDEinNI/zLchELxXiRKgZA1vHANrK"], ["created_at", "2018-09-05 06:00:17.485241"], ["updated_at", "2018-09-05 06:00:17.485241"]]  (0.7ms) 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", "janay@gibson.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", "Fredda Wintheiser"], ["last_name", "Rozella Crist"], ["email", "janay@gibson.co.uk"], ["password_digest", "$2a$04$1gvM6GloqiyKN2Yj2Fnzg.wkyFjvxOz0IkB4fjCaivsNTPkYJUxC6"], ["created_at", "2018-09-05 06:00:17.492699"], ["updated_at", "2018-09-05 06:00:17.492699"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kelley Jerde"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.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", "Kelley Jerde"], ["authorized_by", "Augusta Schuster"], ["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", 5], ["approved_by_id", 6], ["created_at", "2018-09-05 06:00:17.497695"], ["updated_at", "2018-09-05 06:00:17.497695"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.64ms) Completed 200 OK in 9ms (Views: 3.0ms | ActiveRecord: 3.2ms)  (1.1ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) 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", "cammy@wymanhermann.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", "Kaci Bahringer"], ["last_name", "Daniele Dietrich"], ["email", "cammy@wymanhermann.us"], ["password_digest", "$2a$04$sPF.NFn1CiTBk5y6Mmbx4.Ooy4DVJCpf0gL/ZlMlNRNXJIj4wZoju"], ["created_at", "2018-09-05 06:00:17.527770"], ["updated_at", "2018-09-05 06:00:17.527770"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (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", "nolan.mosciski@hegmann.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", "Tammera Ankunding"], ["last_name", "Lory Denesik"], ["email", "nolan.mosciski@hegmann.co.uk"], ["password_digest", "$2a$04$rk9ue7fLpNGmrlpych3wqOJqgzm7.vFK1sDDeV.pdLhp/z7fRUs/G"], ["created_at", "2018-09-05 06:00:17.541427"], ["updated_at", "2018-09-05 06:00:17.541427"]]  (0.6ms) 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", "johnson_olson@cole.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", "Jinny Bergstrom"], ["last_name", "Everett Murray"], ["email", "johnson_olson@cole.ca"], ["password_digest", "$2a$04$7bgY0mci6R91uJroQ.Xwe.bFT4ZobbQN7c09v.J3v5WOJuGFwBHLm"], ["created_at", "2018-09-05 06:00:17.549094"], ["updated_at", "2018-09-05 06:00:17.549094"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"9", "authorized_by"=>"Ladawn Morar", "authorized_on"=>"2018-09-05", "created_by_id"=>"8", "effective_on"=>"2018-09-05", "rates"=>{"rate"=>"10", "service"=>"Service1"}, "reference_number"=>"Donna Mosciski", "status"=>"Marlana Larkin"}} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Unpermitted parameters: :rate, :service Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (1.0ms) 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", "Donna Mosciski"], ["LIMIT", 1]]  (1.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 422 Unprocessable Entity in 31ms (ActiveRecord: 6.4ms)  (1.0ms) ROLLBACK  (0.8ms) 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", "michaele.ondricka@oberbrunnermorissette.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", "Rose Torphy"], ["last_name", "Garland McClure"], ["email", "michaele.ondricka@oberbrunnermorissette.info"], ["password_digest", "$2a$04$sRLZqanEwFSBmWTPofyTYO11PSDU7zsf7XzrxilC9i8u1CaS9LTrW"], ["created_at", "2018-09-05 06:00:17.602878"], ["updated_at", "2018-09-05 06:00:17.602878"]]  (0.7ms) 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", "elba@mcdermotthalvorson.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", "Eloise Lehner"], ["last_name", "Luciano Bogisich"], ["email", "elba@mcdermotthalvorson.biz"], ["password_digest", "$2a$04$io99IFCjYgXkiffT0mhxAe7rTCiJi8ANn/YLGuxHXlXS/FZa0kddy"], ["created_at", "2018-09-05 06:00:17.610894"], ["updated_at", "2018-09-05 06:00:17.610894"]]  (0.7ms) 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", "tu_cronin@kreiger.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", "Kristi Kuhlman"], ["last_name", "Wendie Ullrich"], ["email", "tu_cronin@kreiger.biz"], ["password_digest", "$2a$04$HSJ1T9wSH9IEykDlcITLZOYyP596rgmjdvS0n94Sgp.U2izNMnLPy"], ["created_at", "2018-09-05 06:00:17.618993"], ["updated_at", "2018-09-05 06:00:17.618993"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"12", "authorized_by"=>"Kyle Wuckert", "authorized_on"=>"2018-09-05", "created_by_id"=>"11", "effective_on"=>"2018-09-05", "rates"=>{"rate"=>"10", "service"=>"Service1"}, "reference_number"=>"Gabriele Berge", "status"=>"Delfina Friesen"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Unpermitted parameters: :rate, :service Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 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", "Gabriele Berge"], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 422 Unprocessable Entity in 9ms (ActiveRecord: 4.2ms)  (1.0ms) ROLLBACK  (1.0ms) 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", "janeen.greenfelder@keebler.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", "Jose Robel"], ["last_name", "Coretta Schuppe"], ["email", "janeen.greenfelder@keebler.com"], ["password_digest", "$2a$04$TzPurZmRQT1MvTj6sr2wAOQWCrBWNml5IuhYm6IQncshnjU9tWrD2"], ["created_at", "2018-09-05 06:00:17.642440"], ["updated_at", "2018-09-05 06:00:17.642440"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "lydia@little.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", "Valentine Sipes"], ["last_name", "Lamar Labadie"], ["email", "lydia@little.us"], ["password_digest", "$2a$04$GF3Z3Ehaoq3ztjJrua6gDO46hjeg4U4PzijhP4/CGzsXOHqeQ0jeC"], ["created_at", "2018-09-05 06:00:17.650448"], ["updated_at", "2018-09-05 06:00:17.650448"]]  (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", "valene.ullrich@okuneva.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", "Jamar Marquardt"], ["last_name", "Fern Connelly"], ["email", "valene.ullrich@okuneva.com"], ["password_digest", "$2a$04$phKX/hPcrD0SvZgrMLs81OmRemJMLZUY8.7Ob4zpPRB.kum5x.4LG"], ["created_at", "2018-09-05 06:00:17.658784"], ["updated_at", "2018-09-05 06:00:17.658784"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"15", "authorized_by"=>"Ronda Oga", "authorized_on"=>"2018-09-05", "created_by_id"=>"14", "effective_on"=>"2018-09-05", "rates"=>{"rate"=>"10", "service"=>"Service1"}, "reference_number"=>"", "status"=>"Norine Friesen"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Unpermitted parameters: :rate, :service Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]]  (1.1ms) 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", ""], ["LIMIT", 1]]  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 422 Unprocessable Entity in 12ms (ActiveRecord: 5.2ms)  (0.8ms) ROLLBACK  (1.2ms) BEGIN  (0.9ms) 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", "aurelio@jacobsonhamill.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", "Tari Bartell"], ["last_name", "Conchita Abbott"], ["email", "aurelio@jacobsonhamill.com"], ["password_digest", "$2a$04$LjGtq7Pwds0nZNK9jglV/OFK3UHy4fkbpke7eGiPabayIQ3.nrZAa"], ["created_at", "2018-09-05 06:00:17.686317"], ["updated_at", "2018-09-05 06:00:17.686317"]]  (0.5ms) 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", "magaly@quitzonschiller.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", "Eddie Leannon"], ["last_name", "Esperanza Kris"], ["email", "magaly@quitzonschiller.name"], ["password_digest", "$2a$04$JZWIgqjZkq0x4wzJeXWZUOMcXwl4NZXmpp1QPFyS5JU1YbFX9pNmC"], ["created_at", "2018-09-05 06:00:17.693916"], ["updated_at", "2018-09-05 06:00:17.693916"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "ramonita_mueller@west.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", "Marvella Brakus"], ["last_name", "Nora Funk"], ["email", "ramonita_mueller@west.ca"], ["password_digest", "$2a$04$HTAlwMDT9C8bnV/kHXehGeNKbtGPqgiIMk.09MGIWAJ4/ynoeSEPS"], ["created_at", "2018-09-05 06:00:17.702649"], ["updated_at", "2018-09-05 06:00:17.702649"]]  (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", "Keri Mosciski"], ["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", "Keri Mosciski"], ["authorized_by", "Lilia Dicki"], ["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", 17], ["approved_by_id", 18], ["created_at", "2018-09-05 06:00:17.708324"], ["updated_at", "2018-09-05 06:00:17.708324"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Nikki Hegmann"}, "id"=>"3"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 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", 3], ["LIMIT", 1]]  (1.1ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Keri Mosciski"], ["id", 3], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.5ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Nikki Hegmann"], ["updated_at", "2018-09-05 06:00:17.729194"], ["id", 3]]  (0.7ms) 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", 16], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.45ms) Completed 200 OK in 23ms (Views: 2.1ms | ActiveRecord: 9.1ms) 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", 3], ["LIMIT", 1]]  (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", "josue.crooks@oberbrunner.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", "Latashia Brakus"], ["last_name", "Billye Lubowitz"], ["email", "josue.crooks@oberbrunner.us"], ["password_digest", "$2a$04$4HdwNMbtp.kAkGYLkQlOI.DusuV/Oj7R/flL5JEy.bx2TATD/vMJC"], ["created_at", "2018-09-05 06:00:17.747448"], ["updated_at", "2018-09-05 06:00:17.747448"]]  (0.6ms) 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", "lauri@heathcote.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", "Thurman Jones"], ["last_name", "Eric Kling"], ["email", "lauri@heathcote.co.uk"], ["password_digest", "$2a$04$UOws2sVxxzuLOX.Ozs2nIupxZjfo1bI1LIFILa.UFPqT/j1EjoLeO"], ["created_at", "2018-09-05 06:00:17.755357"], ["updated_at", "2018-09-05 06:00:17.755357"]]  (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", "kandice_jerde@wisozk.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", "Lacy Ebert"], ["last_name", "Norberto Beahan"], ["email", "kandice_jerde@wisozk.ca"], ["password_digest", "$2a$04$Qd2r2DeKjB/P6XEnKvtKKOG.eTFihIZ3IUOgpfBQ30vju3bJ6Yw7i"], ["created_at", "2018-09-05 06:00:17.762928"], ["updated_at", "2018-09-05 06:00:17.762928"]]  (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", "Rodrigo O'Keefe"], ["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", "Rodrigo O'Keefe"], ["authorized_by", "Blossom Hamill"], ["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", 20], ["approved_by_id", 21], ["created_at", "2018-09-05 06:00:17.768245"], ["updated_at", "2018-09-05 06:00:17.768245"]]  (1.1ms) 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", "ruby@corkery.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", "Dennis Hand"], ["last_name", "Kasi Tillman"], ["email", "ruby@corkery.biz"], ["password_digest", "$2a$04$rlxz4GzEE9DKG4lll2DgDu18abzo2KN53Ro0jxrJ2bJpAMJZDVv/W"], ["created_at", "2018-09-05 06:00:17.779158"], ["updated_at", "2018-09-05 06:00:17.779158"]]  (0.7ms) 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", "richelle.herman@strackedoyle.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", "Kip Lesch"], ["last_name", "Denae Fay"], ["email", "richelle.herman@strackedoyle.biz"], ["password_digest", "$2a$04$40nj46EAEci5l8uQNnZqJONKxpUe7xbNpvJpUOAuZWr/XozSRGrCi"], ["created_at", "2018-09-05 06:00:17.787468"], ["updated_at", "2018-09-05 06:00:17.787468"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "shawnta@kirlin.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", "Grant Mosciski"], ["last_name", "Fatimah Schuppe"], ["email", "shawnta@kirlin.info"], ["password_digest", "$2a$04$IzHOe8cpkpM6g1dGVx4UxOEIPeKKmniFh2wRHLfFh3OKVJqYo8UrO"], ["created_at", "2018-09-05 06:00:17.798384"], ["updated_at", "2018-09-05 06:00:17.798384"]]  (1.3ms) 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", "neomi.oga@schamberger.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", "Christoper Walter"], ["last_name", "Malorie Sauer"], ["email", "neomi.oga@schamberger.us"], ["password_digest", "$2a$04$UfAR4dsPKxJsbL901Sw7e.0yhOIhu.OsVBKr0UwBShpZC87K1to76"], ["created_at", "2018-09-05 06:00:17.808229"], ["updated_at", "2018-09-05 06:00:17.808229"]]  (0.7ms) 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", "ladonna_bergnaum@simonis.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", "Angella Blick"], ["last_name", "Kayce Torphy"], ["email", "ladonna_bergnaum@simonis.ca"], ["password_digest", "$2a$04$Gs2yBtLOEoHtNi8.i/XhqO/e5j27JU7fpfn6saprEXE692bqolWHu"], ["created_at", "2018-09-05 06:00:17.816277"], ["updated_at", "2018-09-05 06:00:17.816277"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Kristine Bauch"], ["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", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Kristine Bauch"], ["authorized_by", "Shasta Jerde"], ["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", 25], ["approved_by_id", 26], ["created_at", "2018-09-05 06:00:17.821994"], ["updated_at", "2018-09-05 06:00:17.821994"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (2.2ms) 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", "lucien@moenlegros.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", "Sidney Schroeder"], ["last_name", "Marcelino Brekke"], ["email", "lucien@moenlegros.ca"], ["password_digest", "$2a$04$9Z1R/WpoTPEP8hup/179Tefas69huIKoNvNGARlaADBcpF.uKdaCy"], ["created_at", "2018-09-05 06:00:17.836825"], ["updated_at", "2018-09-05 06:00:17.836825"]]  (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", "camila_pouros@waelchi.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", "Era O'Kon"], ["last_name", "Bok Runte"], ["email", "camila_pouros@waelchi.ca"], ["password_digest", "$2a$04$UZ1DFNT9y0m7e2wvwZwzQOWha7GLPJKikniNtzdnJohY.mVwaZMMS"], ["created_at", "2018-09-05 06:00:17.843875"], ["updated_at", "2018-09-05 06:00:17.843875"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"28", "authorized_by"=>"Shenika Block", "authorized_on"=>"2018-09-05", "created_by_id"=>"27", "effective_on"=>"2018-09-05", "rates"=>{"rate"=>"10", "service"=>"Service1"}, "reference_number"=>"", "status"=>"Jenae Kassulke"}, "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", 24], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (1.7ms) 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]] Unpermitted parameters: :rate, :service  (0.7ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", ""], ["id", 5], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.14ms) Completed 422 Unprocessable Entity in 20ms (Views: 5.3ms | ActiveRecord: 7.5ms)  (1.0ms) ROLLBACK  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) 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", "louella@deckow.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", "Candelaria Dickinson"], ["last_name", "Na Conn"], ["email", "louella@deckow.com"], ["password_digest", "$2a$04$qfSzhQKyU.qvF6WDc52rcOMdWGf5l1L5TLUa0gZFSH8DdKL8kuHaC"], ["created_at", "2018-09-05 06:04:06.869979"], ["updated_at", "2018-09-05 06:04:06.869979"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "madison@morissettebins.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", "Joselyn Lemke"], ["last_name", "Tamiko Medhurst"], ["email", "madison@morissettebins.co.uk"], ["password_digest", "$2a$04$E/wiDQ3OHf84ULNEwhFvoOGqbRDmylvx.XqOOo.op9kCxxXuK330a"], ["created_at", "2018-09-05 06:04:06.900195"], ["updated_at", "2018-09-05 06:04:06.900195"]]  (0.7ms) 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", "amelia@hickle.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", "Gianna Armstrong"], ["last_name", "Kelly O'Conner"], ["email", "amelia@hickle.com"], ["password_digest", "$2a$04$USVVIEi1WhZ3B2C31A9dSuUz4KhfRoiuVPdPg7xjAHZbKAId2NEQO"], ["created_at", "2018-09-05 06:04:06.914632"], ["updated_at", "2018-09-05 06:04:06.914632"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Shanika Altenwerth"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.7ms) 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", "Shanika Altenwerth"], ["authorized_by", "Jacquelin Kuhn"], ["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", 2], ["approved_by_id", 3], ["created_at", "2018-09-05 06:04:06.922279"], ["updated_at", "2018-09-05 06:04:06.922279"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#index as HTML Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] 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::Rate::RateChangeRequest Load (1.1ms) 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: 2, approved_by_id: 3, remark: nil, created_at: "2018-09-05 06:04:06", updated_at: "2018-09-05 06:04:06"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.5ms) Completed 200 OK in 23ms (Views: 15.9ms | ActiveRecord: 3.5ms)  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (1.2ms) 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", "chae@reillymcglynn.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", "Christel Haag"], ["last_name", "Jaime Harris"], ["email", "chae@reillymcglynn.ca"], ["password_digest", "$2a$04$Kg5DwA3LQKLY3IFz9tsNeepr0Phw5Q1lHq8KYQ9cPlep..2QYbb/K"], ["created_at", "2018-09-05 06:04:06.961766"], ["updated_at", "2018-09-05 06:04:06.961766"]]  (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", "rosina.orn@lesch.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", "Silvana Wolf"], ["last_name", "Alexandra White"], ["email", "rosina.orn@lesch.info"], ["password_digest", "$2a$04$tKjYZHbNJkbf0N4rw9HZverZTKOWYdw8NJ8OFH/DGgUtpfUM6soii"], ["created_at", "2018-09-05 06:04:06.969789"], ["updated_at", "2018-09-05 06:04:06.969789"]]  (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", "jenee_mccullough@klockoprice.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", "Kaye Parisian"], ["last_name", "Yanira Jacobs"], ["email", "jenee_mccullough@klockoprice.us"], ["password_digest", "$2a$04$8OUHcXf9oeBR//tE9nDX3.UdafQo6efPWF0/8meilhJdBr3dkZuAi"], ["created_at", "2018-09-05 06:04:06.976570"], ["updated_at", "2018-09-05 06:04:06.976570"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lonnie Cassin"], ["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", "Lonnie Cassin"], ["authorized_by", "Emeline Russel"], ["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", 5], ["approved_by_id", 6], ["created_at", "2018-09-05 06:04:06.981446"], ["updated_at", "2018-09-05 06:04:06.981446"]]  (0.6ms) 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", 4], ["LIMIT", 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", 2], ["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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.9ms) Completed 200 OK in 10ms (Views: 3.8ms | ActiveRecord: 3.3ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) 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", "vannesa_prohaska@bayer.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", "Leonore Torp"], ["last_name", "Rosalinda Medhurst"], ["email", "vannesa_prohaska@bayer.biz"], ["password_digest", "$2a$04$9.mZahoDZ51Yk..LfDFsT.wVi/Yzh6/ktonWIdL3/Lpq/S3qN2Wai"], ["created_at", "2018-09-05 06:04:07.005796"], ["updated_at", "2018-09-05 06:04:07.005796"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.8ms) 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", "Burl Schamberger"], ["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", "Isaura Monahan"], ["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", "Burl Schamberger"], ["name", "Isaura Monahan"], ["created_at", "2018-09-05 06:04:07.060742"], ["updated_at", "2018-09-05 06:04:07.060742"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Jesse Auer"], ["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", "Jesse Auer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.082463"], ["updated_at", "2018-09-05 06:04:07.082463"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Luanne Witting"], ["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", "Luanne Witting"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.089911"], ["updated_at", "2018-09-05 06:04:07.089911"]]  (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", "Bess Roob"], ["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", "Bess Roob"], ["name", "Jeramy Bashirian"], ["address", "Josefa Fisher"], ["created_at", "2018-09-05 06:04:07.107048"], ["updated_at", "2018-09-05 06:04:07.107048"]]  (0.6ms) 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", "Ngoc Spencer"], ["service_delivery_unit_id", 1], ["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", "Ngoc Spencer"], ["name", "Sherryl O'Reilly"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:04:07.114376"], ["updated_at", "2018-09-05 06:04:07.114376"]] 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.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ngoc Spencer"], ["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", "Ngoc Spencer"], ["name", "Sherryl O'Reilly"], ["description", "Default bundle for service 'Sherryl O'Reilly'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:04:07.146724"], ["updated_at", "2018-09-05 06:04:07.146724"]] 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", 1], ["chargeable_service_id", 1]]  (0.8ms) 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", "Dyan Kreiger"], ["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", "Cythia Schuster"], ["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", "Dyan Kreiger"], ["name", "Cythia Schuster"], ["created_at", "2018-09-05 06:04:07.179700"], ["updated_at", "2018-09-05 06:04:07.179700"]]  (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", "Nell Batz"], ["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", "Nell Batz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.184159"], ["updated_at", "2018-09-05 06:04:07.184159"]]  (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", "Kia 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", "Kia Hagenes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.189221"], ["updated_at", "2018-09-05 06:04:07.189221"]]  (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", "Michael Kilback"], ["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", "Michael Kilback"], ["name", "Guadalupe Hartmann"], ["address", "Essie Oberbrunner"], ["created_at", "2018-09-05 06:04:07.193687"], ["updated_at", "2018-09-05 06:04:07.193687"]]  (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", "Sha Lakin"], ["service_delivery_unit_id", 2], ["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", "Sha Lakin"], ["name", "Verda Monahan"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:04:07.198097"], ["updated_at", "2018-09-05 06:04:07.198097"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sha Lakin"], ["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", "Sha Lakin"], ["name", "Verda Monahan"], ["description", "Default bundle for service 'Verda Monahan'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:04:07.204163"], ["updated_at", "2018-09-05 06:04:07.204163"]] 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", 2], ["chargeable_service_id", 2]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Linn Hilpert"], ["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", "Rosemarie 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", "Linn Hilpert"], ["name", "Rosemarie Kerluke"], ["description", "Molestias velit assumenda ea nisi aliquid possimus dignissimos debitis. Repellat ducimus natus et minima est doloremque incidunt. Iste aut ullam neque debitis dicta saepe illum."], ["created_at", "2018-09-05 06:04:07.290312"], ["updated_at", "2018-09-05 06:04:07.290312"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lawerence Auer"], ["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", "Awilda Casper"], ["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", "Lawerence Auer"], ["name", "Awilda Casper"], ["description", "Aliquam impedit qui corporis dolores fugiat nihil maxime. Aut beatae et recusandae delectus aut rerum ut. Similique nihil consequuntur eveniet maiores."], ["equipment_type_id", 1], ["created_at", "2018-09-05 06:04:07.298312"], ["updated_at", "2018-09-05 06:04:07.298312"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Modesto Waelchi"], ["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", "Modesto Waelchi"], ["name", "Elfreda Reichert"], ["description", "Ludivina Moen"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 06:04:07.305531"], ["updated_at", "2018-09-05 06:04:07.305531"]]  (0.5ms) 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", "Erna Weissnat"], ["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", "Margert Rau"], ["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", "Erna Weissnat"], ["name", "Margert Rau"], ["description", "Leeanne Smitham"], ["created_at", "2018-09-05 06:04:07.342279"], ["updated_at", "2018-09-05 06:04:07.342279"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kory Waelchi"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.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", "Kory Waelchi"], ["name", "Lorean Yost"], ["location_type_id", 1], ["description", "Erma Collins"], ["address", "Ashton Schinner"], ["created_at", "2018-09-05 06:04:07.348545"], ["updated_at", "2018-09-05 06:04:07.348545"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Breann Grady"], ["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", "Lyn Lubowitz"], ["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", "Breann Grady"], ["name", "Ivory Sipes"], ["description", "Nicky Halvorson"], ["serial_number", "Lyn Lubowitz"], ["brand", "Mikki Robel"], ["item_model", "Omar White"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 06:04:07.359724"], ["updated_at", "2018-09-05 06:04:07.359724"]]  (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", "Julian Wisozk"], ["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", "Booker Nienow"], ["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", "Julian Wisozk"], ["name", "Booker Nienow"], ["description", "Sunt ipsa earum et dolorem. Quod ea ut saepe rerum blanditiis a quas rerum. Nobis ipsam et repellendus voluptates sunt dolorem nulla suscipit."], ["created_at", "2018-09-05 06:04:07.367756"], ["updated_at", "2018-09-05 06:04:07.367756"]]  (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", "Sandy Kuhlman"], ["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", "Carlo Bode"], ["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", "Sandy Kuhlman"], ["name", "Carlo Bode"], ["description", "Nostrum quae et harum quia magnam. Dolor at iusto ut ducimus modi laudantium. Tempora nam quaerat est possimus laboriosam qui sequi. Aliquid molestiae error blanditiis aspernatur."], ["equipment_type_id", 2], ["created_at", "2018-09-05 06:04:07.373212"], ["updated_at", "2018-09-05 06:04:07.373212"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "King Purdy"], ["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", "King Purdy"], ["name", "Dreama Dickens"], ["description", "Carlota Hamill"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 06:04:07.378745"], ["updated_at", "2018-09-05 06:04:07.378745"]]  (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", "Patti Lubowitz"], ["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", "Cythia Herzog"], ["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", "Patti Lubowitz"], ["name", "Cythia Herzog"], ["description", "Avis Hane"], ["created_at", "2018-09-05 06:04:07.386227"], ["updated_at", "2018-09-05 06:04:07.386227"]]  (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", "Dudley Heaney"], ["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", "Dudley Heaney"], ["name", "Kari Thompson"], ["location_type_id", 2], ["description", "Eloise Feest"], ["address", "Jenice Considine"], ["created_at", "2018-09-05 06:04:07.390525"], ["updated_at", "2018-09-05 06:04:07.390525"]]  (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", "Sidney Bernhard"], ["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", "Charlyn Hoppe"], ["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", "Sidney Bernhard"], ["name", "Caprice Leffler"], ["description", "Elvin Kiehn"], ["serial_number", "Charlyn Hoppe"], ["brand", "Lamonica Bartoletti"], ["item_model", "Margurite Schinner"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 06:04:07.396022"], ["updated_at", "2018-09-05 06:04:07.396022"]]  (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", "nichelle@browncummerata.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", "Cori Harvey"], ["last_name", "Hung Lindgren"], ["email", "nichelle@browncummerata.ca"], ["password_digest", "$2a$04$DufAJsC1n2d8JohCtkB5/u6yD85xes/Mbgj3zhNcW7YAf33cyyCI6"], ["created_at", "2018-09-05 06:04:07.402949"], ["updated_at", "2018-09-05 06:04:07.402949"]]  (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", "quintin@oconnell.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", "Fabiola Pollich"], ["last_name", "Risa Wuckert"], ["email", "quintin@oconnell.co.uk"], ["password_digest", "$2a$04$.BCh7M1ocliBdWvYFTCjF.YJkq0FaGZEYFuNmYylbrt0ceW3HLcn."], ["created_at", "2018-09-05 06:04:07.409211"], ["updated_at", "2018-09-05 06:04:07.409211"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"9", "authorized_by"=>"Barbie McKenzie", "authorized_on"=>"2018-09-05", "created_by_id"=>"8", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"1", "chargeable_service_name"=>"Verda Monahan", "equipment_item_id"=>"1", "equipment_item_name"=>"Caprice Leffler", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Laurie Muller", "status"=>"Marina Ankunding"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["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", 7], ["LIMIT", 1]]  (0.8ms) 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", "Laurie Muller"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (3.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", "Laurie Muller"], ["authorized_by", "Barbie McKenzie"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"1\",\"chargeable_service_name\":\"Verda Monahan\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Caprice Leffler\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 7], ["approved_by_id", 9], ["created_at", "2018-09-05 06:04:07.428684"], ["updated_at", "2018-09-05 06:04:07.428684"]]  (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", 7], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.47ms) Completed 201 Created in 21ms (Views: 2.9ms | ActiveRecord: 9.8ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.1ms) 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", "julieta.friesen@casper.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", "Jina Mayer"], ["last_name", "Yuriko Schowalter"], ["email", "julieta.friesen@casper.biz"], ["password_digest", "$2a$04$WNvG4otjuuwrrMSdK69ak.gVbq30tkLlMhyrv.5dJwSQvOPF7llxa"], ["created_at", "2018-09-05 06:04:07.450420"], ["updated_at", "2018-09-05 06:04:07.450420"]]  (0.8ms) 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", "Daren Weimann"], ["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", "Jenniffer Douglas"], ["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", "Daren Weimann"], ["name", "Jenniffer Douglas"], ["created_at", "2018-09-05 06:04:07.457137"], ["updated_at", "2018-09-05 06:04:07.457137"]]  (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", "Goldie Effertz"], ["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", "Goldie Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.461614"], ["updated_at", "2018-09-05 06:04:07.461614"]]  (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", "Alexis Feeney"], ["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", "Alexis Feeney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.466231"], ["updated_at", "2018-09-05 06:04:07.466231"]]  (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", "Von Tillman"], ["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", "Von Tillman"], ["name", "Verla Balistreri"], ["address", "Jaime White"], ["created_at", "2018-09-05 06:04:07.471238"], ["updated_at", "2018-09-05 06:04:07.471238"]]  (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", "Monet Lueilwitz"], ["service_delivery_unit_id", 3], ["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", "Monet Lueilwitz"], ["name", "Celesta Hettinger"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:04:07.475606"], ["updated_at", "2018-09-05 06:04:07.475606"]] 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", 3], ["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", "Monet Lueilwitz"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Monet Lueilwitz"], ["name", "Celesta Hettinger"], ["description", "Default bundle for service 'Celesta Hettinger'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:04:07.483042"], ["updated_at", "2018-09-05 06:04:07.483042"]] 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.5ms) 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", "Stephanie McDermott"], ["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", "Myrtice Lang"], ["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", "Stephanie McDermott"], ["name", "Myrtice Lang"], ["created_at", "2018-09-05 06:04:07.494079"], ["updated_at", "2018-09-05 06:04:07.494079"]]  (0.4ms) 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", "Celia Ruecker"], ["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", "Celia Ruecker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.498856"], ["updated_at", "2018-09-05 06:04:07.498856"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Dorine Runolfsson"], ["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", "Dorine Runolfsson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.505093"], ["updated_at", "2018-09-05 06:04:07.505093"]]  (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", "Gwen Predovic"], ["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", "Gwen Predovic"], ["name", "Fern West"], ["address", "Annabel Shields"], ["created_at", "2018-09-05 06:04:07.510001"], ["updated_at", "2018-09-05 06:04:07.510001"]]  (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", "Francie Rolfson"], ["service_delivery_unit_id", 4], ["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", "Francie Rolfson"], ["name", "Destiny Kub"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:04:07.514592"], ["updated_at", "2018-09-05 06:04:07.514592"]] 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", "Francie Rolfson"], ["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", "Francie Rolfson"], ["name", "Destiny Kub"], ["description", "Default bundle for service 'Destiny Kub'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:04:07.520010"], ["updated_at", "2018-09-05 06:04:07.520010"]] 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", 4], ["chargeable_service_id", 4]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Lizabeth Grady"], ["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", "Adeline Schamberger"], ["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", "Lizabeth Grady"], ["name", "Adeline Schamberger"], ["description", "Distinctio cum aperiam sit aut blanditiis. Porro inventore et aliquam reiciendis eum voluptatem doloribus. Sit eos ab ut perspiciatis repudiandae. Est nostrum libero et quia."], ["created_at", "2018-09-05 06:04:07.530320"], ["updated_at", "2018-09-05 06:04:07.530320"]]  (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", "Willis Treutel"], ["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", "Justa Bode"], ["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", "Willis Treutel"], ["name", "Justa Bode"], ["description", "Explicabo esse omnis ut quibusdam dolorum saepe quasi aspernatur. Non et sed aperiam dicta a. Ipsum aperiam voluptatem ratione eius. Accusantium dolorum enim sapiente voluptas et aliquam ut quia. Natus vero fugiat deserunt enim dolor debitis."], ["equipment_type_id", 3], ["created_at", "2018-09-05 06:04:07.536893"], ["updated_at", "2018-09-05 06:04:07.536893"]]  (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", "Darlena Jacobi"], ["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", "Darlena Jacobi"], ["name", "Luanne Leuschke"], ["description", "Theo Von"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 06:04:07.541824"], ["updated_at", "2018-09-05 06:04:07.541824"]]  (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", "Judie Leffler"], ["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", "Carley Witting"], ["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", "Judie Leffler"], ["name", "Carley Witting"], ["description", "Pilar Batz"], ["created_at", "2018-09-05 06:04:07.548606"], ["updated_at", "2018-09-05 06:04:07.548606"]]  (1.0ms) 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", "Debora Will"], ["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", "Debora Will"], ["name", "Timothy Kunze"], ["location_type_id", 3], ["description", "Christi Waelchi"], ["address", "Francina Lakin"], ["created_at", "2018-09-05 06:04:07.558611"], ["updated_at", "2018-09-05 06:04:07.558611"]]  (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", "Aleshia Considine"], ["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", "Alex Auer"], ["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", "Aleshia Considine"], ["name", "Leif Runolfsson"], ["description", "Amal Schimmel"], ["serial_number", "Alex Auer"], ["brand", "Reuben Feil"], ["item_model", "Mi Lind"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 06:04:07.564599"], ["updated_at", "2018-09-05 06:04:07.564599"]]  (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", "Rosemarie Auer"], ["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", "Emmy O'Hara"], ["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", "Rosemarie Auer"], ["name", "Emmy O'Hara"], ["description", "Accusantium sunt velit harum optio minus porro. Quaerat id qui provident et laudantium. Necessitatibus laboriosam numquam consequatur enim totam. Qui quos quam hic modi. Aut provident necessitatibus possimus asperiores facere."], ["created_at", "2018-09-05 06:04:07.573026"], ["updated_at", "2018-09-05 06:04:07.573026"]]  (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", "Chase Grimes"], ["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", "Ismael Mante"], ["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", "Chase Grimes"], ["name", "Ismael Mante"], ["description", "Nostrum ipsa voluptatibus nobis dolores autem et ut. Aperiam culpa hic provident placeat consectetur ea perferendis occaecati. Nemo et optio cum et quisquam cumque."], ["equipment_type_id", 4], ["created_at", "2018-09-05 06:04:07.578621"], ["updated_at", "2018-09-05 06:04:07.578621"]]  (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", "Caryn Keeling"], ["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", "Caryn Keeling"], ["name", "Luetta Franecki"], ["description", "Rea Jacobs"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 06:04:07.583318"], ["updated_at", "2018-09-05 06:04:07.583318"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Dessie O'Hara"], ["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", "Kurtis Gaylord"], ["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", "Dessie O'Hara"], ["name", "Kurtis Gaylord"], ["description", "Fae Hettinger"], ["created_at", "2018-09-05 06:04:07.591393"], ["updated_at", "2018-09-05 06:04:07.591393"]]  (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", "Josue Ullrich"], ["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", "Josue Ullrich"], ["name", "Kisha Goldner"], ["location_type_id", 4], ["description", "Becky Bruen"], ["address", "Consuelo Corkery"], ["created_at", "2018-09-05 06:04:07.595924"], ["updated_at", "2018-09-05 06:04:07.595924"]]  (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", "Nadene Howe"], ["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", "Lael Wisozk"], ["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", "Nadene Howe"], ["name", "Carmen Kub"], ["description", "Shelby Erdman"], ["serial_number", "Lael Wisozk"], ["brand", "Maryalice Thiel"], ["item_model", "Jaunita Hermiston"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 06:04:07.601989"], ["updated_at", "2018-09-05 06:04:07.601989"]]  (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", "bobette_toy@huel.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", "Brain Hintz"], ["last_name", "Jackqueline Nolan"], ["email", "bobette_toy@huel.biz"], ["password_digest", "$2a$04$FQZ.PBQZ4p89FhKLsv0K4uOB0zFfkmuAU9EdsEgxifPoMZD9xlTy6"], ["created_at", "2018-09-05 06:04:07.609452"], ["updated_at", "2018-09-05 06:04:07.609452"]]  (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", "anastasia@mcglynn.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", "Ngoc Pollich"], ["last_name", "Amalia Langosh"], ["email", "anastasia@mcglynn.co.uk"], ["password_digest", "$2a$04$8slXF3xOrhvTqGvURHBl7uhljQndxmKlELobAGCqyNw4CBba5HQGS"], ["created_at", "2018-09-05 06:04:07.615740"], ["updated_at", "2018-09-05 06:04:07.615740"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"12", "authorized_by"=>"Talisha Keebler", "authorized_on"=>"2018-09-05", "created_by_id"=>"11", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"3", "chargeable_service_name"=>"Destiny Kub", "equipment_item_id"=>"3", "equipment_item_name"=>"Carmen Kub", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Jolynn Flatley", "status"=>"Francine Auer"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["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", 10], ["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", "Jolynn Flatley"], ["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", "Jolynn Flatley"], ["authorized_by", "Talisha Keebler"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"3\",\"chargeable_service_name\":\"Destiny Kub\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Carmen Kub\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 10], ["approved_by_id", 12], ["created_at", "2018-09-05 06:04:07.626949"], ["updated_at", "2018-09-05 06:04:07.626949"]]  (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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.5ms) Completed 201 Created in 12ms (Views: 1.8ms | ActiveRecord: 5.3ms) Mks::Rate::RateChangeRequest Load (0.9ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" ORDER BY "mks_rate_rate_change_requests"."id" DESC LIMIT $1 [["LIMIT", 1]]  (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", "kara_klein@mcglynnoreilly.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", "Ignacio Powlowski"], ["last_name", "Cole Beer"], ["email", "kara_klein@mcglynnoreilly.info"], ["password_digest", "$2a$04$iAti5/T.er7ha18FszxVtOVbTHYCHjvQy.sB8eCD.jt0yPcOP6LnG"], ["created_at", "2018-09-05 06:04:07.644507"], ["updated_at", "2018-09-05 06:04:07.644507"]]  (0.5ms) 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", "Susanne Dickens"], ["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", "Liane Johnson"], ["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", "Susanne Dickens"], ["name", "Liane Johnson"], ["created_at", "2018-09-05 06:04:07.651666"], ["updated_at", "2018-09-05 06:04:07.651666"]]  (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", "Kendall Quitzon"], ["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", "Kendall Quitzon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.657283"], ["updated_at", "2018-09-05 06:04:07.657283"]]  (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", "Armand Upton"], ["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", "Armand Upton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.661836"], ["updated_at", "2018-09-05 06:04:07.661836"]]  (0.6ms) 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", "Amy Murazik"], ["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", "Amy Murazik"], ["name", "Soraya Legros"], ["address", "Ria Carter"], ["created_at", "2018-09-05 06:04:07.667621"], ["updated_at", "2018-09-05 06:04:07.667621"]]  (0.6ms) 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", "Mohammed Swaniawski"], ["service_delivery_unit_id", 5], ["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", "Mohammed Swaniawski"], ["name", "Scott Balistreri"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:04:07.673406"], ["updated_at", "2018-09-05 06:04:07.673406"]] 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", 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", "Mohammed Swaniawski"], ["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", "Mohammed Swaniawski"], ["name", "Scott Balistreri"], ["description", "Default bundle for service 'Scott Balistreri'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:04:07.680725"], ["updated_at", "2018-09-05 06:04:07.680725"]] 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", 5], ["chargeable_service_id", 5]]  (1.2ms) 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", "Maragaret Parker"], ["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", "Joelle Hand"], ["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", "Maragaret Parker"], ["name", "Joelle Hand"], ["created_at", "2018-09-05 06:04:07.691504"], ["updated_at", "2018-09-05 06:04:07.691504"]]  (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", "Dino Emmerich"], ["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", "Dino Emmerich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.697142"], ["updated_at", "2018-09-05 06:04:07.697142"]]  (0.5ms) 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", "Noah Collier"], ["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", "Noah Collier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.701690"], ["updated_at", "2018-09-05 06:04:07.701690"]]  (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", "Adelle Glover"], ["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", "Adelle Glover"], ["name", "Herlinda Schuster"], ["address", "Carlotta Cronin"], ["created_at", "2018-09-05 06:04:07.706289"], ["updated_at", "2018-09-05 06:04:07.706289"]]  (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", "Theodore Ferry"], ["service_delivery_unit_id", 6], ["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", "Theodore Ferry"], ["name", "Yuk Hermann"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:04:07.711303"], ["updated_at", "2018-09-05 06:04:07.711303"]] 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", 6], ["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", "Theodore Ferry"], ["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", "Theodore Ferry"], ["name", "Yuk Hermann"], ["description", "Default bundle for service 'Yuk Hermann'"], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:04:07.716646"], ["updated_at", "2018-09-05 06:04:07.716646"]] 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", 6], ["chargeable_service_id", 6]]  (0.7ms) 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", "Tommy Crist"], ["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", "Hana Swift"], ["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", "Tommy Crist"], ["name", "Hana Swift"], ["description", "Ratione consequatur ad corrupti sit quas ab reiciendis. Nam voluptatem aut similique aliquam facere fugiat. Quidem magnam nam ut in."], ["created_at", "2018-09-05 06:04:07.731744"], ["updated_at", "2018-09-05 06:04:07.731744"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Vernon Willms"], ["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", "Charley Morissette"], ["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", "Vernon Willms"], ["name", "Charley Morissette"], ["description", "Nulla error voluptas inventore quo aliquid quo et. Laborum porro vero aut expedita est qui fugiat. Ut nihil dignissimos consequatur eveniet hic iure."], ["equipment_type_id", 5], ["created_at", "2018-09-05 06:04:07.738414"], ["updated_at", "2018-09-05 06:04:07.738414"]]  (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", "Lizabeth Kovacek"], ["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", "Lizabeth Kovacek"], ["name", "Tracy Stoltenberg"], ["description", "Cortez Gulgowski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 06:04:07.744281"], ["updated_at", "2018-09-05 06:04:07.744281"]]  (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", "Laci Mayer"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Zora Bergstrom"], ["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", "Laci Mayer"], ["name", "Zora Bergstrom"], ["description", "Letha Braun"], ["created_at", "2018-09-05 06:04:07.752869"], ["updated_at", "2018-09-05 06:04:07.752869"]]  (0.6ms) 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", "Lucien Aufderhar"], ["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", "Lucien Aufderhar"], ["name", "Karrie Huels"], ["location_type_id", 5], ["description", "Alisa Bins"], ["address", "Rene Sawayn"], ["created_at", "2018-09-05 06:04:07.758189"], ["updated_at", "2018-09-05 06:04:07.758189"]]  (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", "Bruce Littel"], ["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", "Lavera Effertz"], ["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", "Bruce Littel"], ["name", "Antonia Leannon"], ["description", "Van Frami"], ["serial_number", "Lavera Effertz"], ["brand", "Regina Grady"], ["item_model", "Ingeborg Hermiston"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 06:04:07.765290"], ["updated_at", "2018-09-05 06:04:07.765290"]]  (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", "Laci Wunsch"], ["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", "Cleveland Zulauf"], ["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", "Laci Wunsch"], ["name", "Cleveland Zulauf"], ["description", "Corrupti dolor quam ut et temporibus sint. Delectus provident aliquid velit soluta nemo. Distinctio et dolor in soluta nostrum maiores. Voluptas molestiae cumque vel maiores dolorum dolores repellendus praesentium. Voluptas accusamus voluptatem unde labore explicabo cumque."], ["created_at", "2018-09-05 06:04:07.775248"], ["updated_at", "2018-09-05 06:04:07.775248"]]  (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", "Jeanne Pfannerstill"], ["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", "Kai Volkman"], ["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", "Jeanne Pfannerstill"], ["name", "Kai Volkman"], ["description", "Hic maxime cupiditate dolor numquam magni eaque nemo sapiente. Officia quos soluta occaecati sit distinctio. Molestias neque quis eveniet odit. Error dolorem ut magni ea harum. Earum accusantium ullam distinctio ipsum autem."], ["equipment_type_id", 6], ["created_at", "2018-09-05 06:04:07.781573"], ["updated_at", "2018-09-05 06:04:07.781573"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Joannie Murphy"], ["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", "Joannie Murphy"], ["name", "Jane McDermott"], ["description", "Theodora Hegmann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 06:04:07.787678"], ["updated_at", "2018-09-05 06:04:07.787678"]]  (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", "Alessandra Nader"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Madaline Wilderman"], ["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", "Alessandra Nader"], ["name", "Madaline Wilderman"], ["description", "Vernia Kemmer"], ["created_at", "2018-09-05 06:04:07.796587"], ["updated_at", "2018-09-05 06:04:07.796587"]]  (0.6ms) 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", "Erin Kirlin"], ["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", "Erin Kirlin"], ["name", "Thomasina Nienow"], ["location_type_id", 6], ["description", "Nicolasa Bednar"], ["address", "Erasmo Kemmer"], ["created_at", "2018-09-05 06:04:07.802710"], ["updated_at", "2018-09-05 06:04:07.802710"]]  (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", "Nena Little"], ["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", "Floretta Feeney"], ["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", "Nena Little"], ["name", "Doug Hermann"], ["description", "Joe McCullough"], ["serial_number", "Floretta Feeney"], ["brand", "Cherie Armstrong"], ["item_model", "Krystyna Weimann"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 06:04:07.810246"], ["updated_at", "2018-09-05 06:04:07.810246"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "sammie@leannonschimmel.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", "Kelley Wolf"], ["last_name", "Renna Willms"], ["email", "sammie@leannonschimmel.info"], ["password_digest", "$2a$04$y7cX9jeZ95RZq.vSxhk6Zu9jKjmAV3wpAIpxoYAJeu8hcn10JEoLO"], ["created_at", "2018-09-05 06:04:07.818916"], ["updated_at", "2018-09-05 06:04:07.818916"]]  (1.8ms) 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", "lucinda@sauerhaley.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", "Salvatore Shields"], ["last_name", "Jarrod Auer"], ["email", "lucinda@sauerhaley.info"], ["password_digest", "$2a$04$rCizY14AlKtpOjP6qs.tr.2PIHOAtslmFw5o8WnwK6g17Mb9/x/da"], ["created_at", "2018-09-05 06:04:07.829521"], ["updated_at", "2018-09-05 06:04:07.829521"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"15", "authorized_by"=>"Janel Lueilwitz", "authorized_on"=>"2018-09-05", "created_by_id"=>"14", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"5", "chargeable_service_name"=>"Yuk Hermann", "equipment_item_id"=>"5", "equipment_item_name"=>"Doug Hermann", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Simona Stiedemann"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 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", ""], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 422 Unprocessable Entity in 20ms (ActiveRecord: 4.7ms)  (0.6ms) ROLLBACK  (0.7ms) 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", "tiesha_hoppe@kuhic.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", "Nicole Reichel"], ["last_name", "Lakendra Stanton"], ["email", "tiesha_hoppe@kuhic.biz"], ["password_digest", "$2a$04$tWFGR/6ItxtxAnCr0pS6sehSUJx81/7Zq4CqILfnOw5YE2YJxO0/q"], ["created_at", "2018-09-05 06:04:07.864746"], ["updated_at", "2018-09-05 06:04:07.864746"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "tenisha@halvorson.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", "Elwood Conroy"], ["last_name", "Kathrin Lynch"], ["email", "tenisha@halvorson.ca"], ["password_digest", "$2a$04$5.HzEhFja8pf71ab.iHFQeOJ.ssKaPSNQARA2HLYS/CegBb0.TvGe"], ["created_at", "2018-09-05 06:04:07.874220"], ["updated_at", "2018-09-05 06:04:07.874220"]]  (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", "trevor_kiehn@wintheiser.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", "Shera Rodriguez"], ["last_name", "Aaron Collier"], ["email", "trevor_kiehn@wintheiser.biz"], ["password_digest", "$2a$04$l0JgZ4LWJvFmybcijZLcS.Ml/zJh8qEub2.KrolCVYH39EWaBB18S"], ["created_at", "2018-09-05 06:04:07.882279"], ["updated_at", "2018-09-05 06:04:07.882279"]]  (0.5ms) RELEASE SAVEPOINT active_record_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", "Ok Bernhard"], ["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", "Ok Bernhard"], ["authorized_by", "Maurice Lockman"], ["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", 17], ["approved_by_id", 18], ["created_at", "2018-09-05 06:04:07.887898"], ["updated_at", "2018-09-05 06:04:07.887898"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Alpha Goodwin"}, "id"=>"5"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] 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]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (2.4ms) 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", "Ok Bernhard"], ["id", 5], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.2ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Alpha Goodwin"], ["updated_at", "2018-09-05 06:04:07.913080"], ["id", 5]]  (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", 16], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.39ms) Completed 200 OK in 24ms (Views: 1.6ms | ActiveRecord: 8.6ms) 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", 5], ["LIMIT", 1]]  (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", "mirian_west@walter.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", "Lala Schoen"], ["last_name", "Tracey Toy"], ["email", "mirian_west@walter.info"], ["password_digest", "$2a$04$LCpz7nWxb8ueQz.aBurc/u2p9FTCLtG9s5fKljGHvgwRqToQ2amPG"], ["created_at", "2018-09-05 06:04:07.927263"], ["updated_at", "2018-09-05 06:04:07.927263"]]  (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", "sheryll_stokes@lowe.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", "Johnetta Klein"], ["last_name", "Horace Upton"], ["email", "sheryll_stokes@lowe.name"], ["password_digest", "$2a$04$1mGdtsX6zs5jqSQIC9ufpeno3Zg8zcLzqgDGmLzialkXRyv0Beb4W"], ["created_at", "2018-09-05 06:04:07.933948"], ["updated_at", "2018-09-05 06:04:07.933948"]]  (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", "idell_gottlieb@hudson.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", "Xuan McCullough"], ["last_name", "Mariella Wehner"], ["email", "idell_gottlieb@hudson.name"], ["password_digest", "$2a$04$SvIBn4BakFSQk43zo5.sbuLrYROXBPwuGATHLXdCUW5azvGhHXrs."], ["created_at", "2018-09-05 06:04:07.940239"], ["updated_at", "2018-09-05 06:04:07.940239"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Stuart Crooks"], ["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", "Stuart Crooks"], ["authorized_by", "Wiley Murray"], ["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", 20], ["approved_by_id", 21], ["created_at", "2018-09-05 06:04:07.944686"], ["updated_at", "2018-09-05 06:04:07.944686"]]  (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", "Trista 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", "Vennie Bernhard"], ["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", "Trista Wuckert"], ["name", "Vennie Bernhard"], ["created_at", "2018-09-05 06:04:07.951510"], ["updated_at", "2018-09-05 06:04:07.951510"]]  (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", "Luz Oberbrunner"], ["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", "Luz Oberbrunner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.956726"], ["updated_at", "2018-09-05 06:04:07.956726"]]  (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", "Marcus Schroeder"], ["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", "Marcus Schroeder"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.962945"], ["updated_at", "2018-09-05 06:04:07.962945"]]  (0.7ms) 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", "Jasper Stamm"], ["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", "Jasper Stamm"], ["name", "Trudy Sauer"], ["address", "Herlinda Fritsch"], ["created_at", "2018-09-05 06:04:07.968876"], ["updated_at", "2018-09-05 06:04:07.968876"]]  (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", "Josiah Dare"], ["service_delivery_unit_id", 7], ["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", "Josiah Dare"], ["name", "Tamiko Mohr"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:04:07.974427"], ["updated_at", "2018-09-05 06:04:07.974427"]] 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", 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", "Josiah Dare"], ["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", "Josiah Dare"], ["name", "Tamiko Mohr"], ["description", "Default bundle for service 'Tamiko Mohr'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:04:07.979620"], ["updated_at", "2018-09-05 06:04:07.979620"]] 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", 7], ["chargeable_service_id", 7]]  (0.8ms) 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", "Song Ankunding"], ["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", "Antonette Denesik"], ["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", "Song Ankunding"], ["name", "Antonette Denesik"], ["created_at", "2018-09-05 06:04:07.989276"], ["updated_at", "2018-09-05 06:04:07.989276"]]  (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", "Coralee Prosacco"], ["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", "Coralee Prosacco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.993682"], ["updated_at", "2018-09-05 06:04:07.993682"]]  (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", "Kiara 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", "Kiara Parisian"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:07.998150"], ["updated_at", "2018-09-05 06:04:07.998150"]]  (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", "Rima Kunze"], ["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", "Rima Kunze"], ["name", "Tajuana Jewess"], ["address", "Joe Pfeffer"], ["created_at", "2018-09-05 06:04:08.002587"], ["updated_at", "2018-09-05 06:04:08.002587"]]  (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", "Mariana Koelpin"], ["service_delivery_unit_id", 8], ["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", "Mariana Koelpin"], ["name", "Ja Jenkins"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:04:08.007081"], ["updated_at", "2018-09-05 06:04:08.007081"]] 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", 8], ["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", "Mariana Koelpin"], ["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", "Mariana Koelpin"], ["name", "Ja Jenkins"], ["description", "Default bundle for service 'Ja Jenkins'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:04:08.013562"], ["updated_at", "2018-09-05 06:04:08.013562"]] 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", 8], ["chargeable_service_id", 8]]  (0.5ms) 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", "Jonell Rutherford"], ["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", "Alysha Crist"], ["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", "Jonell Rutherford"], ["name", "Alysha Crist"], ["description", "Quas dolores laudantium hic eaque tenetur. Est et officiis vel nihil quis sit a. Laboriosam omnis asperiores officia dolor. Consectetur soluta officiis sapiente sit animi temporibus facere."], ["created_at", "2018-09-05 06:04:08.023706"], ["updated_at", "2018-09-05 06:04:08.023706"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Cammy Zieme"], ["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", "Darline Oga"], ["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", "Cammy Zieme"], ["name", "Darline Oga"], ["description", "Aperiam qui consectetur optio facilis vitae. Nesciunt nemo et rerum consequuntur et et perferendis. Debitis quasi praesentium omnis atque."], ["equipment_type_id", 7], ["created_at", "2018-09-05 06:04:08.028984"], ["updated_at", "2018-09-05 06:04:08.028984"]]  (0.7ms) 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", "Bailey Windler"], ["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", "Bailey Windler"], ["name", "Willa Runte"], ["description", "Alina Schuster"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 06:04:08.033547"], ["updated_at", "2018-09-05 06:04:08.033547"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Sanora Howell"], ["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", "Milford Berge"], ["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", "Sanora Howell"], ["name", "Milford Berge"], ["description", "Jina DuBuque"], ["created_at", "2018-09-05 06:04:08.040160"], ["updated_at", "2018-09-05 06:04:08.040160"]]  (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", "Hyo Kutch"], ["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", "Hyo Kutch"], ["name", "Tonja Ward"], ["location_type_id", 7], ["description", "Lacey Koepp"], ["address", "Floyd Toy"], ["created_at", "2018-09-05 06:04:08.044619"], ["updated_at", "2018-09-05 06:04:08.044619"]]  (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", "Iliana Berge"], ["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", "Tiffaney Jacobi"], ["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", "Iliana Berge"], ["name", "Kamala Stiedemann"], ["description", "Loyd Prohaska"], ["serial_number", "Tiffaney Jacobi"], ["brand", "Tara McCullough"], ["item_model", "Daria Collins"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 06:04:08.050497"], ["updated_at", "2018-09-05 06:04:08.050497"]]  (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", "Erasmo Carter"], ["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", "Katharina Becker"], ["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", "Erasmo Carter"], ["name", "Katharina Becker"], ["description", "Aut dolor dolorum qui id temporibus laboriosam porro. Accusantium ducimus quia velit laudantium culpa molestias mollitia. Est ut dolorem eligendi suscipit et nostrum unde aut."], ["created_at", "2018-09-05 06:04:08.058737"], ["updated_at", "2018-09-05 06:04:08.058737"]]  (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", "Emilia Greenfelder"], ["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", "Carl Mitchell"], ["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", "Emilia Greenfelder"], ["name", "Carl Mitchell"], ["description", "Molestiae illo nesciunt quae laborum. Enim animi dicta et aut mollitia tempora. Laboriosam tempora voluptas quos culpa."], ["equipment_type_id", 8], ["created_at", "2018-09-05 06:04:08.064254"], ["updated_at", "2018-09-05 06:04:08.064254"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Sebastian Kirlin"], ["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", "Sebastian Kirlin"], ["name", "Drew Becker"], ["description", "Daniel Luettgen"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 06:04:08.069355"], ["updated_at", "2018-09-05 06:04:08.069355"]]  (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", "Clarence Ward"], ["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", "Eloisa McDermott"], ["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", "Clarence Ward"], ["name", "Eloisa McDermott"], ["description", "Gwendolyn Paucek"], ["created_at", "2018-09-05 06:04:08.075530"], ["updated_at", "2018-09-05 06:04:08.075530"]]  (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", "Margeret Goyette"], ["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", "Margeret Goyette"], ["name", "Maisie Blanda"], ["location_type_id", 8], ["description", "Lon Oberbrunner"], ["address", "Keeley O'Conner"], ["created_at", "2018-09-05 06:04:08.079983"], ["updated_at", "2018-09-05 06:04:08.079983"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Cristie Runolfsdottir"], ["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", "Nicolas Hahn"], ["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", "Cristie Runolfsdottir"], ["name", "Bree Waelchi"], ["description", "Robin Hoeger"], ["serial_number", "Nicolas Hahn"], ["brand", "Sherise Heathcote"], ["item_model", "Bari Emmerich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 06:04:08.086298"], ["updated_at", "2018-09-05 06:04:08.086298"]]  (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", "anastacia@oconnell.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", "Stella Doyle"], ["last_name", "Rubin Marvin"], ["email", "anastacia@oconnell.co.uk"], ["password_digest", "$2a$04$uZijmuIll5TbAfeDPmQNUOBVJfH1uk1XZVGAxCP/vqT1I3jj0pEv."], ["created_at", "2018-09-05 06:04:08.093145"], ["updated_at", "2018-09-05 06:04:08.093145"]]  (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", "tena@kub.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", "Bo Hudson"], ["last_name", "Angelena Runte"], ["email", "tena@kub.info"], ["password_digest", "$2a$04$DOFU5TEJ2bn1u7vqDGzrke8YssmA8z9heqj3aQtgLzDHJO3.2Zgzq"], ["created_at", "2018-09-05 06:04:08.099641"], ["updated_at", "2018-09-05 06:04:08.099641"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "hilton@yundtauer.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", "Damian Nicolas"], ["last_name", "Jerilyn Mueller"], ["email", "hilton@yundtauer.us"], ["password_digest", "$2a$04$5d9XJXHJVQ7yvOWzalXT/.0RB.vms2DhGRjS8pdsenuuZ1Rr2ji1q"], ["created_at", "2018-09-05 06:04:08.110579"], ["updated_at", "2018-09-05 06:04:08.110579"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (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", "gilda_paucek@wolffschimmel.co.uk"], ["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", "Laci Bergnaum"], ["last_name", "Micah Grant"], ["email", "gilda_paucek@wolffschimmel.co.uk"], ["password_digest", "$2a$04$mpT.7hhD9/PsHhnqNoFBwOFbKucz67pvxnHl78bo5VV5lNNLpnnhK"], ["created_at", "2018-09-05 06:04:08.118509"], ["updated_at", "2018-09-05 06:04:08.118509"]]  (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", "nancy_zboncak@hand.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", "Jacalyn Wiegand"], ["last_name", "Gabriella Feil"], ["email", "nancy_zboncak@hand.co.uk"], ["password_digest", "$2a$04$R/SlX/.8ibKwp1nuGogo8ecAdbosV07hptRYclZhLa90wtOVtyGiy"], ["created_at", "2018-09-05 06:04:08.124953"], ["updated_at", "2018-09-05 06:04:08.124953"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Shelton Hane"], ["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", "Shelton Hane"], ["authorized_by", "Leatrice Yundt"], ["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", 25], ["approved_by_id", 26], ["created_at", "2018-09-05 06:04:08.129435"], ["updated_at", "2018-09-05 06:04:08.129435"]]  (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", "Delana Spinka"], ["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", "Elfrieda Jerde"], ["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", "Delana Spinka"], ["name", "Elfrieda Jerde"], ["created_at", "2018-09-05 06:04:08.135859"], ["updated_at", "2018-09-05 06:04:08.135859"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Marhta Beahan"], ["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", "Marhta Beahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:08.143756"], ["updated_at", "2018-09-05 06:04:08.143756"]]  (0.8ms) 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", "Loralee Wintheiser"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Loralee Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:08.150894"], ["updated_at", "2018-09-05 06:04:08.150894"]]  (0.8ms) 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", "Salley Marks"], ["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", "Salley Marks"], ["name", "Louvenia Pagac"], ["address", "Jolynn Kemmer"], ["created_at", "2018-09-05 06:04:08.158493"], ["updated_at", "2018-09-05 06:04:08.158493"]]  (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", "Teresita Casper"], ["service_delivery_unit_id", 9], ["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", "Teresita Casper"], ["name", "Neda Cronin"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:04:08.164576"], ["updated_at", "2018-09-05 06:04:08.164576"]] 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", 9], ["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", "Teresita Casper"], ["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", "Teresita Casper"], ["name", "Neda Cronin"], ["description", "Default bundle for service 'Neda Cronin'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:04:08.170661"], ["updated_at", "2018-09-05 06:04:08.170661"]] 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.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", "Clarice Hills"], ["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", "Rose Williamson"], ["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", "Clarice Hills"], ["name", "Rose Williamson"], ["created_at", "2018-09-05 06:04:08.180645"], ["updated_at", "2018-09-05 06:04:08.180645"]]  (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", "Nola Abbott"], ["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", "Nola Abbott"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:08.185228"], ["updated_at", "2018-09-05 06:04:08.185228"]]  (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", "Candie Feeney"], ["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", "Candie Feeney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:08.190431"], ["updated_at", "2018-09-05 06:04:08.190431"]]  (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", "Yajaira Altenwerth"], ["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", "Yajaira Altenwerth"], ["name", "Elissa Yundt"], ["address", "Minnie Bergstrom"], ["created_at", "2018-09-05 06:04:08.194775"], ["updated_at", "2018-09-05 06:04:08.194775"]]  (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", "Ira Bednar"], ["service_delivery_unit_id", 10], ["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", "Ira Bednar"], ["name", "Augustina Stroman"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:04:08.199312"], ["updated_at", "2018-09-05 06:04:08.199312"]] 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", "Ira Bednar"], ["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", "Ira Bednar"], ["name", "Augustina Stroman"], ["description", "Default bundle for service 'Augustina Stroman'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:04:08.204854"], ["updated_at", "2018-09-05 06:04:08.204854"]] 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", 10], ["chargeable_service_id", 10]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lyndon Grant"], ["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", "Shakia Franecki"], ["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", "Lyndon Grant"], ["name", "Shakia Franecki"], ["description", "Ipsa ab aspernatur aut voluptas. Sed numquam reiciendis voluptatem aut. Corrupti voluptatem ut aspernatur perferendis soluta quia maxime rerum."], ["created_at", "2018-09-05 06:04:08.214095"], ["updated_at", "2018-09-05 06:04:08.214095"]]  (0.5ms) 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", "Delbert Larkin"], ["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", "Walter Erdman"], ["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", "Delbert Larkin"], ["name", "Walter Erdman"], ["description", "Laudantium dolor laboriosam recusandae sed quidem voluptatem exercitationem. Consequatur velit ex illo aliquam neque voluptas. Rerum quidem quis voluptates quos alias id et itaque. Odit earum autem culpa eos omnis."], ["equipment_type_id", 9], ["created_at", "2018-09-05 06:04:08.220502"], ["updated_at", "2018-09-05 06:04:08.220502"]]  (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", "Karyl Gusikowski"], ["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", "Karyl Gusikowski"], ["name", "Katelin Howell"], ["description", "Rickey Bednar"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 06:04:08.225146"], ["updated_at", "2018-09-05 06:04:08.225146"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Joey Waelchi"], ["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", "Lorrie Schroeder"], ["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", "Joey Waelchi"], ["name", "Lorrie Schroeder"], ["description", "Gisele Rosenbaum"], ["created_at", "2018-09-05 06:04:08.231194"], ["updated_at", "2018-09-05 06:04:08.231194"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kerry Thompson"], ["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", "Kerry Thompson"], ["name", "Alonso Labadie"], ["location_type_id", 9], ["description", "Shasta McClure"], ["address", "Leo Tremblay"], ["created_at", "2018-09-05 06:04:08.236118"], ["updated_at", "2018-09-05 06:04:08.236118"]]  (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", "Duane Boyer"], ["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", "Emery Howe"], ["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", "Duane Boyer"], ["name", "Galen Gorczany"], ["description", "Daisy D'Amore"], ["serial_number", "Emery Howe"], ["brand", "Lidia Corkery"], ["item_model", "Kara Hoeger"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 06:04:08.241761"], ["updated_at", "2018-09-05 06:04:08.241761"]]  (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", "Kathleen Bins"], ["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", "Jewel Bauch"], ["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", "Kathleen Bins"], ["name", "Jewel Bauch"], ["description", "Rem iusto aut inventore quia illo. Tempora deleniti et amet voluptatibus et ut. Hic explicabo veritatis eum iste ut soluta accusantium. Officiis rerum illo aliquid sunt odit voluptatem occaecati veritatis."], ["created_at", "2018-09-05 06:04:08.248668"], ["updated_at", "2018-09-05 06:04:08.248668"]]  (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", "Awilda Weimann"], ["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", "Amber Howell"], ["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", "Awilda Weimann"], ["name", "Amber Howell"], ["description", "Iure illo odio cum culpa. Magni sit sapiente nemo quae et. Laboriosam veniam animi incidunt soluta sed quos."], ["equipment_type_id", 10], ["created_at", "2018-09-05 06:04:08.254630"], ["updated_at", "2018-09-05 06:04:08.254630"]]  (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", "Angie Zboncak"], ["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", "Angie Zboncak"], ["name", "Billie Yundt"], ["description", "Claude Yost"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 06:04:08.258847"], ["updated_at", "2018-09-05 06:04:08.258847"]]  (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", "Karyn Kirlin"], ["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", "Maricela Watsica"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Karyn Kirlin"], ["name", "Maricela Watsica"], ["description", "Claude McKenzie"], ["created_at", "2018-09-05 06:04:08.264549"], ["updated_at", "2018-09-05 06:04:08.264549"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Haley Considine"], ["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", "Haley Considine"], ["name", "Shelly Labadie"], ["location_type_id", 10], ["description", "Zenia Cassin"], ["address", "Ute Schumm"], ["created_at", "2018-09-05 06:04:08.269503"], ["updated_at", "2018-09-05 06:04:08.269503"]]  (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", "Benny Flatley"], ["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", "Joshua Hilll"], ["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", "Benny Flatley"], ["name", "Palma Collins"], ["description", "Dorinda Hand"], ["serial_number", "Joshua Hilll"], ["brand", "Vivien Jerde"], ["item_model", "Tianna Johnson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 06:04:08.275053"], ["updated_at", "2018-09-05 06:04:08.275053"]]  (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", "janetta@oreilly.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", "Annabel Schmitt"], ["last_name", "Yolanda Collier"], ["email", "janetta@oreilly.biz"], ["password_digest", "$2a$04$Gg8Cz5ZxxjvNc.VknMhaMOvcRXI2s.LatNwvJ38MXPXgnidrZFEpK"], ["created_at", "2018-09-05 06:04:08.282012"], ["updated_at", "2018-09-05 06:04:08.282012"]]  (0.8ms) 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", "keshia@cummerata.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", "Quinton Bailey"], ["last_name", "Ching Breitenberg"], ["email", "keshia@cummerata.info"], ["password_digest", "$2a$04$x/4ievsRLK2IohqOzB7kyuEscFc8VJJay7R1ZsiV1b7XFaWjxca1G"], ["created_at", "2018-09-05 06:04:08.288849"], ["updated_at", "2018-09-05 06:04:08.288849"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"28", "authorized_by"=>"Rebekah Schinner", "authorized_on"=>"2018-09-05", "created_by_id"=>"27", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"9", "chargeable_service_name"=>"Augustina Stroman", "equipment_item_id"=>"9", "equipment_item_name"=>"Palma Collins", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Bruna Bradtke"}, "id"=>"7"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["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.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.14ms) Completed 422 Unprocessable Entity in 14ms (Views: 4.1ms | ActiveRecord: 5.2ms)  (1.1ms) ROLLBACK  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) 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", "sheila@dickens.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", "Nancey Halvorson"], ["last_name", "Ayesha Miller"], ["email", "sheila@dickens.co.uk"], ["password_digest", "$2a$04$t.N9xcruOZkp33Rr.p2j3euqTtLyV3JII0VCcF2hYtE67yVRVzhB."], ["created_at", "2018-09-05 06:04:41.472549"], ["updated_at", "2018-09-05 06:04:41.472549"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "lily_gibson@moore.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", "Larisa Becker"], ["last_name", "Shalanda Blick"], ["email", "lily_gibson@moore.ca"], ["password_digest", "$2a$04$igX/6PGc/2OBi8ji8AnVIu8.Z/YOxyh6crNliXoCBz9ASfvDTmie6"], ["created_at", "2018-09-05 06:04:41.505988"], ["updated_at", "2018-09-05 06:04:41.505988"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jeffie@johnson.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", "Arnetta Kihn"], ["last_name", "Evelyn Ebert"], ["email", "jeffie@johnson.ca"], ["password_digest", "$2a$04$7yHmh9ktYHUdDTKMYHEv3OmaYbcixbbdXnnDZr6Up3xEf6pbdfA06"], ["created_at", "2018-09-05 06:04:41.523382"], ["updated_at", "2018-09-05 06:04:41.523382"]]  (0.7ms) 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", "Winona Crist"], ["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", "Winona Crist"], ["authorized_by", "Ofelia Cormier"], ["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", 2], ["approved_by_id", 3], ["created_at", "2018-09-05 06:04:41.532915"], ["updated_at", "2018-09-05 06:04:41.532915"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#index as HTML Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (1.0ms) 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: 2, approved_by_id: 3, remark: nil, created_at: "2018-09-05 06:04:41", updated_at: "2018-09-05 06:04:41"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.46ms) Completed 200 OK in 24ms (Views: 16.0ms | ActiveRecord: 3.5ms)  (1.0ms) ROLLBACK  (0.4ms) 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", "tiana@goyette.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", "Ward Raynor"], ["last_name", "Darline Crooks"], ["email", "tiana@goyette.us"], ["password_digest", "$2a$04$IlOr3kMnJ8F9iTjwcvSyuO8x0SofdEJm/xtEHkNcrCEnmjYs1wecC"], ["created_at", "2018-09-05 06:04:41.574052"], ["updated_at", "2018-09-05 06:04:41.574052"]]  (0.4ms) 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", "francene.quitzon@bayer.biz"], ["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", "Emogene Stokes"], ["last_name", "Natasha Yundt"], ["email", "francene.quitzon@bayer.biz"], ["password_digest", "$2a$04$S1lcnaKJRBu/Eejafj0puuiY6G93UISqQHCdi8ZojYP2EnSfCjq5K"], ["created_at", "2018-09-05 06:04:41.581300"], ["updated_at", "2018-09-05 06:04:41.581300"]]  (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", "nikita@ratke.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", "Reagan Erdman"], ["last_name", "Fredericka D'Amore"], ["email", "nikita@ratke.info"], ["password_digest", "$2a$04$bTeLd.Q3TakmPM885sHYxOXc49DnfnU7OWhGV/fUbIrErz5KKHq4q"], ["created_at", "2018-09-05 06:04:41.588029"], ["updated_at", "2018-09-05 06:04:41.588029"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Valentina Nitzsche"], ["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", "Valentina Nitzsche"], ["authorized_by", "Lawrence Reynolds"], ["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", 5], ["approved_by_id", 6], ["created_at", "2018-09-05 06:04:41.593256"], ["updated_at", "2018-09-05 06:04:41.593256"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["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", 2], ["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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.71ms) Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 2.6ms)  (1.2ms) 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", "rosena@ricetromp.co.uk"], ["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", "Giovanna Leuschke"], ["last_name", "Zachariah Rosenbaum"], ["email", "rosena@ricetromp.co.uk"], ["password_digest", "$2a$04$MVLmsI2d9YiYmjjFGJ9KjO48rjf7wXRtpd1FhjRsKDD0AeNqoT2u."], ["created_at", "2018-09-05 06:04:41.615297"], ["updated_at", "2018-09-05 06:04:41.615297"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.0ms) 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", "Armanda 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", "Oliva Schmitt"], ["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", "Armanda Bechtelar"], ["name", "Oliva Schmitt"], ["created_at", "2018-09-05 06:04:41.667625"], ["updated_at", "2018-09-05 06:04:41.667625"]]  (0.7ms) 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", "Rickie Shanahan"], ["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", "Rickie Shanahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:41.686008"], ["updated_at", "2018-09-05 06:04:41.686008"]]  (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", "Logan Bayer"], ["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", "Logan Bayer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:41.692184"], ["updated_at", "2018-09-05 06:04:41.692184"]]  (0.4ms) 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", "Elease Littel"], ["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", "Elease Littel"], ["name", "Echo Hagenes"], ["address", "Laurence Kertzmann"], ["created_at", "2018-09-05 06:04:41.708599"], ["updated_at", "2018-09-05 06:04:41.708599"]]  (0.5ms) 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", "Takako Barton"], ["service_delivery_unit_id", 1], ["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", "Takako Barton"], ["name", "Lelia Jenkins"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:04:41.715457"], ["updated_at", "2018-09-05 06:04:41.715457"]] 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", 1], ["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 Barton"], ["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", "Takako Barton"], ["name", "Lelia Jenkins"], ["description", "Default bundle for service 'Lelia Jenkins'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:04:41.746325"], ["updated_at", "2018-09-05 06:04:41.746325"]] 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.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Benton Nader"], ["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", "Zackary Thiel"], ["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", "Benton Nader"], ["name", "Zackary Thiel"], ["created_at", "2018-09-05 06:04:41.776384"], ["updated_at", "2018-09-05 06:04:41.776384"]]  (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", "Susanna Friesen"], ["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", "Susanna Friesen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:41.781216"], ["updated_at", "2018-09-05 06:04:41.781216"]]  (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", "Fay Lind"], ["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", "Fay Lind"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:41.786022"], ["updated_at", "2018-09-05 06:04:41.786022"]]  (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", "Roseann Schinner"], ["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", "Roseann Schinner"], ["name", "Lucy Windler"], ["address", "Naida Towne"], ["created_at", "2018-09-05 06:04:41.791396"], ["updated_at", "2018-09-05 06:04:41.791396"]]  (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", "Camelia Bayer"], ["service_delivery_unit_id", 2], ["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", "Camelia Bayer"], ["name", "Toby Abshire"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:04:41.796054"], ["updated_at", "2018-09-05 06:04:41.796054"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Camelia Bayer"], ["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", "Camelia Bayer"], ["name", "Toby Abshire"], ["description", "Default bundle for service 'Toby Abshire'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:04:41.801453"], ["updated_at", "2018-09-05 06:04:41.801453"]] 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", 2], ["chargeable_service_id", 2]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Erna Little"], ["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", "Bob Graham"], ["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", "Erna Little"], ["name", "Bob Graham"], ["description", "Cumque alias quaerat ad delectus molestiae nobis. Omnis tenetur quo et non. Autem quae quidem molestiae eligendi. Odit dolorem ut et dolor blanditiis. Expedita accusantium qui aspernatur ut non consectetur soluta."], ["created_at", "2018-09-05 06:04:41.894303"], ["updated_at", "2018-09-05 06:04:41.894303"]]  (0.5ms) 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", "Latosha Cassin"], ["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", "Lynwood Barton"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.4ms) 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", "Latosha Cassin"], ["name", "Lynwood Barton"], ["description", "Quia ut nihil vitae assumenda consequatur est corrupti iusto. Nisi libero qui occaecati qui aut aliquid et. Repellendus aspernatur veniam sunt et quaerat in. Veniam saepe quae culpa mollitia sed voluptas. Voluptatibus aut qui eaque dolor aut deserunt voluptates cum."], ["equipment_type_id", 1], ["created_at", "2018-09-05 06:04:41.902091"], ["updated_at", "2018-09-05 06:04:41.902091"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Georgene Beatty"], ["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", "Georgene Beatty"], ["name", "Star Rohan"], ["description", "Wilton Feil"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 06:04:41.908873"], ["updated_at", "2018-09-05 06:04:41.908873"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Judith Barton"], ["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", "Fatima Waelchi"], ["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", "Judith Barton"], ["name", "Fatima Waelchi"], ["description", "Cleo Kunde"], ["created_at", "2018-09-05 06:04:41.944519"], ["updated_at", "2018-09-05 06:04:41.944519"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Rosana Wilkinson"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.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", "Rosana Wilkinson"], ["name", "Conception Satterfield"], ["location_type_id", 1], ["description", "Nieves Schultz"], ["address", "Gale Windler"], ["created_at", "2018-09-05 06:04:41.953523"], ["updated_at", "2018-09-05 06:04:41.953523"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Rossie Hammes"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Lane Witting"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Rossie Hammes"], ["name", "Lorine Labadie"], ["description", "Bernardo Grant"], ["serial_number", "Lane Witting"], ["brand", "Torrie Homenick"], ["item_model", "Mario Johnston"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 06:04:41.967885"], ["updated_at", "2018-09-05 06:04:41.967885"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Thuy D'Amore"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Marisha Weimann"], ["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", "Thuy D'Amore"], ["name", "Marisha Weimann"], ["description", "Vel recusandae eveniet quia earum omnis amet iure. Deserunt enim velit rerum perferendis porro consequatur optio. Facere dolorem minus id qui quia necessitatibus totam consectetur."], ["created_at", "2018-09-05 06:04:41.980035"], ["updated_at", "2018-09-05 06:04:41.980035"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Ila Adams"], ["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", "Sherise Hilpert"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.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", "Ila Adams"], ["name", "Sherise Hilpert"], ["description", "Libero nobis voluptates perferendis dolore accusantium quibusdam non voluptatem. Porro exercitationem fugiat error vel et. Odit unde nihil dolorem in velit id in. Quae iusto nihil voluptas ea ut delectus. Dolorum itaque aut est nulla."], ["equipment_type_id", 2], ["created_at", "2018-09-05 06:04:41.988607"], ["updated_at", "2018-09-05 06:04:41.988607"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Sophie Swift"], ["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", "Sophie Swift"], ["name", "Ludie Lehner"], ["description", "Aretha Jerde"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 06:04:41.995685"], ["updated_at", "2018-09-05 06:04:41.995685"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Dawne Gutkowski"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Temple Bartoletti"], ["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", "Dawne Gutkowski"], ["name", "Temple Bartoletti"], ["description", "Carlo Ferry"], ["created_at", "2018-09-05 06:04:42.005459"], ["updated_at", "2018-09-05 06:04:42.005459"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Albina Bauch"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.4ms) 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", "Albina Bauch"], ["name", "Larissa Gerhold"], ["location_type_id", 2], ["description", "Virginia Simonis"], ["address", "Alonso Kilback"], ["created_at", "2018-09-05 06:04:42.011643"], ["updated_at", "2018-09-05 06:04:42.011643"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (4.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", "Bryant Vandervort"], ["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", "Moshe Marvin"], ["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", "Bryant Vandervort"], ["name", "Chandra Homenick"], ["description", "Alysia Pfannerstill"], ["serial_number", "Moshe Marvin"], ["brand", "Jaleesa Boyle"], ["item_model", "Germaine Berge"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 06:04:42.024202"], ["updated_at", "2018-09-05 06:04:42.024202"]]  (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", "syble@buckridge.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", "Tosha Grimes"], ["last_name", "Tami Larkin"], ["email", "syble@buckridge.com"], ["password_digest", "$2a$04$tlsaV02M3.oeh8M1JFOHfuiInZl4VjfMRvbKeZyJ5yX2mqSGQI8Ie"], ["created_at", "2018-09-05 06:04:42.030957"], ["updated_at", "2018-09-05 06:04:42.030957"]]  (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", "carmen@reynoldswilderman.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", "Zelma Hodkiewicz"], ["last_name", "Soraya Luettgen"], ["email", "carmen@reynoldswilderman.com"], ["password_digest", "$2a$04$SWkE1dVc/EY7TN7LTXr3lepGaCvBT32y0CXz0tggvZpRUyAGJM6ay"], ["created_at", "2018-09-05 06:04:42.037882"], ["updated_at", "2018-09-05 06:04:42.037882"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"9", "authorized_by"=>"Lettie Hauck", "authorized_on"=>"2018-09-05", "created_by_id"=>"8", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"1", "chargeable_service_name"=>"Toby Abshire", "equipment_item_id"=>"1", "equipment_item_name"=>"Chandra Homenick", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Jacquie Fahey", "status"=>"Nick Homenick"}} Mks::Auth::User Load (1.1ms) 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.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."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 LIMIT $2 [["reference_number", "Jacquie Fahey"], ["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", "Jacquie Fahey"], ["authorized_by", "Lettie Hauck"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"1\",\"chargeable_service_name\":\"Toby Abshire\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Chandra Homenick\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 7], ["approved_by_id", 9], ["created_at", "2018-09-05 06:04:42.055890"], ["updated_at", "2018-09-05 06:04:42.055890"]]  (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", 7], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.43ms) Completed 201 Created in 15ms (Views: 2.2ms | ActiveRecord: 6.0ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.5ms) ROLLBACK  (0.7ms) 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", "rene@abbottmraz.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", "Sueann Ratke"], ["last_name", "Shea Cartwright"], ["email", "rene@abbottmraz.us"], ["password_digest", "$2a$04$87m1113JEVJl4M288jTHouxbO/XaJSSj6fKfxtP3EeZerQMlUyreO"], ["created_at", "2018-09-05 06:04:42.073415"], ["updated_at", "2018-09-05 06:04:42.073415"]]  (0.7ms) 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", "Jade Gleichner"], ["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", "Marjorie Harvey"], ["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", "Jade Gleichner"], ["name", "Marjorie Harvey"], ["created_at", "2018-09-05 06:04:42.080900"], ["updated_at", "2018-09-05 06:04:42.080900"]]  (0.6ms) 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", "Bruce 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", "Bruce Hermiston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.086548"], ["updated_at", "2018-09-05 06:04:42.086548"]]  (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", "Tajuana Okuneva"], ["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", "Tajuana Okuneva"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.091381"], ["updated_at", "2018-09-05 06:04:42.091381"]]  (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", "Dwayne Stark"], ["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", "Dwayne Stark"], ["name", "Kamala Marks"], ["address", "Chery Schneider"], ["created_at", "2018-09-05 06:04:42.095865"], ["updated_at", "2018-09-05 06:04:42.095865"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Stephenie Hessel"], ["service_delivery_unit_id", 3], ["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", "Stephenie Hessel"], ["name", "Julianna Thompson"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:04:42.101340"], ["updated_at", "2018-09-05 06:04:42.101340"]] 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", 3], ["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", "Stephenie Hessel"], ["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", "Stephenie Hessel"], ["name", "Julianna Thompson"], ["description", "Default bundle for service 'Julianna Thompson'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:04:42.108652"], ["updated_at", "2018-09-05 06:04:42.108652"]] 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.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", "Lida Lubowitz"], ["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", "Shavonda Eichmann"], ["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", "Lida Lubowitz"], ["name", "Shavonda Eichmann"], ["created_at", "2018-09-05 06:04:42.118005"], ["updated_at", "2018-09-05 06:04:42.118005"]]  (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", "Rebbecca Brakus"], ["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", "Rebbecca Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.124296"], ["updated_at", "2018-09-05 06:04:42.124296"]]  (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", "Milford Koelpin"], ["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", "Milford Koelpin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.129530"], ["updated_at", "2018-09-05 06:04:42.129530"]]  (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", "Julee Rutherford"], ["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", "Julee Rutherford"], ["name", "Karoline Schowalter"], ["address", "Chanell Heller"], ["created_at", "2018-09-05 06:04:42.134449"], ["updated_at", "2018-09-05 06:04:42.134449"]]  (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", "Ellan Walter"], ["service_delivery_unit_id", 4], ["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", "Ellan Walter"], ["name", "Ty Sauer"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:04:42.139284"], ["updated_at", "2018-09-05 06:04:42.139284"]] 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", 4], ["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", "Ellan Walter"], ["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", "Ellan Walter"], ["name", "Ty Sauer"], ["description", "Default bundle for service 'Ty Sauer'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:04:42.145227"], ["updated_at", "2018-09-05 06:04:42.145227"]] 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", 4], ["chargeable_service_id", 4]]  (0.7ms) 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", "Norene Goldner"], ["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", "Latrina McKenzie"], ["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", "Norene Goldner"], ["name", "Latrina McKenzie"], ["description", "Ipsam dolores ad est nisi eaque aliquid libero qui. Nobis rerum voluptatibus dolor nihil ullam enim quaerat dolores. Odit quo nostrum possimus similique aut incidunt eum. Qui aut quibusdam maiores rerum atque est eligendi. Sed vero et cum incidunt molestiae eius."], ["created_at", "2018-09-05 06:04:42.157195"], ["updated_at", "2018-09-05 06:04:42.157195"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Tillie Nitzsche"], ["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", "Kathern Hintz"], ["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", "Tillie Nitzsche"], ["name", "Kathern Hintz"], ["description", "Fuga ratione illum labore et autem. Accusamus reprehenderit nihil sed inventore aut. Eius blanditiis quaerat quisquam placeat qui qui doloremque ad."], ["equipment_type_id", 3], ["created_at", "2018-09-05 06:04:42.163380"], ["updated_at", "2018-09-05 06:04:42.163380"]]  (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", "Jefferey Macejkovic"], ["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", "Jefferey Macejkovic"], ["name", "Gretta Torp"], ["description", "Nola Klocko"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 06:04:42.168117"], ["updated_at", "2018-09-05 06:04:42.168117"]]  (0.7ms) 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", "Forest West"], ["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", "Antione Wilderman"], ["LIMIT", 1]] Mks::Edm::LocationType Create (5.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Forest West"], ["name", "Antione Wilderman"], ["description", "Noella Lesch"], ["created_at", "2018-09-05 06:04:42.176284"], ["updated_at", "2018-09-05 06:04:42.176284"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Kattie Larson"], ["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", "Kattie Larson"], ["name", "Raylene Adams"], ["location_type_id", 3], ["description", "Victor Strosin"], ["address", "Alva Halvorson"], ["created_at", "2018-09-05 06:04:42.186427"], ["updated_at", "2018-09-05 06:04:42.186427"]]  (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", "Paige Nicolas"], ["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", "Lynette Sipes"], ["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", "Paige Nicolas"], ["name", "Rosann Trantow"], ["description", "Johnsie Lesch"], ["serial_number", "Lynette Sipes"], ["brand", "Donny Moen"], ["item_model", "Dolly Ullrich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 06:04:42.192082"], ["updated_at", "2018-09-05 06:04:42.192082"]]  (0.5ms) 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", "Jeanett Klein"], ["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", "Floyd Padberg"], ["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", "Jeanett Klein"], ["name", "Floyd Padberg"], ["description", "Aperiam voluptatibus error nihil quas tempore iusto. Ipsa enim molestiae numquam qui eius sit itaque. Accusantium dicta qui facilis enim possimus assumenda voluptatum. Est est ut impedit tenetur."], ["created_at", "2018-09-05 06:04:42.200383"], ["updated_at", "2018-09-05 06:04:42.200383"]]  (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", "Diamond Labadie"], ["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", "Laverna Swift"], ["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", "Diamond Labadie"], ["name", "Laverna Swift"], ["description", "Occaecati ut quibusdam repudiandae qui. Rerum minima sed consequatur ad itaque necessitatibus. Quod assumenda autem quis itaque a fugit facere qui. Modi qui perspiciatis atque excepturi enim aspernatur laborum."], ["equipment_type_id", 4], ["created_at", "2018-09-05 06:04:42.206702"], ["updated_at", "2018-09-05 06:04:42.206702"]]  (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", "Sanford Welch"], ["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", "Sanford Welch"], ["name", "Valeri Kunze"], ["description", "Gus Rolfson"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 06:04:42.211288"], ["updated_at", "2018-09-05 06:04:42.211288"]]  (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", "Lupe Conroy"], ["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", "Misty Bogan"], ["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", "Lupe Conroy"], ["name", "Misty Bogan"], ["description", "Ginette Wilderman"], ["created_at", "2018-09-05 06:04:42.217894"], ["updated_at", "2018-09-05 06:04:42.217894"]]  (0.4ms) 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", "Lizbeth Johns"], ["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", "Lizbeth Johns"], ["name", "Paul Smitham"], ["location_type_id", 4], ["description", "Milly Stracke"], ["address", "Allyson McGlynn"], ["created_at", "2018-09-05 06:04:42.222330"], ["updated_at", "2018-09-05 06:04:42.222330"]]  (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", "Kacy Trantow"], ["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", "Rita Kub"], ["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", "Kacy Trantow"], ["name", "Jewell Luettgen"], ["description", "Nestor Welch"], ["serial_number", "Rita Kub"], ["brand", "Shemika Hayes"], ["item_model", "Jadwiga Bartoletti"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 06:04:42.229078"], ["updated_at", "2018-09-05 06:04:42.229078"]]  (0.8ms) 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", "connie.turcotte@wyman.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", "Amos Hauck"], ["last_name", "Mei Reynolds"], ["email", "connie.turcotte@wyman.name"], ["password_digest", "$2a$04$AzriSNCTP1ctnfntP1PTf.RfeWRPoLaWjNSVIPPunmRaLIo81HuA2"], ["created_at", "2018-09-05 06:04:42.237224"], ["updated_at", "2018-09-05 06:04:42.237224"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "nadine@jones.name"], ["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", "Shavonda Cartwright"], ["last_name", "Shanita Hudson"], ["email", "nadine@jones.name"], ["password_digest", "$2a$04$ukedPUk.W2hDGsYliz2Jie87tFgJdlniHMumhMRGJ/FdXt.AP34lO"], ["created_at", "2018-09-05 06:04:42.244982"], ["updated_at", "2018-09-05 06:04:42.244982"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"12", "authorized_by"=>"Luise Doyle", "authorized_on"=>"2018-09-05", "created_by_id"=>"11", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"3", "chargeable_service_name"=>"Ty Sauer", "equipment_item_id"=>"3", "equipment_item_name"=>"Jewell Luettgen", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Loren Graham", "status"=>"Jeramy Howell"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["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", 10], ["LIMIT", 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", "Loren Graham"], ["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", "Loren Graham"], ["authorized_by", "Luise Doyle"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"3\",\"chargeable_service_name\":\"Ty Sauer\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Jewell Luettgen\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 10], ["approved_by_id", 12], ["created_at", "2018-09-05 06:04:42.258973"], ["updated_at", "2018-09-05 06:04:42.258973"]]  (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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.45ms) Completed 201 Created in 13ms (Views: 1.9ms | ActiveRecord: 5.6ms) Mks::Rate::RateChangeRequest Load (1.3ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" ORDER BY "mks_rate_rate_change_requests"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.9ms) 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", "lanell@orn.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", "Claretha Koss"], ["last_name", "Etsuko Barton"], ["email", "lanell@orn.co.uk"], ["password_digest", "$2a$04$ZRn95I9RYo4o8wwpFAi3B.nsrENzd04dNj76ExkkHsIxYT/R.D5ei"], ["created_at", "2018-09-05 06:04:42.279820"], ["updated_at", "2018-09-05 06:04:42.279820"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leslie Morissette"], ["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", "Whitney West"], ["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", "Leslie Morissette"], ["name", "Whitney West"], ["created_at", "2018-09-05 06:04:42.289882"], ["updated_at", "2018-09-05 06:04:42.289882"]]  (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", "Cleta Cormier"], ["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", "Cleta Cormier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.296761"], ["updated_at", "2018-09-05 06:04:42.296761"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Stanton Gleason"], ["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", "Stanton Gleason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.302676"], ["updated_at", "2018-09-05 06:04:42.302676"]]  (0.6ms) 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", "Marilou Kshlerin"], ["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", "Marilou Kshlerin"], ["name", "Imogene Schulist"], ["address", "Darrick Prosacco"], ["created_at", "2018-09-05 06:04:42.308571"], ["updated_at", "2018-09-05 06:04:42.308571"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Tammera Marks"], ["service_delivery_unit_id", 5], ["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", "Tammera Marks"], ["name", "Jeanette Herman"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:04:42.315199"], ["updated_at", "2018-09-05 06:04:42.315199"]] 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", 5], ["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", "Tammera Marks"], ["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", "Tammera Marks"], ["name", "Jeanette Herman"], ["description", "Default bundle for service 'Jeanette Herman'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:04:42.323755"], ["updated_at", "2018-09-05 06:04:42.323755"]] 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", 5], ["chargeable_service_id", 5]]  (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", "Audie Schamberger"], ["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", "Kelly McDermott"], ["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", "Audie Schamberger"], ["name", "Kelly McDermott"], ["created_at", "2018-09-05 06:04:42.333802"], ["updated_at", "2018-09-05 06:04:42.333802"]]  (1.3ms) 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", "Catherin 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", "Catherin Hansen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.340623"], ["updated_at", "2018-09-05 06:04:42.340623"]]  (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", "Christia Wunsch"], ["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", "Christia Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.346349"], ["updated_at", "2018-09-05 06:04:42.346349"]]  (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", "Autumn Brown"], ["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", "Autumn Brown"], ["name", "Brandon Bechtelar"], ["address", "Babette Schuster"], ["created_at", "2018-09-05 06:04:42.352356"], ["updated_at", "2018-09-05 06:04:42.352356"]]  (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", "Marx Boehm"], ["service_delivery_unit_id", 6], ["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", "Marx Boehm"], ["name", "Lorna Schamberger"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:04:42.357481"], ["updated_at", "2018-09-05 06:04:42.357481"]] 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", 6], ["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", "Marx Boehm"], ["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", "Marx Boehm"], ["name", "Lorna Schamberger"], ["description", "Default bundle for service 'Lorna Schamberger'"], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:04:42.363377"], ["updated_at", "2018-09-05 06:04:42.363377"]] 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", 6], ["chargeable_service_id", 6]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Lesley Kirlin"], ["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", "Lorelei Rowe"], ["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", "Lesley Kirlin"], ["name", "Lorelei Rowe"], ["description", "Aut consectetur ipsa et libero eligendi exercitationem. Dolorem consequatur ut porro nihil cupiditate reiciendis harum. Vel aperiam omnis laudantium aut recusandae quae dolor et."], ["created_at", "2018-09-05 06:04:42.377273"], ["updated_at", "2018-09-05 06:04:42.377273"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Doretha Mosciski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Valda Shanahan"], ["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", "Doretha Mosciski"], ["name", "Valda Shanahan"], ["description", "Sunt non nemo accusamus iste. Ut sint eveniet sint commodi beatae consequatur ea enim. Quod quasi sed natus sunt dolor nesciunt ea atque. Quos et ea nam natus quibusdam ab dolores sed."], ["equipment_type_id", 5], ["created_at", "2018-09-05 06:04:42.386174"], ["updated_at", "2018-09-05 06:04:42.386174"]]  (0.7ms) 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", "Alyse Considine"], ["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", "Alyse Considine"], ["name", "Kanisha Sporer"], ["description", "Rolande Smitham"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 06:04:42.391494"], ["updated_at", "2018-09-05 06:04:42.391494"]]  (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", "Gay Stamm"], ["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", "Carlene Moore"], ["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", "Gay Stamm"], ["name", "Carlene Moore"], ["description", "Julieta Torphy"], ["created_at", "2018-09-05 06:04:42.400430"], ["updated_at", "2018-09-05 06:04:42.400430"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Jordan Treutel"], ["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", "Jordan Treutel"], ["name", "Rafael Brown"], ["location_type_id", 5], ["description", "Marylouise Corwin"], ["address", "Courtney Goyette"], ["created_at", "2018-09-05 06:04:42.405831"], ["updated_at", "2018-09-05 06:04:42.405831"]]  (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", "Tequila Shields"], ["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", "Louann Morar"], ["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", "Tequila Shields"], ["name", "Isela Ryan"], ["description", "Gaston Stroman"], ["serial_number", "Louann Morar"], ["brand", "Mirtha Kihn"], ["item_model", "Fran Yundt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 06:04:42.414266"], ["updated_at", "2018-09-05 06:04:42.414266"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Jani Rohan"], ["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", "Antonina Bruen"], ["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", "Jani Rohan"], ["name", "Antonina Bruen"], ["description", "Est non temporibus vel eius quos beatae labore. Nesciunt perspiciatis aut repudiandae cum quis aspernatur. Eos labore ut eum veritatis dolore. Sunt placeat molestias et laudantium dicta qui deserunt."], ["created_at", "2018-09-05 06:04:42.424759"], ["updated_at", "2018-09-05 06:04:42.424759"]]  (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", "Vasiliki Lueilwitz"], ["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", "Nohemi Reichert"], ["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", "Vasiliki Lueilwitz"], ["name", "Nohemi Reichert"], ["description", "Qui fuga ut dolorem adipisci. Qui accusantium velit autem vel ullam facilis odit non. Excepturi vel alias aut libero tenetur adipisci ut. Magnam quaerat neque beatae voluptatem quia voluptates. Et dicta pariatur vel minima dolorem qui neque earum."], ["equipment_type_id", 6], ["created_at", "2018-09-05 06:04:42.431231"], ["updated_at", "2018-09-05 06:04:42.431231"]]  (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", "Leone Klein"], ["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", "Leone Klein"], ["name", "Dori Bode"], ["description", "Venus Anderson"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 06:04:42.436921"], ["updated_at", "2018-09-05 06:04:42.436921"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Wendie Beer"], ["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", "Kimberlee Jenkins"], ["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", "Wendie Beer"], ["name", "Kimberlee Jenkins"], ["description", "Ashleigh Smitham"], ["created_at", "2018-09-05 06:04:42.445440"], ["updated_at", "2018-09-05 06:04:42.445440"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Ernest Bashirian"], ["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", "Ernest Bashirian"], ["name", "Rubin Dare"], ["location_type_id", 6], ["description", "Machelle Shields"], ["address", "Vinita Turcotte"], ["created_at", "2018-09-05 06:04:42.451975"], ["updated_at", "2018-09-05 06:04:42.451975"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Joelle Bartoletti"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Alfreda Abshire"], ["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", "Joelle Bartoletti"], ["name", "Sheree Lowe"], ["description", "Kaitlin Cremin"], ["serial_number", "Alfreda Abshire"], ["brand", "Wes O'Connell"], ["item_model", "Shonta Jacobi"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 06:04:42.461207"], ["updated_at", "2018-09-05 06:04:42.461207"]]  (0.7ms) 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", "wes@kshlerin.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", "Hilma Marquardt"], ["last_name", "Elna Walker"], ["email", "wes@kshlerin.co.uk"], ["password_digest", "$2a$04$M7XV7l3NCkb8aZoa8VUwnuM/bWtXxkZjpqBWu.izWT.IKtZWGwMFG"], ["created_at", "2018-09-05 06:04:42.470685"], ["updated_at", "2018-09-05 06:04:42.470685"]]  (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", "lillie@steuber.ca"], ["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", "Francis Satterfield"], ["last_name", "Bobby Klein"], ["email", "lillie@steuber.ca"], ["password_digest", "$2a$04$ByrgwL1yG6d7tpBz0mQdW.ksNrD6gNzw8Q/6nNnQrW3vrNWQULPqO"], ["created_at", "2018-09-05 06:04:42.478915"], ["updated_at", "2018-09-05 06:04:42.478915"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"15", "authorized_by"=>"Merrie Towne", "authorized_on"=>"2018-09-05", "created_by_id"=>"14", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"5", "chargeable_service_name"=>"Lorna Schamberger", "equipment_item_id"=>"5", "equipment_item_name"=>"Sheree Lowe", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Jessica Terry"}} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]]  (0.6ms) 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", ""], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 422 Unprocessable Entity in 23ms (ActiveRecord: 5.6ms)  (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", "eliza.aufderhar@thompson.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", "Jacquelynn Price"], ["last_name", "Jamey Luettgen"], ["email", "eliza.aufderhar@thompson.info"], ["password_digest", "$2a$04$HRjcfMonGLW3dkfEA2559.6BKqSf2wE7wLwY84VCl75bwRXyX8M3e"], ["created_at", "2018-09-05 06:04:42.519632"], ["updated_at", "2018-09-05 06:04:42.519632"]]  (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", "alita@hayes.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", "Kenya Paucek"], ["last_name", "Filiberto Koch"], ["email", "alita@hayes.com"], ["password_digest", "$2a$04$MD72om/dEUuR0cJvmJyN5eMqZJgcB91P9i0j4NOLxEUZnq8vcG7qy"], ["created_at", "2018-09-05 06:04:42.529335"], ["updated_at", "2018-09-05 06:04:42.529335"]]  (0.7ms) 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", "tatiana_reynolds@bechtelar.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", "Jonnie Tremblay"], ["last_name", "Yung Orn"], ["email", "tatiana_reynolds@bechtelar.com"], ["password_digest", "$2a$04$21.te5yLxHjnRxnJsHkrTOWtFHjnfi9ey3/DIGBQeimokBmTKYc8W"], ["created_at", "2018-09-05 06:04:42.538253"], ["updated_at", "2018-09-05 06:04:42.538253"]]  (0.7ms) 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 LIMIT $2 [["reference_number", "Sherell Feest"], ["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", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Sherell Feest"], ["authorized_by", "Ja Kessler"], ["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", 17], ["approved_by_id", 18], ["created_at", "2018-09-05 06:04:42.544061"], ["updated_at", "2018-09-05 06:04:42.544061"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Caron Zieme"}, "id"=>"5"} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["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", 5], ["LIMIT", 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Sherell Feest"], ["id", 5], ["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", 17], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.5ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Caron Zieme"], ["updated_at", "2018-09-05 06:04:42.569119"], ["id", 5]]  (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", 16], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.35ms) Completed 200 OK in 24ms (Views: 1.3ms | ActiveRecord: 8.2ms) 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]]  (1.1ms) 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", "michel@mcglynn.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", "Marsha Schroeder"], ["last_name", "Carli Ratke"], ["email", "michel@mcglynn.us"], ["password_digest", "$2a$04$11c2MnmpWpK8d.GlGuskA.owhaFxS/2HEnpSX4m.ailoq4/3Urm2u"], ["created_at", "2018-09-05 06:04:42.585132"], ["updated_at", "2018-09-05 06:04:42.585132"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "leigh@waters.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", "Adam Oga"], ["last_name", "Lacey Fritsch"], ["email", "leigh@waters.co.uk"], ["password_digest", "$2a$04$D8l9therkKevuq8dV/V0DOnGOCNq61zNalNXTxgWmK4/xw18Zte.e"], ["created_at", "2018-09-05 06:04:42.593109"], ["updated_at", "2018-09-05 06:04:42.593109"]]  (0.6ms) 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", "maybelle@legros.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", "Cristina Terry"], ["last_name", "Julie Brown"], ["email", "maybelle@legros.biz"], ["password_digest", "$2a$04$l/rwNUc5gRnve9SFLKkTjueS35LsWp8JuqrAB7hWL3agUgfpCAM2W"], ["created_at", "2018-09-05 06:04:42.600050"], ["updated_at", "2018-09-05 06:04:42.600050"]]  (0.8ms) 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", "Rachell Prohaska"], ["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", "Rachell Prohaska"], ["authorized_by", "Eliza Boehm"], ["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", 20], ["approved_by_id", 21], ["created_at", "2018-09-05 06:04:42.605926"], ["updated_at", "2018-09-05 06:04:42.605926"]]  (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", "Monty 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", "Inge Dickens"], ["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", "Monty Leannon"], ["name", "Inge Dickens"], ["created_at", "2018-09-05 06:04:42.612492"], ["updated_at", "2018-09-05 06:04:42.612492"]]  (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", "Shanta Prosacco"], ["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", "Shanta Prosacco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.619249"], ["updated_at", "2018-09-05 06:04:42.619249"]]  (0.4ms) 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", "Malika Nicolas"], ["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", "Malika Nicolas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.624831"], ["updated_at", "2018-09-05 06:04:42.624831"]]  (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", "Latrina Dickinson"], ["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", "Latrina Dickinson"], ["name", "Francesco Jacobi"], ["address", "Lavern Schaden"], ["created_at", "2018-09-05 06:04:42.629541"], ["updated_at", "2018-09-05 06:04:42.629541"]]  (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", "Madge Friesen"], ["service_delivery_unit_id", 7], ["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", "Madge Friesen"], ["name", "Nydia Runte"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:04:42.634668"], ["updated_at", "2018-09-05 06:04:42.634668"]] 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", "Madge Friesen"], ["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", "Madge Friesen"], ["name", "Nydia Runte"], ["description", "Default bundle for service 'Nydia Runte'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:04:42.641551"], ["updated_at", "2018-09-05 06:04:42.641551"]] 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.7ms) 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", "Laronda Rohan"], ["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", "Emery Ward"], ["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", "Laronda Rohan"], ["name", "Emery Ward"], ["created_at", "2018-09-05 06:04:42.651221"], ["updated_at", "2018-09-05 06:04:42.651221"]]  (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", "Aretha Skiles"], ["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", "Aretha Skiles"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.656416"], ["updated_at", "2018-09-05 06:04:42.656416"]]  (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", "Chas 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", "Chas Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.661007"], ["updated_at", "2018-09-05 06:04:42.661007"]]  (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", "Saul Koch"], ["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", "Saul Koch"], ["name", "Ka Price"], ["address", "Shirely Schamberger"], ["created_at", "2018-09-05 06:04:42.666062"], ["updated_at", "2018-09-05 06:04:42.666062"]]  (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", "Sharell Keeling"], ["service_delivery_unit_id", 8], ["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", "Sharell Keeling"], ["name", "Silvia Kozey"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:04:42.671235"], ["updated_at", "2018-09-05 06:04:42.671235"]] 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", "Sharell Keeling"], ["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", "Sharell Keeling"], ["name", "Silvia Kozey"], ["description", "Default bundle for service 'Silvia Kozey'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:04:42.676136"], ["updated_at", "2018-09-05 06:04:42.676136"]] 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", 8], ["chargeable_service_id", 8]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Bobby Conn"], ["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", "Keshia Wiza"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bobby Conn"], ["name", "Keshia Wiza"], ["description", "Qui incidunt sunt porro autem. Mollitia sed ut voluptas non aut voluptatem laudantium. Nisi sint veniam dolor perspiciatis. Voluptas est recusandae ea temporibus tempore ut."], ["created_at", "2018-09-05 06:04:42.687314"], ["updated_at", "2018-09-05 06:04:42.687314"]]  (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", "Melani Abshire"], ["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", "Toby Schowalter"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.4ms) 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", "Melani Abshire"], ["name", "Toby Schowalter"], ["description", "Ea consequatur quos dolores enim iste reiciendis. Veritatis qui molestiae fugiat dolorum. Dolores non omnis neque non a possimus reprehenderit."], ["equipment_type_id", 7], ["created_at", "2018-09-05 06:04:42.693609"], ["updated_at", "2018-09-05 06:04:42.693609"]]  (0.7ms) 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", "German Feeney"], ["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", "German Feeney"], ["name", "Clarine Ankunding"], ["description", "Zelda Haley"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 06:04:42.699318"], ["updated_at", "2018-09-05 06:04:42.699318"]]  (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", "Aida Hintz"], ["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", "Yessenia Mitchell"], ["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", "Aida Hintz"], ["name", "Yessenia Mitchell"], ["description", "June Schimmel"], ["created_at", "2018-09-05 06:04:42.705637"], ["updated_at", "2018-09-05 06:04:42.705637"]]  (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", "Houston Schultz"], ["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", "Houston Schultz"], ["name", "Ryan Fahey"], ["location_type_id", 7], ["description", "Gabriela Schuppe"], ["address", "Cary Gerhold"], ["created_at", "2018-09-05 06:04:42.710234"], ["updated_at", "2018-09-05 06:04:42.710234"]]  (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", "Beata Bauch"], ["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", "Tamara Ruecker"], ["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", "Beata Bauch"], ["name", "Wendell Bernhard"], ["description", "Scottie Gerlach"], ["serial_number", "Tamara Ruecker"], ["brand", "Jennette Wolf"], ["item_model", "Mi Kunde"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 06:04:42.715954"], ["updated_at", "2018-09-05 06:04:42.715954"]]  (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", "Nikki Murray"], ["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", "Necole Jaskolski"], ["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", "Nikki Murray"], ["name", "Necole Jaskolski"], ["description", "Ipsa illo ea impedit eligendi qui magni et consectetur. Et ex sit sint ut consequuntur dolor. Esse ipsam vel quas et."], ["created_at", "2018-09-05 06:04:42.723745"], ["updated_at", "2018-09-05 06:04:42.723745"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Catharine Rice"], ["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", "Jolene Vandervort"], ["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", "Catharine Rice"], ["name", "Jolene Vandervort"], ["description", "Dolores non minima officia voluptatem vero. Asperiores enim necessitatibus mollitia maiores reprehenderit. Ut qui perferendis iure sunt corrupti tempore blanditiis. Quis qui accusantium ut molestiae qui hic id."], ["equipment_type_id", 8], ["created_at", "2018-09-05 06:04:42.731217"], ["updated_at", "2018-09-05 06:04:42.731217"]]  (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", "Margareta Franecki"], ["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", "Margareta Franecki"], ["name", "Weldon Rohan"], ["description", "Nathan Bergnaum"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 06:04:42.735778"], ["updated_at", "2018-09-05 06:04:42.735778"]]  (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", "Cherrie Keebler"], ["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", "Ferdinand Bergnaum"], ["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", "Cherrie Keebler"], ["name", "Ferdinand Bergnaum"], ["description", "George Stoltenberg"], ["created_at", "2018-09-05 06:04:42.742055"], ["updated_at", "2018-09-05 06:04:42.742055"]]  (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", "Nohemi Schuster"], ["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", "Nohemi Schuster"], ["name", "Shelby Halvorson"], ["location_type_id", 8], ["description", "Delores Larson"], ["address", "Della Runolfsdottir"], ["created_at", "2018-09-05 06:04:42.746507"], ["updated_at", "2018-09-05 06:04:42.746507"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Garrett Baumbach"], ["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", "Ardith Dooley"], ["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", "Garrett Baumbach"], ["name", "Candyce Schiller"], ["description", "Krista Mraz"], ["serial_number", "Ardith Dooley"], ["brand", "Rosalyn Swift"], ["item_model", "Bobby Lebsack"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 06:04:42.752661"], ["updated_at", "2018-09-05 06:04:42.752661"]]  (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", "yung@reichertgutmann.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", "Delta Gutkowski"], ["last_name", "Alice Lehner"], ["email", "yung@reichertgutmann.name"], ["password_digest", "$2a$04$lLqGZnKkD2HxJKT/EoAYKuk6uL8z.uRW2ViwqDfnlJ.eAeEzwmyvq"], ["created_at", "2018-09-05 06:04:42.759352"], ["updated_at", "2018-09-05 06:04:42.759352"]]  (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", "thad_haley@considine.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", "Colby Heathcote"], ["last_name", "Mercedez Wehner"], ["email", "thad_haley@considine.com"], ["password_digest", "$2a$04$18MziMvplG1SRHucJYxt3uZWYw190K9xrJup9IrB04yIo2xirUI26"], ["created_at", "2018-09-05 06:04:42.765373"], ["updated_at", "2018-09-05 06:04:42.765373"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"23", "authorized_by"=>"Hannelore Heathcote", "authorized_on"=>"2018-09-05", "created_by_id"=>"22", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"7", "chargeable_service_name"=>"Silvia Kozey", "equipment_item_id"=>"7", "equipment_item_name"=>"Candyce Schiller", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Phyllis Wuckert", "status"=>"Soraya Schaefer"}, "id"=>"6"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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.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", "Phyllis Wuckert"], ["id", 6], ["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", 22], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.09ms) Completed 422 Unprocessable Entity in 14ms (Views: 4.7ms | ActiveRecord: 5.3ms)  (1.3ms) ROLLBACK  (0.7ms) 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", "genie@veumrunte.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", "Karin Mraz"], ["last_name", "Cristina Spinka"], ["email", "genie@veumrunte.ca"], ["password_digest", "$2a$04$6wqjBxQBpQa3RZJkihHVCOv681F5Ypy.mXDXf92r3bdVrUaB331l."], ["created_at", "2018-09-05 06:04:42.807873"], ["updated_at", "2018-09-05 06:04:42.807873"]]  (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", "kemberly_kling@russeloga.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", "Bobbye Hoppe"], ["last_name", "Mark Ryan"], ["email", "kemberly_kling@russeloga.ca"], ["password_digest", "$2a$04$CgQhSWGAk0UOq4oVynU9k.kTZbByjyzHjBDgCSRqwVK9JLaH3kl3m"], ["created_at", "2018-09-05 06:04:42.814645"], ["updated_at", "2018-09-05 06:04:42.814645"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "kattie.franecki@erdmanrenner.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", "Jammie Ruecker"], ["last_name", "Vicky White"], ["email", "kattie.franecki@erdmanrenner.ca"], ["password_digest", "$2a$04$HyckJ5OczrS8ePng7mAQN.ngbU8yBwaRr4frh2s9mHNbPJHmRsvS."], ["created_at", "2018-09-05 06:04:42.822557"], ["updated_at", "2018-09-05 06:04:42.822557"]]  (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 LIMIT $2 [["reference_number", "Delmar Walter"], ["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", "Delmar Walter"], ["authorized_by", "Gaynell Emmerich"], ["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", 25], ["approved_by_id", 26], ["created_at", "2018-09-05 06:04:42.828109"], ["updated_at", "2018-09-05 06:04:42.828109"]]  (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", "Thelma Streich"], ["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", "Carina Schaden"], ["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", "Thelma Streich"], ["name", "Carina Schaden"], ["created_at", "2018-09-05 06:04:42.836432"], ["updated_at", "2018-09-05 06:04:42.836432"]]  (0.6ms) 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", "Rhett Lang"], ["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", "Rhett Lang"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.842495"], ["updated_at", "2018-09-05 06:04:42.842495"]]  (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", "Chance Kihn"], ["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", "Chance Kihn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.847459"], ["updated_at", "2018-09-05 06:04:42.847459"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Henry Block"], ["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", "Henry Block"], ["name", "Bernard Hansen"], ["address", "Dean Greenfelder"], ["created_at", "2018-09-05 06:04:42.853810"], ["updated_at", "2018-09-05 06:04:42.853810"]]  (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", "Shayna Rutherford"], ["service_delivery_unit_id", 9], ["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", "Shayna Rutherford"], ["name", "Willie Anderson"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:04:42.858465"], ["updated_at", "2018-09-05 06:04:42.858465"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shayna Rutherford"], ["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", "Shayna Rutherford"], ["name", "Willie Anderson"], ["description", "Default bundle for service 'Willie Anderson'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:04:42.863540"], ["updated_at", "2018-09-05 06:04:42.863540"]] 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", 9], ["chargeable_service_id", 9]]  (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", "Collin Schoen"], ["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", "Sherita Donnelly"], ["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", "Collin Schoen"], ["name", "Sherita Donnelly"], ["created_at", "2018-09-05 06:04:42.872333"], ["updated_at", "2018-09-05 06:04:42.872333"]]  (0.4ms) 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", "Theresia 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", "Theresia Miller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.876893"], ["updated_at", "2018-09-05 06:04:42.876893"]]  (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", "Madelene Ortiz"], ["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", "Madelene Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:04:42.881490"], ["updated_at", "2018-09-05 06:04:42.881490"]]  (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", "Meta Langworth"], ["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", "Meta Langworth"], ["name", "Brett Bogan"], ["address", "Fritz Smitham"], ["created_at", "2018-09-05 06:04:42.886082"], ["updated_at", "2018-09-05 06:04:42.886082"]]  (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", "Maryam O'Hara"], ["service_delivery_unit_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", "Maryam O'Hara"], ["name", "Ahmed Connelly"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:04:42.890835"], ["updated_at", "2018-09-05 06:04:42.890835"]] 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", "Maryam O'Hara"], ["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", "Maryam O'Hara"], ["name", "Ahmed Connelly"], ["description", "Default bundle for service 'Ahmed Connelly'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:04:42.896137"], ["updated_at", "2018-09-05 06:04:42.896137"]] 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", 10], ["chargeable_service_id", 10]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Jayna Grimes"], ["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", "Chong Bauch"], ["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", "Jayna Grimes"], ["name", "Chong Bauch"], ["description", "Qui enim sed et et. Est qui fugiat sed voluptatem maxime ducimus et. Provident vero accusamus consequatur ad aut beatae qui labore. Voluptatem et dicta dolorem magni officia necessitatibus."], ["created_at", "2018-09-05 06:04:42.907493"], ["updated_at", "2018-09-05 06:04:42.907493"]]  (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", "Marty Stracke"], ["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", "Delinda Wolff"], ["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", "Marty Stracke"], ["name", "Delinda Wolff"], ["description", "Temporibus alias ad blanditiis sint atque maiores. Tenetur itaque vel sed fugit eligendi tempore consequatur qui. Iste sit eaque dolor eveniet et. Hic est voluptatem suscipit dicta sit a voluptatem."], ["equipment_type_id", 9], ["created_at", "2018-09-05 06:04:42.912968"], ["updated_at", "2018-09-05 06:04:42.912968"]]  (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", "Lorna Schultz"], ["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", "Lorna Schultz"], ["name", "Windy Blanda"], ["description", "Georgene Weimann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 06:04:42.917554"], ["updated_at", "2018-09-05 06:04:42.917554"]]  (0.7ms) 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", "Vickey Price"], ["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", "Jocelyn Kub"], ["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", "Vickey Price"], ["name", "Jocelyn Kub"], ["description", "Elinor Dach"], ["created_at", "2018-09-05 06:04:42.923990"], ["updated_at", "2018-09-05 06:04:42.923990"]]  (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", "Bernetta Willms"], ["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", "Bernetta Willms"], ["name", "Lyndsey Hermiston"], ["location_type_id", 9], ["description", "Shena Kreiger"], ["address", "Maynard Bode"], ["created_at", "2018-09-05 06:04:42.928360"], ["updated_at", "2018-09-05 06:04:42.928360"]]  (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", "Caleb Padberg"], ["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", "Floyd Fay"], ["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", "Caleb Padberg"], ["name", "Alejandrina Abbott"], ["description", "Leonie Reichert"], ["serial_number", "Floyd Fay"], ["brand", "Rashida Haag"], ["item_model", "Camie Berge"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 06:04:42.934510"], ["updated_at", "2018-09-05 06:04:42.934510"]]  (0.5ms) 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", "Genevive Stiedemann"], ["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", "Tarsha Rempel"], ["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", "Genevive Stiedemann"], ["name", "Tarsha Rempel"], ["description", "Occaecati commodi sed adipisci dolores nam. A sed voluptatibus dolorum doloremque cum. In consequatur nesciunt ut voluptate quaerat modi harum."], ["created_at", "2018-09-05 06:04:42.941288"], ["updated_at", "2018-09-05 06:04:42.941288"]]  (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", "Gwyneth Jones"], ["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", "Griselda Will"], ["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", "Gwyneth Jones"], ["name", "Griselda Will"], ["description", "Dignissimos minima repudiandae rerum ut rerum. Sint consequatur qui temporibus quis distinctio est optio. Qui adipisci explicabo repellat eius et. Fuga doloremque facilis praesentium alias eaque sed. Odit ut accusamus officiis architecto aperiam dolores harum consequuntur."], ["equipment_type_id", 10], ["created_at", "2018-09-05 06:04:42.946946"], ["updated_at", "2018-09-05 06:04:42.946946"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Susana Swift"], ["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", "Susana Swift"], ["name", "Lorretta Wunsch"], ["description", "Freddie Simonis"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 06:04:42.953072"], ["updated_at", "2018-09-05 06:04:42.953072"]]  (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", "Joe Lubowitz"], ["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", "Zoila Cole"], ["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", "Joe Lubowitz"], ["name", "Zoila Cole"], ["description", "Jade Bauch"], ["created_at", "2018-09-05 06:04:42.958967"], ["updated_at", "2018-09-05 06:04:42.958967"]]  (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", "Dominique Strosin"], ["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", "Dominique Strosin"], ["name", "Shantelle Bayer"], ["location_type_id", 10], ["description", "Armando Volkman"], ["address", "Marquita Price"], ["created_at", "2018-09-05 06:04:42.963083"], ["updated_at", "2018-09-05 06:04:42.963083"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Tiera Waelchi"], ["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", "Emilio Emmerich"], ["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", "Tiera Waelchi"], ["name", "Elease Lynch"], ["description", "Therese Wyman"], ["serial_number", "Emilio Emmerich"], ["brand", "Timika Kris"], ["item_model", "Margrett Emard"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 06:04:42.969817"], ["updated_at", "2018-09-05 06:04:42.969817"]]  (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", "doretha@senger.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", "Linnie Kling"], ["last_name", "Doreen Feest"], ["email", "doretha@senger.co.uk"], ["password_digest", "$2a$04$AV76PHABW2rTBNhDHmIi9erfC99iK3eIR2iBxZnKn9fC77l5.Paua"], ["created_at", "2018-09-05 06:04:42.976430"], ["updated_at", "2018-09-05 06:04:42.976430"]]  (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", "kelsie@romaguera.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", "Vernita Larson"], ["last_name", "Edra Bednar"], ["email", "kelsie@romaguera.name"], ["password_digest", "$2a$04$O6.m.jh0GQ6ms85X7yzJ1ut8e99hxs6xc0z2MZN0B01lIui8XcMSG"], ["created_at", "2018-09-05 06:04:42.982824"], ["updated_at", "2018-09-05 06:04:42.982824"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"28", "authorized_by"=>"Daria Robel", "authorized_on"=>"2018-09-05", "created_by_id"=>"27", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"9", "chargeable_service_name"=>"Ahmed Connelly", "equipment_item_id"=>"9", "equipment_item_name"=>"Elease Lynch", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Wanita Champlin"}, "id"=>"7"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["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 (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.0ms | ActiveRecord: 5.5ms)  (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.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "isiah_casper@koch.us"], ["LIMIT", 1]] Mks::Auth::User Create (10.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", "Kyle Jewess"], ["last_name", "Samella Strosin"], ["email", "isiah_casper@koch.us"], ["password_digest", "$2a$04$Y.Tv5ugKD8kzwex/y2SsUOOOaIXhZbylBsOSeS3Es7m1Wf1uhs.ka"], ["created_at", "2018-09-05 06:10:11.113354"], ["updated_at", "2018-09-05 06:10:11.113354"]]  (0.7ms) 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", "nereida.roob@christiansen.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", "Marin Stark"], ["last_name", "Berenice Batz"], ["email", "nereida.roob@christiansen.ca"], ["password_digest", "$2a$04$DeCnvUnmyTmK1NTYWm2w5OFb1l0JCjXG8.J/091yAJWXpjyMkd2aa"], ["created_at", "2018-09-05 06:10:11.154059"], ["updated_at", "2018-09-05 06:10:11.154059"]]  (0.7ms) 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", "bobbye_cummerata@simonis.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", "Vinnie Schulist"], ["last_name", "Marlo Senger"], ["email", "bobbye_cummerata@simonis.us"], ["password_digest", "$2a$04$Bl.Pd.sj8DiB/Q5HXZk3A.g06Lx0e/gst0nzzPHjspKvSkqnr3iKC"], ["created_at", "2018-09-05 06:10:11.168551"], ["updated_at", "2018-09-05 06:10:11.168551"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lavenia Hartmann"], ["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", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Lavenia Hartmann"], ["authorized_by", "Issac Schumm"], ["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", 2], ["approved_by_id", 3], ["created_at", "2018-09-05 06:10:11.175755"], ["updated_at", "2018-09-05 06:10:11.175755"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#index as HTML Mks::Auth::User Load (0.6ms) 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::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: 2, approved_by_id: 3, remark: nil, created_at: "2018-09-05 06:10:11", updated_at: "2018-09-05 06:10:11"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.49ms) Completed 200 OK in 21ms (Views: 15.1ms | ActiveRecord: 3.0ms)  (0.9ms) 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", "josh@wunsch.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", "Trey Wunsch"], ["last_name", "Vito Schmeler"], ["email", "josh@wunsch.co.uk"], ["password_digest", "$2a$04$0UdQkrc0YUh4D59vpfVJY.wzv0MPakVNaScI4r/iFIeaY6.3QiwOi"], ["created_at", "2018-09-05 06:10:11.211949"], ["updated_at", "2018-09-05 06:10:11.211949"]]  (0.4ms) 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", "willa@stroman.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", "Moshe Williamson"], ["last_name", "Verda Bauch"], ["email", "willa@stroman.com"], ["password_digest", "$2a$04$nuBwUHeJjRkPn4uFKD.LaeJNh.UvEIlotfBaodV1ML/nrYGNBHfsC"], ["created_at", "2018-09-05 06:10:11.218678"], ["updated_at", "2018-09-05 06:10:11.218678"]]  (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", "xavier.langworth@bergstrom.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", "Silvia Abbott"], ["last_name", "Patria Turcotte"], ["email", "xavier.langworth@bergstrom.us"], ["password_digest", "$2a$04$Y77akea8xTRxsxkdvrlIj.URWmjSbvUDRQq1Xa18f9T.jrd62s2i6"], ["created_at", "2018-09-05 06:10:11.225121"], ["updated_at", "2018-09-05 06:10:11.225121"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Sydney Ward"], ["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", "Sydney Ward"], ["authorized_by", "Cyndi Hilll"], ["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", 5], ["approved_by_id", 6], ["created_at", "2018-09-05 06:10:11.229623"], ["updated_at", "2018-09-05 06:10:11.229623"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} 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]] 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.7ms) 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 Mks::Rate::RateChangeRequest (0.63ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 2.3ms)  (1.0ms) ROLLBACK  (0.6ms) 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", "kiera@schmidtconn.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", "Dino Batz"], ["last_name", "Annamaria Morissette"], ["email", "kiera@schmidtconn.com"], ["password_digest", "$2a$04$2RwgRhXhUPqx.hwcr858Je/DbwfxwgZA1HQwCekVpSPwfoBSATZPu"], ["created_at", "2018-09-05 06:10:11.252598"], ["updated_at", "2018-09-05 06:10:11.252598"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (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", "Kerstin Bartell"], ["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", "Rodger Kilback"], ["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", "Kerstin Bartell"], ["name", "Rodger Kilback"], ["created_at", "2018-09-05 06:10:11.299071"], ["updated_at", "2018-09-05 06:10:11.299071"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jamison Daniel"], ["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", "Jamison Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.321306"], ["updated_at", "2018-09-05 06:10:11.321306"]]  (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", "Kari Mohr"], ["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", "Kari Mohr"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.328643"], ["updated_at", "2018-09-05 06:10:11.328643"]]  (0.4ms) 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", "Dora Cummings"], ["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", "Dora Cummings"], ["name", "Camilla Raynor"], ["address", "Katheryn Conn"], ["created_at", "2018-09-05 06:10:11.345738"], ["updated_at", "2018-09-05 06:10:11.345738"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Noah Hilll"], ["service_delivery_unit_id", 1], ["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", "Noah Hilll"], ["name", "Barrett Armstrong"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:10:11.352832"], ["updated_at", "2018-09-05 06:10:11.352832"]] 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", 1], ["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", "Noah Hilll"], ["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", "Noah Hilll"], ["name", "Barrett Armstrong"], ["description", "Default bundle for service 'Barrett Armstrong'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:10:11.381497"], ["updated_at", "2018-09-05 06:10:11.381497"]] 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.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Barb Wolf"], ["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", "Jackie Dare"], ["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", "Barb Wolf"], ["name", "Jackie Dare"], ["created_at", "2018-09-05 06:10:11.409846"], ["updated_at", "2018-09-05 06:10:11.409846"]]  (0.4ms) 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", "Mei Zieme"], ["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", "Mei Zieme"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.414131"], ["updated_at", "2018-09-05 06:10:11.414131"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Kenyetta Feeney"], ["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", "Kenyetta Feeney"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.418971"], ["updated_at", "2018-09-05 06:10:11.418971"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Selene Walter"], ["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", "Selene Walter"], ["name", "Wilma Olson"], ["address", "Renaldo Upton"], ["created_at", "2018-09-05 06:10:11.423376"], ["updated_at", "2018-09-05 06:10:11.423376"]]  (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", "Cleopatra Stamm"], ["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", "Cleopatra Stamm"], ["name", "Asha Feest"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:10:11.427630"], ["updated_at", "2018-09-05 06:10:11.427630"]] 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", 2], ["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", "Cleopatra Stamm"], ["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", "Cleopatra Stamm"], ["name", "Asha Feest"], ["description", "Default bundle for service 'Asha Feest'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:10:11.432377"], ["updated_at", "2018-09-05 06:10:11.432377"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.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.9ms) 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", "Vernon Gutkowski"], ["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", "Fidel Goyette"], ["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", "Vernon Gutkowski"], ["name", "Fidel Goyette"], ["description", "Consectetur sed fugit eos maiores minima et doloremque ea. Doloribus qui aliquam neque aut debitis perferendis. Enim distinctio eaque labore ut qui similique perferendis recusandae. Impedit quis vero officiis quia. Debitis enim animi assumenda voluptatem est consequatur."], ["created_at", "2018-09-05 06:10:11.520180"], ["updated_at", "2018-09-05 06:10:11.520180"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Lola 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", "Shayla Kessler"], ["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", "Lola Goodwin"], ["name", "Shayla Kessler"], ["description", "Officiis dolor dolorum aut et molestiae nam. Sit in non dicta nihil. Laboriosam ut non iste ad deleniti velit amet eius. Ratione rerum perspiciatis aliquid sed ut."], ["equipment_type_id", 1], ["created_at", "2018-09-05 06:10:11.527743"], ["updated_at", "2018-09-05 06:10:11.527743"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jerrie Torphy"], ["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", "Jerrie Torphy"], ["name", "Lisandra Lebsack"], ["description", "Maxima Hettinger"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 06:10:11.534766"], ["updated_at", "2018-09-05 06:10:11.534766"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Hobert Greenholt"], ["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", "Vikki Crooks"], ["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", "Hobert Greenholt"], ["name", "Vikki Crooks"], ["description", "Lisette Reynolds"], ["created_at", "2018-09-05 06:10:11.570688"], ["updated_at", "2018-09-05 06:10:11.570688"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Colleen Hyatt"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.4ms) 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", "Colleen Hyatt"], ["name", "Meghan Littel"], ["location_type_id", 1], ["description", "Nia Mueller"], ["address", "Aracelis Balistreri"], ["created_at", "2018-09-05 06:10:11.577807"], ["updated_at", "2018-09-05 06:10:11.577807"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", "Aron White"], ["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", "Tabitha Borer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (2.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", "Aron White"], ["name", "Un Gleichner"], ["description", "Michelina Smitham"], ["serial_number", "Tabitha Borer"], ["brand", "Nathanial Ryan"], ["item_model", "Paulina Williamson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 06:10:11.588058"], ["updated_at", "2018-09-05 06:10:11.588058"]]  (0.7ms) 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", "Madison Kuhlman"], ["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", "Gail Bogan"], ["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", "Madison Kuhlman"], ["name", "Gail Bogan"], ["description", "Eligendi quod dolor repellat quia fugit dolor veniam modi. Modi nisi eos autem accusantium totam perferendis nihil. Veniam molestias animi autem est ad sed qui."], ["created_at", "2018-09-05 06:10:11.596828"], ["updated_at", "2018-09-05 06:10:11.596828"]]  (0.5ms) 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", "Jillian Mosciski"], ["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", "Gus Gibson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (2.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", "Jillian Mosciski"], ["name", "Gus Gibson"], ["description", "Quas perspiciatis expedita non sequi consequatur. Magnam ducimus architecto aspernatur incidunt eius non velit. Consequatur et dolor natus et excepturi eius cupiditate. Excepturi aut a ut corrupti quo. Et et voluptatem neque quas error rerum."], ["equipment_type_id", 2], ["created_at", "2018-09-05 06:10:11.602843"], ["updated_at", "2018-09-05 06:10:11.602843"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jeraldine Cummings"], ["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", "Jeraldine Cummings"], ["name", "Elanor Lakin"], ["description", "Taisha Collier"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 06:10:11.610282"], ["updated_at", "2018-09-05 06:10:11.610282"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Demetrius Langworth"], ["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", "Kristina Beier"], ["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", "Demetrius Langworth"], ["name", "Kristina Beier"], ["description", "Kasey Johnson"], ["created_at", "2018-09-05 06:10:11.616974"], ["updated_at", "2018-09-05 06:10:11.616974"]]  (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", "Viviana Wilkinson"], ["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", "Viviana Wilkinson"], ["name", "Jasmin Schmitt"], ["location_type_id", 2], ["description", "Shaunta Ziemann"], ["address", "Tommye Deckow"], ["created_at", "2018-09-05 06:10:11.621660"], ["updated_at", "2018-09-05 06:10:11.621660"]]  (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", "Parker Eichmann"], ["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", "Florine Mohr"], ["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", "Parker Eichmann"], ["name", "Forest Thompson"], ["description", "Mimi Batz"], ["serial_number", "Florine Mohr"], ["brand", "Stewart Hickle"], ["item_model", "Arnette Luettgen"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 06:10:11.628306"], ["updated_at", "2018-09-05 06:10:11.628306"]]  (0.6ms) 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", "lavinia@schulist.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", "Candace Douglas"], ["last_name", "Philip Cummerata"], ["email", "lavinia@schulist.ca"], ["password_digest", "$2a$04$Ey3tHbJVCFE4WpaS3IRFp.6jQ/7TcNwRlZkII4rr6INnlG2ffMCam"], ["created_at", "2018-09-05 06:10:11.636262"], ["updated_at", "2018-09-05 06:10:11.636262"]]  (0.6ms) 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", "darell_nolan@rolfsonfritsch.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", "Leesa Dietrich"], ["last_name", "Tiffiny Schaden"], ["email", "darell_nolan@rolfsonfritsch.com"], ["password_digest", "$2a$04$wMMwFaXz8PVsbgd.ZvvsAeHPbgll2XsBnG6qencyFWXlS28JI/wl2"], ["created_at", "2018-09-05 06:10:11.644422"], ["updated_at", "2018-09-05 06:10:11.644422"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"9", "authorized_by"=>"Marth Pollich", "authorized_on"=>"2018-09-05", "created_by_id"=>"8", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"1", "chargeable_service_name"=>"Asha Feest", "equipment_item_id"=>"1", "equipment_item_name"=>"Forest Thompson", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Bettina Erdman", "status"=>"Brian Mertz"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.8ms) 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", "Bettina Erdman"], ["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", "Bettina Erdman"], ["authorized_by", "Marth Pollich"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"1\",\"chargeable_service_name\":\"Asha Feest\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Forest Thompson\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 7], ["approved_by_id", 9], ["created_at", "2018-09-05 06:10:11.662370"], ["updated_at", "2018-09-05 06:10:11.662370"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.4ms) 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 201 Created in 21ms (Views: 5.6ms | ActiveRecord: 6.0ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (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", "neomi.kohler@hamill.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", "Karl Conn"], ["last_name", "Germaine Hermann"], ["email", "neomi.kohler@hamill.us"], ["password_digest", "$2a$04$jvUFj38rExiJYfQ2JDw7zOQolV3gnjGKG70v4yEsVYRQXB/xPQYy."], ["created_at", "2018-09-05 06:10:11.685540"], ["updated_at", "2018-09-05 06:10:11.685540"]]  (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", "Frederica Rohan"], ["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", "Nakita Turcotte"], ["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", "Frederica Rohan"], ["name", "Nakita Turcotte"], ["created_at", "2018-09-05 06:10:11.692011"], ["updated_at", "2018-09-05 06:10:11.692011"]]  (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", "Donny Oberbrunner"], ["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", "Donny Oberbrunner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.696783"], ["updated_at", "2018-09-05 06:10:11.696783"]]  (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", "Loma Schmeler"], ["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", "Loma Schmeler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.701365"], ["updated_at", "2018-09-05 06:10:11.701365"]]  (0.5ms) 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", "Charlyn Rohan"], ["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", "Charlyn Rohan"], ["name", "Sylvester Brown"], ["address", "Ronald McClure"], ["created_at", "2018-09-05 06:10:11.706145"], ["updated_at", "2018-09-05 06:10:11.706145"]]  (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", "Broderick Schimmel"], ["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", "Broderick Schimmel"], ["name", "Emiko Goodwin"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:10:11.710578"], ["updated_at", "2018-09-05 06:10:11.710578"]] 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", 3], ["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", "Broderick Schimmel"], ["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", "Broderick Schimmel"], ["name", "Emiko Goodwin"], ["description", "Default bundle for service 'Emiko Goodwin'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:10:11.716919"], ["updated_at", "2018-09-05 06:10:11.716919"]] 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.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", "Harris Hermiston"], ["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", "Trena Schaden"], ["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", "Harris Hermiston"], ["name", "Trena Schaden"], ["created_at", "2018-09-05 06:10:11.726765"], ["updated_at", "2018-09-05 06:10:11.726765"]]  (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", "Penni Block"], ["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", "Penni Block"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.731344"], ["updated_at", "2018-09-05 06:10:11.731344"]]  (1.2ms) 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", "Aleida Lebsack"], ["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", "Aleida Lebsack"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.737619"], ["updated_at", "2018-09-05 06:10:11.737619"]]  (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", "Bobbi Waelchi"], ["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", "Bobbi Waelchi"], ["name", "Burton Weimann"], ["address", "Genoveva Lubowitz"], ["created_at", "2018-09-05 06:10:11.742250"], ["updated_at", "2018-09-05 06:10:11.742250"]]  (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", "Gabriele Corkery"], ["service_delivery_unit_id", 4], ["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", "Gabriele Corkery"], ["name", "Dominga Block"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:10:11.751863"], ["updated_at", "2018-09-05 06:10:11.751863"]] 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", "Gabriele Corkery"], ["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", "Gabriele Corkery"], ["name", "Dominga Block"], ["description", "Default bundle for service 'Dominga Block'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:10:11.757689"], ["updated_at", "2018-09-05 06:10:11.757689"]] 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.7ms) 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", "Polly Nader"], ["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", "Herb Becker"], ["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", "Polly Nader"], ["name", "Herb Becker"], ["description", "Veniam dolores explicabo exercitationem illo ex harum accusamus sint. Sit iste earum provident voluptatibus amet accusantium et officia. Ea deleniti pariatur nobis maiores quas."], ["created_at", "2018-09-05 06:10:11.768874"], ["updated_at", "2018-09-05 06:10:11.768874"]]  (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", "Daphine Feest"], ["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", "Stephane Reilly"], ["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", "Daphine Feest"], ["name", "Stephane Reilly"], ["description", "Laudantium consectetur illum voluptate minus. Aut explicabo et repellat laudantium voluptatibus. Nisi eum tenetur necessitatibus cum accusantium."], ["equipment_type_id", 3], ["created_at", "2018-09-05 06:10:11.774400"], ["updated_at", "2018-09-05 06:10:11.774400"]]  (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", "Rosanna Deckow"], ["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", "Rosanna Deckow"], ["name", "Jacalyn Mayer"], ["description", "Katia Grant"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 06:10:11.778746"], ["updated_at", "2018-09-05 06:10:11.778746"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Leda Roob"], ["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", "Darcey Bernier"], ["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", "Leda Roob"], ["name", "Darcey Bernier"], ["description", "Bernard Hodkiewicz"], ["created_at", "2018-09-05 06:10:11.786029"], ["updated_at", "2018-09-05 06:10:11.786029"]]  (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", "Consuelo Veum"], ["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", "Consuelo Veum"], ["name", "Raguel Hamill"], ["location_type_id", 3], ["description", "Yuonne Shields"], ["address", "Donetta Koepp"], ["created_at", "2018-09-05 06:10:11.790643"], ["updated_at", "2018-09-05 06:10:11.790643"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Joni Blanda"], ["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", "Lynwood Anderson"], ["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", "Joni Blanda"], ["name", "Twanda Kling"], ["description", "Lyman Hudson"], ["serial_number", "Lynwood Anderson"], ["brand", "Thao Stoltenberg"], ["item_model", "Lisabeth Stracke"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 06:10:11.796917"], ["updated_at", "2018-09-05 06:10:11.796917"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Santos O'Hara"], ["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", "Cara Torphy"], ["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", "Santos O'Hara"], ["name", "Cara Torphy"], ["description", "Consectetur laborum natus exercitationem accusamus placeat. Quae deleniti corporis ut explicabo cupiditate quis recusandae consequatur. Dolorem eum et amet reprehenderit quia corporis id nobis. Quo fuga molestiae quia velit. Architecto quis ut aliquam ut."], ["created_at", "2018-09-05 06:10:11.806066"], ["updated_at", "2018-09-05 06:10:11.806066"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Christiane McDermott"], ["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", "Weston Volkman"], ["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", "Christiane McDermott"], ["name", "Weston Volkman"], ["description", "Voluptatum consequatur repellat unde magnam. Enim laboriosam id nihil a voluptatem doloremque. Adipisci quis nostrum ratione natus ut quae qui. Ut cupiditate vero similique libero sed. Quisquam quibusdam veniam eum et labore dolorem."], ["equipment_type_id", 4], ["created_at", "2018-09-05 06:10:11.813968"], ["updated_at", "2018-09-05 06:10:11.813968"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Bea Schumm"], ["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", "Bea Schumm"], ["name", "Elin Schuster"], ["description", "Hertha Aufderhar"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 06:10:11.820269"], ["updated_at", "2018-09-05 06:10:11.820269"]]  (0.6ms) 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", "Lashanda Hudson"], ["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", "Freeman Mraz"], ["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", "Lashanda Hudson"], ["name", "Freeman Mraz"], ["description", "Jamie Wolf"], ["created_at", "2018-09-05 06:10:11.826688"], ["updated_at", "2018-09-05 06:10:11.826688"]]  (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", "Nisha Schimmel"], ["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", "Nisha Schimmel"], ["name", "Mitch Kozey"], ["location_type_id", 4], ["description", "Shiloh Ernser"], ["address", "Michell Rohan"], ["created_at", "2018-09-05 06:10:11.830914"], ["updated_at", "2018-09-05 06:10:11.830914"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Rayna Schumm"], ["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", "Wenona Breitenberg"], ["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", "Rayna Schumm"], ["name", "Robin Huel"], ["description", "Pauline Lang"], ["serial_number", "Wenona Breitenberg"], ["brand", "Clarissa Hamill"], ["item_model", "Gay Grant"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 06:10:11.836964"], ["updated_at", "2018-09-05 06:10:11.836964"]]  (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", "king@fritschtorphy.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", "Carman Osinski"], ["last_name", "Omer Halvorson"], ["email", "king@fritschtorphy.com"], ["password_digest", "$2a$04$RXTQi1kZ9hhQKbn/RR0qAuUOgZc3ZWrLLvg1h/9JPs6Rl9p/73XMW"], ["created_at", "2018-09-05 06:10:11.843836"], ["updated_at", "2018-09-05 06:10:11.843836"]]  (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", "thalia@ankundingkuhn.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", "Brittani Padberg"], ["last_name", "Ciera Huel"], ["email", "thalia@ankundingkuhn.co.uk"], ["password_digest", "$2a$04$nPgnNGo0GEsKywqBPs9TheOdi0eGzSm5DOZGrJK4iJ7nMiETDL98S"], ["created_at", "2018-09-05 06:10:11.850063"], ["updated_at", "2018-09-05 06:10:11.850063"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"12", "authorized_by"=>"Eura Pfannerstill", "authorized_on"=>"2018-09-05", "created_by_id"=>"11", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"3", "chargeable_service_name"=>"Dominga Block", "equipment_item_id"=>"3", "equipment_item_name"=>"Robin Huel", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Sumiko Von", "status"=>"Lydia Kemmer"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["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", 10], ["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", "Sumiko Von"], ["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", "Sumiko Von"], ["authorized_by", "Eura Pfannerstill"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"3\",\"chargeable_service_name\":\"Dominga Block\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Robin Huel\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 10], ["approved_by_id", 12], ["created_at", "2018-09-05 06:10:11.860413"], ["updated_at", "2018-09-05 06:10:11.860413"]]  (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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.42ms) Completed 201 Created in 12ms (Views: 1.5ms | ActiveRecord: 5.1ms) Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" ORDER BY "mks_rate_rate_change_requests"."id" DESC LIMIT $1 [["LIMIT", 1]]  (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", "deedee.hand@baileycrona.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", "Natasha Doyle"], ["last_name", "Estefana Runolfsdottir"], ["email", "deedee.hand@baileycrona.biz"], ["password_digest", "$2a$04$7yNBSjmq.pq5VHSBEhPa9.TtkWXBDVcy3EE93ILerzp9coCIrEBzy"], ["created_at", "2018-09-05 06:10:11.892008"], ["updated_at", "2018-09-05 06:10:11.892008"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jimmy Conroy"], ["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", "Camila Armstrong"], ["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", "Jimmy Conroy"], ["name", "Camila Armstrong"], ["created_at", "2018-09-05 06:10:11.902161"], ["updated_at", "2018-09-05 06:10:11.902161"]]  (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", "Nicolas West"], ["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", "Nicolas West"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.908285"], ["updated_at", "2018-09-05 06:10:11.908285"]]  (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", "Hildegarde 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", "Hildegarde Kilback"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.913845"], ["updated_at", "2018-09-05 06:10:11.913845"]]  (0.5ms) 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", "Joy Bahringer"], ["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", "Joy Bahringer"], ["name", "Blanche Maggio"], ["address", "Lakenya Halvorson"], ["created_at", "2018-09-05 06:10:11.919259"], ["updated_at", "2018-09-05 06:10:11.919259"]]  (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", "Bess Braun"], ["service_delivery_unit_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", "Bess Braun"], ["name", "Nana Schmitt"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:10:11.926573"], ["updated_at", "2018-09-05 06:10:11.926573"]] 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", "Bess Braun"], ["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", "Bess Braun"], ["name", "Nana Schmitt"], ["description", "Default bundle for service 'Nana Schmitt'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:10:11.933595"], ["updated_at", "2018-09-05 06:10:11.933595"]] 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.6ms) RELEASE SAVEPOINT active_record_1  (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", "Alecia Johnston"], ["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", "Tonia Homenick"], ["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", "Alecia Johnston"], ["name", "Tonia Homenick"], ["created_at", "2018-09-05 06:10:11.945466"], ["updated_at", "2018-09-05 06:10:11.945466"]]  (0.5ms) 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", "Shery Steuber"], ["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", "Shery Steuber"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.952012"], ["updated_at", "2018-09-05 06:10:11.952012"]]  (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", "Mozelle Rutherford"], ["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", "Mozelle Rutherford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:11.957256"], ["updated_at", "2018-09-05 06:10:11.957256"]]  (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", "Tony Wehner"], ["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", "Tony Wehner"], ["name", "Thurman Boyer"], ["address", "Solange Welch"], ["created_at", "2018-09-05 06:10:11.963131"], ["updated_at", "2018-09-05 06:10:11.963131"]]  (0.4ms) 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", "Shantae Cassin"], ["service_delivery_unit_id", 6], ["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", "Shantae Cassin"], ["name", "Shyla Grimes"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:10:11.968316"], ["updated_at", "2018-09-05 06:10:11.968316"]] 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", 6], ["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", "Shantae Cassin"], ["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", "Shantae Cassin"], ["name", "Shyla Grimes"], ["description", "Default bundle for service 'Shyla Grimes'"], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:10:11.974557"], ["updated_at", "2018-09-05 06:10:11.974557"]] 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  (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", "Tequila Bruen"], ["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", "Brandon Wehner"], ["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", "Tequila Bruen"], ["name", "Brandon Wehner"], ["description", "Non est et animi impedit quia. Voluptate aspernatur similique unde voluptatum. Ut sed laudantium natus veniam quod."], ["created_at", "2018-09-05 06:10:11.988221"], ["updated_at", "2018-09-05 06:10:11.988221"]]  (0.7ms) 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", "Grant Roob"], ["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", "Quinn Klein"], ["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", "Grant Roob"], ["name", "Quinn Klein"], ["description", "Id est architecto dolorum sit vero porro incidunt exercitationem. Dolores nulla tenetur et adipisci perspiciatis quo veritatis. Quam sit inventore ea tempore perferendis."], ["equipment_type_id", 5], ["created_at", "2018-09-05 06:10:11.995066"], ["updated_at", "2018-09-05 06:10:11.995066"]]  (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", "Mariel Upton"], ["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", "Mariel Upton"], ["name", "Tynisha Hartmann"], ["description", "Usha Bergnaum"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 06:10:12.000512"], ["updated_at", "2018-09-05 06:10:12.000512"]]  (0.5ms) 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", "Joleen Nader"], ["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", "Shaina Yundt"], ["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", "Joleen Nader"], ["name", "Shaina Yundt"], ["description", "Twanna Pouros"], ["created_at", "2018-09-05 06:10:12.008189"], ["updated_at", "2018-09-05 06:10:12.008189"]]  (0.6ms) 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", "Emory Homenick"], ["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", "Emory Homenick"], ["name", "Mardell Kuhlman"], ["location_type_id", 5], ["description", "Nova Schinner"], ["address", "Rebbeca Welch"], ["created_at", "2018-09-05 06:10:12.013178"], ["updated_at", "2018-09-05 06:10:12.013178"]]  (0.8ms) 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", "Shantay Luettgen"], ["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", "Lise Koelpin"], ["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", "Shantay Luettgen"], ["name", "Santa Denesik"], ["description", "Caroyln Kling"], ["serial_number", "Lise Koelpin"], ["brand", "Kathlyn Langosh"], ["item_model", "Minna Leffler"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 06:10:12.020937"], ["updated_at", "2018-09-05 06:10:12.020937"]]  (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", "Clotilde Senger"], ["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", "Hyun Wehner"], ["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", "Clotilde Senger"], ["name", "Hyun Wehner"], ["description", "Libero corrupti voluptate dolores voluptatem qui sit nobis. Sint eos nulla veniam consequatur repellat quae impedit. Nihil sunt voluptatum cumque veritatis qui quia. Nihil incidunt autem qui ut eos nostrum in. In architecto non laboriosam et enim."], ["created_at", "2018-09-05 06:10:12.029667"], ["updated_at", "2018-09-05 06:10:12.029667"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lenore Corkery"], ["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", "Celine Jerde"], ["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", "Lenore Corkery"], ["name", "Celine Jerde"], ["description", "Adipisci consequuntur consequatur aliquid voluptatum veniam laudantium nihil. Possimus laudantium doloribus at voluptatem sit enim eum consequatur. Omnis officiis non dicta voluptas minus. Enim similique tempore inventore ut cum vero officiis ut. Sunt enim dolores tenetur porro numquam."], ["equipment_type_id", 6], ["created_at", "2018-09-05 06:10:12.036460"], ["updated_at", "2018-09-05 06:10:12.036460"]]  (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", "Tonya 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", "Tonya Jerde"], ["name", "Lan Stracke"], ["description", "Debrah Jewess"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 06:10:12.041466"], ["updated_at", "2018-09-05 06:10:12.041466"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ayana Rohan"], ["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", "Shanna Gleichner"], ["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", "Ayana Rohan"], ["name", "Shanna Gleichner"], ["description", "Deandra Zemlak"], ["created_at", "2018-09-05 06:10:12.049100"], ["updated_at", "2018-09-05 06:10:12.049100"]]  (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", "Jame Dicki"], ["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", "Jame Dicki"], ["name", "Felicitas Douglas"], ["location_type_id", 6], ["description", "Tula Bogan"], ["address", "Tonya Christiansen"], ["created_at", "2018-09-05 06:10:12.054522"], ["updated_at", "2018-09-05 06:10:12.054522"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Florine Gusikowski"], ["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", "Garret Simonis"], ["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", "Florine Gusikowski"], ["name", "Jude Willms"], ["description", "Lanny Larson"], ["serial_number", "Garret Simonis"], ["brand", "Luvenia Jacobi"], ["item_model", "Valrie Rippin"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 06:10:12.061671"], ["updated_at", "2018-09-05 06:10:12.061671"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "carlee.murazik@lockman.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", "Nydia Jenkins"], ["last_name", "Particia Monahan"], ["email", "carlee.murazik@lockman.info"], ["password_digest", "$2a$04$u0MC0dRvRllNFvTtZg.NxeupDMYo4uWuG2Dvl2l7RSnq6YHNDBfhm"], ["created_at", "2018-09-05 06:10:12.071370"], ["updated_at", "2018-09-05 06:10:12.071370"]]  (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", "malik.sauer@anderson.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", "Victor Waters"], ["last_name", "Sandie O'Keefe"], ["email", "malik.sauer@anderson.co.uk"], ["password_digest", "$2a$04$8ETS70Nv9rUMZKTIZ/SyeOeL6QbsXWe0TFpBlQbvk298ksw9PCqt6"], ["created_at", "2018-09-05 06:10:12.078890"], ["updated_at", "2018-09-05 06:10:12.078890"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"15", "authorized_by"=>"Hester Walter", "authorized_on"=>"2018-09-05", "created_by_id"=>"14", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"5", "chargeable_service_name"=>"Shyla Grimes", "equipment_item_id"=>"5", "equipment_item_name"=>"Jude Willms", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Trent Shields"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]]  (0.8ms) 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", ""], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 422 Unprocessable Entity in 20ms (ActiveRecord: 4.4ms)  (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", "gaston.langworth@erdman.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", "Francesca Zulauf"], ["last_name", "Neal Schmitt"], ["email", "gaston.langworth@erdman.info"], ["password_digest", "$2a$04$sJrkafLzXb9cfxnrSRLhEucaCKFsYmuF.NJzrJRCNtFZF/dPyo2p6"], ["created_at", "2018-09-05 06:10:12.112059"], ["updated_at", "2018-09-05 06:10:12.112059"]]  (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", "rebeca@ryan.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", "Stasia Mayer"], ["last_name", "Marylynn Parisian"], ["email", "rebeca@ryan.co.uk"], ["password_digest", "$2a$04$8Lu/c3nVb2H9paFk1lhk8uTyuQUBwBp9iqYzKrRzj4wz/EV75ttOm"], ["created_at", "2018-09-05 06:10:12.118648"], ["updated_at", "2018-09-05 06:10:12.118648"]]  (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", "fredda@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", "Kayce Kuhn"], ["last_name", "Angeles Johns"], ["email", "fredda@daniel.co.uk"], ["password_digest", "$2a$04$7anSLMqXs8mDMFh8jHv6WeT76S7IE89r8zwyM.lEhKfnAKl.E6PEy"], ["created_at", "2018-09-05 06:10:12.125156"], ["updated_at", "2018-09-05 06:10:12.125156"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Salvador Flatley"], ["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", "Salvador Flatley"], ["authorized_by", "Belkis 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", 17], ["approved_by_id", 18], ["created_at", "2018-09-05 06:10:12.129607"], ["updated_at", "2018-09-05 06:10:12.129607"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Augusta Pouros"}, "id"=>"5"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["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", 5], ["LIMIT", 1]]  (0.6ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Salvador Flatley"], ["id", 5], ["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", 17], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.5ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Augusta Pouros"], ["updated_at", "2018-09-05 06:10:12.140688"], ["id", 5]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.16ms) Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["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.9ms) Mks::Rate::RateChangeRequest Load (1.4ms) 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.7ms) ROLLBACK  (0.7ms) 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", "dana@welchflatley.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", "Tajuana Mueller"], ["last_name", "Guadalupe Wunsch"], ["email", "dana@welchflatley.co.uk"], ["password_digest", "$2a$04$GrWllcRA5y7kX1lkQrCSF.Mp1gcxhVWvMV5vTMd6XJRBENcKCknXK"], ["created_at", "2018-09-05 06:10:12.157743"], ["updated_at", "2018-09-05 06:10:12.157743"]]  (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", "vanita_dicki@shanahan.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", "Leatrice Moen"], ["last_name", "Reina O'Connell"], ["email", "vanita_dicki@shanahan.co.uk"], ["password_digest", "$2a$04$u6ar3Ghcu0tEJh7JdpuZp.DLfHGzhuDPll5yLKjKjsSEq84NqM4ty"], ["created_at", "2018-09-05 06:10:12.164256"], ["updated_at", "2018-09-05 06:10:12.164256"]]  (0.9ms) 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", "maranda@herman.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", "Renda Grimes"], ["last_name", "Francina Bogisich"], ["email", "maranda@herman.name"], ["password_digest", "$2a$04$i5BraiUK3fEITfUmjqy.5.KqX1TRZfVwMVklLL4X//q9QbDuIK7tG"], ["created_at", "2018-09-05 06:10:12.171403"], ["updated_at", "2018-09-05 06:10:12.171403"]]  (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", "Gary Pollich"], ["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", "Gary Pollich"], ["authorized_by", "Paris Romaguera"], ["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", 20], ["approved_by_id", 21], ["created_at", "2018-09-05 06:10:12.176232"], ["updated_at", "2018-09-05 06:10:12.176232"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "Rena Schmidt"], ["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", "Jay Pfannerstill"], ["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", "Rena Schmidt"], ["name", "Jay Pfannerstill"], ["created_at", "2018-09-05 06:10:12.182637"], ["updated_at", "2018-09-05 06:10:12.182637"]]  (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", "Weston Auer"], ["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", "Weston Auer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:12.188426"], ["updated_at", "2018-09-05 06:10:12.188426"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Krystal Wiegand"], ["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", "Krystal Wiegand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:12.194574"], ["updated_at", "2018-09-05 06:10:12.194574"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Numbers Jacobs"], ["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", "Numbers Jacobs"], ["name", "Dave Osinski"], ["address", "Vinnie McClure"], ["created_at", "2018-09-05 06:10:12.199572"], ["updated_at", "2018-09-05 06:10:12.199572"]]  (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", "Eldora Schiller"], ["service_delivery_unit_id", 7], ["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", "Eldora Schiller"], ["name", "Torie Carter"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:10:12.205541"], ["updated_at", "2018-09-05 06:10:12.205541"]] 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", 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", "Eldora Schiller"], ["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", "Eldora Schiller"], ["name", "Torie Carter"], ["description", "Default bundle for service 'Torie Carter'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:10:12.210330"], ["updated_at", "2018-09-05 06:10:12.210330"]] 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", 7], ["chargeable_service_id", 7]]  (1.1ms) 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", "Marianela Koch"], ["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", "Inez Skiles"], ["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", "Marianela Koch"], ["name", "Inez Skiles"], ["created_at", "2018-09-05 06:10:12.220176"], ["updated_at", "2018-09-05 06:10:12.220176"]]  (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", "Dovie McDermott"], ["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", "Dovie McDermott"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:12.224751"], ["updated_at", "2018-09-05 06:10:12.224751"]]  (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", "Charlotte Ortiz"], ["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", "Charlotte Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:12.228961"], ["updated_at", "2018-09-05 06:10:12.228961"]]  (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", "Alberto Koepp"], ["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", "Alberto Koepp"], ["name", "Aldo Kling"], ["address", "Kathline Marquardt"], ["created_at", "2018-09-05 06:10:12.233256"], ["updated_at", "2018-09-05 06:10:12.233256"]]  (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", "Alfredo Heaney"], ["service_delivery_unit_id", 8], ["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", "Alfredo Heaney"], ["name", "Claire Champlin"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:10:12.237760"], ["updated_at", "2018-09-05 06:10:12.237760"]] 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]] 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", "Alfredo 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", "Alfredo Heaney"], ["name", "Claire Champlin"], ["description", "Default bundle for service 'Claire Champlin'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:10:12.242686"], ["updated_at", "2018-09-05 06:10:12.242686"]] 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", 8], ["chargeable_service_id", 8]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Sheron Wiza"], ["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", "Jin Gerlach"], ["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", "Sheron Wiza"], ["name", "Jin Gerlach"], ["description", "Et molestiae aut eaque laborum repudiandae. Sequi deleniti magni sed rem modi voluptatem. Est ut quidem aut sint quia rerum libero sed."], ["created_at", "2018-09-05 06:10:12.251847"], ["updated_at", "2018-09-05 06:10:12.251847"]]  (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", "Lanette Luettgen"], ["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", "Domenic Medhurst"], ["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", "Lanette Luettgen"], ["name", "Domenic Medhurst"], ["description", "Odit aut quo animi aperiam. Veniam suscipit minima dolor molestiae deleniti neque vel. Est quibusdam incidunt excepturi laudantium qui cupiditate dolorem. Occaecati dolor esse iure sequi ipsum reprehenderit neque."], ["equipment_type_id", 7], ["created_at", "2018-09-05 06:10:12.256876"], ["updated_at", "2018-09-05 06:10:12.256876"]]  (0.4ms) 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", "Marjory Howe"], ["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", "Marjory Howe"], ["name", "Milton Hessel"], ["description", "Shantay Quigley"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 06:10:12.260884"], ["updated_at", "2018-09-05 06:10:12.260884"]]  (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", "Rosemarie Kutch"], ["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", "Thomasine Morissette"], ["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", "Rosemarie Kutch"], ["name", "Thomasine Morissette"], ["description", "Shanita Nolan"], ["created_at", "2018-09-05 06:10:12.266801"], ["updated_at", "2018-09-05 06:10:12.266801"]]  (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", "Doreen Swaniawski"], ["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", "Doreen Swaniawski"], ["name", "Evelyne Jacobi"], ["location_type_id", 7], ["description", "Michaele Johnson"], ["address", "Erlinda Zulauf"], ["created_at", "2018-09-05 06:10:12.271172"], ["updated_at", "2018-09-05 06:10:12.271172"]]  (0.8ms) 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", "Linnea Considine"], ["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", "Lovella Feil"], ["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", "Linnea Considine"], ["name", "Ardelia Schneider"], ["description", "Clarence Trantow"], ["serial_number", "Lovella Feil"], ["brand", "Clint Krajcik"], ["item_model", "Queen Lind"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 06:10:12.277618"], ["updated_at", "2018-09-05 06:10:12.277618"]]  (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", "Lonny Dicki"], ["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", "Cyril McDermott"], ["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", "Lonny Dicki"], ["name", "Cyril McDermott"], ["description", "Sunt reiciendis quae eveniet illo voluptatum. Similique reiciendis dolores est sint accusamus dolores dignissimos. Ut suscipit voluptatibus voluptatem et totam ipsa repellat magni."], ["created_at", "2018-09-05 06:10:12.284839"], ["updated_at", "2018-09-05 06:10:12.284839"]]  (0.7ms) 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", "Stasia Welch"], ["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", "Shaniqua Crist"], ["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", "Stasia Welch"], ["name", "Shaniqua Crist"], ["description", "Voluptatum temporibus fuga dolorem eligendi provident ut. Atque et doloribus est iste ut ipsa ullam. Ducimus dolorem velit eos et voluptatem."], ["equipment_type_id", 8], ["created_at", "2018-09-05 06:10:12.290299"], ["updated_at", "2018-09-05 06:10:12.290299"]]  (0.5ms) 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", "Agnes Kub"], ["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", "Agnes Kub"], ["name", "Kyle Marvin"], ["description", "Adriene Stoltenberg"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 06:10:12.295018"], ["updated_at", "2018-09-05 06:10:12.295018"]]  (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", "Thad Nikolaus"], ["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", "Janeen Cassin"], ["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", "Thad Nikolaus"], ["name", "Janeen Cassin"], ["description", "Dulcie Littel"], ["created_at", "2018-09-05 06:10:12.300675"], ["updated_at", "2018-09-05 06:10:12.300675"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Winston Reynolds"], ["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", "Winston Reynolds"], ["name", "Brock Deckow"], ["location_type_id", 8], ["description", "Matthew Turcotte"], ["address", "Tifany Walker"], ["created_at", "2018-09-05 06:10:12.305881"], ["updated_at", "2018-09-05 06:10:12.305881"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Daniela Barton"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Shellie Medhurst"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Daniela Barton"], ["name", "Alexis Watsica"], ["description", "Barry Metz"], ["serial_number", "Shellie Medhurst"], ["brand", "Daniel Bartell"], ["item_model", "Courtney Denesik"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 06:10:12.313272"], ["updated_at", "2018-09-05 06:10:12.313272"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "winter@schiller.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", "Myesha Morar"], ["last_name", "Veronika Funk"], ["email", "winter@schiller.co.uk"], ["password_digest", "$2a$04$W5fVAWEtX8xseHIk39AUduDwZqLCM1Js43vDrMBuhaIa3iH8Jn1KS"], ["created_at", "2018-09-05 06:10:12.321895"], ["updated_at", "2018-09-05 06:10:12.321895"]]  (0.4ms) 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", "kerry.quitzon@koelpinmosciski.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", "Olevia Conn"], ["last_name", "Kaycee Harber"], ["email", "kerry.quitzon@koelpinmosciski.co.uk"], ["password_digest", "$2a$04$kYCSOP9bqDlvDMc4EpHvAOAudu1hY02cpj/bmyUzmu8duSXG8.SzW"], ["created_at", "2018-09-05 06:10:12.328089"], ["updated_at", "2018-09-05 06:10:12.328089"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"23", "authorized_by"=>"Lucila McDermott", "authorized_on"=>"2018-09-05", "created_by_id"=>"22", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"7", "chargeable_service_name"=>"Claire Champlin", "equipment_item_id"=>"7", "equipment_item_name"=>"Alexis Watsica", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Marylynn Bruen", "status"=>"Thomas Boehm"}, "id"=>"6"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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.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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Marylynn Bruen"], ["id", 6], ["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", 22], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 15ms (Views: 3.6ms | ActiveRecord: 6.0ms)  (1.2ms) ROLLBACK  (0.4ms) BEGIN  (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", "gabriel@metz.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", "Lin Smitham"], ["last_name", "Cortney Kessler"], ["email", "gabriel@metz.us"], ["password_digest", "$2a$04$uwJFd7A.zx084h4lrUMmzeS41lKG96XsxwEq0M8QyUgadu9U8jxJi"], ["created_at", "2018-09-05 06:10:12.355948"], ["updated_at", "2018-09-05 06:10:12.355948"]]  (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", "adrian_gottlieb@rice.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", "Arturo Bernier"], ["last_name", "Zola Ratke"], ["email", "adrian_gottlieb@rice.biz"], ["password_digest", "$2a$04$0nQV.WZSwOR5TieddC0Bkesr7/CvFjHkrTQa3/0yFScv82W8/dPIG"], ["created_at", "2018-09-05 06:10:12.362442"], ["updated_at", "2018-09-05 06:10:12.362442"]]  (0.6ms) 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", "emelia@damore.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", "Paris Pagac"], ["last_name", "Yahaira Quigley"], ["email", "emelia@damore.name"], ["password_digest", "$2a$04$Y8a7SJB8Orh12OLktADra.so8b1Y7EW6JJ2HppUNn4CiLH5pH9utu"], ["created_at", "2018-09-05 06:10:12.370000"], ["updated_at", "2018-09-05 06:10:12.370000"]]  (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", "Christal Hansen"], ["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", "Christal Hansen"], ["authorized_by", "Aida Kessler"], ["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", 25], ["approved_by_id", 26], ["created_at", "2018-09-05 06:10:12.374545"], ["updated_at", "2018-09-05 06:10:12.374545"]]  (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", "Caitlin Mueller"], ["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", "Ena Feeney"], ["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", "Caitlin Mueller"], ["name", "Ena Feeney"], ["created_at", "2018-09-05 06:10:12.380691"], ["updated_at", "2018-09-05 06:10:12.380691"]]  (0.4ms) 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", "Pura Ledner"], ["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", "Pura Ledner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:12.385927"], ["updated_at", "2018-09-05 06:10:12.385927"]]  (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", "Emilie Deckow"], ["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", "Emilie Deckow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:12.391945"], ["updated_at", "2018-09-05 06:10:12.391945"]]  (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", "Roland 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", "Roland Emard"], ["name", "Florida Reilly"], ["address", "Lavenia Green"], ["created_at", "2018-09-05 06:10:12.397336"], ["updated_at", "2018-09-05 06:10:12.397336"]]  (1.8ms) RELEASE SAVEPOINT active_record_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", "Renaldo Wintheiser"], ["service_delivery_unit_id", 9], ["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", "Renaldo Wintheiser"], ["name", "Enoch Lakin"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:10:12.404026"], ["updated_at", "2018-09-05 06:10:12.404026"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Renaldo Wintheiser"], ["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", "Renaldo Wintheiser"], ["name", "Enoch Lakin"], ["description", "Default bundle for service 'Enoch Lakin'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:10:12.409608"], ["updated_at", "2018-09-05 06:10:12.409608"]] 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", 9], ["chargeable_service_id", 9]]  (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", "Sherron Goodwin"], ["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", "Spring Purdy"], ["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", "Sherron Goodwin"], ["name", "Spring Purdy"], ["created_at", "2018-09-05 06:10:12.418544"], ["updated_at", "2018-09-05 06:10:12.418544"]]  (0.4ms) 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", "Thu Oberbrunner"], ["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", "Thu Oberbrunner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:12.423230"], ["updated_at", "2018-09-05 06:10:12.423230"]]  (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", "Amada Morissette"], ["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", "Amada Morissette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:10:12.428044"], ["updated_at", "2018-09-05 06:10:12.428044"]]  (0.5ms) 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", "Debera Schiller"], ["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", "Debera Schiller"], ["name", "Shaunte Bosco"], ["address", "Deon Schmitt"], ["created_at", "2018-09-05 06:10:12.433493"], ["updated_at", "2018-09-05 06:10:12.433493"]]  (0.4ms) 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", "Adrianne Bartell"], ["service_delivery_unit_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", "Adrianne Bartell"], ["name", "Cristin Gibson"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:10:12.438089"], ["updated_at", "2018-09-05 06:10:12.438089"]] 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", "Adrianne Bartell"], ["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", "Adrianne Bartell"], ["name", "Cristin Gibson"], ["description", "Default bundle for service 'Cristin Gibson'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:10:12.442997"], ["updated_at", "2018-09-05 06:10:12.442997"]] 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.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", "Kaleigh Green"], ["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", "Lavelle Wiza"], ["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", "Kaleigh Green"], ["name", "Lavelle Wiza"], ["description", "Officiis totam temporibus explicabo atque consequatur expedita ut. Ut nemo expedita maiores qui esse. Consequatur dicta aliquam rerum nemo quia ullam eum. Voluptatem ut labore nihil commodi adipisci autem quae et. Autem voluptatem consequuntur voluptatem odio sed quam inventore ut."], ["created_at", "2018-09-05 06:10:12.452331"], ["updated_at", "2018-09-05 06:10:12.452331"]]  (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", "Penni Bernier"], ["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", "Reynaldo Will"], ["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", "Penni Bernier"], ["name", "Reynaldo Will"], ["description", "Aut possimus et voluptatem est et id cumque quaerat. Ullam iste omnis et sed dolores. Consequatur nisi dignissimos cum alias assumenda. Tempora et consequatur voluptates nesciunt vel."], ["equipment_type_id", 9], ["created_at", "2018-09-05 06:10:12.457502"], ["updated_at", "2018-09-05 06:10:12.457502"]]  (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", "Blanca Purdy"], ["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", "Blanca Purdy"], ["name", "Minna Koelpin"], ["description", "Toi Jacobi"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 06:10:12.461736"], ["updated_at", "2018-09-05 06:10:12.461736"]]  (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", "Stella Homenick"], ["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", "Nola Lindgren"], ["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", "Stella Homenick"], ["name", "Nola Lindgren"], ["description", "Marcus Lemke"], ["created_at", "2018-09-05 06:10:12.467445"], ["updated_at", "2018-09-05 06:10:12.467445"]]  (0.4ms) 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", "Elwanda Wisoky"], ["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", "Elwanda Wisoky"], ["name", "Sook Wyman"], ["location_type_id", 9], ["description", "Gabriele Thompson"], ["address", "Agnus Walter"], ["created_at", "2018-09-05 06:10:12.471567"], ["updated_at", "2018-09-05 06:10:12.471567"]]  (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", "Tequila 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", "Pok Cummings"], ["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", "Tequila Lebsack"], ["name", "Karren Ritchie"], ["description", "Darren Wolff"], ["serial_number", "Pok Cummings"], ["brand", "Twanna Wehner"], ["item_model", "Devora Stanton"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 06:10:12.476931"], ["updated_at", "2018-09-05 06:10:12.476931"]]  (0.5ms) 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", "Jeanett 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", "Linwood Harris"], ["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", "Jeanett Ferry"], ["name", "Linwood Harris"], ["description", "Quam consequatur fuga id dolores. Quis dignissimos expedita sunt nihil voluptatem quidem laborum. Soluta nemo laborum ea natus modi similique voluptatem corporis."], ["created_at", "2018-09-05 06:10:12.483885"], ["updated_at", "2018-09-05 06:10:12.483885"]]  (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", "Lanell Douglas"], ["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", "Jody Ward"], ["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", "Lanell Douglas"], ["name", "Jody Ward"], ["description", "Nisi ratione rerum mollitia magnam quia. Consequuntur eos aliquid deleniti qui. Officia eum quas minus qui ullam. Sint et voluptas ullam enim sequi."], ["equipment_type_id", 10], ["created_at", "2018-09-05 06:10:12.489237"], ["updated_at", "2018-09-05 06:10:12.489237"]]  (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", "Lien Cassin"], ["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", "Lien Cassin"], ["name", "Danilo Waters"], ["description", "Brice Koelpin"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 06:10:12.493474"], ["updated_at", "2018-09-05 06:10:12.493474"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Christina Bechtelar"], ["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", "Lashawnda Hettinger"], ["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", "Christina Bechtelar"], ["name", "Lashawnda Hettinger"], ["description", "Ivory O'Connell"], ["created_at", "2018-09-05 06:10:12.500644"], ["updated_at", "2018-09-05 06:10:12.500644"]]  (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", "Trudi Hammes"], ["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", "Trudi Hammes"], ["name", "Wan Conroy"], ["location_type_id", 10], ["description", "Reatha Bailey"], ["address", "Samuel Goldner"], ["created_at", "2018-09-05 06:10:12.504899"], ["updated_at", "2018-09-05 06:10:12.504899"]]  (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", "Elvin O'Keefe"], ["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", "Katherin DuBuque"], ["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", "Elvin O'Keefe"], ["name", "Monte Smith"], ["description", "Frieda Dooley"], ["serial_number", "Katherin DuBuque"], ["brand", "Hermelinda Greenfelder"], ["item_model", "Angelique Conroy"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 06:10:12.510279"], ["updated_at", "2018-09-05 06:10:12.510279"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "angele@hamill.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", "Loida Emard"], ["last_name", "Evangeline Bayer"], ["email", "angele@hamill.info"], ["password_digest", "$2a$04$OwNjtQFmWhIU/pIlTf12aeOKuE4xMl.32PbFSkIjs1kg6zjKARbf2"], ["created_at", "2018-09-05 06:10:12.520923"], ["updated_at", "2018-09-05 06:10:12.520923"]]  (0.9ms) 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", "mckinley.barton@howekulas.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", "Jerome Pollich"], ["last_name", "Shaunta Balistreri"], ["email", "mckinley.barton@howekulas.name"], ["password_digest", "$2a$04$XgO.lVqalODeUiZ4DFTxgOYVtQhUeTqSzJC7kttB5AIyaO1CRaN8q"], ["created_at", "2018-09-05 06:10:12.528487"], ["updated_at", "2018-09-05 06:10:12.528487"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"28", "authorized_by"=>"Charline Muller", "authorized_on"=>"2018-09-05", "created_by_id"=>"27", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"9", "chargeable_service_name"=>"Cristin Gibson", "equipment_item_id"=>"9", "equipment_item_name"=>"Monte Smith", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Ji Schneider"}, "id"=>"7"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["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", 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.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO 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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.3ms | ActiveRecord: 5.4ms)  (0.9ms) ROLLBACK  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (1.2ms) 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", "cody@okeefe.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", "Marisa Hintz"], ["last_name", "Ouida Feest"], ["email", "cody@okeefe.info"], ["password_digest", "$2a$04$hbbJsrPU1ehCrrT8rM4hq.RZ3kxVssczFaOSsApBhArfNNWzHniI2"], ["created_at", "2018-09-05 06:11:01.539076"], ["updated_at", "2018-09-05 06:11:01.539076"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "noma_nader@kulaskovacek.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", "Kerry Cummerata"], ["last_name", "Zulma Reinger"], ["email", "noma_nader@kulaskovacek.com"], ["password_digest", "$2a$04$TEkuVBJvZZRL/fec7VPxVuw9tgMd4HdkP.tvor4amaXgcGfiQvZMK"], ["created_at", "2018-09-05 06:11:01.568198"], ["updated_at", "2018-09-05 06:11:01.568198"]]  (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", "lana_bosco@jacobson.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", "Morgan Carter"], ["last_name", "Ezra Jewess"], ["email", "lana_bosco@jacobson.biz"], ["password_digest", "$2a$04$IjRB8X9Yr/7HiG/4jgX2COS8z3C3sn3GcU675coUhYFITDnr5McaG"], ["created_at", "2018-09-05 06:11:01.581711"], ["updated_at", "2018-09-05 06:11:01.581711"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Jill Nicolas"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.7ms) 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", "Jill Nicolas"], ["authorized_by", "Scottie Waelchi"], ["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", 2], ["approved_by_id", 3], ["created_at", "2018-09-05 06:11:01.590225"], ["updated_at", "2018-09-05 06:11:01.590225"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#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.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.9ms) 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: 2, approved_by_id: 3, remark: nil, created_at: "2018-09-05 06:11:01", updated_at: "2018-09-05 06:11:01"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.5ms) Completed 200 OK in 21ms (Views: 14.4ms | ActiveRecord: 3.1ms)  (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", "darren@raynor.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", "Coral Marks"], ["last_name", "Arlen Green"], ["email", "darren@raynor.co.uk"], ["password_digest", "$2a$04$jXfQND.d9FNDH0MV7Ggvpu2K/A5AjaNjUo7RffaXDGHYkNCQGj0v6"], ["created_at", "2018-09-05 06:11:01.626438"], ["updated_at", "2018-09-05 06:11:01.626438"]]  (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", "enedina_hilll@green.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", "Maryalice Reichel"], ["last_name", "Ching Grimes"], ["email", "enedina_hilll@green.com"], ["password_digest", "$2a$04$zbRlLY2jkmV3PwNooaqYneYDC.H6CCoND0upuvBEtQIsPAS8Iu8V."], ["created_at", "2018-09-05 06:11:01.633965"], ["updated_at", "2018-09-05 06:11:01.633965"]]  (1.0ms) 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", "rosemarie@larsonjenkins.biz"], ["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", "Mariah Carter"], ["last_name", "Narcisa Stamm"], ["email", "rosemarie@larsonjenkins.biz"], ["password_digest", "$2a$04$ETkjqRY0sEuOUZ5z9HwAWOaIc731dPmDuPRJ517g17joqLlNtcGF6"], ["created_at", "2018-09-05 06:11:01.641431"], ["updated_at", "2018-09-05 06:11:01.641431"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Kristeen Quitzon"], ["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", "Kristeen Quitzon"], ["authorized_by", "Ha Braun"], ["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", 5], ["approved_by_id", 6], ["created_at", "2018-09-05 06:11:01.646090"], ["updated_at", "2018-09-05 06:11:01.646090"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} 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]] 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", 2], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) 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 Mks::Rate::RateChangeRequest (0.55ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 2.9ms)  (1.0ms) 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", "ninfa@eberthettinger.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", "Felisa Gutmann"], ["last_name", "Joni Prohaska"], ["email", "ninfa@eberthettinger.com"], ["password_digest", "$2a$04$z2jVWFfvSz0ODQIed3edPu1bMsjymagXXKnYI.sSt2Ci.wenuhyfe"], ["created_at", "2018-09-05 06:11:01.668292"], ["updated_at", "2018-09-05 06:11:01.668292"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (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", "Stevie Hartmann"], ["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", "Wendolyn Eichmann"], ["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", "Stevie Hartmann"], ["name", "Wendolyn Eichmann"], ["created_at", "2018-09-05 06:11:01.714070"], ["updated_at", "2018-09-05 06:11:01.714070"]]  (0.5ms) 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", "Bella Gusikowski"], ["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", "Bella Gusikowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:01.732602"], ["updated_at", "2018-09-05 06:11:01.732602"]]  (0.7ms) 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", "Carlene Mraz"], ["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", "Carlene Mraz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:01.738626"], ["updated_at", "2018-09-05 06:11:01.738626"]]  (0.4ms) 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", "Daphine Mills"], ["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", "Daphine Mills"], ["name", "Magnolia Franecki"], ["address", "Tenisha Padberg"], ["created_at", "2018-09-05 06:11:01.756060"], ["updated_at", "2018-09-05 06:11:01.756060"]]  (0.4ms) 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", "Elicia Leannon"], ["service_delivery_unit_id", 1], ["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", "Elicia Leannon"], ["name", "Nery Kihn"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:11:01.762698"], ["updated_at", "2018-09-05 06:11:01.762698"]] 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", 1], ["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", "Elicia Leannon"], ["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", "Elicia Leannon"], ["name", "Nery Kihn"], ["description", "Default bundle for service 'Nery Kihn'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:11:01.791855"], ["updated_at", "2018-09-05 06:11:01.791855"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.0ms) 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.7ms) 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", "Lyman Lebsack"], ["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", "Etsuko Kuvalis"], ["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", "Lyman Lebsack"], ["name", "Etsuko Kuvalis"], ["created_at", "2018-09-05 06:11:01.820611"], ["updated_at", "2018-09-05 06:11:01.820611"]]  (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", "Mari Gottlieb"], ["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", "Mari Gottlieb"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:01.825290"], ["updated_at", "2018-09-05 06:11:01.825290"]]  (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", "Staci Barton"], ["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", "Staci Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:01.830500"], ["updated_at", "2018-09-05 06:11:01.830500"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Lorna Waters"], ["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", "Lorna Waters"], ["name", "Letisha Towne"], ["address", "Adaline Quigley"], ["created_at", "2018-09-05 06:11:01.836057"], ["updated_at", "2018-09-05 06:11:01.836057"]]  (0.4ms) 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", "Margarito Fadel"], ["service_delivery_unit_id", 2], ["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", "Margarito Fadel"], ["name", "Ashlea Dietrich"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:11:01.840857"], ["updated_at", "2018-09-05 06:11:01.840857"]] 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", 2], ["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", "Margarito Fadel"], ["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", "Margarito Fadel"], ["name", "Ashlea Dietrich"], ["description", "Default bundle for service 'Ashlea Dietrich'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:11:01.847634"], ["updated_at", "2018-09-05 06:11:01.847634"]] 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", 2], ["chargeable_service_id", 2]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Petra Lynch"], ["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", "Deanne Cremin"], ["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", "Petra Lynch"], ["name", "Deanne Cremin"], ["description", "Sed in et sunt dolorem qui neque. Voluptatibus minima molestias aut expedita. Voluptatem eligendi voluptates voluptas soluta minus quod dolores quis. Perferendis voluptatum sapiente sit ullam. Possimus sed quam nobis tempore."], ["created_at", "2018-09-05 06:11:01.940211"], ["updated_at", "2018-09-05 06:11:01.940211"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Holli Russel"], ["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", "Wanda Ritchie"], ["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", "Holli Russel"], ["name", "Wanda Ritchie"], ["description", "Est similique dolorem rem voluptas rerum qui autem et. Perferendis temporibus alias eos quia omnis optio nostrum. Cupiditate velit cumque officiis et molestias culpa. Modi commodi cumque omnis aut ex. Praesentium alias natus autem commodi dolor."], ["equipment_type_id", 1], ["created_at", "2018-09-05 06:11:01.948756"], ["updated_at", "2018-09-05 06:11:01.948756"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Kathyrn Schoen"], ["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", "Kathyrn Schoen"], ["name", "Trent Flatley"], ["description", "Evelina Bernier"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 06:11:01.955719"], ["updated_at", "2018-09-05 06:11:01.955719"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Alesia O'Connell"], ["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", "Ouida Jast"], ["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", "Alesia O'Connell"], ["name", "Ouida Jast"], ["description", "Jackelyn Gerhold"], ["created_at", "2018-09-05 06:11:01.989605"], ["updated_at", "2018-09-05 06:11:01.989605"]]  (0.6ms) 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", "Monika Kuhic"], ["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", "Monika Kuhic"], ["name", "Liana Anderson"], ["location_type_id", 1], ["description", "Fatima Kohler"], ["address", "Deena Grimes"], ["created_at", "2018-09-05 06:11:01.995906"], ["updated_at", "2018-09-05 06:11:01.995906"]]  (0.5ms) 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", "Ramon Jaskolski"], ["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", "Xavier Zemlak"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Ramon Jaskolski"], ["name", "Cythia Haag"], ["description", "Hsiu Stoltenberg"], ["serial_number", "Xavier Zemlak"], ["brand", "Sharyl Gottlieb"], ["item_model", "Mickie McKenzie"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 06:11:02.005121"], ["updated_at", "2018-09-05 06:11:02.005121"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Gregg Rice"], ["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", "Alma Reinger"], ["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", "Gregg Rice"], ["name", "Alma Reinger"], ["description", "Ut veritatis id impedit delectus ipsum vitae voluptatem et. Cum aut officia quo id veritatis alias et. Quia vel laudantium dolor molestias. Tempore aliquam perferendis occaecati suscipit sit culpa. Incidunt error qui a ut dolorum perferendis quia voluptas."], ["created_at", "2018-09-05 06:11:02.013497"], ["updated_at", "2018-09-05 06:11:02.013497"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jacquelyn 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", "Luise VonRueden"], ["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", "Jacquelyn Crooks"], ["name", "Luise VonRueden"], ["description", "Ut quod aut voluptatem autem quis. Tenetur totam et ipsa maiores. Aliquid accusamus ut dolore necessitatibus pariatur. Repellat qui dolor ut quas. Sint doloribus eum nihil natus numquam aut."], ["equipment_type_id", 2], ["created_at", "2018-09-05 06:11:02.020415"], ["updated_at", "2018-09-05 06:11:02.020415"]]  (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", "Jen Ziemann"], ["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", "Jen Ziemann"], ["name", "Guadalupe Morissette"], ["description", "Nelson Mohr"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 06:11:02.024801"], ["updated_at", "2018-09-05 06:11:02.024801"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ezra Dietrich"], ["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", "Shauna Hackett"], ["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", "Ezra Dietrich"], ["name", "Shauna Hackett"], ["description", "Shanita Kirlin"], ["created_at", "2018-09-05 06:11:02.031206"], ["updated_at", "2018-09-05 06:11:02.031206"]]  (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", "Sadie Lindgren"], ["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", "Sadie Lindgren"], ["name", "Andera Miller"], ["location_type_id", 2], ["description", "Tonisha Runte"], ["address", "Melita Rath"], ["created_at", "2018-09-05 06:11:02.035448"], ["updated_at", "2018-09-05 06:11:02.035448"]]  (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", "Tianna Torp"], ["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", "Detra Gusikowski"], ["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", "Tianna Torp"], ["name", "Myrtle Nikolaus"], ["description", "Lorenzo Barrows"], ["serial_number", "Detra Gusikowski"], ["brand", "Rosanna Beer"], ["item_model", "Magaly Welch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 06:11:02.041682"], ["updated_at", "2018-09-05 06:11:02.041682"]]  (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", "alex@thielfisher.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", "Andera McDermott"], ["last_name", "Danyel Wisozk"], ["email", "alex@thielfisher.ca"], ["password_digest", "$2a$04$KUWtnqymkF6nd66zt4zGnu5yTOzGDmgQDW/.PcwOGDp5hyXjtePbG"], ["created_at", "2018-09-05 06:11:02.048891"], ["updated_at", "2018-09-05 06:11:02.048891"]]  (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", "juliane@wilderman.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", "Jenelle Rodriguez"], ["last_name", "Glenn Quitzon"], ["email", "juliane@wilderman.name"], ["password_digest", "$2a$04$e0GOD..rsURARvWm0ZggneNRvFBjv.EZDbTTpemO.MNQSGNuxginG"], ["created_at", "2018-09-05 06:11:02.055025"], ["updated_at", "2018-09-05 06:11:02.055025"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"9", "authorized_by"=>"Lashon Kirlin", "authorized_on"=>"2018-09-05", "created_by_id"=>"8", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"1", "chargeable_service_name"=>"Ashlea Dietrich", "equipment_item_id"=>"1", "equipment_item_name"=>"Myrtle Nikolaus", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Zella Gutkowski", "status"=>"Chrystal Fisher"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["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", "Zella Gutkowski"], ["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", "Zella Gutkowski"], ["authorized_by", "Lashon Kirlin"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"1\",\"chargeable_service_name\":\"Ashlea Dietrich\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Myrtle Nikolaus\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 7], ["approved_by_id", 9], ["created_at", "2018-09-05 06:11:02.071949"], ["updated_at", "2018-09-05 06:11:02.071949"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.16ms) Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.43ms) Completed 201 Created in 21ms (Views: 5.7ms | ActiveRecord: 6.2ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.0ms) ROLLBACK  (0.6ms) 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", "kym.hessel@fadel.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", "Murray Predovic"], ["last_name", "Joe Okuneva"], ["email", "kym.hessel@fadel.biz"], ["password_digest", "$2a$04$mgp6/D6NBcZdi1eKZYOrK.WODLQlM1gTd5WRf2wyJxImbPDIlHyUy"], ["created_at", "2018-09-05 06:11:02.094209"], ["updated_at", "2018-09-05 06:11:02.094209"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Dolores Kuphal"], ["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", "Ashlea Miller"], ["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", "Dolores Kuphal"], ["name", "Ashlea Miller"], ["created_at", "2018-09-05 06:11:02.100396"], ["updated_at", "2018-09-05 06:11:02.100396"]]  (0.4ms) 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", "Gladys Dach"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gladys Dach"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.104424"], ["updated_at", "2018-09-05 06:11:02.104424"]]  (0.4ms) 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", "Mabel Bednar"], ["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", "Mabel Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.108442"], ["updated_at", "2018-09-05 06:11:02.108442"]]  (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", "Ulrike Pfannerstill"], ["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", "Ulrike Pfannerstill"], ["name", "Aundrea Bins"], ["address", "Tracie Von"], ["created_at", "2018-09-05 06:11:02.112671"], ["updated_at", "2018-09-05 06:11:02.112671"]]  (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", "Virgil McGlynn"], ["service_delivery_unit_id", 3], ["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", "Virgil McGlynn"], ["name", "Lyda Keebler"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:11:02.117735"], ["updated_at", "2018-09-05 06:11:02.117735"]] 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", 3], ["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", "Virgil McGlynn"], ["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", "Virgil McGlynn"], ["name", "Lyda Keebler"], ["description", "Default bundle for service 'Lyda Keebler'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:11:02.124035"], ["updated_at", "2018-09-05 06:11:02.124035"]] 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", 3], ["chargeable_service_id", 3]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Marlon Smith"], ["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", "Jenee Bode"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marlon Smith"], ["name", "Jenee Bode"], ["created_at", "2018-09-05 06:11:02.135040"], ["updated_at", "2018-09-05 06:11:02.135040"]]  (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", "Clare Keeling"], ["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", "Clare Keeling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.139569"], ["updated_at", "2018-09-05 06:11:02.139569"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Lakesha Barton"], ["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", "Lakesha Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.144282"], ["updated_at", "2018-09-05 06:11:02.144282"]]  (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", "Luba Bauch"], ["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", "Luba Bauch"], ["name", "Rosena Reichert"], ["address", "Librada Jerde"], ["created_at", "2018-09-05 06:11:02.149650"], ["updated_at", "2018-09-05 06:11:02.149650"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Graham Ward"], ["service_delivery_unit_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", "Graham Ward"], ["name", "Tess Sanford"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:11:02.158889"], ["updated_at", "2018-09-05 06:11:02.158889"]] 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", 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", "Graham Ward"], ["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", "Graham Ward"], ["name", "Tess Sanford"], ["description", "Default bundle for service 'Tess Sanford'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:11:02.164602"], ["updated_at", "2018-09-05 06:11:02.164602"]] 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", 4], ["chargeable_service_id", 4]]  (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", "Mari Koss"], ["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", "Eliseo Crona"], ["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", "Mari Koss"], ["name", "Eliseo Crona"], ["description", "Ad molestias fugit saepe quae temporibus ex rerum. Quo corrupti ipsa ratione dolor laboriosam accusamus enim omnis. Facilis vel dolorem qui id laudantium."], ["created_at", "2018-09-05 06:11:02.174828"], ["updated_at", "2018-09-05 06:11:02.174828"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Evan Purdy"], ["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", "Providencia Balistreri"], ["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", "Evan Purdy"], ["name", "Providencia Balistreri"], ["description", "Quasi officiis natus deserunt labore pariatur impedit. Enim eum architecto quod consequatur qui. Quasi numquam ut eveniet voluptatem nam."], ["equipment_type_id", 3], ["created_at", "2018-09-05 06:11:02.179984"], ["updated_at", "2018-09-05 06:11:02.179984"]]  (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", "Yong Koepp"], ["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", "Yong Koepp"], ["name", "Luisa Hettinger"], ["description", "Karima Lebsack"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 06:11:02.184059"], ["updated_at", "2018-09-05 06:11:02.184059"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Renay Flatley"], ["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", "Mazie O'Reilly"], ["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", "Renay Flatley"], ["name", "Mazie O'Reilly"], ["description", "Blair Crist"], ["created_at", "2018-09-05 06:11:02.190399"], ["updated_at", "2018-09-05 06:11:02.190399"]]  (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", "Shanon Predovic"], ["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", "Shanon Predovic"], ["name", "Cleo Feil"], ["location_type_id", 3], ["description", "Shara Corkery"], ["address", "Dina Carroll"], ["created_at", "2018-09-05 06:11:02.195216"], ["updated_at", "2018-09-05 06:11:02.195216"]]  (0.8ms) 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", "Debi Johnston"], ["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", "Maire Parisian"], ["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", "Debi Johnston"], ["name", "Roma Graham"], ["description", "Heidi Rogahn"], ["serial_number", "Maire Parisian"], ["brand", "Stacy Jones"], ["item_model", "Grady Gerlach"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 06:11:02.201817"], ["updated_at", "2018-09-05 06:11:02.201817"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Karan Casper"], ["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", "Kendal Crooks"], ["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", "Karan Casper"], ["name", "Kendal Crooks"], ["description", "Eius eum qui laborum nisi sunt. Laboriosam ut est aut est. Eos voluptatem sit itaque dolorem iusto dolor. Et voluptatibus ullam et error."], ["created_at", "2018-09-05 06:11:02.209026"], ["updated_at", "2018-09-05 06:11:02.209026"]]  (0.4ms) 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", "Katharyn Lindgren"], ["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", "Creola Pfeffer"], ["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", "Katharyn Lindgren"], ["name", "Creola Pfeffer"], ["description", "Tempora blanditiis hic id error nulla sint quia quae. Sapiente iure temporibus commodi et ut voluptatem id corporis. Non dolor omnis suscipit beatae sed. Esse ut iste qui iure. Dolore non in consequuntur labore eos."], ["equipment_type_id", 4], ["created_at", "2018-09-05 06:11:02.214181"], ["updated_at", "2018-09-05 06:11:02.214181"]]  (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", "Arline Mertz"], ["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", "Arline Mertz"], ["name", "Cyrstal Wintheiser"], ["description", "Myesha Bins"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 06:11:02.218891"], ["updated_at", "2018-09-05 06:11:02.218891"]]  (0.4ms) 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", "Sallie Bogan"], ["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", "Ronna Hills"], ["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", "Sallie Bogan"], ["name", "Ronna Hills"], ["description", "Fran McLaughlin"], ["created_at", "2018-09-05 06:11:02.224586"], ["updated_at", "2018-09-05 06:11:02.224586"]]  (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", "Sharonda DuBuque"], ["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", "Sharonda DuBuque"], ["name", "Scotty Price"], ["location_type_id", 4], ["description", "Ronald Dicki"], ["address", "Phyllis Wuckert"], ["created_at", "2018-09-05 06:11:02.228481"], ["updated_at", "2018-09-05 06:11:02.228481"]]  (0.8ms) 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", "Loma Mayert"], ["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", "Sherika Stamm"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Loma Mayert"], ["name", "Raymonde Strosin"], ["description", "Yessenia Feest"], ["serial_number", "Sherika Stamm"], ["brand", "Janay Satterfield"], ["item_model", "Minda Russel"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 06:11:02.235093"], ["updated_at", "2018-09-05 06:11:02.235093"]]  (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", "gayle@stoltenberg.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", "Ella Russel"], ["last_name", "Hester Cummerata"], ["email", "gayle@stoltenberg.name"], ["password_digest", "$2a$04$DWlmW8YWLdapmnfIwPqRW.Zx/rnfjccdY7zYXyki3lY9WA18pd80C"], ["created_at", "2018-09-05 06:11:02.243054"], ["updated_at", "2018-09-05 06:11:02.243054"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "wava@colliermcclure.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", "Genevieve Adams"], ["last_name", "Salvador Heathcote"], ["email", "wava@colliermcclure.ca"], ["password_digest", "$2a$04$KzzRQ7K2bnU6WBNe.ZHecuwTFeKpPiqETqJ2J83WB9jjnd.Eg0jWu"], ["created_at", "2018-09-05 06:11:02.250030"], ["updated_at", "2018-09-05 06:11:02.250030"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"12", "authorized_by"=>"Crystle Quitzon", "authorized_on"=>"2018-09-05", "created_by_id"=>"11", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"3", "chargeable_service_name"=>"Tess Sanford", "equipment_item_id"=>"3", "equipment_item_name"=>"Raymonde Strosin", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Dominque Donnelly", "status"=>"Fatima McClure"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Auth::User Load (0.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 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", "Dominque Donnelly"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.4ms) 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", "Dominque Donnelly"], ["authorized_by", "Crystle Quitzon"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"3\",\"chargeable_service_name\":\"Tess Sanford\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Raymonde Strosin\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 10], ["approved_by_id", 12], ["created_at", "2018-09-05 06:11:02.260268"], ["updated_at", "2018-09-05 06:11:02.260268"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.24ms) Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.45ms) Completed 201 Created in 12ms (Views: 1.4ms | ActiveRecord: 5.5ms)  (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", "isabella.breitenberg@hudsonthiel.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", "Arnita Labadie"], ["last_name", "Chia Hansen"], ["email", "isabella.breitenberg@hudsonthiel.name"], ["password_digest", "$2a$04$CpWNPp63MsLL21m0tLSm3.EVHj2nobxoODLQCNhV/HWv0oH4iuUyS"], ["created_at", "2018-09-05 06:11:02.276248"], ["updated_at", "2018-09-05 06:11:02.276248"]]  (0.4ms) 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", "Venessa Beer"], ["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", "Larry West"], ["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", "Venessa Beer"], ["name", "Larry West"], ["created_at", "2018-09-05 06:11:02.283109"], ["updated_at", "2018-09-05 06:11:02.283109"]]  (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", "Jamaal Bogan"], ["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", "Jamaal Bogan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.287784"], ["updated_at", "2018-09-05 06:11:02.287784"]]  (0.4ms) 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", "Suanne Little"], ["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", "Suanne Little"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.291953"], ["updated_at", "2018-09-05 06:11:02.291953"]]  (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", "Vickie Maggio"], ["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", "Vickie Maggio"], ["name", "Jonah Lang"], ["address", "Shawnda Schiller"], ["created_at", "2018-09-05 06:11:02.296474"], ["updated_at", "2018-09-05 06:11:02.296474"]]  (0.4ms) 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", "Hae Farrell"], ["service_delivery_unit_id", 5], ["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", "Hae Farrell"], ["name", "Tawny Schinner"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:11:02.300820"], ["updated_at", "2018-09-05 06:11:02.300820"]] 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 (1.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Hae Farrell"], ["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", "Hae Farrell"], ["name", "Tawny Schinner"], ["description", "Default bundle for service 'Tawny Schinner'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:11:02.307809"], ["updated_at", "2018-09-05 06:11:02.307809"]] 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", 5], ["chargeable_service_id", 5]]  (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", "Magali Ullrich"], ["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", "Lorena McKenzie"], ["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", "Magali Ullrich"], ["name", "Lorena McKenzie"], ["created_at", "2018-09-05 06:11:02.322276"], ["updated_at", "2018-09-05 06:11:02.322276"]]  (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", "Lanora O'Conner"], ["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", "Lanora O'Conner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.328122"], ["updated_at", "2018-09-05 06:11:02.328122"]]  (0.7ms) 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", "Alexa Kovacek"], ["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", "Alexa Kovacek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.334801"], ["updated_at", "2018-09-05 06:11:02.334801"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Marlene Lemke"], ["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", "Marlene Lemke"], ["name", "Isabella Turcotte"], ["address", "Deanne Ziemann"], ["created_at", "2018-09-05 06:11:02.340457"], ["updated_at", "2018-09-05 06:11:02.340457"]]  (0.4ms) 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", "Ouida Frami"], ["service_delivery_unit_id", 6], ["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", "Ouida Frami"], ["name", "Angelic Hickle"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:11:02.346075"], ["updated_at", "2018-09-05 06:11:02.346075"]] 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", 6], ["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", "Ouida Frami"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Ouida Frami"], ["name", "Angelic Hickle"], ["description", "Default bundle for service 'Angelic Hickle'"], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:11:02.353336"], ["updated_at", "2018-09-05 06:11:02.353336"]] 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", 6], ["chargeable_service_id", 6]]  (0.4ms) 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", "Gigi Spencer"], ["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", "Keeley Mohr"], ["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", "Gigi Spencer"], ["name", "Keeley Mohr"], ["description", "Repudiandae nemo et voluptatem et. Odio ea voluptatem modi atque cum dignissimos vel voluptatem. Ut nesciunt quae eos repellat sunt laudantium. Atque modi commodi eligendi occaecati aut ea."], ["created_at", "2018-09-05 06:11:02.366687"], ["updated_at", "2018-09-05 06:11:02.366687"]]  (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", "Estella McKenzie"], ["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", "Murray Macejkovic"], ["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", "Estella McKenzie"], ["name", "Murray Macejkovic"], ["description", "A omnis rerum dolorem sunt accusamus. Velit voluptas ipsum iure quibusdam sunt quae ipsam maxime. Error accusantium reiciendis vitae incidunt velit consequatur."], ["equipment_type_id", 5], ["created_at", "2018-09-05 06:11:02.373241"], ["updated_at", "2018-09-05 06:11:02.373241"]]  (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", "Carole Kris"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.6ms) 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", "Carole Kris"], ["name", "Travis Brakus"], ["description", "Marchelle Hoeger"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 06:11:02.378580"], ["updated_at", "2018-09-05 06:11:02.378580"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Chaya Gibson"], ["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", "Elvira Cronin"], ["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", "Chaya Gibson"], ["name", "Elvira Cronin"], ["description", "Clemente Murphy"], ["created_at", "2018-09-05 06:11:02.385785"], ["updated_at", "2018-09-05 06:11:02.385785"]]  (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", "Russel Shanahan"], ["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", "Russel Shanahan"], ["name", "Cari Pacocha"], ["location_type_id", 5], ["description", "Jayna Beatty"], ["address", "Anja Lockman"], ["created_at", "2018-09-05 06:11:02.390552"], ["updated_at", "2018-09-05 06:11:02.390552"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Gladys Tromp"], ["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", "Chun Beatty"], ["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", "Gladys Tromp"], ["name", "Johnny Weber"], ["description", "Hyon Bode"], ["serial_number", "Chun Beatty"], ["brand", "Cecilia Mraz"], ["item_model", "Nakita Waelchi"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 06:11:02.397022"], ["updated_at", "2018-09-05 06:11:02.397022"]]  (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", "Charlott Hills"], ["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", "Tosha Glover"], ["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", "Charlott Hills"], ["name", "Tosha Glover"], ["description", "Sit sit quia deleniti cupiditate id necessitatibus possimus asperiores. Vel velit dignissimos deleniti necessitatibus repellendus atque qui est. Praesentium in deleniti dolorum asperiores."], ["created_at", "2018-09-05 06:11:02.406615"], ["updated_at", "2018-09-05 06:11:02.406615"]]  (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", "Gia Lemke"], ["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", "Amber Lemke"], ["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", "Gia Lemke"], ["name", "Amber Lemke"], ["description", "Eius quos qui vel nam perferendis. Non voluptas unde perferendis doloremque blanditiis possimus quas placeat. Delectus accusantium deserunt doloribus quaerat."], ["equipment_type_id", 6], ["created_at", "2018-09-05 06:11:02.412489"], ["updated_at", "2018-09-05 06:11:02.412489"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "David Goodwin"], ["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", "David Goodwin"], ["name", "Taren Brakus"], ["description", "Mellisa Fahey"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 06:11:02.419621"], ["updated_at", "2018-09-05 06:11:02.419621"]]  (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", "Glenda Kutch"], ["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", "Irena VonRueden"], ["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", "Glenda Kutch"], ["name", "Irena VonRueden"], ["description", "Suzan Hyatt"], ["created_at", "2018-09-05 06:11:02.427526"], ["updated_at", "2018-09-05 06:11:02.427526"]]  (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", "Analisa Baumbach"], ["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", "Analisa Baumbach"], ["name", "Juliette Luettgen"], ["location_type_id", 6], ["description", "Holly Krajcik"], ["address", "Kenneth Hirthe"], ["created_at", "2018-09-05 06:11:02.432775"], ["updated_at", "2018-09-05 06:11:02.432775"]]  (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", "Idella Heathcote"], ["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", "Maye Bartoletti"], ["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", "Idella Heathcote"], ["name", "Lashanda Legros"], ["description", "Sherice Hoeger"], ["serial_number", "Maye Bartoletti"], ["brand", "Gilbert Davis"], ["item_model", "Dani Boyle"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 06:11:02.439421"], ["updated_at", "2018-09-05 06:11:02.439421"]]  (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", "werner_maggio@halvorsonbarrows.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", "Winston Hagenes"], ["last_name", "Son Lubowitz"], ["email", "werner_maggio@halvorsonbarrows.name"], ["password_digest", "$2a$04$CW9a7.tMhVnmtLKmxmr2Ve.6j4.7o1fzPP6cEGsKrJLUqABjyeGB6"], ["created_at", "2018-09-05 06:11:02.447505"], ["updated_at", "2018-09-05 06:11:02.447505"]]  (0.6ms) 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", "dona@douglas.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", "Cheyenne Schiller"], ["last_name", "Janice Welch"], ["email", "dona@douglas.com"], ["password_digest", "$2a$04$2B7VuNYB.yWlmXUFCDgxbe7Z1gR3bqnCIzPyheJ2W3Tb.a5ps8bRu"], ["created_at", "2018-09-05 06:11:02.454635"], ["updated_at", "2018-09-05 06:11:02.454635"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"15", "authorized_by"=>"Rolanda Jewess", "authorized_on"=>"2018-09-05", "created_by_id"=>"14", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"5", "chargeable_service_name"=>"Angelic Hickle", "equipment_item_id"=>"5", "equipment_item_name"=>"Lashanda Legros", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Epifania Flatley"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["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", 13], ["LIMIT", 1]]  (0.6ms) 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", ""], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 422 Unprocessable Entity in 18ms (ActiveRecord: 4.4ms)  (0.5ms) ROLLBACK  (0.4ms) 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", "carolyne_gleichner@schumm.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", "Jona Medhurst"], ["last_name", "Noelle Nitzsche"], ["email", "carolyne_gleichner@schumm.info"], ["password_digest", "$2a$04$.PBWZTAE.cwQ/mFM67S1r.NjHOVvvkyyR9Q7rUi0bvPK.WhUombgK"], ["created_at", "2018-09-05 06:11:02.496730"], ["updated_at", "2018-09-05 06:11:02.496730"]]  (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", "rebeca_veum@hegmann.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", "Elna Kerluke"], ["last_name", "Kerri Goyette"], ["email", "rebeca_veum@hegmann.us"], ["password_digest", "$2a$04$FzdPhG9BfYWKG6lRi7h.EeiLBAUP4Iv7cpG28726t82lvcJTMuK3C"], ["created_at", "2018-09-05 06:11:02.503362"], ["updated_at", "2018-09-05 06:11:02.503362"]]  (0.4ms) 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", "mason.ankunding@kreigerhuel.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", "Allegra Jaskolski"], ["last_name", "Christal Schulist"], ["email", "mason.ankunding@kreigerhuel.ca"], ["password_digest", "$2a$04$QV6jwxgf1TwQX0ph3pvb2uMCYvDlzUVQ8TDb0yTZeybspVdg0GLei"], ["created_at", "2018-09-05 06:11:02.509169"], ["updated_at", "2018-09-05 06:11:02.509169"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Daphine Ratke"], ["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", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Daphine Ratke"], ["authorized_by", "Myrtis Bogan"], ["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", 17], ["approved_by_id", 18], ["created_at", "2018-09-05 06:11:02.513520"], ["updated_at", "2018-09-05 06:11:02.513520"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Arvilla Daniel"}, "id"=>"5"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 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", 5], ["LIMIT", 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Daphine Ratke"], ["id", 5], ["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", 17], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.3ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Arvilla Daniel"], ["updated_at", "2018-09-05 06:11:02.527668"], ["id", 5]]  (1.0ms) 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", 16], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.4ms) Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 7.1ms) 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", 5], ["LIMIT", 1]]  (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", "alyson_kilback@little.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", "Kirby Goyette"], ["last_name", "Madelyn Hayes"], ["email", "alyson_kilback@little.co.uk"], ["password_digest", "$2a$04$s4YzUtctS2ku8IVIJzsvf.vlXQqro1c7i0K3djktnqOMM2VL7EN6u"], ["created_at", "2018-09-05 06:11:02.542826"], ["updated_at", "2018-09-05 06:11:02.542826"]]  (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", "adell@rempelcrist.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", "Zita Will"], ["last_name", "Carmen Kuhic"], ["email", "adell@rempelcrist.name"], ["password_digest", "$2a$04$OwzdzVVnp9xrN3LP4ssS8OZtF28fVNft/pxVqq.p89aKp6EKS/rcG"], ["created_at", "2018-09-05 06:11:02.549651"], ["updated_at", "2018-09-05 06:11:02.549651"]]  (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", "elwood.west@ortiz.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", "Jewel Halvorson"], ["last_name", "Andrew White"], ["email", "elwood.west@ortiz.info"], ["password_digest", "$2a$04$q/dRoABmC20x.wrps2V0He36aQLdfK5eBiNrTeHjzjdWpB/cbK0Ui"], ["created_at", "2018-09-05 06:11:02.555697"], ["updated_at", "2018-09-05 06:11:02.555697"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Whitney Paucek"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.4ms) 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", "Whitney Paucek"], ["authorized_by", "Geri Spencer"], ["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", 20], ["approved_by_id", 21], ["created_at", "2018-09-05 06:11:02.560172"], ["updated_at", "2018-09-05 06:11:02.560172"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Bridgette Shields"], ["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", "Max Dickens"], ["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", "Bridgette Shields"], ["name", "Max Dickens"], ["created_at", "2018-09-05 06:11:02.568133"], ["updated_at", "2018-09-05 06:11:02.568133"]]  (0.4ms) 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", "Felecia Hilpert"], ["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", "Felecia Hilpert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.573059"], ["updated_at", "2018-09-05 06:11:02.573059"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Britni Streich"], ["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", "Britni Streich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.579921"], ["updated_at", "2018-09-05 06:11:02.579921"]]  (0.4ms) 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", "Roma Heaney"], ["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", "Roma Heaney"], ["name", "Theda Skiles"], ["address", "Ezequiel Kuhic"], ["created_at", "2018-09-05 06:11:02.584360"], ["updated_at", "2018-09-05 06:11:02.584360"]]  (0.4ms) 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", "Paul Tremblay"], ["service_delivery_unit_id", 7], ["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", "Paul Tremblay"], ["name", "Danial Quigley"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:11:02.588866"], ["updated_at", "2018-09-05 06:11:02.588866"]] 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", "Paul Tremblay"], ["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", "Paul Tremblay"], ["name", "Danial Quigley"], ["description", "Default bundle for service 'Danial Quigley'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:11:02.594450"], ["updated_at", "2018-09-05 06:11:02.594450"]] 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", 7], ["chargeable_service_id", 7]]  (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", "Lacresha Rogahn"], ["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", "Garfield Kuhn"], ["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", "Lacresha Rogahn"], ["name", "Garfield Kuhn"], ["created_at", "2018-09-05 06:11:02.605505"], ["updated_at", "2018-09-05 06:11:02.605505"]]  (0.4ms) 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", "Santiago Littel"], ["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", "Santiago Littel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.610358"], ["updated_at", "2018-09-05 06:11:02.610358"]]  (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", "Griselda Quigley"], ["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", "Griselda Quigley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.615615"], ["updated_at", "2018-09-05 06:11:02.615615"]]  (0.4ms) 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", "Dionne Reichel"], ["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", "Dionne Reichel"], ["name", "Barb Bashirian"], ["address", "Virgie Prosacco"], ["created_at", "2018-09-05 06:11:02.619902"], ["updated_at", "2018-09-05 06:11:02.619902"]]  (0.4ms) 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", "Catina Swift"], ["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", "Catina Swift"], ["name", "Francina Dooley"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:11:02.624250"], ["updated_at", "2018-09-05 06:11:02.624250"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Catina Swift"], ["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", "Catina Swift"], ["name", "Francina Dooley"], ["description", "Default bundle for service 'Francina Dooley'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:11:02.629117"], ["updated_at", "2018-09-05 06:11:02.629117"]] 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.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", "Jannette Hyatt"], ["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", "Miquel Haag"], ["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", "Jannette Hyatt"], ["name", "Miquel Haag"], ["description", "Pariatur voluptatem eligendi deserunt eos laboriosam doloribus. Facilis quaerat et error illo eius iure. Quis delectus et qui perferendis vel libero aut voluptas. Voluptatem et ut praesentium hic consequatur."], ["created_at", "2018-09-05 06:11:02.638973"], ["updated_at", "2018-09-05 06:11:02.638973"]]  (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", "Danyelle Anderson"], ["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", "Parker Gislason"], ["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", "Danyelle Anderson"], ["name", "Parker Gislason"], ["description", "Libero iure et et quia culpa cumque doloremque quia. Quis qui accusamus corporis minus commodi ut nesciunt tenetur. Nihil eos consequuntur eum asperiores est assumenda ullam."], ["equipment_type_id", 7], ["created_at", "2018-09-05 06:11:02.644402"], ["updated_at", "2018-09-05 06:11:02.644402"]]  (0.8ms) 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", "Suanne Wehner"], ["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", "Suanne Wehner"], ["name", "Mandy Schaden"], ["description", "Aurea Nienow"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 06:11:02.649732"], ["updated_at", "2018-09-05 06:11:02.649732"]]  (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", "Evelin Price"], ["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", "Lottie Ziemann"], ["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", "Evelin Price"], ["name", "Lottie Ziemann"], ["description", "Latoyia Runolfsdottir"], ["created_at", "2018-09-05 06:11:02.656030"], ["updated_at", "2018-09-05 06:11:02.656030"]]  (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", "Robbin Sipes"], ["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", "Robbin Sipes"], ["name", "Rosario Schamberger"], ["location_type_id", 7], ["description", "Kerry Weissnat"], ["address", "Freddie Stiedemann"], ["created_at", "2018-09-05 06:11:02.660511"], ["updated_at", "2018-09-05 06:11:02.660511"]]  (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", "Jenae Shields"], ["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", "Hildred Bradtke"], ["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", "Jenae Shields"], ["name", "Altha Steuber"], ["description", "Kirk Davis"], ["serial_number", "Hildred Bradtke"], ["brand", "Delsie Carroll"], ["item_model", "Dustin Dibbert"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 06:11:02.666071"], ["updated_at", "2018-09-05 06:11:02.666071"]]  (0.7ms) 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", "Kory Hegmann"], ["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", "Omega Bartoletti"], ["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", "Kory Hegmann"], ["name", "Omega Bartoletti"], ["description", "Placeat adipisci unde repellat ducimus commodi similique. Molestiae voluptatem unde facere quod eligendi. Ab minima quod necessitatibus culpa voluptas fuga. Quibusdam perferendis temporibus voluptas sint sequi."], ["created_at", "2018-09-05 06:11:02.673617"], ["updated_at", "2018-09-05 06:11:02.673617"]]  (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", "Justine Bruen"], ["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", "Seth Cassin"], ["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", "Justine Bruen"], ["name", "Seth Cassin"], ["description", "Eligendi et omnis veritatis molestiae. Sint et qui dolorum voluptatem et. Iure optio numquam beatae qui assumenda eum. Sit ea architecto cumque rerum laboriosam velit. Vel rerum et aut voluptates voluptatem."], ["equipment_type_id", 8], ["created_at", "2018-09-05 06:11:02.679355"], ["updated_at", "2018-09-05 06:11:02.679355"]]  (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", "Marinda Streich"], ["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", "Marinda Streich"], ["name", "Dudley Dickinson"], ["description", "Karena Langworth"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 06:11:02.683751"], ["updated_at", "2018-09-05 06:11:02.683751"]]  (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", "Classie Mann"], ["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", "Guy Klocko"], ["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", "Classie Mann"], ["name", "Guy Klocko"], ["description", "Dong Borer"], ["created_at", "2018-09-05 06:11:02.689817"], ["updated_at", "2018-09-05 06:11:02.689817"]]  (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", "Chas Veum"], ["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", "Chas Veum"], ["name", "Al Huels"], ["location_type_id", 8], ["description", "Clarine Bechtelar"], ["address", "Else Olson"], ["created_at", "2018-09-05 06:11:02.694165"], ["updated_at", "2018-09-05 06:11:02.694165"]]  (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", "Hollis Veum"], ["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", "Walter Jacobi"], ["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", "Hollis Veum"], ["name", "Hobert Kertzmann"], ["description", "Porter Reichel"], ["serial_number", "Walter Jacobi"], ["brand", "Lean Greenfelder"], ["item_model", "Penelope Abernathy"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 06:11:02.700095"], ["updated_at", "2018-09-05 06:11:02.700095"]]  (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", "norine_goyette@rennermitchell.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", "Mi Smitham"], ["last_name", "Maxine Mueller"], ["email", "norine_goyette@rennermitchell.us"], ["password_digest", "$2a$04$B1TM6bViKTAhEtDBz6YxhOOukcXfpvYYfOdquAyP3V/EcmTO6gHQK"], ["created_at", "2018-09-05 06:11:02.706835"], ["updated_at", "2018-09-05 06:11:02.706835"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "velda_medhurst@abshirekovacek.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", "Zack Abernathy"], ["last_name", "Vella Blick"], ["email", "velda_medhurst@abshirekovacek.us"], ["password_digest", "$2a$04$bNUDbdoNNERcInSYKmT4l.FnpATio4EfwHm6q8DHTfAW6QqqyCfGG"], ["created_at", "2018-09-05 06:11:02.713942"], ["updated_at", "2018-09-05 06:11:02.713942"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"23", "authorized_by"=>"Taylor Mitchell", "authorized_on"=>"2018-09-05", "created_by_id"=>"22", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"7", "chargeable_service_name"=>"Francina Dooley", "equipment_item_id"=>"7", "equipment_item_name"=>"Hobert Kertzmann", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Israel Prosacco", "status"=>"Blanche Kreiger"}, "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", 19], ["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.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", "Israel Prosacco"], ["id", 6], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 14ms (Views: 3.9ms | ActiveRecord: 5.6ms)  (1.4ms) 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", "jaymie@waelchireilly.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", "Ettie O'Conner"], ["last_name", "Alla Jewess"], ["email", "jaymie@waelchireilly.biz"], ["password_digest", "$2a$04$leUfMUcWyTzSjlxIZ8pC/.yDTESZWtheZwGzp2zN.4W4thzHVAWSu"], ["created_at", "2018-09-05 06:11:02.751298"], ["updated_at", "2018-09-05 06:11:02.751298"]]  (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", "alexia@mullerhuels.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", "Johnsie Kessler"], ["last_name", "Vaughn Brown"], ["email", "alexia@mullerhuels.info"], ["password_digest", "$2a$04$W893lPkf1ZQX3GISso321udjwM3hh8IBzv/2fBs1V.rmCjbqILrVm"], ["created_at", "2018-09-05 06:11:02.759121"], ["updated_at", "2018-09-05 06:11:02.759121"]]  (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", "vanesa.maggio@schuppe.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", "Adriane Welch"], ["last_name", "Annalee Bergnaum"], ["email", "vanesa.maggio@schuppe.biz"], ["password_digest", "$2a$04$qo7/O31Fz9ialWrti/PlWu7ot0YLFAm.wBpptpRGCY/4DCWnNLEYm"], ["created_at", "2018-09-05 06:11:02.766157"], ["updated_at", "2018-09-05 06:11:02.766157"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Wendy Wilkinson"], ["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", "Wendy Wilkinson"], ["authorized_by", "Cassandra King"], ["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", 25], ["approved_by_id", 26], ["created_at", "2018-09-05 06:11:02.770970"], ["updated_at", "2018-09-05 06:11:02.770970"]]  (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", "Angelyn Cormier"], ["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", "Ingrid Torp"], ["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", "Angelyn Cormier"], ["name", "Ingrid Torp"], ["created_at", "2018-09-05 06:11:02.778542"], ["updated_at", "2018-09-05 06:11:02.778542"]]  (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", "Renee Ledner"], ["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", "Renee Ledner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.784888"], ["updated_at", "2018-09-05 06:11:02.784888"]]  (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", "Seth Kris"], ["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", "Seth Kris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.790240"], ["updated_at", "2018-09-05 06:11:02.790240"]]  (0.5ms) 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", "Nicholle McDermott"], ["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", "Nicholle McDermott"], ["name", "Verona Schiller"], ["address", "Carissa Grant"], ["created_at", "2018-09-05 06:11:02.795473"], ["updated_at", "2018-09-05 06:11:02.795473"]]  (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", "Emogene Weber"], ["service_delivery_unit_id", 9], ["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", "Emogene Weber"], ["name", "Otilia Fay"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:11:02.800598"], ["updated_at", "2018-09-05 06:11:02.800598"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Emogene Weber"], ["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", "Emogene Weber"], ["name", "Otilia Fay"], ["description", "Default bundle for service 'Otilia Fay'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:11:02.805658"], ["updated_at", "2018-09-05 06:11:02.805658"]] 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", 9], ["chargeable_service_id", 9]]  (1.0ms) 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", "Allyson Sanford"], ["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", "Ronda Haley"], ["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", "Allyson Sanford"], ["name", "Ronda Haley"], ["created_at", "2018-09-05 06:11:02.816520"], ["updated_at", "2018-09-05 06:11:02.816520"]]  (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", "Laurence Bartoletti"], ["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", "Laurence Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.821038"], ["updated_at", "2018-09-05 06:11:02.821038"]]  (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", "Rosena Shields"], ["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", "Rosena Shields"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:11:02.825458"], ["updated_at", "2018-09-05 06:11:02.825458"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Dell Bergstrom"], ["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", "Dell Bergstrom"], ["name", "Alissa Nitzsche"], ["address", "Santo Lesch"], ["created_at", "2018-09-05 06:11:02.831164"], ["updated_at", "2018-09-05 06:11:02.831164"]]  (0.5ms) 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", "Deb Flatley"], ["service_delivery_unit_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", "Deb Flatley"], ["name", "Harrison Dibbert"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:11:02.836366"], ["updated_at", "2018-09-05 06:11:02.836366"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Deb Flatley"], ["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", "Deb Flatley"], ["name", "Harrison Dibbert"], ["description", "Default bundle for service 'Harrison Dibbert'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:11:02.841102"], ["updated_at", "2018-09-05 06:11:02.841102"]] 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", 10], ["chargeable_service_id", 10]]  (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", "Annelle Tillman"], ["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", "Francoise Dietrich"], ["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", "Annelle Tillman"], ["name", "Francoise Dietrich"], ["description", "Modi asperiores est nemo accusantium quas rerum. Repudiandae placeat non ut enim. Necessitatibus labore perferendis dolor ratione velit quidem quod."], ["created_at", "2018-09-05 06:11:02.851141"], ["updated_at", "2018-09-05 06:11:02.851141"]]  (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", "Constance Yost"], ["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", "Rikki Hickle"], ["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", "Constance Yost"], ["name", "Rikki Hickle"], ["description", "Voluptatum sed corporis rerum dolore aut neque quaerat labore. Sint et ut aut facere nihil praesentium. Eveniet eum aut nihil natus. Inventore dolorum repellat eius consequuntur commodi provident odit et. Nisi quas optio rerum natus possimus praesentium."], ["equipment_type_id", 9], ["created_at", "2018-09-05 06:11:02.856650"], ["updated_at", "2018-09-05 06:11:02.856650"]]  (0.6ms) 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", "Exie Gleason"], ["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", "Exie Gleason"], ["name", "Vi Vandervort"], ["description", "Celina Langworth"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 06:11:02.861559"], ["updated_at", "2018-09-05 06:11:02.861559"]]  (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", "Francisca Yost"], ["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", "Augustus Bahringer"], ["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", "Francisca Yost"], ["name", "Augustus Bahringer"], ["description", "Cecil Klocko"], ["created_at", "2018-09-05 06:11:02.868280"], ["updated_at", "2018-09-05 06:11:02.868280"]]  (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", "Hilary Zulauf"], ["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", "Hilary Zulauf"], ["name", "Hiram Hahn"], ["location_type_id", 9], ["description", "Lucy Bogan"], ["address", "Dorthey Kunze"], ["created_at", "2018-09-05 06:11:02.872504"], ["updated_at", "2018-09-05 06:11:02.872504"]]  (0.5ms) 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", "Lara Spencer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Shanna Mohr"], ["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", "Lara Spencer"], ["name", "Billy VonRueden"], ["description", "Sherita Cremin"], ["serial_number", "Shanna Mohr"], ["brand", "Carli Reichel"], ["item_model", "Mickie Stokes"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 06:11:02.880119"], ["updated_at", "2018-09-05 06:11:02.880119"]]  (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", "Shaunna Hand"], ["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", "Julianne Koepp"], ["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", "Shaunna Hand"], ["name", "Julianne Koepp"], ["description", "Quo necessitatibus in atque velit rerum et minima. Alias sint ipsum asperiores eius sed numquam soluta nobis. Beatae veritatis nisi eum quibusdam perspiciatis cumque. Non et cupiditate amet nobis iste voluptatem."], ["created_at", "2018-09-05 06:11:02.887377"], ["updated_at", "2018-09-05 06:11:02.887377"]]  (0.5ms) 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", "Hortense King"], ["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", "Willis Heller"], ["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", "Hortense King"], ["name", "Willis Heller"], ["description", "Qui rem ad dolor ratione id illo nobis. Laudantium saepe ipsum qui rerum aut enim eum molestias. Fuga non sed vel corrupti quaerat est possimus necessitatibus."], ["equipment_type_id", 10], ["created_at", "2018-09-05 06:11:02.893053"], ["updated_at", "2018-09-05 06:11:02.893053"]]  (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", "Jamison Will"], ["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", "Jamison Will"], ["name", "Isela Schoen"], ["description", "Nancey Becker"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 06:11:02.897340"], ["updated_at", "2018-09-05 06:11:02.897340"]]  (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", "Era Bechtelar"], ["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", "Vernell Turner"], ["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", "Era Bechtelar"], ["name", "Vernell Turner"], ["description", "Claire Mohr"], ["created_at", "2018-09-05 06:11:02.903032"], ["updated_at", "2018-09-05 06:11:02.903032"]]  (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", "Ulrike Schuppe"], ["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", "Ulrike Schuppe"], ["name", "Doyle Considine"], ["location_type_id", 10], ["description", "Sylvia Ward"], ["address", "Randy Krajcik"], ["created_at", "2018-09-05 06:11:02.907743"], ["updated_at", "2018-09-05 06:11:02.907743"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Freda Pagac"], ["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", "Bianca Weissnat"], ["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", "Freda Pagac"], ["name", "Earlene Rolfson"], ["description", "Calista Langworth"], ["serial_number", "Bianca Weissnat"], ["brand", "Carolyne Paucek"], ["item_model", "Yelena Bartell"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 06:11:02.914212"], ["updated_at", "2018-09-05 06:11:02.914212"]]  (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", "grover@little.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", "Avis Greenfelder"], ["last_name", "Hilde McClure"], ["email", "grover@little.com"], ["password_digest", "$2a$04$ORe.dz93A1uW1tWGSyb8i.MW.xtBOkqGF/pe6PG0tS2AdeszYMAbO"], ["created_at", "2018-09-05 06:11:02.920846"], ["updated_at", "2018-09-05 06:11:02.920846"]]  (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", "shaneka.feeney@gerlach.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", "Zulma Barton"], ["last_name", "Aide O'Reilly"], ["email", "shaneka.feeney@gerlach.us"], ["password_digest", "$2a$04$bS5/e3ATCefg3.HJRCst7OTcIl6qYQVznlJGxYqw0rQ0.h68Asp2y"], ["created_at", "2018-09-05 06:11:02.926966"], ["updated_at", "2018-09-05 06:11:02.926966"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"28", "authorized_by"=>"Drema Cole", "authorized_on"=>"2018-09-05", "created_by_id"=>"27", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"9", "chargeable_service_name"=>"Harrison Dibbert", "equipment_item_id"=>"9", "equipment_item_name"=>"Earlene Rolfson", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Francine Wolf"}, "id"=>"7"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["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", 7], ["LIMIT", 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", ""], ["id", 7], ["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", 27], ["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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 5.6ms)  (0.9ms) ROLLBACK  (1.3ms) 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.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "inge_kunze@stiedemann.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", "Eugena Bayer"], ["last_name", "Coleen Goyette"], ["email", "inge_kunze@stiedemann.biz"], ["password_digest", "$2a$04$5g7xrQGx1Wazgf4pyRCd9.E29PJqUKv9LoOQ7jpzmw3YZ7j0DdZ1W"], ["created_at", "2018-09-05 06:15:46.976686"], ["updated_at", "2018-09-05 06:15:46.976686"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "diana.moen@paucek.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", "Matha McClure"], ["last_name", "Lia Braun"], ["email", "diana.moen@paucek.biz"], ["password_digest", "$2a$04$Qn1sDfNPMkwoM9.JqU6wk.NGitVFqpW0ixnALmG23Ju4bxD5KO6ga"], ["created_at", "2018-09-05 06:15:47.004514"], ["updated_at", "2018-09-05 06:15:47.004514"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "patricia@turcotte.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", "Sammie Volkman"], ["last_name", "Weldon Conn"], ["email", "patricia@turcotte.com"], ["password_digest", "$2a$04$oU5v4WZAYJFtG9VIGxX4Cuj85lVsCB.UQs8KFmvLLq7vTwaCf./nO"], ["created_at", "2018-09-05 06:15:47.017215"], ["updated_at", "2018-09-05 06:15:47.017215"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Dena Kris"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.7ms) 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", "Dena Kris"], ["authorized_by", "Angelia Stanton"], ["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", 2], ["approved_by_id", 3], ["created_at", "2018-09-05 06:15:47.025077"], ["updated_at", "2018-09-05 06:15:47.025077"]]  (0.6ms) 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", 1], ["LIMIT", 1]] 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::Rate::RateChangeRequest Load (0.9ms) 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: 2, approved_by_id: 3, remark: nil, created_at: "2018-09-05 06:15:47", updated_at: "2018-09-05 06:15:47"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.45ms) Completed 200 OK in 22ms (Views: 14.9ms | ActiveRecord: 3.7ms)  (0.9ms) 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", "royce@bogisich.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", "Norine Nolan"], ["last_name", "Nicolasa Mitchell"], ["email", "royce@bogisich.info"], ["password_digest", "$2a$04$KHWpTUd8Cf5bYBl4WtonE.UnmFQZb2YZUn6FtTpKiev4aOBF6v2D6"], ["created_at", "2018-09-05 06:15:47.061836"], ["updated_at", "2018-09-05 06:15:47.061836"]]  (0.6ms) 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", "stephani_konopelski@nitzsche.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", "Denisha Morissette"], ["last_name", "Monique Durgan"], ["email", "stephani_konopelski@nitzsche.com"], ["password_digest", "$2a$04$CTMz4OELEVS4MxbBm1klp.gA9qZi.A0lxuWHiJ5JT4himmbDVbQx2"], ["created_at", "2018-09-05 06:15:47.070053"], ["updated_at", "2018-09-05 06:15:47.070053"]]  (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", "tomas@yost.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", "Malissa Bergnaum"], ["last_name", "Abel Casper"], ["email", "tomas@yost.com"], ["password_digest", "$2a$04$LLksGiHYOVp7yaLcjn1xnOdCeFq8AI150dmOVTuUQXmsR0jeq0Dbq"], ["created_at", "2018-09-05 06:15:47.076430"], ["updated_at", "2018-09-05 06:15:47.076430"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Shu 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", "Shu Haag"], ["authorized_by", "Adell Beatty"], ["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", 5], ["approved_by_id", 6], ["created_at", "2018-09-05 06:15:47.081076"], ["updated_at", "2018-09-05 06:15:47.081076"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (2.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (7.3ms) 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 (5.3ms) 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 Mks::Rate::RateChangeRequest (1.0ms) Completed 200 OK in 30ms (Views: 5.1ms | ActiveRecord: 15.1ms)  (1.3ms) ROLLBACK  (0.9ms) BEGIN  (1.2ms) 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", "ardell_oconnell@glover.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", "Lenard Rolfson"], ["last_name", "Myesha Pouros"], ["email", "ardell_oconnell@glover.info"], ["password_digest", "$2a$04$pYezlgumSKLcqEca6WAW6e2yt.hUW0dnUXLVFrhNB2G/bBPRhglr2"], ["created_at", "2018-09-05 06:15:47.128115"], ["updated_at", "2018-09-05 06:15:47.128115"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.8ms) 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", "Hollis Conroy"], ["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", "Kyung Parisian"], ["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", "Hollis Conroy"], ["name", "Kyung Parisian"], ["created_at", "2018-09-05 06:15:47.178818"], ["updated_at", "2018-09-05 06:15:47.178818"]]  (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", "Larraine Williamson"], ["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", "Larraine Williamson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.196270"], ["updated_at", "2018-09-05 06:15:47.196270"]]  (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", "Caterina Olson"], ["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", "Caterina Olson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.202129"], ["updated_at", "2018-09-05 06:15:47.202129"]]  (0.6ms) 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", "Edda West"], ["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", "Edda West"], ["name", "Maida Wiegand"], ["address", "Harold Kutch"], ["created_at", "2018-09-05 06:15:47.220470"], ["updated_at", "2018-09-05 06:15:47.220470"]]  (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", "Bernie Strosin"], ["service_delivery_unit_id", 1], ["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", "Bernie Strosin"], ["name", "Keturah Kilback"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:15:47.227703"], ["updated_at", "2018-09-05 06:15:47.227703"]] 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.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Bernie Strosin"], ["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", "Bernie Strosin"], ["name", "Keturah Kilback"], ["description", "Default bundle for service 'Keturah Kilback'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:15:47.258349"], ["updated_at", "2018-09-05 06:15:47.258349"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.3ms) 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]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Rossana Oberbrunner"], ["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", "Olympia Ankunding"], ["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", "Rossana Oberbrunner"], ["name", "Olympia Ankunding"], ["created_at", "2018-09-05 06:15:47.291932"], ["updated_at", "2018-09-05 06:15:47.291932"]]  (0.8ms) 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", "Dante Turcotte"], ["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", "Dante Turcotte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.297632"], ["updated_at", "2018-09-05 06:15:47.297632"]]  (3.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Ethel Stiedemann"], ["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", "Ethel Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.306412"], ["updated_at", "2018-09-05 06:15:47.306412"]]  (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", "Savanna Considine"], ["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", "Savanna Considine"], ["name", "Margarito Schinner"], ["address", "Fay Mraz"], ["created_at", "2018-09-05 06:15:47.311520"], ["updated_at", "2018-09-05 06:15:47.311520"]]  (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", "Zenia Hickle"], ["service_delivery_unit_id", 2], ["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", "Zenia Hickle"], ["name", "Ariel Larkin"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:15:47.315978"], ["updated_at", "2018-09-05 06:15:47.315978"]] 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", 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", "Zenia Hickle"], ["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", "Zenia Hickle"], ["name", "Ariel Larkin"], ["description", "Default bundle for service 'Ariel Larkin'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:15:47.321948"], ["updated_at", "2018-09-05 06:15:47.321948"]] 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", 2], ["chargeable_service_id", 2]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Santiago Osinski"], ["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", "Staci Block"], ["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", "Santiago Osinski"], ["name", "Staci Block"], ["description", "Odit possimus in provident consequatur eveniet illo. Nostrum et qui placeat in qui vel. Veritatis et et quia in fugiat voluptatem maiores doloribus."], ["created_at", "2018-09-05 06:15:47.423478"], ["updated_at", "2018-09-05 06:15:47.423478"]]  (0.5ms) 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", "James Okuneva"], ["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", "Beverlee Sipes"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (2.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", "James Okuneva"], ["name", "Beverlee Sipes"], ["description", "Esse voluptatum quia minima excepturi voluptates facere. Rerum non quasi possimus reprehenderit molestias. Velit illo sit minima adipisci inventore est quia consequatur. Magnam velit qui quia dolores officiis. Voluptas nisi quis eum iure est qui assumenda accusantium."], ["equipment_type_id", 1], ["created_at", "2018-09-05 06:15:47.431932"], ["updated_at", "2018-09-05 06:15:47.431932"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Rosana Grant"], ["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", "Rosana Grant"], ["name", "Brittanie Dooley"], ["description", "Guadalupe King"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 06:15:47.439748"], ["updated_at", "2018-09-05 06:15:47.439748"]]  (0.5ms) 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", "Dwight Beatty"], ["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", "Brittanie Nikolaus"], ["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", "Dwight Beatty"], ["name", "Brittanie Nikolaus"], ["description", "Tilda Schowalter"], ["created_at", "2018-09-05 06:15:47.483930"], ["updated_at", "2018-09-05 06:15:47.483930"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Claude King"], ["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", "Claude King"], ["name", "Chet Medhurst"], ["location_type_id", 1], ["description", "Dominique Stamm"], ["address", "Margit Sauer"], ["created_at", "2018-09-05 06:15:47.490920"], ["updated_at", "2018-09-05 06:15:47.490920"]]  (0.5ms) 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", "Timika Ondricka"], ["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", "Shameka Block"], ["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", "Timika Ondricka"], ["name", "Kellee Hirthe"], ["description", "Tomiko O'Connell"], ["serial_number", "Shameka Block"], ["brand", "Jonathon Schimmel"], ["item_model", "Leeanne Gleichner"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 06:15:47.500230"], ["updated_at", "2018-09-05 06:15:47.500230"]]  (0.8ms) 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", "Gladis Abshire"], ["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", "Davis Rempel"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gladis Abshire"], ["name", "Davis Rempel"], ["description", "Similique aperiam fugiat dolorum pariatur quia sed quidem rem. Ex rem saepe temporibus aut vero. Est aliquid aut ipsam quia qui. Dolores ut rem inventore voluptatem. Doloribus aut vel voluptatem nemo voluptates."], ["created_at", "2018-09-05 06:15:47.508717"], ["updated_at", "2018-09-05 06:15:47.508717"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.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", "Chantel Mante"], ["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", "Sylvia Quigley"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.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", "Chantel Mante"], ["name", "Sylvia Quigley"], ["description", "Quibusdam eius quos qui repellat accusamus et. Similique autem beatae praesentium odit repellat perspiciatis est. Magni voluptatem sint qui occaecati eveniet temporibus ea. Aut fuga sit et sed consequuntur aut ab."], ["equipment_type_id", 2], ["created_at", "2018-09-05 06:15:47.520000"], ["updated_at", "2018-09-05 06:15:47.520000"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (2.5ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Ayanna Rempel"], ["LIMIT", 1]] Mks::Edm::Equipment Create (2.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", "Ayanna Rempel"], ["name", "Cammie Lubowitz"], ["description", "Winfred Rowe"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 06:15:47.531817"], ["updated_at", "2018-09-05 06:15:47.531817"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (2.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Yahaira Schroeder"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (5.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Estella Rohan"], ["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", "Yahaira Schroeder"], ["name", "Estella Rohan"], ["description", "Emmaline Murazik"], ["created_at", "2018-09-05 06:15:47.555509"], ["updated_at", "2018-09-05 06:15:47.555509"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (3.3ms) 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", "Winfred Boyer"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.6ms) 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", "Winfred Boyer"], ["name", "Morgan Hettinger"], ["location_type_id", 2], ["description", "Rebekah Altenwerth"], ["address", "Cheree Herzog"], ["created_at", "2018-09-05 06:15:47.566926"], ["updated_at", "2018-09-05 06:15:47.566926"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Cayla Stark"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Charmaine Kunde"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Cayla Stark"], ["name", "Kandi Hirthe"], ["description", "Ione Marks"], ["serial_number", "Charmaine Kunde"], ["brand", "Tegan Streich"], ["item_model", "Nellie Heller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 06:15:47.576925"], ["updated_at", "2018-09-05 06:15:47.576925"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "shelby.bednar@bradtke.biz"], ["LIMIT", 1]] Mks::Auth::User Create (6.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", "Florance Baumbach"], ["last_name", "Lindsey Cremin"], ["email", "shelby.bednar@bradtke.biz"], ["password_digest", "$2a$04$g8Tb5CweEhJkRjyhMzNwMu3uqCNdXRHRrqYvVzJIz0JZtSUtOsgse"], ["created_at", "2018-09-05 06:15:47.590130"], ["updated_at", "2018-09-05 06:15:47.590130"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (17.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (5.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ila@ratke.ca"], ["LIMIT", 1]] Mks::Auth::User Create (7.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", "Savanna Kirlin"], ["last_name", "Frida Quitzon"], ["email", "ila@ratke.ca"], ["password_digest", "$2a$04$cBQHqfOTktN11zJBvlJsE.ZW.xS2o5UldJDM7n.fd2xPLMWP2KnN."], ["created_at", "2018-09-05 06:15:47.630195"], ["updated_at", "2018-09-05 06:15:47.630195"]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"9", "authorized_by"=>"Fawn Ferry", "authorized_on"=>"2018-09-05", "created_by_id"=>"8", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"1", "chargeable_service_name"=>"Ariel Larkin", "equipment_item_id"=>"1", "equipment_item_name"=>"Kandi Hirthe", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Beula Zemlak", "status"=>"Elfriede Bernhard"}} Mks::Auth::User Load (2.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (1.8ms) 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", "Beula Zemlak"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.8ms) 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", "Beula Zemlak"], ["authorized_by", "Fawn Ferry"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"1\",\"chargeable_service_name\":\"Ariel Larkin\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Kandi Hirthe\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 7], ["approved_by_id", 9], ["created_at", "2018-09-05 06:15:47.680682"], ["updated_at", "2018-09-05 06:15:47.680682"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.26ms) Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 201 Created in 40ms (Views: 7.8ms | ActiveRecord: 11.2ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (5.2ms) 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", "ruthann@berniergrady.co.uk"], ["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", "Blanca Kris"], ["last_name", "Lenna Durgan"], ["email", "ruthann@berniergrady.co.uk"], ["password_digest", "$2a$04$NDrQMbXaHDWQw/d6QEKKBeTfkSihdjhpTfFczyyk1Wbxj8mSPwr1O"], ["created_at", "2018-09-05 06:15:47.719009"], ["updated_at", "2018-09-05 06:15:47.719009"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Debbra Kshlerin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Phyliss Reinger"], ["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", "Debbra Kshlerin"], ["name", "Phyliss Reinger"], ["created_at", "2018-09-05 06:15:47.731415"], ["updated_at", "2018-09-05 06:15:47.731415"]]  (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", "Jannie Sanford"], ["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", "Jannie Sanford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.738133"], ["updated_at", "2018-09-05 06:15:47.738133"]]  (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", "Kathern Wyman"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kathern Wyman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.743865"], ["updated_at", "2018-09-05 06:15:47.743865"]]  (0.8ms) RELEASE SAVEPOINT active_record_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", "Mandie Funk"], ["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", "Mandie Funk"], ["name", "Carmelina Kirlin"], ["address", "Garret Rempel"], ["created_at", "2018-09-05 06:15:47.750958"], ["updated_at", "2018-09-05 06:15:47.750958"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Roxann Hirthe"], ["service_delivery_unit_id", 3], ["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", "Roxann Hirthe"], ["name", "Chanell King"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:15:47.757971"], ["updated_at", "2018-09-05 06:15:47.757971"]] 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", 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", "Roxann Hirthe"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Roxann Hirthe"], ["name", "Chanell King"], ["description", "Default bundle for service 'Chanell King'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:15:47.764081"], ["updated_at", "2018-09-05 06:15:47.764081"]] 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", 3], ["chargeable_service_id", 3]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Melba Tremblay"], ["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", "Santos Bogan"], ["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", "Melba Tremblay"], ["name", "Santos Bogan"], ["created_at", "2018-09-05 06:15:47.777193"], ["updated_at", "2018-09-05 06:15:47.777193"]]  (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", "Katelin Gottlieb"], ["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", "Katelin Gottlieb"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.782219"], ["updated_at", "2018-09-05 06:15:47.782219"]]  (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", "Clemmie Lubowitz"], ["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", "Clemmie Lubowitz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.788179"], ["updated_at", "2018-09-05 06:15:47.788179"]]  (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", "Joeann Bins"], ["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 Bins"], ["name", "Sarai Blanda"], ["address", "Jude Dooley"], ["created_at", "2018-09-05 06:15:47.792723"], ["updated_at", "2018-09-05 06:15:47.792723"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Zenobia Oga"], ["service_delivery_unit_id", 4], ["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", "Zenobia Oga"], ["name", "Milton Mosciski"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:15:47.802450"], ["updated_at", "2018-09-05 06:15:47.802450"]] 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", 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", "Zenobia Oga"], ["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", "Zenobia Oga"], ["name", "Milton Mosciski"], ["description", "Default bundle for service 'Milton Mosciski'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:15:47.810987"], ["updated_at", "2018-09-05 06:15:47.810987"]] 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", 4], ["chargeable_service_id", 4]]  (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", "Emile Pfannerstill"], ["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", "Genoveva Treutel"], ["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", "Emile Pfannerstill"], ["name", "Genoveva Treutel"], ["description", "Consequatur explicabo dolor excepturi sint veniam error nulla. Iste magnam aut voluptas dolores ratione ipsa. Temporibus ipsa aspernatur praesentium alias necessitatibus qui. Deserunt a quam et hic quibusdam."], ["created_at", "2018-09-05 06:15:47.822534"], ["updated_at", "2018-09-05 06:15:47.822534"]]  (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", "Christia Reichel"], ["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", "Nisha O'Keefe"], ["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", "Christia Reichel"], ["name", "Nisha O'Keefe"], ["description", "At assumenda unde qui corporis quis tempore illum ullam. Quasi et ex error nam laudantium et mollitia incidunt. Velit blanditiis et eligendi voluptatem adipisci pariatur eum eum."], ["equipment_type_id", 3], ["created_at", "2018-09-05 06:15:47.828059"], ["updated_at", "2018-09-05 06:15:47.828059"]]  (0.8ms) 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", "Sharlene Bogan"], ["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", "Sharlene Bogan"], ["name", "Bernetta Schimmel"], ["description", "Odell Mosciski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 06:15:47.834102"], ["updated_at", "2018-09-05 06:15:47.834102"]]  (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", "Lizzie Mayert"], ["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", "Janett Olson"], ["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", "Lizzie Mayert"], ["name", "Janett Olson"], ["description", "Roxane Flatley"], ["created_at", "2018-09-05 06:15:47.840825"], ["updated_at", "2018-09-05 06:15:47.840825"]]  (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", "Liz Heller"], ["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", "Liz Heller"], ["name", "Vickie Legros"], ["location_type_id", 3], ["description", "Marvis Heathcote"], ["address", "Mee O'Connell"], ["created_at", "2018-09-05 06:15:47.845710"], ["updated_at", "2018-09-05 06:15:47.845710"]]  (0.5ms) 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", "Kayleen Koelpin"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Chara Klein"], ["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", "Kayleen Koelpin"], ["name", "Mariela Collins"], ["description", "Marya Beatty"], ["serial_number", "Chara Klein"], ["brand", "Yevette Sauer"], ["item_model", "Gertie Keebler"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 06:15:47.853805"], ["updated_at", "2018-09-05 06:15:47.853805"]]  (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", "Joaquin Lueilwitz"], ["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", "Christa Emard"], ["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", "Joaquin Lueilwitz"], ["name", "Christa Emard"], ["description", "Aut molestiae ducimus eos voluptatibus. Quis id rem provident error qui. Natus voluptatem ipsum sed quo. Et aliquam sint voluptatibus laborum consectetur cumque aut. Dolorem voluptatem possimus nostrum corrupti fugiat omnis quia."], ["created_at", "2018-09-05 06:15:47.861705"], ["updated_at", "2018-09-05 06:15:47.861705"]]  (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", "Lucille Prohaska"], ["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", "Marcellus Christiansen"], ["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", "Lucille Prohaska"], ["name", "Marcellus Christiansen"], ["description", "Ea enim fugit voluptates autem harum et quis. Aperiam tenetur magni accusamus consequatur et qui. Harum qui consequatur eum ut a cupiditate. Aspernatur ipsa odit accusantium ullam voluptatibus. Eum et reprehenderit incidunt voluptatum."], ["equipment_type_id", 4], ["created_at", "2018-09-05 06:15:47.867743"], ["updated_at", "2018-09-05 06:15:47.867743"]]  (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", "Yasmin Koelpin"], ["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", "Yasmin Koelpin"], ["name", "Ellis Lind"], ["description", "Fawn Romaguera"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 06:15:47.872733"], ["updated_at", "2018-09-05 06:15:47.872733"]]  (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", "Ruthanne Wilderman"], ["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", "Noah Kiehn"], ["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", "Ruthanne Wilderman"], ["name", "Noah Kiehn"], ["description", "Deidra Schmitt"], ["created_at", "2018-09-05 06:15:47.879552"], ["updated_at", "2018-09-05 06:15:47.879552"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Mariano Mayert"], ["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", "Mariano Mayert"], ["name", "Hsiu Langosh"], ["location_type_id", 4], ["description", "Eddy Bailey"], ["address", "Elden Homenick"], ["created_at", "2018-09-05 06:15:47.885038"], ["updated_at", "2018-09-05 06:15:47.885038"]]  (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", "Kary Balistreri"], ["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", "Priscila Tromp"], ["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", "Kary Balistreri"], ["name", "Martin Balistreri"], ["description", "Bethann Bailey"], ["serial_number", "Priscila Tromp"], ["brand", "Irving Little"], ["item_model", "Mildred Okuneva"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 06:15:47.891348"], ["updated_at", "2018-09-05 06:15:47.891348"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "ali@rogahn.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", "Tony Nienow"], ["last_name", "Elana Bernier"], ["email", "ali@rogahn.co.uk"], ["password_digest", "$2a$04$XwJux/UXH5pUpf4NL3OueOaQy4.qz/1Gs/yojaYdKDCXup53q1jUa"], ["created_at", "2018-09-05 06:15:47.899401"], ["updated_at", "2018-09-05 06:15:47.899401"]]  (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", "benny@keebler.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", "Loriann Brakus"], ["last_name", "Deb Stroman"], ["email", "benny@keebler.co.uk"], ["password_digest", "$2a$04$4jq5t82sRedM7jM1C5/1j.V6Jd2EGpN17N.22y77OllbUtfh3Jn7G"], ["created_at", "2018-09-05 06:15:47.905794"], ["updated_at", "2018-09-05 06:15:47.905794"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"12", "authorized_by"=>"Isiah Johnson", "authorized_on"=>"2018-09-05", "created_by_id"=>"11", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"3", "chargeable_service_name"=>"Milton Mosciski", "equipment_item_id"=>"3", "equipment_item_name"=>"Martin Balistreri", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Kathi Muller", "status"=>"Irene Stamm"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["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", 10], ["LIMIT", 1]]  (0.6ms) 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", "Kathi Muller"], ["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", "Kathi Muller"], ["authorized_by", "Isiah Johnson"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"3\",\"chargeable_service_name\":\"Milton Mosciski\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Martin Balistreri\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 10], ["approved_by_id", 12], ["created_at", "2018-09-05 06:15:47.917098"], ["updated_at", "2018-09-05 06:15:47.917098"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.15ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 201 Created in 12ms (Views: 1.4ms | ActiveRecord: 5.6ms)  (0.8ms) ROLLBACK  (0.6ms) 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", "margherita_hickle@grimesdonnelly.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", "Angel Koch"], ["last_name", "Carlie Hyatt"], ["email", "margherita_hickle@grimesdonnelly.biz"], ["password_digest", "$2a$04$yMYzq3wQGy4Y9cGjzC0CAe6Ctpv5g74Ko1FmntFLOrW385E/saXD6"], ["created_at", "2018-09-05 06:15:47.932456"], ["updated_at", "2018-09-05 06:15:47.932456"]]  (0.8ms) 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", "Stefan 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", "Signe Okuneva"], ["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", "Stefan Ebert"], ["name", "Signe Okuneva"], ["created_at", "2018-09-05 06:15:47.940662"], ["updated_at", "2018-09-05 06:15:47.940662"]]  (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", "Angelic Dicki"], ["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", "Angelic Dicki"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.946331"], ["updated_at", "2018-09-05 06:15:47.946331"]]  (0.6ms) 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", "Arnette Boyer"], ["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", "Arnette Boyer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.951907"], ["updated_at", "2018-09-05 06:15:47.951907"]]  (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", "Dot Langosh"], ["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", "Dot Langosh"], ["name", "Ingrid Schmidt"], ["address", "Eliseo Streich"], ["created_at", "2018-09-05 06:15:47.956801"], ["updated_at", "2018-09-05 06:15:47.956801"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Alton Deckow"], ["service_delivery_unit_id", 5], ["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", "Alton Deckow"], ["name", "Chantay Kemmer"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:15:47.962128"], ["updated_at", "2018-09-05 06:15:47.962128"]] 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", 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", "Alton Deckow"], ["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", "Alton Deckow"], ["name", "Chantay Kemmer"], ["description", "Default bundle for service 'Chantay Kemmer'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:15:47.969514"], ["updated_at", "2018-09-05 06:15:47.969514"]] 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.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", "Lee Kling"], ["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", "Roy Schulist"], ["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", "Lee Kling"], ["name", "Roy Schulist"], ["created_at", "2018-09-05 06:15:47.981243"], ["updated_at", "2018-09-05 06:15:47.981243"]]  (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", "Retta Flatley"], ["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", "Retta Flatley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.987734"], ["updated_at", "2018-09-05 06:15:47.987734"]]  (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", "Dan 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", "Dan Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:47.994689"], ["updated_at", "2018-09-05 06:15:47.994689"]]  (0.6ms) 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", "Lorriane Simonis"], ["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", "Lorriane Simonis"], ["name", "Jamal Streich"], ["address", "Nieves Kihn"], ["created_at", "2018-09-05 06:15:48.001655"], ["updated_at", "2018-09-05 06:15:48.001655"]]  (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", "Karlene Hagenes"], ["service_delivery_unit_id", 6], ["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", "Karlene Hagenes"], ["name", "Sonya Schuppe"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:15:48.007586"], ["updated_at", "2018-09-05 06:15:48.007586"]] 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", 6], ["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", "Karlene Hagenes"], ["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", "Karlene Hagenes"], ["name", "Sonya Schuppe"], ["description", "Default bundle for service 'Sonya Schuppe'"], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:15:48.015175"], ["updated_at", "2018-09-05 06:15:48.015175"]] 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  (0.9ms) 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", "King Altenwerth"], ["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", "Trisha Spencer"], ["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", "King Altenwerth"], ["name", "Trisha Spencer"], ["description", "Est aut adipisci sint dolor eveniet. Natus rem qui quo dolorem officia voluptas. Sed numquam amet repudiandae ducimus qui non et."], ["created_at", "2018-09-05 06:15:48.028607"], ["updated_at", "2018-09-05 06:15:48.028607"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Ingeborg Bruen"], ["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", "Tilda Waters"], ["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", "Ingeborg Bruen"], ["name", "Tilda Waters"], ["description", "Id inventore sint excepturi vel. Velit illo corrupti ea consequatur et. Molestiae ut necessitatibus soluta cumque."], ["equipment_type_id", 5], ["created_at", "2018-09-05 06:15:48.034817"], ["updated_at", "2018-09-05 06:15:48.034817"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Estela Jerde"], ["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", "Estela Jerde"], ["name", "Brigida Frami"], ["description", "Mohammed Rath"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 06:15:48.041535"], ["updated_at", "2018-09-05 06:15:48.041535"]]  (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", "Floy Legros"], ["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", "Randolph Reichert"], ["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", "Floy Legros"], ["name", "Randolph Reichert"], ["description", "Eura McKenzie"], ["created_at", "2018-09-05 06:15:48.049702"], ["updated_at", "2018-09-05 06:15:48.049702"]]  (0.6ms) 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", "Roselia Sporer"], ["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", "Roselia Sporer"], ["name", "Thalia Fritsch"], ["location_type_id", 5], ["description", "Lashay Powlowski"], ["address", "Karry O'Kon"], ["created_at", "2018-09-05 06:15:48.055028"], ["updated_at", "2018-09-05 06:15:48.055028"]]  (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", "Freeman Jacobs"], ["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", "Floyd White"], ["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", "Freeman Jacobs"], ["name", "Ronni Cassin"], ["description", "Leslie Thiel"], ["serial_number", "Floyd White"], ["brand", "Randa Bednar"], ["item_model", "Taren Wilkinson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 06:15:48.061777"], ["updated_at", "2018-09-05 06:15:48.061777"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Hortense Kiehn"], ["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", "Rosa Simonis"], ["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", "Hortense Kiehn"], ["name", "Rosa Simonis"], ["description", "Optio distinctio aut itaque aspernatur. Facilis modi maiores veritatis unde enim. Aut quidem iusto est incidunt id. Id consequatur omnis nulla dolor libero. Qui aut eaque aut enim et voluptatem harum dicta."], ["created_at", "2018-09-05 06:15:48.071349"], ["updated_at", "2018-09-05 06:15:48.071349"]]  (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", "Carlene Hamill"], ["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", "Travis Abshire"], ["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", "Carlene Hamill"], ["name", "Travis Abshire"], ["description", "Accusamus earum laudantium molestias quas nostrum. Sequi culpa natus sunt libero. Repellat tempore dicta quo et enim delectus. Veniam quod occaecati distinctio vel."], ["equipment_type_id", 6], ["created_at", "2018-09-05 06:15:48.078149"], ["updated_at", "2018-09-05 06:15:48.078149"]]  (0.8ms) 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", "Jeanelle Kemmer"], ["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", "Jeanelle Kemmer"], ["name", "Mckinley Jast"], ["description", "Lia Thompson"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 06:15:48.083334"], ["updated_at", "2018-09-05 06:15:48.083334"]]  (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", "Bambi Hoeger"], ["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", "Alethea Jacobson"], ["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", "Bambi Hoeger"], ["name", "Alethea Jacobson"], ["description", "Earle Crooks"], ["created_at", "2018-09-05 06:15:48.091107"], ["updated_at", "2018-09-05 06:15:48.091107"]]  (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", "Willia Harris"], ["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", "Willia Harris"], ["name", "Sebastian Steuber"], ["location_type_id", 6], ["description", "Carlos Hermiston"], ["address", "Dionne Deckow"], ["created_at", "2018-09-05 06:15:48.096062"], ["updated_at", "2018-09-05 06:15:48.096062"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Alden Berge"], ["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", "Tiffanie Boyer"], ["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", "Alden Berge"], ["name", "Lavette Grimes"], ["description", "Galina Ortiz"], ["serial_number", "Tiffanie Boyer"], ["brand", "Starla Berge"], ["item_model", "Mathilda Walter"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 06:15:48.104054"], ["updated_at", "2018-09-05 06:15:48.104054"]]  (0.8ms) 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", "pura_romaguera@kunze.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", "Marshall Schmidt"], ["last_name", "Rene Rolfson"], ["email", "pura_romaguera@kunze.co.uk"], ["password_digest", "$2a$04$9f5J3R5PsunYvxnF/QvyguOJCDHQ79dwv1Vwjbp1/42W83pWuNOCe"], ["created_at", "2018-09-05 06:15:48.112496"], ["updated_at", "2018-09-05 06:15:48.112496"]]  (1.0ms) 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", "sherlene@bernhardstark.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", "Lenna Altenwerth"], ["last_name", "Georgie Heaney"], ["email", "sherlene@bernhardstark.biz"], ["password_digest", "$2a$04$4YF6n.QQ0.KRSdSz53dKjeTTGXUKRVYoulCsXIcE28QFkkPs7mo/i"], ["created_at", "2018-09-05 06:15:48.121306"], ["updated_at", "2018-09-05 06:15:48.121306"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"15", "authorized_by"=>"Barbera Prosacco", "authorized_on"=>"2018-09-05", "created_by_id"=>"14", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"5", "chargeable_service_name"=>"Sonya Schuppe", "equipment_item_id"=>"5", "equipment_item_name"=>"Lavette Grimes", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Maryland Stamm"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]]  (0.9ms) 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", ""], ["LIMIT", 1]]  (1.1ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 422 Unprocessable Entity in 49ms (Views: 25.9ms | ActiveRecord: 7.5ms)  (2.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", "veronica.pollich@conroymetz.ca"], ["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", "Daniel Ratke"], ["last_name", "Chantay Collier"], ["email", "veronica.pollich@conroymetz.ca"], ["password_digest", "$2a$04$EKTVYstGIqvDXjOyAftK4efGssYGBGu2Az4BNpY3mo33xoTGxDUO2"], ["created_at", "2018-09-05 06:15:48.189531"], ["updated_at", "2018-09-05 06:15:48.189531"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "janelle@grant.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", "Doyle Cassin"], ["last_name", "Stacy Boyer"], ["email", "janelle@grant.us"], ["password_digest", "$2a$04$JshfYFx5kfswRgpiSxiwc.Gr7ZagBQgNDqmYr1ZsSoAVnO36zhy9O"], ["created_at", "2018-09-05 06:15:48.196826"], ["updated_at", "2018-09-05 06:15:48.196826"]]  (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", "shenna@gerlachwindler.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", "Rosa Kilback"], ["last_name", "Heath Prohaska"], ["email", "shenna@gerlachwindler.name"], ["password_digest", "$2a$04$aKKKDc00Y9W/CDWy7nQZcegtdX/dmwo71Nwfmxj9N3hRcNllUHTci"], ["created_at", "2018-09-05 06:15:48.203538"], ["updated_at", "2018-09-05 06:15:48.203538"]]  (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", "January Hegmann"], ["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", "January Hegmann"], ["authorized_by", "Tammera 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", 17], ["approved_by_id", 18], ["created_at", "2018-09-05 06:15:48.208669"], ["updated_at", "2018-09-05 06:15:48.208669"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Daysi Thompson"}, "id"=>"5"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 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", 5], ["LIMIT", 1]]  (0.9ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "January Hegmann"], ["id", 5], ["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", 17], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.4ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Daysi Thompson"], ["updated_at", "2018-09-05 06:15:48.223748"], ["id", 5]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.15ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.39ms) Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 8.5ms) 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]]  (1.4ms) 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", "nadia@bogan.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", "Kizzy Hoeger"], ["last_name", "Florine Bosco"], ["email", "nadia@bogan.info"], ["password_digest", "$2a$04$6Ur6fUqKv9ZLTeWe1n84A.Dibel8K/.KjwX8TSzdJ3w82n.7xebYC"], ["created_at", "2018-09-05 06:15:48.240950"], ["updated_at", "2018-09-05 06:15:48.240950"]]  (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", "jeniffer_considine@little.info"], ["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", "Latonia Senger"], ["last_name", "Shirleen Wiegand"], ["email", "jeniffer_considine@little.info"], ["password_digest", "$2a$04$fNWZfdUIRdvdkWLK7DU5lui1oA3qG2PvG1UGqKip/DZTLb/L5TCSy"], ["created_at", "2018-09-05 06:15:48.248023"], ["updated_at", "2018-09-05 06:15:48.248023"]]  (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", "rusty.quitzon@carroll.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", "Grazyna Armstrong"], ["last_name", "Jesus Wisozk"], ["email", "rusty.quitzon@carroll.info"], ["password_digest", "$2a$04$Ui5w0c8ChYvq0vyXDYA6DuUWC93PGgEDNCSXrs10neHYjmJ9luPnK"], ["created_at", "2018-09-05 06:15:48.255192"], ["updated_at", "2018-09-05 06:15:48.255192"]]  (0.6ms) 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", "Dannette Kuhlman"], ["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", "Dannette Kuhlman"], ["authorized_by", "Mariette Luettgen"], ["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", 20], ["approved_by_id", 21], ["created_at", "2018-09-05 06:15:48.260587"], ["updated_at", "2018-09-05 06:15:48.260587"]]  (0.6ms) 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", "Kyra Parisian"], ["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", "Marlana Hirthe"], ["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", "Kyra Parisian"], ["name", "Marlana Hirthe"], ["created_at", "2018-09-05 06:15:48.267543"], ["updated_at", "2018-09-05 06:15:48.267543"]]  (1.0ms) 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", "Charley Kuvalis"], ["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", "Charley Kuvalis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:48.273523"], ["updated_at", "2018-09-05 06:15:48.273523"]]  (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", "Clarissa Johns"], ["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", "Clarissa Johns"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:48.279067"], ["updated_at", "2018-09-05 06:15:48.279067"]]  (0.7ms) 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", "Rebbecca Barrows"], ["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", "Rebbecca Barrows"], ["name", "Lupe Gibson"], ["address", "Patrina Ferry"], ["created_at", "2018-09-05 06:15:48.284987"], ["updated_at", "2018-09-05 06:15:48.284987"]]  (0.6ms) RELEASE SAVEPOINT active_record_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", "Dorris Keebler"], ["service_delivery_unit_id", 7], ["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", "Dorris Keebler"], ["name", "Gia Grimes"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:15:48.289890"], ["updated_at", "2018-09-05 06:15:48.289890"]] 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", 7], ["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", "Dorris Keebler"], ["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", "Dorris Keebler"], ["name", "Gia Grimes"], ["description", "Default bundle for service 'Gia Grimes'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:15:48.294976"], ["updated_at", "2018-09-05 06:15:48.294976"]] 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", 7], ["chargeable_service_id", 7]]  (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", "Cleora Huel"], ["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", "Noah Hessel"], ["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 Huel"], ["name", "Noah Hessel"], ["created_at", "2018-09-05 06:15:48.304685"], ["updated_at", "2018-09-05 06:15:48.304685"]]  (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", "Nikole Hodkiewicz"], ["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", "Nikole Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:48.309350"], ["updated_at", "2018-09-05 06:15:48.309350"]]  (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", "Ayako Corwin"], ["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", "Ayako Corwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:48.313908"], ["updated_at", "2018-09-05 06:15:48.313908"]]  (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", "Paz Cormier"], ["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", "Paz Cormier"], ["name", "Laure Marks"], ["address", "Terrell Will"], ["created_at", "2018-09-05 06:15:48.318353"], ["updated_at", "2018-09-05 06:15:48.318353"]]  (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", "Reynalda Wolff"], ["service_delivery_unit_id", 8], ["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", "Reynalda Wolff"], ["name", "Lakisha Rosenbaum"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:15:48.322636"], ["updated_at", "2018-09-05 06:15:48.322636"]] 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", 8], ["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", "Reynalda Wolff"], ["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", "Reynalda Wolff"], ["name", "Lakisha Rosenbaum"], ["description", "Default bundle for service 'Lakisha Rosenbaum'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:15:48.328514"], ["updated_at", "2018-09-05 06:15:48.328514"]] 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", 8], ["chargeable_service_id", 8]]  (0.7ms) 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", "Evelin Feest"], ["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", "Dallas Kuphal"], ["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", "Evelin Feest"], ["name", "Dallas Kuphal"], ["description", "Ipsa nemo ea sunt ut eum. Ipsa veritatis cum impedit ea quia. Excepturi ipsa ut quia est cupiditate. Ut reprehenderit officia ipsa odit quo nulla fugiat tempora. Id incidunt sunt esse cupiditate aliquid."], ["created_at", "2018-09-05 06:15:48.338786"], ["updated_at", "2018-09-05 06:15:48.338786"]]  (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", "Wyatt Mertz"], ["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", "Tayna Flatley"], ["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", "Wyatt Mertz"], ["name", "Tayna Flatley"], ["description", "Accusamus velit sequi illo temporibus ratione. Quos delectus unde excepturi assumenda nemo enim dolorem. Ut quia dicta et odit autem. Et nobis beatae ipsam aspernatur vero expedita eaque eum."], ["equipment_type_id", 7], ["created_at", "2018-09-05 06:15:48.344328"], ["updated_at", "2018-09-05 06:15:48.344328"]]  (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", "Migdalia Stanton"], ["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", "Migdalia Stanton"], ["name", "Pamila Hauck"], ["description", "Colton Pouros"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 06:15:48.349006"], ["updated_at", "2018-09-05 06:15:48.349006"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Myung King"], ["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", "Esther Predovic"], ["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", "Myung King"], ["name", "Esther Predovic"], ["description", "Tajuana Greenfelder"], ["created_at", "2018-09-05 06:15:48.356523"], ["updated_at", "2018-09-05 06:15:48.356523"]]  (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", "Elfrieda Gleason"], ["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", "Elfrieda Gleason"], ["name", "Donald Abernathy"], ["location_type_id", 7], ["description", "Evonne Lakin"], ["address", "Hanna Ward"], ["created_at", "2018-09-05 06:15:48.361254"], ["updated_at", "2018-09-05 06:15:48.361254"]]  (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", "Phyliss Davis"], ["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", "Barrett Treutel"], ["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", "Phyliss Davis"], ["name", "Lucretia Champlin"], ["description", "Gustavo Runte"], ["serial_number", "Barrett Treutel"], ["brand", "Nicholle Anderson"], ["item_model", "Wan Bogan"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 06:15:48.367385"], ["updated_at", "2018-09-05 06:15:48.367385"]]  (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", "Katheryn Lang"], ["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", "Celine Heller"], ["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", "Katheryn Lang"], ["name", "Celine Heller"], ["description", "Quos exercitationem et voluptas ipsam quas facere sit. Sapiente molestias nisi vero quia corporis doloremque consectetur. Aut non possimus nisi necessitatibus incidunt sint. Et illum eos explicabo ad hic rerum. Non et eaque provident fugiat consequuntur inventore qui pariatur."], ["created_at", "2018-09-05 06:15:48.374684"], ["updated_at", "2018-09-05 06:15:48.374684"]]  (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", "Milissa Stokes"], ["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", "Blythe Blanda"], ["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", "Milissa Stokes"], ["name", "Blythe Blanda"], ["description", "Voluptas repellendus itaque magnam nemo veritatis harum facilis et. In omnis possimus enim dolores et illo ut. Doloribus veritatis tenetur nihil dolor sequi. Expedita et numquam molestias sit odio et debitis id. Dolore totam vero necessitatibus enim."], ["equipment_type_id", 8], ["created_at", "2018-09-05 06:15:48.380414"], ["updated_at", "2018-09-05 06:15:48.380414"]]  (0.5ms) 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", "Eddie Huels"], ["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", "Eddie Huels"], ["name", "Brian Haag"], ["description", "Mario Lind"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 06:15:48.385318"], ["updated_at", "2018-09-05 06:15:48.385318"]]  (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", "Harold Oga"], ["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", "Dion Daugherty"], ["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", "Harold Oga"], ["name", "Dion Daugherty"], ["description", "Josh Heller"], ["created_at", "2018-09-05 06:15:48.391437"], ["updated_at", "2018-09-05 06:15:48.391437"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Sandi Goodwin"], ["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", "Sandi Goodwin"], ["name", "Francie Walter"], ["location_type_id", 8], ["description", "Duane Quitzon"], ["address", "Lynda Krajcik"], ["created_at", "2018-09-05 06:15:48.396578"], ["updated_at", "2018-09-05 06:15:48.396578"]]  (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", "Roberta Klein"], ["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", "Cathy Fadel"], ["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", "Roberta Klein"], ["name", "Chandra Greenfelder"], ["description", "Bridget Johns"], ["serial_number", "Cathy Fadel"], ["brand", "Darren Runolfsdottir"], ["item_model", "Reyna Heathcote"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 06:15:48.402813"], ["updated_at", "2018-09-05 06:15:48.402813"]]  (0.6ms) 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", "chance.okon@nicolas.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", "Alethia Williamson"], ["last_name", "Gerda Stehr"], ["email", "chance.okon@nicolas.name"], ["password_digest", "$2a$04$wRbxEkSEWvOfJRlAVcntB.OcRQLv7MbRjHEvb0p5VkHxcap5c/9YK"], ["created_at", "2018-09-05 06:15:48.409504"], ["updated_at", "2018-09-05 06:15:48.409504"]]  (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", "mirtha@mcclureheller.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", "Ali Spinka"], ["last_name", "Frances Murray"], ["email", "mirtha@mcclureheller.us"], ["password_digest", "$2a$04$fbuXqGIewkwGSmBhQgZ2Hufmp9KyjmMw46HrcWz00eWoEH0p0jLIq"], ["created_at", "2018-09-05 06:15:48.416102"], ["updated_at", "2018-09-05 06:15:48.416102"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"23", "authorized_by"=>"Rusty Halvorson", "authorized_on"=>"2018-09-05", "created_by_id"=>"22", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"7", "chargeable_service_name"=>"Lakisha Rosenbaum", "equipment_item_id"=>"7", "equipment_item_name"=>"Chandra Greenfelder", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Federico Stokes", "status"=>"Maryland Gislason"}, "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", 19], ["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.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", "Federico Stokes"], ["id", 6], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO 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", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.16ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.5ms | ActiveRecord: 6.0ms)  (0.9ms) 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", "stacie_gibson@casper.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", "An Lueilwitz"], ["last_name", "Sheron Powlowski"], ["email", "stacie_gibson@casper.info"], ["password_digest", "$2a$04$oZf8iBfrloNZs9mOWurAxO9FICXF5/R4fgeTww5VifiDgUw8nPUFO"], ["created_at", "2018-09-05 06:15:48.452339"], ["updated_at", "2018-09-05 06:15:48.452339"]]  (0.7ms) 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", "vern@hintzsimonis.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", "In Hoeger"], ["last_name", "Henry Conroy"], ["email", "vern@hintzsimonis.name"], ["password_digest", "$2a$04$k7K42f.NjDO5CRhBHb7Id.RUeimCGG3IjL0CPwTRWMqDuaXT1Uz1O"], ["created_at", "2018-09-05 06:15:48.460258"], ["updated_at", "2018-09-05 06:15:48.460258"]]  (0.5ms) 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", "loan@padberg.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", "Kum Zemlak"], ["last_name", "Malika Schulist"], ["email", "loan@padberg.com"], ["password_digest", "$2a$04$kBqgfQ55cie3ViXkpwUELOd22DFkLGPR4V14Hq.leDS71Vu6o5ST2"], ["created_at", "2018-09-05 06:15:48.467324"], ["updated_at", "2018-09-05 06:15:48.467324"]]  (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", "Marlys Konopelski"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.4ms) 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", "Marlys Konopelski"], ["authorized_by", "Lucila Pfeffer"], ["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", 25], ["approved_by_id", 26], ["created_at", "2018-09-05 06:15:48.472531"], ["updated_at", "2018-09-05 06:15:48.472531"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (4.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Thora Predovic"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shawn Windler"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Thora Predovic"], ["name", "Shawn Windler"], ["created_at", "2018-09-05 06:15:48.486474"], ["updated_at", "2018-09-05 06:15:48.486474"]]  (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", "Shaunte Ratke"], ["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", "Shaunte Ratke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:48.492846"], ["updated_at", "2018-09-05 06:15:48.492846"]]  (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", "Erminia Roberts"], ["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", "Erminia Roberts"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:48.497222"], ["updated_at", "2018-09-05 06:15:48.497222"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.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", "Lean Jacobi"], ["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", "Lean Jacobi"], ["name", "Alma Fritsch"], ["address", "Almeda Schulist"], ["created_at", "2018-09-05 06:15:48.502710"], ["updated_at", "2018-09-05 06:15:48.502710"]]  (0.8ms) 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", "Alissa Wilderman"], ["service_delivery_unit_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", "Alissa Wilderman"], ["name", "Marline Gulgowski"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:15:48.507899"], ["updated_at", "2018-09-05 06:15:48.507899"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Alissa Wilderman"], ["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", "Alissa Wilderman"], ["name", "Marline Gulgowski"], ["description", "Default bundle for service 'Marline Gulgowski'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:15:48.512926"], ["updated_at", "2018-09-05 06:15:48.512926"]] 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", 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", "Donn O'Hara"], ["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", "Bronwyn Rath"], ["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", "Donn O'Hara"], ["name", "Bronwyn Rath"], ["created_at", "2018-09-05 06:15:48.522576"], ["updated_at", "2018-09-05 06:15:48.522576"]]  (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", "Shakita Cremin"], ["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", "Shakita Cremin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:48.527482"], ["updated_at", "2018-09-05 06:15:48.527482"]]  (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", "Brigette Boyle"], ["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", "Brigette Boyle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:15:48.532408"], ["updated_at", "2018-09-05 06:15:48.532408"]]  (0.8ms) 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", "Douglas Cummings"], ["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", "Douglas Cummings"], ["name", "Nancey Corwin"], ["address", "Lavada Mohr"], ["created_at", "2018-09-05 06:15:48.538539"], ["updated_at", "2018-09-05 06:15:48.538539"]]  (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", "Trey Wunsch"], ["service_delivery_unit_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", "Trey Wunsch"], ["name", "Carrol Hills"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:15:48.543249"], ["updated_at", "2018-09-05 06:15:48.543249"]] 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.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Trey Wunsch"], ["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", "Trey Wunsch"], ["name", "Carrol Hills"], ["description", "Default bundle for service 'Carrol Hills'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:15:48.549212"], ["updated_at", "2018-09-05 06:15:48.549212"]] 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", 10], ["chargeable_service_id", 10]]  (0.5ms) 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", "Allie Upton"], ["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", "Christia Kiehn"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Allie Upton"], ["name", "Christia Kiehn"], ["description", "Itaque voluptatem eum rerum unde. Enim provident fuga aut quo et corrupti praesentium quibusdam. Non ut debitis commodi deleniti sit quos ad animi. Est adipisci mollitia est quia explicabo."], ["created_at", "2018-09-05 06:15:48.558920"], ["updated_at", "2018-09-05 06:15:48.558920"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Matthew Yost"], ["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", "Lorelei Bernhard"], ["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", "Matthew Yost"], ["name", "Lorelei Bernhard"], ["description", "Magni quo quibusdam sit ut aperiam qui voluptatem. Non est et sed natus at in rerum. Et sequi at voluptatem illum."], ["equipment_type_id", 9], ["created_at", "2018-09-05 06:15:48.567091"], ["updated_at", "2018-09-05 06:15:48.567091"]]  (0.6ms) 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", "Carita Bahringer"], ["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", "Carita Bahringer"], ["name", "Anita Cartwright"], ["description", "Terra Conn"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 06:15:48.571892"], ["updated_at", "2018-09-05 06:15:48.571892"]]  (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", "Kathrine Franecki"], ["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", "Courtney Spencer"], ["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", "Kathrine Franecki"], ["name", "Courtney Spencer"], ["description", "Dara Watsica"], ["created_at", "2018-09-05 06:15:48.578328"], ["updated_at", "2018-09-05 06:15:48.578328"]]  (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", "Amy 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", "Amy Schumm"], ["name", "Wai Fisher"], ["location_type_id", 9], ["description", "Rae Crooks"], ["address", "Joane Roberts"], ["created_at", "2018-09-05 06:15:48.582718"], ["updated_at", "2018-09-05 06:15:48.582718"]]  (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", "Lise Bauch"], ["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", "Sarai Hagenes"], ["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", "Lise Bauch"], ["name", "Alysia Schimmel"], ["description", "Ronni Koepp"], ["serial_number", "Sarai Hagenes"], ["brand", "Fabian Senger"], ["item_model", "Mai Trantow"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 06:15:48.588429"], ["updated_at", "2018-09-05 06:15:48.588429"]]  (0.6ms) 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", "Myrtle Feil"], ["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", "Jordan Jakubowski"], ["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", "Myrtle Feil"], ["name", "Jordan Jakubowski"], ["description", "Dolores maxime corrupti omnis perferendis voluptas optio nihil dolores. Officiis reiciendis ipsam enim molestias. Quisquam et ea recusandae consequuntur mollitia excepturi nesciunt in."], ["created_at", "2018-09-05 06:15:48.595835"], ["updated_at", "2018-09-05 06:15:48.595835"]]  (0.9ms) 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", "Wilda Zieme"], ["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", "Zelda Nienow"], ["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", "Wilda Zieme"], ["name", "Zelda Nienow"], ["description", "Quae dolor asperiores ut modi. Voluptates modi velit atque iste. Nesciunt quos qui qui voluptatum veritatis quisquam ut."], ["equipment_type_id", 10], ["created_at", "2018-09-05 06:15:48.602356"], ["updated_at", "2018-09-05 06:15:48.602356"]]  (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", "Scot Flatley"], ["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", "Scot Flatley"], ["name", "Tiera Schmeler"], ["description", "Kelsie Schneider"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 06:15:48.606736"], ["updated_at", "2018-09-05 06:15:48.606736"]]  (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", "Virgie Spencer"], ["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", "Aline Oberbrunner"], ["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", "Virgie Spencer"], ["name", "Aline Oberbrunner"], ["description", "Benita Jerde"], ["created_at", "2018-09-05 06:15:48.612681"], ["updated_at", "2018-09-05 06:15:48.612681"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Otto Gibson"], ["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", "Otto Gibson"], ["name", "Yoshie Streich"], ["location_type_id", 10], ["description", "Marva Schumm"], ["address", "Christeen Kuhn"], ["created_at", "2018-09-05 06:15:48.617006"], ["updated_at", "2018-09-05 06:15:48.617006"]]  (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", "Aurea Feest"], ["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", "Fredricka Rohan"], ["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", "Aurea Feest"], ["name", "Natacha Morar"], ["description", "Vance Mante"], ["serial_number", "Fredricka Rohan"], ["brand", "Cassidy Stokes"], ["item_model", "Hal Mosciski"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 06:15:48.622880"], ["updated_at", "2018-09-05 06:15:48.622880"]]  (0.6ms) 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", "chasity_anderson@homenick.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", "Emely Stiedemann"], ["last_name", "Chiquita Schmidt"], ["email", "chasity_anderson@homenick.ca"], ["password_digest", "$2a$04$LSzK3xlmx0U1Kdi6raocRePYcygTqvEBOO8O/awNJBwhIglqSOV62"], ["created_at", "2018-09-05 06:15:48.630272"], ["updated_at", "2018-09-05 06:15:48.630272"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "celeste_ortiz@kiehn.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", "Angelic Swift"], ["last_name", "Caitlyn Konopelski"], ["email", "celeste_ortiz@kiehn.info"], ["password_digest", "$2a$04$BY4ttrE6zylqosyrlA4NGOaizZHlPagUAfEVqj/gkNBBfoUzo4bBG"], ["created_at", "2018-09-05 06:15:48.638255"], ["updated_at", "2018-09-05 06:15:48.638255"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"28", "authorized_by"=>"Millie Dickinson", "authorized_on"=>"2018-09-05", "created_by_id"=>"27", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"9", "chargeable_service_name"=>"Carrol Hills", "equipment_item_id"=>"9", "equipment_item_name"=>"Natacha Morar", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Nelia Jerde"}, "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", 24], ["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.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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", ""], ["id", 7], ["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", 27], ["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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.2ms | ActiveRecord: 5.8ms)  (0.7ms) ROLLBACK  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.7ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "angelita@beahan.co.uk"], ["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", "Gabrielle Kovacek"], ["last_name", "Kaye Hoeger"], ["email", "angelita@beahan.co.uk"], ["password_digest", "$2a$04$Q7znQHZ0tdY4Nnh91KDhtue9DKWGHXPp0vXV4aXsJva0ndP6kzsuC"], ["created_at", "2018-09-05 06:17:52.897694"], ["updated_at", "2018-09-05 06:17:52.897694"]]  (0.6ms) 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", "lashandra_daugherty@hilll.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", "Georgene Senger"], ["last_name", "Lyn Bednar"], ["email", "lashandra_daugherty@hilll.co.uk"], ["password_digest", "$2a$04$/pCJleb4fTOh7hj03B3HNuZuRjkBSHw9AidNlrjoImaEg.BTAcuxy"], ["created_at", "2018-09-05 06:17:52.926207"], ["updated_at", "2018-09-05 06:17:52.926207"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "jonas@kuhic.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", "Jami Ziemann"], ["last_name", "Danita Rosenbaum"], ["email", "jonas@kuhic.com"], ["password_digest", "$2a$04$tXbcxDqs/t47qHDKwHG6ROXtERKoGquRYsdZlewLwBBGn5CwjzvTC"], ["created_at", "2018-09-05 06:17:52.939992"], ["updated_at", "2018-09-05 06:17:52.939992"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Karey Douglas"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.8ms) 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", "Karey Douglas"], ["authorized_by", "Rusty Pfannerstill"], ["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", 2], ["approved_by_id", 3], ["created_at", "2018-09-05 06:17:52.948033"], ["updated_at", "2018-09-05 06:17:52.948033"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#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::RateChangeRequest Load (1.0ms) 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: 2, approved_by_id: 3, remark: nil, created_at: "2018-09-05 06:17:52", updated_at: "2018-09-05 06:17:52"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.41ms) Completed 200 OK in 22ms (Views: 14.3ms | ActiveRecord: 4.0ms)  (1.0ms) ROLLBACK  (0.5ms) 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", "winona@krajcik.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", "Johnie Strosin"], ["last_name", "Henry Turner"], ["email", "winona@krajcik.ca"], ["password_digest", "$2a$04$WUTSOz330r//q5BcYnRzr.A5AqPTpT9t7QfIJXPtAEvUivgoTtmUG"], ["created_at", "2018-09-05 06:17:52.986638"], ["updated_at", "2018-09-05 06:17:52.986638"]]  (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", "margrett@robel.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", "Gertha Smitham"], ["last_name", "Sena Sauer"], ["email", "margrett@robel.co.uk"], ["password_digest", "$2a$04$LH2zVRIjCpTMDQ.BtIN0t.zz97C8QiKCCFGkmRdlXL.A7cLO9XBJa"], ["created_at", "2018-09-05 06:17:52.993615"], ["updated_at", "2018-09-05 06:17:52.993615"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (3.9ms) 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", "andera_marks@kertzmannlesch.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", "Lavinia Mosciski"], ["last_name", "Luba Runolfsson"], ["email", "andera_marks@kertzmannlesch.us"], ["password_digest", "$2a$04$iznlAAwhiGHJtUVm4ciH4eGKl5RuW/vJvK1pBvs2tr/0iKCr7.ezC"], ["created_at", "2018-09-05 06:17:53.005495"], ["updated_at", "2018-09-05 06:17:53.005495"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Wei Parker"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.4ms) 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", "Wei Parker"], ["authorized_by", "Ashely Treutel"], ["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", 5], ["approved_by_id", 6], ["created_at", "2018-09-05 06:17:53.014051"], ["updated_at", "2018-09-05 06:17:53.014051"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["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", 2], ["LIMIT", 1]] Mks::Auth::User Load (5.2ms) 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 Mks::Rate::RateChangeRequest (0.88ms) Completed 200 OK in 18ms (Views: 6.8ms | ActiveRecord: 7.6ms)  (0.8ms) ROLLBACK  (0.8ms) 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", "fe@shanahan.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", "Theressa Turner"], ["last_name", "Eugene Carroll"], ["email", "fe@shanahan.com"], ["password_digest", "$2a$04$/cDhzpwneRfG6JVhMT2XQuV.SSG.jgGH3wsYKEvpF773S1FqLSvSi"], ["created_at", "2018-09-05 06:17:53.049247"], ["updated_at", "2018-09-05 06:17:53.049247"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (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", "Renaldo 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", "Lynsey Yost"], ["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", "Renaldo Gottlieb"], ["name", "Lynsey Yost"], ["created_at", "2018-09-05 06:17:53.096324"], ["updated_at", "2018-09-05 06:17:53.096324"]]  (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", "Levi Hoeger"], ["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", "Levi Hoeger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.115122"], ["updated_at", "2018-09-05 06:17:53.115122"]]  (0.9ms) 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", "Glayds Windler"], ["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", "Glayds Windler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.121969"], ["updated_at", "2018-09-05 06:17:53.121969"]]  (0.7ms) 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", "Pasty Johns"], ["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", "Pasty Johns"], ["name", "Josphine Schaefer"], ["address", "Brook Sawayn"], ["created_at", "2018-09-05 06:17:53.140053"], ["updated_at", "2018-09-05 06:17:53.140053"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Marcelle Kerluke"], ["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", "Marcelle Kerluke"], ["name", "Vicki Barton"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:17:53.147547"], ["updated_at", "2018-09-05 06:17:53.147547"]] 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", 1], ["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", "Marcelle Kerluke"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Marcelle Kerluke"], ["name", "Vicki Barton"], ["description", "Default bundle for service 'Vicki Barton'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:17:53.178393"], ["updated_at", "2018-09-05 06:17:53.178393"]] 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.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", "Leoma King"], ["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", "Cristi Halvorson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leoma King"], ["name", "Cristi Halvorson"], ["created_at", "2018-09-05 06:17:53.208782"], ["updated_at", "2018-09-05 06:17:53.208782"]]  (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", "Kala Schuppe"], ["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", "Kala Schuppe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.215861"], ["updated_at", "2018-09-05 06:17:53.215861"]]  (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", "Blossom Johns"], ["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 Johns"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.220935"], ["updated_at", "2018-09-05 06:17:53.220935"]]  (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", "Giovanna Schumm"], ["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", "Giovanna Schumm"], ["name", "Gregg Goyette"], ["address", "Arnulfo Rodriguez"], ["created_at", "2018-09-05 06:17:53.225457"], ["updated_at", "2018-09-05 06:17:53.225457"]]  (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", "Carlee Beer"], ["service_delivery_unit_id", 2], ["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", "Carlee Beer"], ["name", "Johana Weissnat"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:17:53.229977"], ["updated_at", "2018-09-05 06:17:53.229977"]] 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", "Carlee Beer"], ["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", "Carlee Beer"], ["name", "Johana Weissnat"], ["description", "Default bundle for service 'Johana Weissnat'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:17:53.235170"], ["updated_at", "2018-09-05 06:17:53.235170"]] 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", 2], ["chargeable_service_id", 2]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Alycia Lakin"], ["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", "Jutta Goldner"], ["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", "Alycia Lakin"], ["name", "Jutta Goldner"], ["description", "Enim distinctio consectetur in laborum qui magnam. Velit eos voluptas voluptas fugiat consequatur. Qui ea quis voluptates neque est et. Ducimus nemo est quia nam eveniet non."], ["created_at", "2018-09-05 06:17:53.327963"], ["updated_at", "2018-09-05 06:17:53.327963"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Elana Hermann"], ["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", "Henrietta Wilderman"], ["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", "Elana Hermann"], ["name", "Henrietta Wilderman"], ["description", "Commodi voluptatem blanditiis eum labore. Quaerat dolor eveniet magni reprehenderit ipsum voluptatem. Qui minima dolorum quasi quod. Voluptas sequi ut in molestiae possimus occaecati facilis. Sed sit est atque tempora dolores omnis."], ["equipment_type_id", 1], ["created_at", "2018-09-05 06:17:53.337026"], ["updated_at", "2018-09-05 06:17:53.337026"]]  (0.5ms) 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", "Diane Bauch"], ["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", "Diane Bauch"], ["name", "Madeleine Altenwerth"], ["description", "Kassandra Kunde"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 06:17:53.343224"], ["updated_at", "2018-09-05 06:17:53.343224"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Bronwyn Bins"], ["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", "Joelle Pollich"], ["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", "Bronwyn Bins"], ["name", "Joelle Pollich"], ["description", "Kenton Ortiz"], ["created_at", "2018-09-05 06:17:53.378234"], ["updated_at", "2018-09-05 06:17:53.378234"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Ezequiel Osinski"], ["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", "Ezequiel Osinski"], ["name", "Glen Fahey"], ["location_type_id", 1], ["description", "Carri Weissnat"], ["address", "Preston Hessel"], ["created_at", "2018-09-05 06:17:53.384769"], ["updated_at", "2018-09-05 06:17:53.384769"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Janiece Lowe"], ["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", "Gracie Jacobi"], ["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", "Janiece Lowe"], ["name", "Charleen Turner"], ["description", "Raven Buckridge"], ["serial_number", "Gracie Jacobi"], ["brand", "Leigh Kihn"], ["item_model", "Rosaria Dooley"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 06:17:53.394342"], ["updated_at", "2018-09-05 06:17:53.394342"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Robt Haley"], ["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", "Josiah Glover"], ["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", "Robt Haley"], ["name", "Josiah Glover"], ["description", "Quis sit perspiciatis porro voluptates et quo necessitatibus magni. Asperiores delectus consequatur id quidem repellendus qui sit. Provident soluta incidunt vero facere magnam voluptas. Aperiam maiores nemo sit molestiae voluptatibus aliquid. Enim est culpa sed vitae id dolorem perspiciatis."], ["created_at", "2018-09-05 06:17:53.403294"], ["updated_at", "2018-09-05 06:17:53.403294"]]  (0.7ms) 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", "Sal Tremblay"], ["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", "Francina Schulist"], ["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", "Sal Tremblay"], ["name", "Francina Schulist"], ["description", "Enim consequatur aut totam praesentium inventore ut labore. Ex recusandae blanditiis ut sed quo dolores et consequatur. Minima dolor ut iste omnis omnis qui. In ea ab quasi molestias eligendi ut libero. Consectetur provident id minima sit veniam perspiciatis."], ["equipment_type_id", 2], ["created_at", "2018-09-05 06:17:53.409420"], ["updated_at", "2018-09-05 06:17:53.409420"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Antone Schmidt"], ["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", "Antone Schmidt"], ["name", "Nanette Mraz"], ["description", "Irina Hilll"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 06:17:53.414221"], ["updated_at", "2018-09-05 06:17:53.414221"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Annabelle Feest"], ["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", "Lavada Roob"], ["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", "Annabelle Feest"], ["name", "Lavada Roob"], ["description", "Linwood Glover"], ["created_at", "2018-09-05 06:17:53.422621"], ["updated_at", "2018-09-05 06:17:53.422621"]]  (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", "Lawrence Jenkins"], ["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", "Lawrence Jenkins"], ["name", "Lisha Hyatt"], ["location_type_id", 2], ["description", "Stefanie O'Reilly"], ["address", "Ora Hyatt"], ["created_at", "2018-09-05 06:17:53.427063"], ["updated_at", "2018-09-05 06:17:53.427063"]]  (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", "Adria VonRueden"], ["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", "Boyce Kunze"], ["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", "Adria VonRueden"], ["name", "Clementina Connelly"], ["description", "Faviola Lemke"], ["serial_number", "Boyce Kunze"], ["brand", "Chong Schuppe"], ["item_model", "Lu Kassulke"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 06:17:53.432647"], ["updated_at", "2018-09-05 06:17:53.432647"]]  (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", "earnest@greenfelderharvey.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", "Tyra Jerde"], ["last_name", "Edison Barton"], ["email", "earnest@greenfelderharvey.name"], ["password_digest", "$2a$04$/OPsRd/G4N7Cbpay0uX5W.tBG6ifE36gy1rybN8ZBqoTrH5oU.kJK"], ["created_at", "2018-09-05 06:17:53.439229"], ["updated_at", "2018-09-05 06:17:53.439229"]]  (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", "elvina@crona.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", "Buffy Bayer"], ["last_name", "Robert Heathcote"], ["email", "elvina@crona.co.uk"], ["password_digest", "$2a$04$F1NKHSayWWLFXyMofKCS1OUw9tT8uIvCZ8vIK3jcAXlnYCbQJydAa"], ["created_at", "2018-09-05 06:17:53.445248"], ["updated_at", "2018-09-05 06:17:53.445248"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"9", "authorized_by"=>"Waltraud Schneider", "authorized_on"=>"2018-09-05", "created_by_id"=>"8", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"1", "chargeable_service_name"=>"Johana Weissnat", "equipment_item_id"=>"1", "equipment_item_name"=>"Clementina Connelly", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Jacqueline Schoen", "status"=>"Lyla Pouros"}} Mks::Auth::User Load (1.1ms) 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.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."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 LIMIT $2 [["reference_number", "Jacqueline Schoen"], ["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", "Jacqueline Schoen"], ["authorized_by", "Waltraud Schneider"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"1\",\"chargeable_service_name\":\"Johana Weissnat\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Clementina Connelly\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 7], ["approved_by_id", 9], ["created_at", "2018-09-05 06:17:53.462840"], ["updated_at", "2018-09-05 06:17:53.462840"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.2ms) Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.49ms) Completed 201 Created in 22ms (Views: 5.7ms | ActiveRecord: 6.1ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.8ms) ROLLBACK  (0.4ms) 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", "elliot.emard@marquardt.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", "Hortensia Nolan"], ["last_name", "Vivian Emmerich"], ["email", "elliot.emard@marquardt.ca"], ["password_digest", "$2a$04$Jipss4tOO.21vsuNoylsy.SoLytteC/gaD3dO3lFXjISV0oO9tBaO"], ["created_at", "2018-09-05 06:17:53.485920"], ["updated_at", "2018-09-05 06:17:53.485920"]]  (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", "Mathilde King"], ["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", "Wiley Haley"], ["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", "Mathilde King"], ["name", "Wiley Haley"], ["created_at", "2018-09-05 06:17:53.492217"], ["updated_at", "2018-09-05 06:17:53.492217"]]  (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", "Mayola Schmitt"], ["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", "Mayola Schmitt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.496808"], ["updated_at", "2018-09-05 06:17:53.496808"]]  (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", "Buffy Greenholt"], ["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", "Buffy Greenholt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.501886"], ["updated_at", "2018-09-05 06:17:53.501886"]]  (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", "Dacia Hansen"], ["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", "Dacia Hansen"], ["name", "Lessie Vandervort"], ["address", "Jeri Cummerata"], ["created_at", "2018-09-05 06:17:53.506850"], ["updated_at", "2018-09-05 06:17:53.506850"]]  (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", "Anitra Maggio"], ["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", "Anitra Maggio"], ["name", "Leonore Botsford"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:17:53.511535"], ["updated_at", "2018-09-05 06:17:53.511535"]] 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", 3], ["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", "Anitra Maggio"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Anitra Maggio"], ["name", "Leonore Botsford"], ["description", "Default bundle for service 'Leonore Botsford'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:17:53.518157"], ["updated_at", "2018-09-05 06:17:53.518157"]] 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", 3], ["chargeable_service_id", 3]]  (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", "Nedra Kuvalis"], ["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", "Lupe Hoeger"], ["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", "Nedra Kuvalis"], ["name", "Lupe Hoeger"], ["created_at", "2018-09-05 06:17:53.529303"], ["updated_at", "2018-09-05 06:17:53.529303"]]  (0.5ms) 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", "Marci Altenwerth"], ["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", "Marci Altenwerth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.534856"], ["updated_at", "2018-09-05 06:17:53.534856"]]  (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", "Mitchell Schuster"], ["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", "Mitchell Schuster"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.539893"], ["updated_at", "2018-09-05 06:17:53.539893"]]  (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", "Alberto Schaefer"], ["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", "Alberto Schaefer"], ["name", "Suzi Stanton"], ["address", "Noriko Legros"], ["created_at", "2018-09-05 06:17:53.544566"], ["updated_at", "2018-09-05 06:17:53.544566"]]  (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", "Sheryll Abbott"], ["service_delivery_unit_id", 4], ["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", "Sheryll Abbott"], ["name", "Sima Wehner"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:17:53.549458"], ["updated_at", "2018-09-05 06:17:53.549458"]] 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", "Sheryll 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", "Sheryll Abbott"], ["name", "Sima Wehner"], ["description", "Default bundle for service 'Sima Wehner'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:17:53.555589"], ["updated_at", "2018-09-05 06:17:53.555589"]] 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", 4], ["chargeable_service_id", 4]]  (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", "Farah Wehner"], ["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", "Wendie Lind"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Farah Wehner"], ["name", "Wendie Lind"], ["description", "Adipisci enim eum omnis debitis quia quia. Tenetur a dignissimos amet voluptatem perferendis optio esse. Dolorum aut incidunt commodi quo in quia magni nemo."], ["created_at", "2018-09-05 06:17:53.565935"], ["updated_at", "2018-09-05 06:17:53.565935"]]  (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", "Ardell Crist"], ["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", "Clarence Wilkinson"], ["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", "Ardell Crist"], ["name", "Clarence Wilkinson"], ["description", "Iste explicabo sed aliquam eveniet mollitia sint veritatis quia. Vel accusantium ratione modi doloribus et. Pariatur autem libero minima et. Voluptas numquam sapiente rerum nulla ad provident excepturi. Quia aperiam porro voluptas qui omnis dolorum sed."], ["equipment_type_id", 3], ["created_at", "2018-09-05 06:17:53.576390"], ["updated_at", "2018-09-05 06:17:53.576390"]]  (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", "Louanne Wisozk"], ["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", "Louanne Wisozk"], ["name", "Val Walsh"], ["description", "Harvey Nienow"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 06:17:53.581025"], ["updated_at", "2018-09-05 06:17:53.581025"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Ilda Conroy"], ["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", "Henriette Toy"], ["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", "Ilda Conroy"], ["name", "Henriette Toy"], ["description", "Leanna Renner"], ["created_at", "2018-09-05 06:17:53.588443"], ["updated_at", "2018-09-05 06:17:53.588443"]]  (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", "Maida Gorczany"], ["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", "Maida Gorczany"], ["name", "Phillip Kuhn"], ["location_type_id", 3], ["description", "Clyde Jones"], ["address", "Merrill Waelchi"], ["created_at", "2018-09-05 06:17:53.592845"], ["updated_at", "2018-09-05 06:17:53.592845"]]  (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", "Crystal Vandervort"], ["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", "Hayden Kub"], ["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", "Crystal Vandervort"], ["name", "Adrianna Runolfsdottir"], ["description", "Grover Krajcik"], ["serial_number", "Hayden Kub"], ["brand", "Ardelia Padberg"], ["item_model", "Shellie Greenfelder"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 06:17:53.599094"], ["updated_at", "2018-09-05 06:17:53.599094"]]  (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", "Jackqueline Leannon"], ["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", "Mandi Pouros"], ["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", "Jackqueline Leannon"], ["name", "Mandi Pouros"], ["description", "Reiciendis cum sunt iste et laborum sapiente rerum. Doloremque tenetur eum mollitia aut tempore minus. Sit fugiat corporis sed est ipsam nobis magnam accusamus. Modi id enim dolores et in consequatur quo."], ["created_at", "2018-09-05 06:17:53.607493"], ["updated_at", "2018-09-05 06:17:53.607493"]]  (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", "Raina Zulauf"], ["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", "Una Gutmann"], ["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", "Raina Zulauf"], ["name", "Una Gutmann"], ["description", "Nobis laboriosam dolore placeat quis non animi velit. Et ut alias assumenda illo itaque. Et cum dolorem ducimus voluptatem est. Placeat quia sed cupiditate voluptas aut modi deleniti."], ["equipment_type_id", 4], ["created_at", "2018-09-05 06:17:53.613029"], ["updated_at", "2018-09-05 06:17:53.613029"]]  (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", "Roselia Schumm"], ["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", "Roselia Schumm"], ["name", "Romelia Emmerich"], ["description", "Shizue Mayert"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 06:17:53.617720"], ["updated_at", "2018-09-05 06:17:53.617720"]]  (0.5ms) 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", "Andree Turcotte"], ["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", "Valene Kuvalis"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Andree Turcotte"], ["name", "Valene Kuvalis"], ["description", "Jeffie Boyle"], ["created_at", "2018-09-05 06:17:53.624687"], ["updated_at", "2018-09-05 06:17:53.624687"]]  (1.1ms) 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", "Joni Cummings"], ["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", "Joni Cummings"], ["name", "Fermin Schmitt"], ["location_type_id", 4], ["description", "Rick Lesch"], ["address", "Kacy Jenkins"], ["created_at", "2018-09-05 06:17:53.631179"], ["updated_at", "2018-09-05 06:17:53.631179"]]  (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", "Maxwell Brown"], ["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", "Jolene Bashirian"], ["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", "Maxwell Brown"], ["name", "Assunta Anderson"], ["description", "Denisse Graham"], ["serial_number", "Jolene Bashirian"], ["brand", "Ruthanne McDermott"], ["item_model", "Floyd Hintz"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 06:17:53.637269"], ["updated_at", "2018-09-05 06:17:53.637269"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "bruna.blick@heathcote.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", "Sherwood Hammes"], ["last_name", "Palmer Ledner"], ["email", "bruna.blick@heathcote.co.uk"], ["password_digest", "$2a$04$EtFdK5ruZdo.lz10NIpLMOVAg5XoRyJtIVj0wnSTM5dMyqhrWbMwy"], ["created_at", "2018-09-05 06:17:53.644585"], ["updated_at", "2018-09-05 06:17:53.644585"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "camila@nader.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", "Ja Simonis"], ["last_name", "Cinda Frami"], ["email", "camila@nader.biz"], ["password_digest", "$2a$04$2l01meeHFuk2cI1s83eKA.ejRGIdUVp88hgCgzY36CycdxnkWKgGm"], ["created_at", "2018-09-05 06:17:53.652539"], ["updated_at", "2018-09-05 06:17:53.652539"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"12", "authorized_by"=>"Ola Wunsch", "authorized_on"=>"2018-09-05", "created_by_id"=>"11", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"3", "chargeable_service_name"=>"Sima Wehner", "equipment_item_id"=>"3", "equipment_item_name"=>"Assunta Anderson", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Jere Connelly", "status"=>"Jinny Rice"}} Mks::Auth::User Load (4.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["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", 10], ["LIMIT", 1]]  (0.9ms) 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", "Jere Connelly"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (4.8ms) 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", "Jere Connelly"], ["authorized_by", "Ola Wunsch"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"3\",\"chargeable_service_name\":\"Sima Wehner\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Assunta Anderson\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 10], ["approved_by_id", 12], ["created_at", "2018-09-05 06:17:53.672561"], ["updated_at", "2018-09-05 06:17:53.672561"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.23ms) Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.43ms) Completed 201 Created in 24ms (Views: 1.4ms | ActiveRecord: 14.6ms)  (0.9ms) 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", "gertrudis.runolfsdottir@adams.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", "Donetta Tillman"], ["last_name", "Bonita Thompson"], ["email", "gertrudis.runolfsdottir@adams.name"], ["password_digest", "$2a$04$JepE04Tj7ZgU1YUAMkd0/OLcVUTgWf2R9pDY/jG9Um1hCH.gXdBq."], ["created_at", "2018-09-05 06:17:53.691946"], ["updated_at", "2018-09-05 06:17:53.691946"]]  (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", "Amanda VonRueden"], ["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", "Audra Dickens"], ["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", "Amanda VonRueden"], ["name", "Audra Dickens"], ["created_at", "2018-09-05 06:17:53.698418"], ["updated_at", "2018-09-05 06:17:53.698418"]]  (0.8ms) 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", "Isaac Raynor"], ["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", "Isaac Raynor"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.704195"], ["updated_at", "2018-09-05 06:17:53.704195"]]  (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", "Madelaine Mosciski"], ["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", "Madelaine Mosciski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.708963"], ["updated_at", "2018-09-05 06:17:53.708963"]]  (0.5ms) 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", "Heike Oga"], ["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", "Heike Oga"], ["name", "Librada Kerluke"], ["address", "Rossie Pollich"], ["created_at", "2018-09-05 06:17:53.714096"], ["updated_at", "2018-09-05 06:17:53.714096"]]  (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", "Haley Adams"], ["service_delivery_unit_id", 5], ["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", "Haley Adams"], ["name", "Shyla Stoltenberg"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:17:53.719074"], ["updated_at", "2018-09-05 06:17:53.719074"]] 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 (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Haley Adams"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Haley Adams"], ["name", "Shyla Stoltenberg"], ["description", "Default bundle for service 'Shyla Stoltenberg'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:17:53.726264"], ["updated_at", "2018-09-05 06:17:53.726264"]] 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]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Billye Swift"], ["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", "Lenna Lakin"], ["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", "Billye Swift"], ["name", "Lenna Lakin"], ["created_at", "2018-09-05 06:17:53.738459"], ["updated_at", "2018-09-05 06:17:53.738459"]]  (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", "Salvatore McDermott"], ["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", "Salvatore McDermott"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.743173"], ["updated_at", "2018-09-05 06:17:53.743173"]]  (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", "Gayle O'Kon"], ["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", "Gayle O'Kon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:53.748264"], ["updated_at", "2018-09-05 06:17:53.748264"]]  (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", "Stephnie Osinski"], ["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", "Stephnie Osinski"], ["name", "Elvera Moore"], ["address", "Angelena Hayes"], ["created_at", "2018-09-05 06:17:53.754031"], ["updated_at", "2018-09-05 06:17:53.754031"]]  (0.6ms) 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", "Zulma Schumm"], ["service_delivery_unit_id", 6], ["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", "Zulma Schumm"], ["name", "Paris Keebler"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:17:53.760016"], ["updated_at", "2018-09-05 06:17:53.760016"]] 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]] 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", "Zulma Schumm"], ["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", "Zulma Schumm"], ["name", "Paris Keebler"], ["description", "Default bundle for service 'Paris Keebler'"], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:17:53.766883"], ["updated_at", "2018-09-05 06:17:53.766883"]] 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.6ms) RELEASE SAVEPOINT active_record_1  (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", "Abe Ebert"], ["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", "Rachell Marks"], ["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", "Abe Ebert"], ["name", "Rachell Marks"], ["description", "Quibusdam reprehenderit quod sapiente tenetur. Adipisci sequi repellendus quisquam rerum natus. Exercitationem odio possimus non quasi corrupti officia reiciendis similique. Blanditiis at et omnis eum sequi. Voluptates eos earum quia quo minima sequi."], ["created_at", "2018-09-05 06:17:53.780360"], ["updated_at", "2018-09-05 06:17:53.780360"]]  (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", "Kareen Kohler"], ["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", "Robert Considine"], ["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", "Kareen Kohler"], ["name", "Robert Considine"], ["description", "Voluptas fugit asperiores veniam tenetur occaecati eos. Et molestiae adipisci voluptas recusandae. Velit unde nam fugiat officia ipsa libero modi. Et dolor dolor ipsam ea dignissimos qui cum rerum. Et qui perferendis eos non."], ["equipment_type_id", 5], ["created_at", "2018-09-05 06:17:53.787236"], ["updated_at", "2018-09-05 06:17:53.787236"]]  (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", "Samuel Shanahan"], ["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", "Samuel Shanahan"], ["name", "Kaleigh Torphy"], ["description", "Ilse Ortiz"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 06:17:53.793219"], ["updated_at", "2018-09-05 06:17:53.793219"]]  (0.5ms) 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", "Delia Beier"], ["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", "Serena Kautzer"], ["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", "Delia Beier"], ["name", "Serena Kautzer"], ["description", "Marhta Boyer"], ["created_at", "2018-09-05 06:17:53.801183"], ["updated_at", "2018-09-05 06:17:53.801183"]]  (0.6ms) 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", "Leonarda Corwin"], ["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", "Leonarda Corwin"], ["name", "Marisha Okuneva"], ["location_type_id", 5], ["description", "Lupe Nicolas"], ["address", "Juliann Deckow"], ["created_at", "2018-09-05 06:17:53.806437"], ["updated_at", "2018-09-05 06:17:53.806437"]]  (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", "Lasonya Ratke"], ["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", "Alisia Runolfsdottir"], ["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", "Lasonya Ratke"], ["name", "Maritza Rutherford"], ["description", "Booker Waters"], ["serial_number", "Alisia Runolfsdottir"], ["brand", "Merrill Dare"], ["item_model", "Stephany Fisher"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 06:17:53.814220"], ["updated_at", "2018-09-05 06:17:53.814220"]]  (1.0ms) 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", "Samuel Mohr"], ["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", "Rossana Carter"], ["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", "Samuel Mohr"], ["name", "Rossana Carter"], ["description", "Et quod repellat deleniti minima tempora. A eos eligendi officiis fugiat sed. Consectetur temporibus rerum dolore vel ex sit aliquam unde."], ["created_at", "2018-09-05 06:17:53.823891"], ["updated_at", "2018-09-05 06:17:53.823891"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Nakita Ernser"], ["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", "Lou Keebler"], ["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", "Nakita Ernser"], ["name", "Lou Keebler"], ["description", "Fugit harum impedit ut in et minus. Nobis natus fugiat minus recusandae tenetur maxime ut. Voluptas et cumque ut quia. Nihil suscipit officiis fuga adipisci. Fugiat ab voluptate distinctio ut voluptatem amet."], ["equipment_type_id", 6], ["created_at", "2018-09-05 06:17:53.831085"], ["updated_at", "2018-09-05 06:17:53.831085"]]  (0.6ms) 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", "Chris Huel"], ["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", "Chris Huel"], ["name", "Son Ryan"], ["description", "Antonetta O'Conner"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 06:17:53.837938"], ["updated_at", "2018-09-05 06:17:53.837938"]]  (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", "Lucile Gerlach"], ["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", "Haydee Spencer"], ["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", "Lucile Gerlach"], ["name", "Haydee Spencer"], ["description", "Mindi Jast"], ["created_at", "2018-09-05 06:17:53.845911"], ["updated_at", "2018-09-05 06:17:53.845911"]]  (0.6ms) 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", "Jerlene Pfannerstill"], ["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", "Jerlene Pfannerstill"], ["name", "Scarlet Feeney"], ["location_type_id", 6], ["description", "Rutha McLaughlin"], ["address", "Solomon Hane"], ["created_at", "2018-09-05 06:17:53.851161"], ["updated_at", "2018-09-05 06:17:53.851161"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Jenine Haag"], ["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", "Valentine Walter"], ["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", "Jenine Haag"], ["name", "Kia Muller"], ["description", "Leilani Johnson"], ["serial_number", "Valentine Walter"], ["brand", "Shila Raynor"], ["item_model", "Latoya O'Connell"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 06:17:53.857432"], ["updated_at", "2018-09-05 06:17:53.857432"]]  (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", "felicia@watersgutmann.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", "Joellen Pfannerstill"], ["last_name", "Kelsi Conroy"], ["email", "felicia@watersgutmann.biz"], ["password_digest", "$2a$04$eYehsxKweT8HiLbiYW3OpOkinrgJcjmqN3.pWsZk4pCxOHSAOa9U."], ["created_at", "2018-09-05 06:17:53.866162"], ["updated_at", "2018-09-05 06:17:53.866162"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "yun@armstrongbergstrom.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", "Scotty Hartmann"], ["last_name", "Laurice McKenzie"], ["email", "yun@armstrongbergstrom.name"], ["password_digest", "$2a$04$EtKhEDHDY1FLdK3/QE7Qeu6pcLIJUs1Y7hqhWbFnISwTV4WeiRKei"], ["created_at", "2018-09-05 06:17:53.874149"], ["updated_at", "2018-09-05 06:17:53.874149"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"15", "authorized_by"=>"Sharri McClure", "authorized_on"=>"2018-09-05", "created_by_id"=>"14", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"5", "chargeable_service_name"=>"Paris Keebler", "equipment_item_id"=>"5", "equipment_item_name"=>"Kia Muller", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Tod McGlynn"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 13], ["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", 13], ["LIMIT", 1]]  (0.9ms) 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", ""], ["LIMIT", 1]]  (0.9ms) 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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 28ms (Views: 6.2ms | ActiveRecord: 5.9ms)  (1.3ms) ROLLBACK  (0.5ms) 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", "larisa_simonis@ruecker.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", "Lakesha Roob"], ["last_name", "Tasha Kiehn"], ["email", "larisa_simonis@ruecker.com"], ["password_digest", "$2a$04$DMTTMqeaf7nKQnIvqecjhO6g3xhgTe8Y9ihlPAin07DowjtCTQuKm"], ["created_at", "2018-09-05 06:17:53.918237"], ["updated_at", "2018-09-05 06:17:53.918237"]]  (0.5ms) 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", "naomi.langosh@mcdermott.info"], ["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", "Leeanna Towne"], ["last_name", "Sharron Legros"], ["email", "naomi.langosh@mcdermott.info"], ["password_digest", "$2a$04$XML1dI73zdKMfrdAU/0o/OKSUjatNU7yBNRv1SqqO0tXG8I/8V7y6"], ["created_at", "2018-09-05 06:17:53.926475"], ["updated_at", "2018-09-05 06:17:53.926475"]]  (0.6ms) 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", "ossie@stoltenberg.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", "Daryl Jacobi"], ["last_name", "Joyce Nikolaus"], ["email", "ossie@stoltenberg.biz"], ["password_digest", "$2a$04$ZNAHmdWFPdd9jNxFypl6Hu6rPkuYiYL1GunumlxDNI3rXbDoHYTSm"], ["created_at", "2018-09-05 06:17:53.940903"], ["updated_at", "2018-09-05 06:17:53.940903"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Evelynn Watsica"], ["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", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Evelynn Watsica"], ["authorized_by", "Gregg Hudson"], ["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", 17], ["approved_by_id", 18], ["created_at", "2018-09-05 06:17:53.946714"], ["updated_at", "2018-09-05 06:17:53.946714"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Reina Bayer"}, "id"=>"5"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["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", 5], ["LIMIT", 1]]  (1.2ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Evelynn Watsica"], ["id", 5], ["LIMIT", 1]] Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (2.1ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Reina Bayer"], ["updated_at", "2018-09-05 06:17:58.146333"], ["id", 5]]  (0.8ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.18ms) Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.32ms) Completed 200 OK in 4201ms (Views: 1.2ms | ActiveRecord: 10.0ms) 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]]  (2.0ms) ROLLBACK  (1.1ms) BEGIN  (1.4ms) 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", "regina_connelly@ritchie.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", "Andrew Pagac"], ["last_name", "Richard Spencer"], ["email", "regina_connelly@ritchie.biz"], ["password_digest", "$2a$04$z.oRZogtBfCZ2LDxmdOL/Ov9/l9dZvynekO/I8GymQfKHrgigeJKW"], ["created_at", "2018-09-05 06:17:58.168994"], ["updated_at", "2018-09-05 06:17:58.168994"]]  (0.5ms) 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", "tonia.rice@yost.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", "Pamelia Beier"], ["last_name", "Anh Hegmann"], ["email", "tonia.rice@yost.ca"], ["password_digest", "$2a$04$4iEC7xQDqG4ynwobAoyC7ufxqq9cQdcvz1ojyTM9PlsZafuLJrLaS"], ["created_at", "2018-09-05 06:17:58.176769"], ["updated_at", "2018-09-05 06:17:58.176769"]]  (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", "pasquale@volkman.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", "Leola Grant"], ["last_name", "Bryanna Schumm"], ["email", "pasquale@volkman.ca"], ["password_digest", "$2a$04$XMddvJVnnV5ur19bkwFz.ur3KSHPMRsnVRpL2JR4mgYlMXYoQ6qVm"], ["created_at", "2018-09-05 06:17:58.183921"], ["updated_at", "2018-09-05 06:17:58.183921"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Faustina Schuster"], ["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", "Faustina Schuster"], ["authorized_by", "Faustina Boyer"], ["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", 20], ["approved_by_id", 21], ["created_at", "2018-09-05 06:17:58.189313"], ["updated_at", "2018-09-05 06:17:58.189313"]]  (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 Schmidt"], ["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", "Olivia Bernier"], ["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", "Charlsie Schmidt"], ["name", "Olivia Bernier"], ["created_at", "2018-09-05 06:17:58.196120"], ["updated_at", "2018-09-05 06:17:58.196120"]]  (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", "Tania Wolff"], ["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", "Tania Wolff"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:58.201613"], ["updated_at", "2018-09-05 06:17:58.201613"]]  (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", "Kati Marks"], ["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", "Kati Marks"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:58.207115"], ["updated_at", "2018-09-05 06:17:58.207115"]]  (0.5ms) 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", "Zona Hermann"], ["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", "Zona Hermann"], ["name", "Shaunta Wehner"], ["address", "Iola Hayes"], ["created_at", "2018-09-05 06:17:58.212634"], ["updated_at", "2018-09-05 06:17:58.212634"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Sherri Wehner"], ["service_delivery_unit_id", 7], ["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", "Sherri Wehner"], ["name", "Evette Abshire"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:17:58.218089"], ["updated_at", "2018-09-05 06:17:58.218089"]] 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 (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sherri Wehner"], ["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", "Sherri Wehner"], ["name", "Evette Abshire"], ["description", "Default bundle for service 'Evette Abshire'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:17:58.223604"], ["updated_at", "2018-09-05 06:17:58.223604"]] 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.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", "Darryl 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", "Leigh Paucek"], ["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", "Darryl Buckridge"], ["name", "Leigh Paucek"], ["created_at", "2018-09-05 06:17:58.232609"], ["updated_at", "2018-09-05 06:17:58.232609"]]  (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", "Darcey Bernier"], ["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", "Darcey Bernier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:58.237048"], ["updated_at", "2018-09-05 06:17:58.237048"]]  (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", "Minna Hamill"], ["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", "Minna Hamill"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:17:58.241401"], ["updated_at", "2018-09-05 06:17:58.241401"]]  (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", "Roselle 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", "Roselle Kulas"], ["name", "Inger Feeney"], ["address", "Raven Kautzer"], ["created_at", "2018-09-05 06:17:58.245662"], ["updated_at", "2018-09-05 06:17:58.245662"]]  (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", "Amado Berge"], ["service_delivery_unit_id", 8], ["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", "Amado Berge"], ["name", "Jewel Glover"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:17:58.250111"], ["updated_at", "2018-09-05 06:17:58.250111"]] 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]] 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", "Amado Berge"], ["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", "Amado Berge"], ["name", "Jewel Glover"], ["description", "Default bundle for service 'Jewel Glover'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:17:58.255048"], ["updated_at", "2018-09-05 06:17:58.255048"]] 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.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", "Marylou Heidenreich"], ["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", "Tamela Schiller"], ["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", "Marylou Heidenreich"], ["name", "Tamela Schiller"], ["description", "Nam saepe et atque voluptatibus explicabo culpa sint. Eos a dolore hic eum dolores sapiente. Dolores deleniti molestiae ipsa ea. Omnis animi similique quaerat facilis."], ["created_at", "2018-09-05 06:17:58.264146"], ["updated_at", "2018-09-05 06:17:58.264146"]]  (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", "Adriene Hackett"], ["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", "Neil Kerluke"], ["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", "Adriene Hackett"], ["name", "Neil Kerluke"], ["description", "Dolores porro nobis voluptas officia odit aut nesciunt. Excepturi sapiente quia mollitia doloremque fugit aliquid. In placeat dolorum occaecati dolor porro sunt dolores sunt."], ["equipment_type_id", 7], ["created_at", "2018-09-05 06:17:58.269277"], ["updated_at", "2018-09-05 06:17:58.269277"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Eva Abbott"], ["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", "Eva Abbott"], ["name", "Norman Swift"], ["description", "Aliza Rodriguez"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 06:17:58.273767"], ["updated_at", "2018-09-05 06:17:58.273767"]]  (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", "Maple Simonis"], ["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", "Junior Altenwerth"], ["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", "Maple Simonis"], ["name", "Junior Altenwerth"], ["description", "Candace Luettgen"], ["created_at", "2018-09-05 06:17:58.279989"], ["updated_at", "2018-09-05 06:17:58.279989"]]  (0.6ms) 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", "Chi Ebert"], ["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", "Chi Ebert"], ["name", "Summer Little"], ["location_type_id", 7], ["description", "Lanell Schmidt"], ["address", "Heather Kshlerin"], ["created_at", "2018-09-05 06:17:58.284392"], ["updated_at", "2018-09-05 06:17:58.284392"]]  (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", "Lissette Nader"], ["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", "Cori Pouros"], ["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", "Lissette Nader"], ["name", "Crystal Stokes"], ["description", "Yolonda Schroeder"], ["serial_number", "Cori Pouros"], ["brand", "Donya Barrows"], ["item_model", "Cameron Wisoky"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 06:17:58.289872"], ["updated_at", "2018-09-05 06:17:58.289872"]]  (0.5ms) 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", "Reid McLaughlin"], ["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", "Sunni Cummerata"], ["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", "Reid McLaughlin"], ["name", "Sunni Cummerata"], ["description", "Incidunt dolore sed inventore eos. Aut aut illum voluptatem consequuntur. Consequatur at beatae eos ut repudiandae corrupti. Sit et exercitationem animi ipsum aut voluptatem."], ["created_at", "2018-09-05 06:17:58.296434"], ["updated_at", "2018-09-05 06:17:58.296434"]]  (0.9ms) 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", "Mellisa Swaniawski"], ["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", "Sanda Smith"], ["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", "Mellisa Swaniawski"], ["name", "Sanda Smith"], ["description", "Ut libero necessitatibus nostrum iure architecto fugiat sed. Distinctio voluptatibus sequi explicabo sit. Laboriosam atque debitis sint quod. Quae molestiae ut alias deleniti repudiandae."], ["equipment_type_id", 8], ["created_at", "2018-09-05 06:17:58.302451"], ["updated_at", "2018-09-05 06:17:58.302451"]]  (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", "Scottie Schiller"], ["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", "Scottie Schiller"], ["name", "Ayesha Gleason"], ["description", "Lavinia Witting"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 06:17:58.306965"], ["updated_at", "2018-09-05 06:17:58.306965"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Brandy Fisher"], ["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", "Alfredo Aufderhar"], ["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", "Brandy Fisher"], ["name", "Alfredo Aufderhar"], ["description", "Joselyn Bradtke"], ["created_at", "2018-09-05 06:17:58.314226"], ["updated_at", "2018-09-05 06:17:58.314226"]]  (0.6ms) 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", "Abbey Murazik"], ["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", "Abbey Murazik"], ["name", "Ann Muller"], ["location_type_id", 8], ["description", "Sam Flatley"], ["address", "Antonetta Crona"], ["created_at", "2018-09-05 06:17:58.319175"], ["updated_at", "2018-09-05 06:17:58.319175"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Santina Feest"], ["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", "Rogelio Swaniawski"], ["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", "Santina Feest"], ["name", "Shelli Kautzer"], ["description", "Albina Goldner"], ["serial_number", "Rogelio Swaniawski"], ["brand", "Trula Smith"], ["item_model", "Marnie Murphy"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 06:17:58.325247"], ["updated_at", "2018-09-05 06:17:58.325247"]]  (0.6ms) 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", "dominick_ohara@bauch.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", "Irvin Ullrich"], ["last_name", "Rocky Heaney"], ["email", "dominick_ohara@bauch.com"], ["password_digest", "$2a$04$n.Mo3Z7vrSCm38mmiQrm1eymQsOksQu8YBHogSR.Es.i9Pxc6ov0C"], ["created_at", "2018-09-05 06:17:58.332106"], ["updated_at", "2018-09-05 06:17:58.332106"]]  (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", "melvin@crona.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", "Audra Prohaska"], ["last_name", "Ricki Gulgowski"], ["email", "melvin@crona.info"], ["password_digest", "$2a$04$JKycsE.aIdlMJ/ACxos8LeuNJSFjBtFsrQlboo0D0Ul/G2q//Ulby"], ["created_at", "2018-09-05 06:17:58.338178"], ["updated_at", "2018-09-05 06:17:58.338178"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"23", "authorized_by"=>"Shaun Friesen", "authorized_on"=>"2018-09-05", "created_by_id"=>"22", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"7", "chargeable_service_name"=>"Jewel Glover", "equipment_item_id"=>"7", "equipment_item_name"=>"Shelli Kautzer", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Catarina Kub", "status"=>"Georgina Feil"}, "id"=>"6"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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]]  (2.1ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Catarina Kub"], ["id", 6], ["LIMIT", 1]] Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 422 Unprocessable Entity in 34490ms (Views: 1.7ms | ActiveRecord: 9.5ms)  (1.2ms) ROLLBACK  (0.6ms) 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", "wilson@schmeler.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", "Rena Cummerata"], ["last_name", "Oralee Funk"], ["email", "wilson@schmeler.us"], ["password_digest", "$2a$04$Zg/MPVFGIRMl0rmqbYbw9OcnqbV.BUBuxFUdBuSnFsn1Gf/J04QBa"], ["created_at", "2018-09-05 06:18:32.855644"], ["updated_at", "2018-09-05 06:18:32.855644"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "jacquline@abshire.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", "Freddie Prohaska"], ["last_name", "Yvette Mueller"], ["email", "jacquline@abshire.biz"], ["password_digest", "$2a$04$ZoidEQ0n/TMFy6/uHNZIVe58Mp2vO1IJUp2UHXuoR7tq1QSqKxez2"], ["created_at", "2018-09-05 06:18:32.863032"], ["updated_at", "2018-09-05 06:18:32.863032"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "chris@greenfelder.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.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", "Leopoldo Abbott"], ["last_name", "Retta Waters"], ["email", "chris@greenfelder.com"], ["password_digest", "$2a$04$gYSvodBteCencn8KYYg7r.SluXugKAzmto7gdfFahwlpEmmf.O/8."], ["created_at", "2018-09-05 06:18:32.870011"], ["updated_at", "2018-09-05 06:18:32.870011"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Herschel Friesen"], ["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", "Herschel Friesen"], ["authorized_by", "Monserrate Hand"], ["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", 25], ["approved_by_id", 26], ["created_at", "2018-09-05 06:18:32.876734"], ["updated_at", "2018-09-05 06:18:32.876734"]]  (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", "Kelsey Schaefer"], ["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", "Huong Von"], ["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", "Kelsey Schaefer"], ["name", "Huong Von"], ["created_at", "2018-09-05 06:18:32.883117"], ["updated_at", "2018-09-05 06:18:32.883117"]]  (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", "Candie Herzog"], ["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", "Candie Herzog"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:18:32.887588"], ["updated_at", "2018-09-05 06:18:32.887588"]]  (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", "Earnestine Lockman"], ["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", "Earnestine Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:18:32.892265"], ["updated_at", "2018-09-05 06:18:32.892265"]]  (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", "Bari Conn"], ["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", "Bari Conn"], ["name", "Lillia Boehm"], ["address", "Blythe Gusikowski"], ["created_at", "2018-09-05 06:18:32.896929"], ["updated_at", "2018-09-05 06:18:32.896929"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Alline Brekke"], ["service_delivery_unit_id", 9], ["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", "Alline Brekke"], ["name", "Sharda Bayer"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:18:32.902459"], ["updated_at", "2018-09-05 06:18:32.902459"]] 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", 9], ["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", "Alline Brekke"], ["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", "Alline Brekke"], ["name", "Sharda Bayer"], ["description", "Default bundle for service 'Sharda Bayer'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:18:32.909085"], ["updated_at", "2018-09-05 06:18:32.909085"]] 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", 9], ["chargeable_service_id", 9]]  (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", "Kathie Ernser"], ["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", "Jacquline Witting"], ["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", "Kathie Ernser"], ["name", "Jacquline Witting"], ["created_at", "2018-09-05 06:18:32.918126"], ["updated_at", "2018-09-05 06:18:32.918126"]]  (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", "Rosy Huel"], ["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", "Rosy Huel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:18:32.922876"], ["updated_at", "2018-09-05 06:18:32.922876"]]  (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", "Abbie 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", "Abbie Harvey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:18:32.927769"], ["updated_at", "2018-09-05 06:18:32.927769"]]  (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", "Tonda Schultz"], ["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", "Tonda Schultz"], ["name", "Alla Kertzmann"], ["address", "Alla Lindgren"], ["created_at", "2018-09-05 06:18:32.932120"], ["updated_at", "2018-09-05 06:18:32.932120"]]  (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", "Forest Koelpin"], ["service_delivery_unit_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", "Forest Koelpin"], ["name", "Jay Cummings"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:18:32.936568"], ["updated_at", "2018-09-05 06:18:32.936568"]] 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", "Forest Koelpin"], ["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", "Forest Koelpin"], ["name", "Jay Cummings"], ["description", "Default bundle for service 'Jay Cummings'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:18:32.941306"], ["updated_at", "2018-09-05 06:18:32.941306"]] 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.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", "Asia Strosin"], ["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", "Susana Labadie"], ["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", "Asia Strosin"], ["name", "Susana Labadie"], ["description", "Odit veniam et illum voluptatem quidem. Dolorum veritatis nesciunt debitis fuga. Eius quam voluptate ut voluptatem quaerat eligendi et occaecati. Fugit recusandae iusto est atque et. Hic aperiam voluptatem ut sint."], ["created_at", "2018-09-05 06:18:32.950530"], ["updated_at", "2018-09-05 06:18:32.950530"]]  (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", "Madlyn Rohan"], ["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", "Lindy Reilly"], ["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", "Madlyn Rohan"], ["name", "Lindy Reilly"], ["description", "Blanditiis facere accusantium autem sit repellat eaque. Porro officia et non id et. Doloremque non repellendus tempora voluptatem. Voluptatem occaecati sunt est voluptate omnis qui eveniet numquam."], ["equipment_type_id", 9], ["created_at", "2018-09-05 06:18:32.955795"], ["updated_at", "2018-09-05 06:18:32.955795"]]  (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", "Vera 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", "Vera Hermann"], ["name", "Lanita Bosco"], ["description", "Mirna O'Connell"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 06:18:32.959958"], ["updated_at", "2018-09-05 06:18:32.959958"]]  (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", "Sheena Goyette"], ["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", "Donovan Lubowitz"], ["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", "Sheena Goyette"], ["name", "Donovan Lubowitz"], ["description", "George Predovic"], ["created_at", "2018-09-05 06:18:32.966052"], ["updated_at", "2018-09-05 06:18:32.966052"]]  (0.6ms) 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", "Sheron Borer"], ["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", "Sheron Borer"], ["name", "Samira Lueilwitz"], ["location_type_id", 9], ["description", "Tenesha Nikolaus"], ["address", "Karolyn Kertzmann"], ["created_at", "2018-09-05 06:18:32.970484"], ["updated_at", "2018-09-05 06:18:32.970484"]]  (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", "Donnie Anderson"], ["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", "Ramiro Lehner"], ["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", "Donnie Anderson"], ["name", "Arnold Windler"], ["description", "Hyun Lockman"], ["serial_number", "Ramiro Lehner"], ["brand", "Lesley Hane"], ["item_model", "Sherrell Gutkowski"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 06:18:32.975919"], ["updated_at", "2018-09-05 06:18:32.975919"]]  (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", "Sherri Cormier"], ["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", "Kathie Rolfson"], ["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", "Sherri Cormier"], ["name", "Kathie Rolfson"], ["description", "Maxime dolore eos et nesciunt. Aliquam dolorem expedita aliquid omnis dolor placeat quam. Sit in et fugit quae. Quibusdam omnis ut similique sit amet. Et explicabo expedita molestias omnis."], ["created_at", "2018-09-05 06:18:32.982758"], ["updated_at", "2018-09-05 06:18:32.982758"]]  (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", "Rosalyn Veum"], ["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", "Yuki Langosh"], ["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", "Rosalyn Veum"], ["name", "Yuki Langosh"], ["description", "Soluta similique mollitia facere est. Facere quia consequuntur quaerat quibusdam nihil. Quis fugiat minima quia possimus asperiores reprehenderit non consequatur. Molestiae expedita ut totam deleniti."], ["equipment_type_id", 10], ["created_at", "2018-09-05 06:18:32.987849"], ["updated_at", "2018-09-05 06:18:32.987849"]]  (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", "Socorro Grady"], ["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", "Socorro Grady"], ["name", "Regina Kuhlman"], ["description", "Ling Hilpert"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 06:18:32.992049"], ["updated_at", "2018-09-05 06:18:32.992049"]]  (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", "Vania Renner"], ["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", "Twanda Schowalter"], ["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", "Vania Renner"], ["name", "Twanda Schowalter"], ["description", "Lannie Ziemann"], ["created_at", "2018-09-05 06:18:32.997984"], ["updated_at", "2018-09-05 06:18:32.997984"]]  (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", "Renato Lemke"], ["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", "Renato Lemke"], ["name", "Debbi Wolff"], ["location_type_id", 10], ["description", "Drew Schneider"], ["address", "Lissette Grimes"], ["created_at", "2018-09-05 06:18:33.002273"], ["updated_at", "2018-09-05 06:18:33.002273"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Nisha Russel"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Cleveland Crist"], ["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", "Nisha Russel"], ["name", "Renato Christiansen"], ["description", "Chaya Sawayn"], ["serial_number", "Cleveland Crist"], ["brand", "Myesha Robel"], ["item_model", "Noel Pacocha"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 06:18:33.009924"], ["updated_at", "2018-09-05 06:18:33.009924"]]  (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", "rolando_kilback@klein.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", "Christopher Larson"], ["last_name", "Eun Fritsch"], ["email", "rolando_kilback@klein.us"], ["password_digest", "$2a$04$DYjVaYjcHDeqOcGL9Lt1mOTYyvRxF6k/4mXqeYTXbY5XoL6F26Kcy"], ["created_at", "2018-09-05 06:18:33.017298"], ["updated_at", "2018-09-05 06:18:33.017298"]]  (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", "arica_koelpin@goldner.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", "Sharri Leffler"], ["last_name", "Darcel Jewess"], ["email", "arica_koelpin@goldner.com"], ["password_digest", "$2a$04$MRuWuQ9rWeSCmvSClBAOCuNrsyRojEIbUCmRAZfjmdvL0aeDEbGke"], ["created_at", "2018-09-05 06:18:33.023609"], ["updated_at", "2018-09-05 06:18:33.023609"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"28", "authorized_by"=>"Elenor Bosco", "authorized_on"=>"2018-09-05", "created_by_id"=>"27", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"9", "chargeable_service_name"=>"Jay Cummings", "equipment_item_id"=>"9", "equipment_item_name"=>"Renato Christiansen", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"Malena Rodriguez"}, "id"=>"7"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["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", 7], ["LIMIT", 1]]  (1.5ms) 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", ""], ["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]]  (1.1ms) 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", 24], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 422 Unprocessable Entity in 2312ms (Views: 1.4ms | ActiveRecord: 8.0ms)  (1.0ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.1ms) BEGIN  (0.9ms) 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", "oswaldo.schumm@grant.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", "Lenora Kunde"], ["last_name", "Dominick Hoeger"], ["email", "oswaldo.schumm@grant.com"], ["password_digest", "$2a$04$WhRGW8Y4lfOZ1HriAHFZHu4k1Cal2EiPCq10UxF437OHx3F7l2mkm"], ["created_at", "2018-09-05 06:21:02.104936"], ["updated_at", "2018-09-05 06:21:02.104936"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "clare@considinebernhard.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", "Vanesa Wuckert"], ["last_name", "Aleshia Kautzer"], ["email", "clare@considinebernhard.ca"], ["password_digest", "$2a$04$BAKKwsAP6M1jAa.0OqTuOePnPRAbzyoWr.5kd1sw.o8tS1U/AlZOW"], ["created_at", "2018-09-05 06:21:02.134254"], ["updated_at", "2018-09-05 06:21:02.134254"]]  (0.7ms) 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", "jill@mohr.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", "Maribeth Zieme"], ["last_name", "Codi Wolf"], ["email", "jill@mohr.biz"], ["password_digest", "$2a$04$p/06I7lxUaA./Hy46UeM7OqdD1I/oMmY4eAvjMO1oW6BSzTk9jQpq"], ["created_at", "2018-09-05 06:21:02.148689"], ["updated_at", "2018-09-05 06:21:02.148689"]]  (1.3ms) RELEASE SAVEPOINT active_record_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", "Marth Rolfson"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.7ms) 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", "Marth Rolfson"], ["authorized_by", "Brice Zieme"], ["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", 2], ["approved_by_id", 3], ["created_at", "2018-09-05 06:21:02.157918"], ["updated_at", "2018-09-05 06:21:02.157918"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#index as HTML Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] 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::Rate::RateChangeRequest Load (1.0ms) 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: 2, approved_by_id: 3, remark: nil, created_at: "2018-09-05 06:21:02", updated_at: "2018-09-05 06:21:02"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.56ms) Completed 200 OK in 23ms (Views: 16.1ms | ActiveRecord: 3.3ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.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", "cathey_fadel@beatty.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", "Charolette King"], ["last_name", "Deborah Brekke"], ["email", "cathey_fadel@beatty.biz"], ["password_digest", "$2a$04$tK0d4KYC6ZeOj1pnJYMV2OAd8uoxgyvxbBNUbbycTObGQrzDeQxP2"], ["created_at", "2018-09-05 06:21:02.197928"], ["updated_at", "2018-09-05 06:21:02.197928"]]  (0.5ms) 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", "neoma@zulauf.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", "Vaughn Collier"], ["last_name", "Rory Rath"], ["email", "neoma@zulauf.name"], ["password_digest", "$2a$04$5WoFHzW5V9HhfJWpmQ2BbeHyDq.8oGjwu4zEBdB0Zc9g5OlwVRnWy"], ["created_at", "2018-09-05 06:21:02.206444"], ["updated_at", "2018-09-05 06:21:02.206444"]]  (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", "joel.dooley@schmitt.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", "Narcisa Klocko"], ["last_name", "Sherwood Luettgen"], ["email", "joel.dooley@schmitt.biz"], ["password_digest", "$2a$04$SpgPIOoAjx6BHC9plITyXOA50WJP1T5CF1obbLnzCETyeQgRm5/AS"], ["created_at", "2018-09-05 06:21:02.213189"], ["updated_at", "2018-09-05 06:21:02.213189"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Galen McLaughlin"], ["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", "Galen McLaughlin"], ["authorized_by", "Colby Denesik"], ["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", 5], ["approved_by_id", 6], ["created_at", "2018-09-05 06:21:02.218051"], ["updated_at", "2018-09-05 06:21:02.218051"]]  (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", 4], ["LIMIT", 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", 2], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) 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 Mks::Rate::RateChangeRequest (0.93ms) Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 2.8ms)  (0.9ms) 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", "nia.ondricka@parisianspinka.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", "Alanna Pagac"], ["last_name", "Kayla Robel"], ["email", "nia.ondricka@parisianspinka.info"], ["password_digest", "$2a$04$G7dZT7IOZx9rJowpUZOKMe1v63CUqJ/fTAbozfGc/EjBdxsOhh5va"], ["created_at", "2018-09-05 06:21:02.240786"], ["updated_at", "2018-09-05 06:21:02.240786"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Evelyn Keebler"], ["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", "Katharyn Prosacco"], ["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", "Evelyn Keebler"], ["name", "Katharyn Prosacco"], ["created_at", "2018-09-05 06:21:02.290476"], ["updated_at", "2018-09-05 06:21:02.290476"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Gertie Torp"], ["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", "Gertie Torp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.310504"], ["updated_at", "2018-09-05 06:21:02.310504"]]  (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", "Neil Kovacek"], ["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", "Neil Kovacek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.316854"], ["updated_at", "2018-09-05 06:21:02.316854"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jason Schaden"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jason Schaden"], ["name", "Elba Smitham"], ["address", "Isaura Kerluke"], ["created_at", "2018-09-05 06:21:02.335888"], ["updated_at", "2018-09-05 06:21:02.335888"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Jessika Lockman"], ["service_delivery_unit_id", 1], ["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", "Jessika Lockman"], ["name", "Arlinda Wilderman"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:21:02.347023"], ["updated_at", "2018-09-05 06:21:02.347023"]] 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", 1], ["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", "Jessika Lockman"], ["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", "Jessika Lockman"], ["name", "Arlinda Wilderman"], ["description", "Default bundle for service 'Arlinda Wilderman'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:21:02.379360"], ["updated_at", "2018-09-05 06:21:02.379360"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.8ms) 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.8ms) 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", "Mana Jerde"], ["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", "Elke Konopelski"], ["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", "Mana Jerde"], ["name", "Elke Konopelski"], ["created_at", "2018-09-05 06:21:02.411340"], ["updated_at", "2018-09-05 06:21:02.411340"]]  (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", "Tegan Dicki"], ["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", "Tegan Dicki"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.416978"], ["updated_at", "2018-09-05 06:21:02.416978"]]  (0.8ms) 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", "Sade Kuvalis"], ["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", "Sade Kuvalis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.422245"], ["updated_at", "2018-09-05 06:21:02.422245"]]  (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", "Damon Frami"], ["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", "Damon Frami"], ["name", "Virgina Simonis"], ["address", "Vicky Weimann"], ["created_at", "2018-09-05 06:21:02.426903"], ["updated_at", "2018-09-05 06:21:02.426903"]]  (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", "Shanon Johns"], ["service_delivery_unit_id", 2], ["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", "Shanon Johns"], ["name", "Christa Frami"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:21:02.431887"], ["updated_at", "2018-09-05 06:21:02.431887"]] 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", 2], ["LIMIT", 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", "Shanon Johns"], ["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", "Shanon Johns"], ["name", "Christa Frami"], ["description", "Default bundle for service 'Christa Frami'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:21:02.438367"], ["updated_at", "2018-09-05 06:21:02.438367"]] 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", 2], ["chargeable_service_id", 2]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Lynette Lang"], ["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", "Kenton Gutkowski"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lynette Lang"], ["name", "Kenton Gutkowski"], ["description", "Necessitatibus incidunt voluptatem dignissimos assumenda quos. Nihil consequatur dolor modi tempore ad. Eveniet excepturi architecto hic consectetur sed. Maxime perspiciatis blanditiis dolor totam qui et delectus voluptatem."], ["created_at", "2018-09-05 06:21:02.529984"], ["updated_at", "2018-09-05 06:21:02.529984"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Carlee Schuster"], ["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", "Fatima O'Connell"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.4ms) 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", "Carlee Schuster"], ["name", "Fatima O'Connell"], ["description", "Ut labore molestiae voluptatem vel est. Laboriosam aliquam pariatur molestiae quo at iusto qui et. Nihil maiores eius debitis est doloremque ab."], ["equipment_type_id", 1], ["created_at", "2018-09-05 06:21:02.538638"], ["updated_at", "2018-09-05 06:21:02.538638"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Danna Lindgren"], ["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", "Danna Lindgren"], ["name", "Troy Schaefer"], ["description", "Noah Altenwerth"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 06:21:02.545561"], ["updated_at", "2018-09-05 06:21:02.545561"]]  (0.6ms) 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", "Broderick Ankunding"], ["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", "Chante Harber"], ["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", "Broderick Ankunding"], ["name", "Chante Harber"], ["description", "Darla Kassulke"], ["created_at", "2018-09-05 06:21:02.582249"], ["updated_at", "2018-09-05 06:21:02.582249"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Katharina Kuhic"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.6ms) 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", "Katharina Kuhic"], ["name", "Naoma Jacobs"], ["location_type_id", 1], ["description", "Ranee Labadie"], ["address", "Kiley Nienow"], ["created_at", "2018-09-05 06:21:02.588982"], ["updated_at", "2018-09-05 06:21:02.588982"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Madelyn Jerde"], ["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", "Cyrus Oga"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Madelyn Jerde"], ["name", "Sabina Walsh"], ["description", "Vina Graham"], ["serial_number", "Cyrus Oga"], ["brand", "Williams Waelchi"], ["item_model", "Karleen D'Amore"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 06:21:02.599303"], ["updated_at", "2018-09-05 06:21:02.599303"]]  (0.7ms) 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", "Gilma Green"], ["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", "Eladia Okuneva"], ["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", "Gilma Green"], ["name", "Eladia Okuneva"], ["description", "Nisi eaque dolor eos et. Quia maxime provident repudiandae tenetur harum veniam beatae. Laborum optio quo minima natus harum. Atque doloribus molestiae ab qui vel quam."], ["created_at", "2018-09-05 06:21:02.608468"], ["updated_at", "2018-09-05 06:21:02.608468"]]  (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", "Rosa Oberbrunner"], ["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", "Alonzo Tremblay"], ["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", "Rosa Oberbrunner"], ["name", "Alonzo Tremblay"], ["description", "Repudiandae enim aut veritatis est eos. Est fugit ducimus quibusdam aut repellat blanditiis. Dolor voluptatibus animi non qui vel alias a veritatis. Atque adipisci distinctio natus quis id assumenda excepturi ullam. Ab alias labore dolore in perferendis fugit totam saepe."], ["equipment_type_id", 2], ["created_at", "2018-09-05 06:21:02.614553"], ["updated_at", "2018-09-05 06:21:02.614553"]]  (0.6ms) 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", "Darcey Graham"], ["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", "Darcey Graham"], ["name", "Shala Kertzmann"], ["description", "Tien Emard"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 06:21:02.620551"], ["updated_at", "2018-09-05 06:21:02.620551"]]  (0.8ms) 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", "Corey Haag"], ["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", "Danuta Bins"], ["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", "Corey Haag"], ["name", "Danuta Bins"], ["description", "Deon Turcotte"], ["created_at", "2018-09-05 06:21:02.627599"], ["updated_at", "2018-09-05 06:21:02.627599"]]  (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", "Peter Torp"], ["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", "Peter Torp"], ["name", "Verdell McCullough"], ["location_type_id", 2], ["description", "Shaun Nader"], ["address", "Benny Hamill"], ["created_at", "2018-09-05 06:21:02.631946"], ["updated_at", "2018-09-05 06:21:02.631946"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Shela Abernathy"], ["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", "Katharyn Witting"], ["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", "Shela Abernathy"], ["name", "Christeen Bradtke"], ["description", "Maragaret Kuhlman"], ["serial_number", "Katharyn Witting"], ["brand", "Jamal Legros"], ["item_model", "Taren Larson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 06:21:02.639153"], ["updated_at", "2018-09-05 06:21:02.639153"]]  (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", "shelley_weimann@gutmanndouglas.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", "Lore Hintz"], ["last_name", "Denice Emmerich"], ["email", "shelley_weimann@gutmanndouglas.name"], ["password_digest", "$2a$04$vpLZgn6gZobJSkTbjKXS/Oi2Zei31xjWDPZTGqhS56t89T5ik6HAe"], ["created_at", "2018-09-05 06:21:02.646488"], ["updated_at", "2018-09-05 06:21:02.646488"]]  (0.6ms) 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", "mammie.fadel@mosciskimiller.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", "Birdie Cummerata"], ["last_name", "Lashawna Runolfsdottir"], ["email", "mammie.fadel@mosciskimiller.biz"], ["password_digest", "$2a$04$sJsHQKXiQ.OUFpZ6ruoUpO96SkCfuHkRSNhQThHN9McqdV8H8Cw1e"], ["created_at", "2018-09-05 06:21:02.653938"], ["updated_at", "2018-09-05 06:21:02.653938"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"9", "authorized_by"=>"Angelica Stamm", "authorized_on"=>"2018-09-05", "created_by_id"=>"8", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"1", "chargeable_service_name"=>"Christa Frami", "equipment_item_id"=>"1", "equipment_item_name"=>"Christeen Bradtke", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Kayleigh DuBuque", "status"=>"SUBMITTED"}} Mks::Auth::User Load (1.1ms) 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.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.8ms) 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", "Kayleigh DuBuque"], ["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", "Kayleigh DuBuque"], ["authorized_by", "Angelica Stamm"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"1\",\"chargeable_service_name\":\"Christa Frami\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Christeen Bradtke\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 7], ["approved_by_id", 9], ["created_at", "2018-09-05 06:21:02.672785"], ["updated_at", "2018-09-05 06:21:02.672785"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.24ms) Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.53ms) Completed 201 Created in 23ms (Views: 5.8ms | ActiveRecord: 7.0ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (1.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", "kristopher@shields.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", "Elly Trantow"], ["last_name", "Hortense Hermann"], ["email", "kristopher@shields.com"], ["password_digest", "$2a$04$aGNe4ByeoA3YOU592z6SIeMjapSE2ht/SIAD2hGsNRLKR4UnYyxAC"], ["created_at", "2018-09-05 06:21:02.698230"], ["updated_at", "2018-09-05 06:21:02.698230"]]  (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", "Denae Rempel"], ["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", "Haywood Wunsch"], ["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", "Denae Rempel"], ["name", "Haywood Wunsch"], ["created_at", "2018-09-05 06:21:02.705917"], ["updated_at", "2018-09-05 06:21:02.705917"]]  (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", "Ilene Lowe"], ["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", "Ilene Lowe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.711707"], ["updated_at", "2018-09-05 06:21:02.711707"]]  (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", "Willetta Cormier"], ["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", "Willetta Cormier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.716524"], ["updated_at", "2018-09-05 06:21:02.716524"]]  (1.0ms) 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", "Doloris Kirlin"], ["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", "Doloris Kirlin"], ["name", "Lauralee Jerde"], ["address", "Dustin Spinka"], ["created_at", "2018-09-05 06:21:02.723519"], ["updated_at", "2018-09-05 06:21:02.723519"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Roman Welch"], ["service_delivery_unit_id", 3], ["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", "Roman Welch"], ["name", "Leoma Cruickshank"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:21:02.730066"], ["updated_at", "2018-09-05 06:21:02.730066"]] 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", 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", "Roman Welch"], ["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", "Roman Welch"], ["name", "Leoma Cruickshank"], ["description", "Default bundle for service 'Leoma Cruickshank'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:21:02.738187"], ["updated_at", "2018-09-05 06:21:02.738187"]] 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.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", "Carlena Brekke"], ["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", "Shaun Tillman"], ["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", "Carlena Brekke"], ["name", "Shaun Tillman"], ["created_at", "2018-09-05 06:21:02.748382"], ["updated_at", "2018-09-05 06:21:02.748382"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Jeffery Koepp"], ["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", "Jeffery Koepp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.754545"], ["updated_at", "2018-09-05 06:21:02.754545"]]  (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", "Keitha Walter"], ["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", "Keitha Walter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.759753"], ["updated_at", "2018-09-05 06:21:02.759753"]]  (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", "Aubrey Purdy"], ["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", "Aubrey Purdy"], ["name", "Eilene Walter"], ["address", "Shamika Kuhlman"], ["created_at", "2018-09-05 06:21:02.764673"], ["updated_at", "2018-09-05 06:21:02.764673"]]  (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", "Tammy Kutch"], ["service_delivery_unit_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", "Tammy Kutch"], ["name", "Yael Boyer"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:21:02.769739"], ["updated_at", "2018-09-05 06:21:02.769739"]] 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", 4], ["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", "Tammy Kutch"], ["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", "Tammy Kutch"], ["name", "Yael Boyer"], ["description", "Default bundle for service 'Yael Boyer'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:21:02.776556"], ["updated_at", "2018-09-05 06:21:02.776556"]] 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", 4], ["chargeable_service_id", 4]]  (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", "Gregory Torphy"], ["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", "Erline Wiza"], ["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", "Gregory Torphy"], ["name", "Erline Wiza"], ["description", "Optio aliquid omnis fuga quo dolores ad. Beatae accusamus voluptatem libero facere qui ut atque delectus. Et rerum magni aut ut iste minus impedit."], ["created_at", "2018-09-05 06:21:02.792476"], ["updated_at", "2018-09-05 06:21:02.792476"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Tiana Berge"], ["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", "Lilly Oga"], ["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", "Tiana Berge"], ["name", "Lilly Oga"], ["description", "Vel ut et quasi aperiam nam at eos velit. Ab tempore dolore quia quo repudiandae beatae. Molestiae necessitatibus aut alias eligendi harum corrupti. Voluptate eos vel ut autem mollitia."], ["equipment_type_id", 3], ["created_at", "2018-09-05 06:21:02.798387"], ["updated_at", "2018-09-05 06:21:02.798387"]]  (0.6ms) 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", "Kevin Howe"], ["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", "Kevin Howe"], ["name", "Velia Bergstrom"], ["description", "Idell Vandervort"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 06:21:02.803967"], ["updated_at", "2018-09-05 06:21:02.803967"]]  (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", "Violet Gibson"], ["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", "Leslie Bayer"], ["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", "Violet Gibson"], ["name", "Leslie Bayer"], ["description", "Louie King"], ["created_at", "2018-09-05 06:21:02.810836"], ["updated_at", "2018-09-05 06:21:02.810836"]]  (0.7ms) 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", "Milford Harber"], ["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", "Milford Harber"], ["name", "Criselda Grady"], ["location_type_id", 3], ["description", "Austin Bogan"], ["address", "Ty Schroeder"], ["created_at", "2018-09-05 06:21:02.815888"], ["updated_at", "2018-09-05 06:21:02.815888"]]  (1.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", "Wendi Yundt"], ["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", "Verena Goldner"], ["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", "Wendi Yundt"], ["name", "Angella Satterfield"], ["description", "Sammie Hamill"], ["serial_number", "Verena Goldner"], ["brand", "Natashia Roob"], ["item_model", "Xzbdulia Hermiston"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 06:21:02.823951"], ["updated_at", "2018-09-05 06:21:02.823951"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Tera Ebert"], ["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", "Shyla Parisian"], ["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", "Tera Ebert"], ["name", "Shyla Parisian"], ["description", "Minus deserunt exercitationem sit iste quasi distinctio aperiam voluptatem. Neque animi molestias architecto placeat exercitationem aut. Sit nihil atque laborum aliquid quia sint pariatur. Eveniet architecto molestias voluptatum harum soluta consequuntur autem."], ["created_at", "2018-09-05 06:21:02.834318"], ["updated_at", "2018-09-05 06:21:02.834318"]]  (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", "Elenora Carter"], ["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", "Aubrey Kuhic"], ["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", "Elenora Carter"], ["name", "Aubrey Kuhic"], ["description", "Labore est totam perferendis dolore. Aut et et natus ipsa quis nihil nam. Non eum consequatur voluptatem exercitationem voluptate vel beatae."], ["equipment_type_id", 4], ["created_at", "2018-09-05 06:21:02.841287"], ["updated_at", "2018-09-05 06:21:02.841287"]]  (0.5ms) 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", "Caprice Green"], ["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", "Caprice Green"], ["name", "Ma Considine"], ["description", "Bennett Lakin"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 06:21:02.846750"], ["updated_at", "2018-09-05 06:21:02.846750"]]  (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", "Lucia Stracke"], ["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", "Audry Glover"], ["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", "Lucia Stracke"], ["name", "Audry Glover"], ["description", "Piedad McLaughlin"], ["created_at", "2018-09-05 06:21:02.854586"], ["updated_at", "2018-09-05 06:21:02.854586"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Cherryl Kautzer"], ["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", "Cherryl Kautzer"], ["name", "Sergio Muller"], ["location_type_id", 4], ["description", "Angla Reinger"], ["address", "Rory Hyatt"], ["created_at", "2018-09-05 06:21:02.860725"], ["updated_at", "2018-09-05 06:21:02.860725"]]  (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", "Patria Kuhic"], ["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", "Macie O'Kon"], ["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", "Patria Kuhic"], ["name", "Terry D'Amore"], ["description", "Jocelyn Grant"], ["serial_number", "Macie O'Kon"], ["brand", "Millicent Erdman"], ["item_model", "Eboni Walter"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 06:21:02.868435"], ["updated_at", "2018-09-05 06:21:02.868435"]]  (0.9ms) 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", "cyndi_witting@moen.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", "Bessie Mayert"], ["last_name", "Aurora Toy"], ["email", "cyndi_witting@moen.biz"], ["password_digest", "$2a$04$0aX4s2KLcNxTL/n3gVVA5.dk7aqkwkw8bFWm3QMrWQW5WSGgJfZ7y"], ["created_at", "2018-09-05 06:21:02.877230"], ["updated_at", "2018-09-05 06:21:02.877230"]]  (0.9ms) 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", "willie@hessel.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", "Ann Jacobs"], ["last_name", "Aubrey Haley"], ["email", "willie@hessel.co.uk"], ["password_digest", "$2a$04$aEvHB9eaKAtNsiO.AOKmq.A07yG0WZnWZfx7gTEAm./6oK4uSqguS"], ["created_at", "2018-09-05 06:21:02.885092"], ["updated_at", "2018-09-05 06:21:02.885092"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"12", "authorized_by"=>"Janean Gibson", "authorized_on"=>"2018-09-05", "created_by_id"=>"11", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"3", "chargeable_service_name"=>"Yael Boyer", "equipment_item_id"=>"3", "equipment_item_name"=>"Terry D'Amore", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Antwan Jakubowski", "status"=>"SUBMITTED"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["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", 10], ["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 LIMIT $2 [["reference_number", "Antwan Jakubowski"], ["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", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Antwan Jakubowski"], ["authorized_by", "Janean Gibson"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"3\",\"chargeable_service_name\":\"Yael Boyer\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Terry D'Amore\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 10], ["approved_by_id", 12], ["created_at", "2018-09-05 06:21:02.898593"], ["updated_at", "2018-09-05 06:21:02.898593"]]  (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.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.51ms) Completed 201 Created in 14ms (Views: 1.6ms | ActiveRecord: 6.4ms)  (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", "priscilla@hoppe.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", "Lavinia Bradtke"], ["last_name", "Harriette Hoeger"], ["email", "priscilla@hoppe.ca"], ["password_digest", "$2a$04$tOEhqNclN4WFsg76e//RvejAWMd1YZtjXwYb5/bLturUHDf9lRKKW"], ["created_at", "2018-09-05 06:21:02.914428"], ["updated_at", "2018-09-05 06:21:02.914428"]]  (0.5ms) 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", "Rosie Von"], ["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", "Sau Altenwerth"], ["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", "Rosie Von"], ["name", "Sau Altenwerth"], ["created_at", "2018-09-05 06:21:02.921698"], ["updated_at", "2018-09-05 06:21:02.921698"]]  (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", "Harris Tremblay"], ["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", "Harris Tremblay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.926925"], ["updated_at", "2018-09-05 06:21:02.926925"]]  (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", "Demetrice Altenwerth"], ["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", "Demetrice Altenwerth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.932626"], ["updated_at", "2018-09-05 06:21:02.932626"]]  (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", "Ranae Legros"], ["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", "Ranae Legros"], ["name", "Kasie Bailey"], ["address", "Lupe Emard"], ["created_at", "2018-09-05 06:21:02.938380"], ["updated_at", "2018-09-05 06:21:02.938380"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Ellen Boyer"], ["service_delivery_unit_id", 5], ["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", "Ellen Boyer"], ["name", "Aracely Friesen"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:21:02.944648"], ["updated_at", "2018-09-05 06:21:02.944648"]] 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", 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", "Ellen Boyer"], ["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", "Ellen Boyer"], ["name", "Aracely Friesen"], ["description", "Default bundle for service 'Aracely Friesen'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:21:02.953060"], ["updated_at", "2018-09-05 06:21:02.953060"]] 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", 5], ["chargeable_service_id", 5]]  (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", "Brandon Abernathy"], ["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", "Cherly 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", "Brandon Abernathy"], ["name", "Cherly Kuhn"], ["created_at", "2018-09-05 06:21:02.963805"], ["updated_at", "2018-09-05 06:21:02.963805"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lakeesha Dietrich"], ["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", "Lakeesha Dietrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.969531"], ["updated_at", "2018-09-05 06:21:02.969531"]]  (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", "Carlene Gislason"], ["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", "Carlene Gislason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:02.976014"], ["updated_at", "2018-09-05 06:21:02.976014"]]  (0.5ms) RELEASE SAVEPOINT active_record_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", "Chelsea White"], ["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", "Chelsea White"], ["name", "Tracy Bergnaum"], ["address", "Breanne Lang"], ["created_at", "2018-09-05 06:21:02.982739"], ["updated_at", "2018-09-05 06:21:02.982739"]]  (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", "Jenni Glover"], ["service_delivery_unit_id", 6], ["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", "Jenni Glover"], ["name", "Launa Jacobs"], ["service_type_id", 6], ["base_unit_id", 11], ["utilization_unit_id", 12], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:21:02.989044"], ["updated_at", "2018-09-05 06:21:02.989044"]] 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]] 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 Glover"], ["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", "Jenni Glover"], ["name", "Launa Jacobs"], ["description", "Default bundle for service 'Launa Jacobs'"], ["service_delivery_unit_id", 6], ["created_at", "2018-09-05 06:21:02.995886"], ["updated_at", "2018-09-05 06:21:02.995886"]] 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", 6], ["chargeable_service_id", 6]]  (0.5ms) 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", "Roselee Baumbach"], ["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", "Guy Hermiston"], ["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", "Roselee Baumbach"], ["name", "Guy Hermiston"], ["description", "Accusantium dolorem non in qui alias a nobis. Est dolorum officiis ut eos. Qui debitis amet animi et ut. Et non velit maxime culpa ipsa placeat et et."], ["created_at", "2018-09-05 06:21:03.009103"], ["updated_at", "2018-09-05 06:21:03.009103"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Johnnie Fadel"], ["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", "Sue Wyman"], ["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", "Johnnie Fadel"], ["name", "Sue Wyman"], ["description", "Eaque a dolores eum et sit neque nesciunt maiores. Ullam a nostrum dolores quos quia praesentium aspernatur nulla. Deleniti ipsam et at animi. Illo ipsam blanditiis provident id."], ["equipment_type_id", 5], ["created_at", "2018-09-05 06:21:03.015642"], ["updated_at", "2018-09-05 06:21:03.015642"]]  (0.9ms) 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", "Charline Bernhard"], ["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", "Charline Bernhard"], ["name", "Gabriel Ebert"], ["description", "Sharen Oberbrunner"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 06:21:03.022211"], ["updated_at", "2018-09-05 06:21:03.022211"]]  (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", "Noelle Kemmer"], ["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", "Hugh Heathcote"], ["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", "Noelle Kemmer"], ["name", "Hugh Heathcote"], ["description", "Susann Schaefer"], ["created_at", "2018-09-05 06:21:03.030896"], ["updated_at", "2018-09-05 06:21:03.030896"]]  (0.5ms) 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", "Argentina Glover"], ["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", "Argentina Glover"], ["name", "Andree Schimmel"], ["location_type_id", 5], ["description", "Reagan Grady"], ["address", "Nathanial Walter"], ["created_at", "2018-09-05 06:21:03.037048"], ["updated_at", "2018-09-05 06:21:03.037048"]]  (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", "Lannie 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", "Star Marquardt"], ["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", "Lannie Zieme"], ["name", "Kurt O'Kon"], ["description", "Karyl Wuckert"], ["serial_number", "Star Marquardt"], ["brand", "Tiara Green"], ["item_model", "Katy Collins"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 06:21:03.044729"], ["updated_at", "2018-09-05 06:21:03.044729"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Rhona Braun"], ["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", "Signe Effertz"], ["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", "Rhona Braun"], ["name", "Signe Effertz"], ["description", "Dolorem velit omnis ullam optio laboriosam in nihil quia. Maiores voluptas est incidunt ea voluptates expedita. Est voluptatem voluptatum quaerat accusantium exercitationem maxime beatae. Possimus eligendi vitae adipisci delectus eius."], ["created_at", "2018-09-05 06:21:03.055153"], ["updated_at", "2018-09-05 06:21:03.055153"]]  (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", "So Schowalter"], ["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", "Tony Hilll"], ["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", "So Schowalter"], ["name", "Tony Hilll"], ["description", "Nobis blanditiis eaque iusto consequuntur. Quidem numquam sit et nesciunt debitis in. Numquam sunt aspernatur eum voluptatem est consequatur. Ea veniam quia doloremque sit omnis consequatur."], ["equipment_type_id", 6], ["created_at", "2018-09-05 06:21:03.062498"], ["updated_at", "2018-09-05 06:21:03.062498"]]  (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", "Jennette Feest"], ["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", "Jennette Feest"], ["name", "Meta Heaney"], ["description", "Glenn Treutel"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 06:21:03.067828"], ["updated_at", "2018-09-05 06:21:03.067828"]]  (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", "Pei Nitzsche"], ["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", "Lynnette Turcotte"], ["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", "Pei Nitzsche"], ["name", "Lynnette Turcotte"], ["description", "Cassaundra Boyer"], ["created_at", "2018-09-05 06:21:03.075830"], ["updated_at", "2018-09-05 06:21:03.075830"]]  (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", "Ghislaine Kessler"], ["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", "Ghislaine Kessler"], ["name", "Alejandra Schuppe"], ["location_type_id", 6], ["description", "Forrest Doyle"], ["address", "Linnea Smith"], ["created_at", "2018-09-05 06:21:03.081046"], ["updated_at", "2018-09-05 06:21:03.081046"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Yon Thiel"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Leonarda Metz"], ["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", "Yon Thiel"], ["name", "Fernando Mann"], ["description", "Suzann Ankunding"], ["serial_number", "Leonarda Metz"], ["brand", "Contessa Harvey"], ["item_model", "Denae Mertz"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 06:21:03.089381"], ["updated_at", "2018-09-05 06:21:03.089381"]]  (0.7ms) 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", "esteban@millsrogahn.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", "Sharita Cruickshank"], ["last_name", "Gertha Ullrich"], ["email", "esteban@millsrogahn.com"], ["password_digest", "$2a$04$L55laAZfOlGPhT3Hqa1Fv.b.Hk/oXBHKYJYr0GS9VqQo84qAUIXE2"], ["created_at", "2018-09-05 06:21:03.098788"], ["updated_at", "2018-09-05 06:21:03.098788"]]  (0.6ms) 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", "signe@leannon.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", "Mahalia Smitham"], ["last_name", "Albertina Prohaska"], ["email", "signe@leannon.ca"], ["password_digest", "$2a$04$R9V2soxNnGq7yXkRf9YxXOccWxglQwRbjZfj30M5hYz5D4mLyqadq"], ["created_at", "2018-09-05 06:21:03.106440"], ["updated_at", "2018-09-05 06:21:03.106440"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"15", "authorized_by"=>"Kisha Cormier", "authorized_on"=>"2018-09-05", "created_by_id"=>"14", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"5", "chargeable_service_name"=>"Launa Jacobs", "equipment_item_id"=>"5", "equipment_item_name"=>"Fernando Mann", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "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", 13], ["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", 13], ["LIMIT", 1]]  (0.5ms) 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", ""], ["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", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.17ms) Completed 422 Unprocessable Entity in 27ms (Views: 6.8ms | ActiveRecord: 5.0ms)  (1.3ms) ROLLBACK  (0.7ms) 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", "stephan_treutel@robel.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", "Danica Wisozk"], ["last_name", "Carson Walker"], ["email", "stephan_treutel@robel.co.uk"], ["password_digest", "$2a$04$ekIwAtJuYxWSmNeFWphZmew0jd3kBcHA1qRRJzSxXcYgM/j3/aXF2"], ["created_at", "2018-09-05 06:21:03.150186"], ["updated_at", "2018-09-05 06:21:03.150186"]]  (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", "ross.carter@connking.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", "Rachell Leuschke"], ["last_name", "Lesa Marquardt"], ["email", "ross.carter@connking.ca"], ["password_digest", "$2a$04$4t65Vn9SzeDJKZoA8MexD.4sIcw2fKKq8vOPaWvp/JFeT.5weHvvy"], ["created_at", "2018-09-05 06:21:03.164046"], ["updated_at", "2018-09-05 06:21:03.164046"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "brittni.hahn@zemlak.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", "Selma Frami"], ["last_name", "Dinah Kuphal"], ["email", "brittni.hahn@zemlak.biz"], ["password_digest", "$2a$04$Ko7lZf3nKl9jpfYc5oRcyO/mxmZIeeq656O2/ygEWhWWb6wxAyjpi"], ["created_at", "2018-09-05 06:21:03.171337"], ["updated_at", "2018-09-05 06:21:03.171337"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Cesar Shields"], ["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", "Cesar Shields"], ["authorized_by", "Johnny Mueller"], ["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", 17], ["approved_by_id", 18], ["created_at", "2018-09-05 06:21:03.177049"], ["updated_at", "2018-09-05 06:21:03.177049"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Trang Kuvalis"}, "id"=>"5"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["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", 5], ["LIMIT", 1]]  (1.6ms) 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", "Cesar Shields"], ["id", 5], ["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", 17], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.5ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Trang Kuvalis"], ["updated_at", "2018-09-05 06:21:05.848952"], ["id", 5]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.19ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 2673ms (Views: 1.4ms | ActiveRecord: 9.6ms) 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", 5], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.9ms) 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", "tatiana.reilly@deckowfriesen.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", "Zenaida Veum"], ["last_name", "Octavia West"], ["email", "tatiana.reilly@deckowfriesen.com"], ["password_digest", "$2a$04$ZJ1aeIztJAgv46qJ8nTdoOkXEfjmFiOHEdXRYH0M0Dp/smmElgYH2"], ["created_at", "2018-09-05 06:21:05.866628"], ["updated_at", "2018-09-05 06:21:05.866628"]]  (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", "earlene@roob.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", "Jule Beer"], ["last_name", "Darby Bartell"], ["email", "earlene@roob.com"], ["password_digest", "$2a$04$6t9NOI7PA5uux2oKxaJilewWAODnne7QFI.3RUy3L2YPQSQR1Z1dy"], ["created_at", "2018-09-05 06:21:05.874340"], ["updated_at", "2018-09-05 06:21:05.874340"]]  (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", "perry@kreigerprice.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", "Laverne Kirlin"], ["last_name", "Cyril Schmeler"], ["email", "perry@kreigerprice.co.uk"], ["password_digest", "$2a$04$ew8.09ey93s7zXgMcC5W5O2Hvx41p2N1K3o/x/lMGrGAe4/ynOPjC"], ["created_at", "2018-09-05 06:21:05.882547"], ["updated_at", "2018-09-05 06:21:05.882547"]]  (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", "Linnea Ritchie"], ["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", "Linnea Ritchie"], ["authorized_by", "Willa Thiel"], ["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", 20], ["approved_by_id", 21], ["created_at", "2018-09-05 06:21:05.887600"], ["updated_at", "2018-09-05 06:21:05.887600"]]  (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", "Eliz Berge"], ["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", "Minh Grady"], ["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", "Eliz Berge"], ["name", "Minh Grady"], ["created_at", "2018-09-05 06:21:05.895814"], ["updated_at", "2018-09-05 06:21:05.895814"]]  (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", "Jonas Douglas"], ["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", "Jonas Douglas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:05.900763"], ["updated_at", "2018-09-05 06:21:05.900763"]]  (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", "Margery Cronin"], ["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", "Margery Cronin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:05.906214"], ["updated_at", "2018-09-05 06:21:05.906214"]]  (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", "Grady Larson"], ["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", "Grady Larson"], ["name", "Isela Schmeler"], ["address", "Bernita Little"], ["created_at", "2018-09-05 06:21:05.911542"], ["updated_at", "2018-09-05 06:21:05.911542"]]  (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", "Wesley Hagenes"], ["service_delivery_unit_id", 7], ["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", "Wesley Hagenes"], ["name", "Kylee Funk"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:21:05.916573"], ["updated_at", "2018-09-05 06:21:05.916573"]] 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", "Wesley Hagenes"], ["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", "Wesley Hagenes"], ["name", "Kylee Funk"], ["description", "Default bundle for service 'Kylee Funk'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:21:05.921859"], ["updated_at", "2018-09-05 06:21:05.921859"]] 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.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", "Oda Kling"], ["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", "Ilona 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", "Oda Kling"], ["name", "Ilona Thompson"], ["created_at", "2018-09-05 06:21:05.931731"], ["updated_at", "2018-09-05 06:21:05.931731"]]  (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", "Arianna McKenzie"], ["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", "Arianna McKenzie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:05.936499"], ["updated_at", "2018-09-05 06:21:05.936499"]]  (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", "Lavina Conroy"], ["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", "Lavina Conroy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:05.941071"], ["updated_at", "2018-09-05 06:21:05.941071"]]  (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", "Yu Quigley"], ["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", "Yu Quigley"], ["name", "Debi Zemlak"], ["address", "Niesha Oga"], ["created_at", "2018-09-05 06:21:05.945629"], ["updated_at", "2018-09-05 06:21:05.945629"]]  (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", "Burton Rutherford"], ["service_delivery_unit_id", 8], ["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", "Burton Rutherford"], ["name", "Liana Stoltenberg"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:21:05.950334"], ["updated_at", "2018-09-05 06:21:05.950334"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Burton Rutherford"], ["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", "Burton Rutherford"], ["name", "Liana Stoltenberg"], ["description", "Default bundle for service 'Liana Stoltenberg'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:21:05.955589"], ["updated_at", "2018-09-05 06:21:05.955589"]] 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", 8], ["chargeable_service_id", 8]]  (0.6ms) 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", "Teresia Paucek"], ["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", "Un McDermott"], ["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", "Teresia Paucek"], ["name", "Un McDermott"], ["description", "Omnis beatae culpa quasi nihil quam. Vel ad voluptates enim aspernatur mollitia ipsa. Excepturi qui voluptatem aut voluptatem eos cum repellat. Praesentium at fugiat voluptatem ea atque. Beatae dolor doloremque iure omnis sunt quibusdam eaque."], ["created_at", "2018-09-05 06:21:05.965174"], ["updated_at", "2018-09-05 06:21:05.965174"]]  (0.8ms) 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", "Lynna Hermiston"], ["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", "Cherry Jaskolski"], ["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", "Lynna Hermiston"], ["name", "Cherry Jaskolski"], ["description", "Aliquam omnis unde ut qui natus accusamus error sapiente. Amet odit et facilis autem dicta id. Sit ducimus facere in reprehenderit voluptatum vel ipsum. Officiis consequatur consequatur totam tempora sapiente."], ["equipment_type_id", 7], ["created_at", "2018-09-05 06:21:05.972816"], ["updated_at", "2018-09-05 06:21:05.972816"]]  (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", "Freda Dach"], ["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", "Freda Dach"], ["name", "Tai Hamill"], ["description", "Marshall Wisoky"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 06:21:05.977616"], ["updated_at", "2018-09-05 06:21:05.977616"]]  (0.6ms) 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", "Antonetta Yost"], ["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", "Krista Barton"], ["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", "Antonetta Yost"], ["name", "Krista Barton"], ["description", "Li Bergnaum"], ["created_at", "2018-09-05 06:21:05.984691"], ["updated_at", "2018-09-05 06:21:05.984691"]]  (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", "Rebecca Lindgren"], ["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", "Rebecca Lindgren"], ["name", "Christiana Auer"], ["location_type_id", 7], ["description", "Penney Rutherford"], ["address", "Thomas Bruen"], ["created_at", "2018-09-05 06:21:05.989113"], ["updated_at", "2018-09-05 06:21:05.989113"]]  (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", "Devona Bogan"], ["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", "Carolin Lockman"], ["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", "Devona Bogan"], ["name", "Janay Wunsch"], ["description", "Ayesha Jacobs"], ["serial_number", "Carolin Lockman"], ["brand", "Reatha Kautzer"], ["item_model", "Bernita Stamm"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 06:21:05.994970"], ["updated_at", "2018-09-05 06:21:05.994970"]]  (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", "Evan O'Hara"], ["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", "Shawnee Roob"], ["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", "Evan O'Hara"], ["name", "Shawnee Roob"], ["description", "Consequuntur placeat quia quis ut tempore. Voluptatum aliquid cum provident enim assumenda aut. Illo et ea est voluptatum molestiae ducimus. Mollitia suscipit deserunt voluptates libero dolorum. Nihil consequatur unde sit itaque."], ["created_at", "2018-09-05 06:21:06.002189"], ["updated_at", "2018-09-05 06:21:06.002189"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (2.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Charley Hoeger"], ["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", "Terrence Stoltenberg"], ["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", "Charley Hoeger"], ["name", "Terrence Stoltenberg"], ["description", "Nobis sed voluptas deleniti beatae consequuntur rerum voluptatum quod. Quidem ad tempore ut nihil sed. Autem vitae exercitationem in quia velit."], ["equipment_type_id", 8], ["created_at", "2018-09-05 06:21:06.009703"], ["updated_at", "2018-09-05 06:21:06.009703"]]  (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", "Wai Corkery"], ["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", "Wai Corkery"], ["name", "Estefana Reinger"], ["description", "Rayford Hyatt"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 06:21:06.014907"], ["updated_at", "2018-09-05 06:21:06.014907"]]  (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", "Annalisa Harvey"], ["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", "Lisbeth Schmeler"], ["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", "Annalisa Harvey"], ["name", "Lisbeth Schmeler"], ["description", "Maude Parker"], ["created_at", "2018-09-05 06:21:06.020947"], ["updated_at", "2018-09-05 06:21:06.020947"]]  (0.6ms) 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", "Luci Luettgen"], ["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", "Luci Luettgen"], ["name", "Raguel Rath"], ["location_type_id", 8], ["description", "Trang Schmidt"], ["address", "Angelo Rosenbaum"], ["created_at", "2018-09-05 06:21:06.025431"], ["updated_at", "2018-09-05 06:21:06.025431"]]  (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", "Sherika Nitzsche"], ["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", "Tula Jaskolski"], ["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", "Sherika Nitzsche"], ["name", "Nelda Weissnat"], ["description", "Eva Boyle"], ["serial_number", "Tula Jaskolski"], ["brand", "Toya Lind"], ["item_model", "Keshia Lehner"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 06:21:06.031312"], ["updated_at", "2018-09-05 06:21:06.031312"]]  (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", "manual.weber@cronasawayn.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", "Corrina Prohaska"], ["last_name", "Teofila Adams"], ["email", "manual.weber@cronasawayn.com"], ["password_digest", "$2a$04$XXwU5SrfVX8K58kt9cD8MO.rO6DeeWLgT/JSlBw0Wm8WxM.fx4EaO"], ["created_at", "2018-09-05 06:21:06.038452"], ["updated_at", "2018-09-05 06:21:06.038452"]]  (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", "fernande.gulgowski@dubuquerath.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", "Ursula Lehner"], ["last_name", "Karine Weissnat"], ["email", "fernande.gulgowski@dubuquerath.name"], ["password_digest", "$2a$04$Fum0.ugDqRT.CPICdVbiKupd5PsE959zQaVm40H7koPof2siuEA8m"], ["created_at", "2018-09-05 06:21:06.044899"], ["updated_at", "2018-09-05 06:21:06.044899"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"23", "authorized_by"=>"Marylee Lind", "authorized_on"=>"2018-09-05", "created_by_id"=>"22", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"7", "chargeable_service_name"=>"Liana Stoltenberg", "equipment_item_id"=>"7", "equipment_item_name"=>"Nelda Weissnat", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Travis Runte", "status"=>"SUBMITTED"}, "id"=>"6"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["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", 6], ["LIMIT", 1]]  (1.0ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Travis Runte"], ["id", 6], ["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", 22], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.1ms) 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", "Travis Runte"], ["authorized_by", "Marylee Lind"], ["created_by_id", 22], ["approved_by_id", 23], ["rates", "[{\"chargeable_service_id\":\"7\",\"chargeable_service_name\":\"Liana Stoltenberg\",\"equipment_item_id\":\"7\",\"equipment_item_name\":\"Nelda Weissnat\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["updated_at", "2018-09-05 06:21:07.070235"], ["id", 6]]  (2.0ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.18ms) Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.46ms) Completed 200 OK in 1029ms (Views: 1.5ms | ActiveRecord: 8.8ms)  (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", "basil_heidenreich@schiller.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", "Shanae Ruecker"], ["last_name", "Camie Daniel"], ["email", "basil_heidenreich@schiller.info"], ["password_digest", "$2a$04$Abee18iNTgZm1aPtGkI7ueY2MLzNxHO7vCbfj8sAMsd0zoX2ccjZm"], ["created_at", "2018-09-05 06:21:07.085937"], ["updated_at", "2018-09-05 06:21:07.085937"]]  (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", "georgianna.emmerich@weissnatklein.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", "Isaura Hermann"], ["last_name", "Tommie Mante"], ["email", "georgianna.emmerich@weissnatklein.biz"], ["password_digest", "$2a$04$1FrlBfOdG7HI1NkV5IEM5umdDtdi4vm/lIJT4sH/3M3Ev6JamZURy"], ["created_at", "2018-09-05 06:21:07.093204"], ["updated_at", "2018-09-05 06:21:07.093204"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "gilma.krajcik@moen.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", "Angele Halvorson"], ["last_name", "Fermina Macejkovic"], ["email", "gilma.krajcik@moen.com"], ["password_digest", "$2a$04$HjLp/f0XGgCHUqOfEi8mTOxsQzMMbz6ojkoUVOBuGwwaZNCwVXUie"], ["created_at", "2018-09-05 06:21:07.101492"], ["updated_at", "2018-09-05 06:21:07.101492"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Leatrice Kshlerin"], ["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", "Leatrice Kshlerin"], ["authorized_by", "Harlan Adams"], ["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", 25], ["approved_by_id", 26], ["created_at", "2018-09-05 06:21:07.108303"], ["updated_at", "2018-09-05 06:21:07.108303"]]  (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", "Moses Langosh"], ["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", "Octavia Wilderman"], ["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", "Moses Langosh"], ["name", "Octavia Wilderman"], ["created_at", "2018-09-05 06:21:07.116726"], ["updated_at", "2018-09-05 06:21:07.116726"]]  (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", "Allen Zboncak"], ["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", "Allen Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:07.122361"], ["updated_at", "2018-09-05 06:21:07.122361"]]  (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", "Idalia Rath"], ["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", "Idalia Rath"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:07.127524"], ["updated_at", "2018-09-05 06:21:07.127524"]]  (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", "Rosalina Johns"], ["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", "Rosalina Johns"], ["name", "Vilma Halvorson"], ["address", "Benjamin Langworth"], ["created_at", "2018-09-05 06:21:07.132471"], ["updated_at", "2018-09-05 06:21:07.132471"]]  (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", "Erika Effertz"], ["service_delivery_unit_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", "Erika Effertz"], ["name", "Vanesa Boehm"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:21:07.137435"], ["updated_at", "2018-09-05 06:21:07.137435"]] 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", 9], ["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", "Erika Effertz"], ["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", "Erika Effertz"], ["name", "Vanesa Boehm"], ["description", "Default bundle for service 'Vanesa Boehm'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:21:07.143509"], ["updated_at", "2018-09-05 06:21:07.143509"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sanjuanita Pfeffer"], ["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", "Richelle Jaskolski"], ["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", "Sanjuanita Pfeffer"], ["name", "Richelle Jaskolski"], ["created_at", "2018-09-05 06:21:07.152419"], ["updated_at", "2018-09-05 06:21:07.152419"]]  (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", "Magali Lemke"], ["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", "Magali Lemke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:07.158113"], ["updated_at", "2018-09-05 06:21:07.158113"]]  (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", "Oscar Pfeffer"], ["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", "Oscar Pfeffer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:07.163205"], ["updated_at", "2018-09-05 06:21:07.163205"]]  (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", "Rodrick Cremin"], ["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", "Rodrick Cremin"], ["name", "Pamula Ratke"], ["address", "Sue Dibbert"], ["created_at", "2018-09-05 06:21:07.169401"], ["updated_at", "2018-09-05 06:21:07.169401"]]  (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", "Eleanore Wisozk"], ["service_delivery_unit_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", "Eleanore Wisozk"], ["name", "Jodie Thompson"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:21:07.174439"], ["updated_at", "2018-09-05 06:21:07.174439"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Eleanore Wisozk"], ["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", "Eleanore Wisozk"], ["name", "Jodie Thompson"], ["description", "Default bundle for service 'Jodie Thompson'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:21:07.179327"], ["updated_at", "2018-09-05 06:21:07.179327"]] 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.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", "Eli Kutch"], ["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", "Jame Shields"], ["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", "Eli Kutch"], ["name", "Jame Shields"], ["description", "Porro et voluptas minus vel voluptate quidem. Est sed rem consequatur assumenda voluptas. Libero aut consequatur fugiat assumenda alias sunt. Aut sapiente dignissimos odit rerum inventore dolorem perferendis nesciunt."], ["created_at", "2018-09-05 06:21:07.189023"], ["updated_at", "2018-09-05 06:21:07.189023"]]  (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", "Salina Bergstrom"], ["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", "Allyson Crist"], ["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", "Salina Bergstrom"], ["name", "Allyson Crist"], ["description", "Architecto facere vitae illo reprehenderit repudiandae illum. Mollitia beatae occaecati temporibus ad quo sunt quidem nobis. Ut rerum numquam dolores ut sit suscipit."], ["equipment_type_id", 9], ["created_at", "2018-09-05 06:21:07.194865"], ["updated_at", "2018-09-05 06:21:07.194865"]]  (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", "Suzann Dickens"], ["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", "Suzann Dickens"], ["name", "Alicia Kuhn"], ["description", "Maybelle Runte"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 06:21:07.200158"], ["updated_at", "2018-09-05 06:21:07.200158"]]  (0.7ms) 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", "Hsiu Marvin"], ["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", "Loura Osinski"], ["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", "Hsiu Marvin"], ["name", "Loura Osinski"], ["description", "Theda Olson"], ["created_at", "2018-09-05 06:21:07.207447"], ["updated_at", "2018-09-05 06:21:07.207447"]]  (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", "Merrilee Marvin"], ["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", "Merrilee Marvin"], ["name", "Rosaura Spencer"], ["location_type_id", 9], ["description", "Holli Cummerata"], ["address", "Ollie Morissette"], ["created_at", "2018-09-05 06:21:07.212771"], ["updated_at", "2018-09-05 06:21:07.212771"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Alex Beier"], ["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", "Gale Mayert"], ["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", "Alex Beier"], ["name", "Natalie Blick"], ["description", "Jerrica Gottlieb"], ["serial_number", "Gale Mayert"], ["brand", "Marguerita O'Hara"], ["item_model", "Malisa Jacobi"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 06:21:07.220457"], ["updated_at", "2018-09-05 06:21:07.220457"]]  (0.7ms) 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", "Stevie Barrows"], ["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", "Sabina Denesik"], ["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", "Stevie Barrows"], ["name", "Sabina Denesik"], ["description", "Quis aut doloremque quisquam dolor. Ut quibusdam aliquid sunt deleniti. Exercitationem sint ipsa a ut voluptatem aut culpa debitis. Odit aut voluptas quia ut consequatur. Doloribus ut repudiandae quo architecto quia ut."], ["created_at", "2018-09-05 06:21:07.229234"], ["updated_at", "2018-09-05 06:21:07.229234"]]  (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", "Kasandra Emard"], ["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", "Marietta Hauck"], ["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", "Kasandra Emard"], ["name", "Marietta Hauck"], ["description", "Illo consequuntur laborum ducimus omnis voluptatem quaerat iure. Doloremque quaerat iure natus rerum corrupti quo unde nemo. Autem ea nulla et voluptatem. Facilis rerum itaque quo aut ut rerum nobis omnis."], ["equipment_type_id", 10], ["created_at", "2018-09-05 06:21:07.234903"], ["updated_at", "2018-09-05 06:21:07.234903"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Dee Purdy"], ["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", "Dee Purdy"], ["name", "Blondell Kutch"], ["description", "Bud Pfannerstill"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 06:21:07.240967"], ["updated_at", "2018-09-05 06:21:07.240967"]]  (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", "Carmine King"], ["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", "Emily Glover"], ["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", "Carmine King"], ["name", "Emily Glover"], ["description", "Lyman VonRueden"], ["created_at", "2018-09-05 06:21:07.247487"], ["updated_at", "2018-09-05 06:21:07.247487"]]  (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", "Maisha Bernier"], ["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", "Maisha Bernier"], ["name", "Roberto Muller"], ["location_type_id", 10], ["description", "Wilfred Herman"], ["address", "Basilia Bogisich"], ["created_at", "2018-09-05 06:21:07.251883"], ["updated_at", "2018-09-05 06:21:07.251883"]]  (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", "Hyon Kuhic"], ["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", "Irena Littel"], ["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", "Hyon Kuhic"], ["name", "Lane Rowe"], ["description", "Francisco Schimmel"], ["serial_number", "Irena Littel"], ["brand", "January Considine"], ["item_model", "Renea Metz"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 06:21:07.257608"], ["updated_at", "2018-09-05 06:21:07.257608"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "jack@wymanward.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", "Masako Rogahn"], ["last_name", "Marie Bernhard"], ["email", "jack@wymanward.co.uk"], ["password_digest", "$2a$04$zTd1c3./uQLsbjkgQVVwnOubfuBQBuBgagLWqErFrG46Wp2UwEFIC"], ["created_at", "2018-09-05 06:21:07.265456"], ["updated_at", "2018-09-05 06:21:07.265456"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "quiana@hodkiewicz.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", "Tawana Mann"], ["last_name", "Pearle Becker"], ["email", "quiana@hodkiewicz.name"], ["password_digest", "$2a$04$8CZtJkOh7JSL/Xcb0c47o.IfSKRJq2On90aUhPhRhmPV7HjbCvW1y"], ["created_at", "2018-09-05 06:21:07.273094"], ["updated_at", "2018-09-05 06:21:07.273094"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"28", "authorized_by"=>"Enid Smitham", "authorized_on"=>"2018-09-05", "created_by_id"=>"27", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"9", "chargeable_service_name"=>"Jodie Thompson", "equipment_item_id"=>"9", "equipment_item_name"=>"Lane Rowe", "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", 24], ["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", 7], ["LIMIT", 1]]  (2.9ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (4.6ms) 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 (2.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (2.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 896ms (Views: 1.3ms | ActiveRecord: 13.9ms)  (1.0ms) ROLLBACK  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.9ms) BEGIN  (1.0ms) 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", "horace.predovic@block.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", "Wynona Tremblay"], ["last_name", "Sheba Goodwin"], ["email", "horace.predovic@block.co.uk"], ["password_digest", "$2a$04$G9ARGX1Ut/9PJDWQ8..0y.dCHOmX.4R8e1SebXi9NOJSeq8UsFy3q"], ["created_at", "2018-09-05 06:21:39.108143"], ["updated_at", "2018-09-05 06:21:39.108143"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Tessa Ryan"], ["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", "Jetta Kreiger"], ["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", "Tessa Ryan"], ["name", "Jetta Kreiger"], ["created_at", "2018-09-05 06:21:39.153111"], ["updated_at", "2018-09-05 06:21:39.153111"]]  (1.0ms) 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", "Avery Upton"], ["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", "Avery Upton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.175794"], ["updated_at", "2018-09-05 06:21:39.175794"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Eliz Mayert"], ["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", "Eliz Mayert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.182438"], ["updated_at", "2018-09-05 06:21:39.182438"]]  (0.6ms) 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", "Markus Prosacco"], ["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", "Markus Prosacco"], ["name", "Dorian Parker"], ["address", "Torri Gottlieb"], ["created_at", "2018-09-05 06:21:39.200113"], ["updated_at", "2018-09-05 06:21:39.200113"]]  (0.7ms) 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", "Nakesha McKenzie"], ["service_delivery_unit_id", 1], ["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", "Nakesha McKenzie"], ["name", "Genevieve Lakin"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:21:39.207287"], ["updated_at", "2018-09-05 06:21:39.207287"]] 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", 1], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nakesha McKenzie"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Nakesha McKenzie"], ["name", "Genevieve Lakin"], ["description", "Default bundle for service 'Genevieve Lakin'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 06:21:39.235445"], ["updated_at", "2018-09-05 06:21:39.235445"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.9ms) 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.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", "Lura Bergstrom"], ["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", "Robbyn Nicolas"], ["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", "Lura Bergstrom"], ["name", "Robbyn Nicolas"], ["created_at", "2018-09-05 06:21:39.264008"], ["updated_at", "2018-09-05 06:21:39.264008"]]  (0.8ms) 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", "Rena Mayert"], ["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", "Rena Mayert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.269861"], ["updated_at", "2018-09-05 06:21:39.269861"]]  (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", "Lianne Stracke"], ["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", "Lianne Stracke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.274899"], ["updated_at", "2018-09-05 06:21:39.274899"]]  (0.4ms) 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", "Lisbeth Effertz"], ["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", "Lisbeth Effertz"], ["name", "Benton Rath"], ["address", "Rosita Jerde"], ["created_at", "2018-09-05 06:21:39.279260"], ["updated_at", "2018-09-05 06:21:39.279260"]]  (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", "Ricarda Lueilwitz"], ["service_delivery_unit_id", 2], ["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", "Ricarda Lueilwitz"], ["name", "Amalia Hoeger"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:21:39.284335"], ["updated_at", "2018-09-05 06:21:39.284335"]] 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ricarda Lueilwitz"], ["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", "Ricarda Lueilwitz"], ["name", "Amalia Hoeger"], ["description", "Default bundle for service 'Amalia Hoeger'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 06:21:39.289464"], ["updated_at", "2018-09-05 06:21:39.289464"]] 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.8ms) 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", "Adriene Lehner"], ["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", "Luther Beer"], ["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", "Adriene Lehner"], ["name", "Luther Beer"], ["created_at", "2018-09-05 06:21:39.299717"], ["updated_at", "2018-09-05 06:21:39.299717"]]  (0.8ms) 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", "Jerry Schulist"], ["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", "Jerry Schulist"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.304796"], ["updated_at", "2018-09-05 06:21:39.304796"]]  (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", "Charlena Ernser"], ["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", "Charlena Ernser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.309783"], ["updated_at", "2018-09-05 06:21:39.309783"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Winifred 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", "Winifred Barton"], ["name", "Cristy O'Reilly"], ["address", "Andreas Jerde"], ["created_at", "2018-09-05 06:21:39.314812"], ["updated_at", "2018-09-05 06:21:39.314812"]]  (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", "Whitney Thiel"], ["service_delivery_unit_id", 3], ["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", "Whitney Thiel"], ["name", "Emily Wehner"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:21:39.320037"], ["updated_at", "2018-09-05 06:21:39.320037"]] 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", 3], ["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", "Whitney Thiel"], ["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", "Whitney Thiel"], ["name", "Emily Wehner"], ["description", "Default bundle for service 'Emily Wehner'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 06:21:39.326980"], ["updated_at", "2018-09-05 06:21:39.326980"]] 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", 3], ["chargeable_service_id", 3]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#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", 1], ["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", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.1ms) 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", 3], ["id", 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", 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 (1.1ms) 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 (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", 5], ["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", 6], ["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", 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", 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 (17.86ms) Completed 200 OK in 42ms (Views: 27.8ms | ActiveRecord: 11.5ms)  (1.2ms) ROLLBACK  (0.4ms) 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", "albertina_cremin@corwin.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", "Suzy Hane"], ["last_name", "Leonardo Lebsack"], ["email", "albertina_cremin@corwin.biz"], ["password_digest", "$2a$04$GpFUZD.dvZyCIXuaept0YezrNAWJGEiNMs9sv5SAHaR49CBzAH6Am"], ["created_at", "2018-09-05 06:21:39.394566"], ["updated_at", "2018-09-05 06:21:39.394566"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (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", "Ling Schimmel"], ["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", "Ling Schimmel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.404673"], ["updated_at", "2018-09-05 06:21:39.404673"]]  (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", "Romona 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", "Romona Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.409948"], ["updated_at", "2018-09-05 06:21:39.409948"]]  (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", "Anton Wolff"], ["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", "Anton Wolff"], ["name", "Leida Strosin"], ["address", "Josephina Christiansen"], ["created_at", "2018-09-05 06:21:39.415705"], ["updated_at", "2018-09-05 06:21:39.415705"]]  (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", "Valentina Cummings"], ["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", "Delbert Kirlin"], ["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", "Valentina Cummings"], ["name", "Delbert Kirlin"], ["created_at", "2018-09-05 06:21:39.422932"], ["updated_at", "2018-09-05 06:21:39.422932"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Jaqueline Dietrich", "name"=>"Valentin Gorczany", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.4ms) 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", "Jaqueline Dietrich"], ["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 (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", 4], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Jaqueline Dietrich"], ["name", "Valentin Gorczany"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:21:39.446018"], ["updated_at", "2018-09-05 06:21:39.446018"]] Mks::Rate::ServiceDeliveryUnit Load (1.9ms) 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 (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jaqueline Dietrich"], ["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", "Jaqueline Dietrich"], ["name", "Valentin Gorczany"], ["description", "Default bundle for service 'Valentin Gorczany'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 06:21:39.455464"], ["updated_at", "2018-09-05 06:21:39.455464"]] 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", 4], ["chargeable_service_id", 4]]  (0.6ms) 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", 8], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.67ms) 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.3ms) Completed 200 OK in 42ms (Views: 11.1ms | ActiveRecord: 15.9ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.5ms) ROLLBACK  (0.8ms) 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", "mac@considinekreiger.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", "Bridgett Bahringer"], ["last_name", "Andra Zulauf"], ["email", "mac@considinekreiger.biz"], ["password_digest", "$2a$04$rODzEn15ErA3V.GD8TA8KeZ.u6aKxqbxzMOu.GZddHEHNxfEjUO9y"], ["created_at", "2018-09-05 06:21:39.487597"], ["updated_at", "2018-09-05 06:21:39.487597"]]  (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", "Fay Kessler"], ["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", "Fay Kessler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.492987"], ["updated_at", "2018-09-05 06:21:39.492987"]]  (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", "Clyde Bernier"], ["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", "Clyde Bernier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.497652"], ["updated_at", "2018-09-05 06:21:39.497652"]]  (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", "Isaac Wolff"], ["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", "Isaac Wolff"], ["name", "Margene Fahey"], ["address", "Lashaun Towne"], ["created_at", "2018-09-05 06:21:39.502114"], ["updated_at", "2018-09-05 06:21:39.502114"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Catrina Cruickshank"], ["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", "Norene Fritsch"], ["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", "Catrina Cruickshank"], ["name", "Norene Fritsch"], ["created_at", "2018-09-05 06:21:39.507693"], ["updated_at", "2018-09-05 06:21:39.507693"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Emmett Douglas", "name"=>"Orlando Bergstrom", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (0.9ms) 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.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", "Emmett Douglas"], ["service_delivery_unit_id", 5], ["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", 5], ["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", 9], ["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", 5], ["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", "Emmett Douglas"], ["name", "Orlando Bergstrom"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:21:39.522803"], ["updated_at", "2018-09-05 06:21:39.522803"]] 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", 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", "Emmett Douglas"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Emmett Douglas"], ["name", "Orlando Bergstrom"], ["description", "Default bundle for service 'Orlando Bergstrom'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 06:21:39.529545"], ["updated_at", "2018-09-05 06:21:39.529545"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.9ms) 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]]  (1.1ms) 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", 10], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.21ms) Mks::Auth::User Load (0.9ms) 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.22ms) Completed 200 OK in 35ms (Views: 1.7ms | ActiveRecord: 15.6ms)  (0.9ms) 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", "thi@corwinconsidine.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", "Julian Wisoky"], ["last_name", "Cuc Blanda"], ["email", "thi@corwinconsidine.us"], ["password_digest", "$2a$04$/vilihh02B5wozKuDDp8YOC1/XD/wXShE9tTgD3lcEZyWd5KvOEsq"], ["created_at", "2018-09-05 06:21:39.556163"], ["updated_at", "2018-09-05 06:21:39.556163"]]  (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", "Keli Fay"], ["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", "Keli Fay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.562805"], ["updated_at", "2018-09-05 06:21:39.562805"]]  (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", "Jacelyn Sauer"], ["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", "Jacelyn Sauer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.568749"], ["updated_at", "2018-09-05 06:21:39.568749"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Cindi Bernier"], ["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", "Cindi Bernier"], ["name", "Angel Heller"], ["address", "Shakita Runolfsson"], ["created_at", "2018-09-05 06:21:39.574513"], ["updated_at", "2018-09-05 06:21:39.574513"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Savannah Wilderman"], ["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", "Carylon Funk"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Savannah Wilderman"], ["name", "Carylon Funk"], ["created_at", "2018-09-05 06:21:39.582041"], ["updated_at", "2018-09-05 06:21:39.582041"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Corrine Kunze", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.6ms) 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", ""], ["service_delivery_unit_id", 6], ["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", 6], ["LIMIT", 1]] 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", 11], ["LIMIT", 1]] 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", 6], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO 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", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 422 Unprocessable Entity in 37ms (Views: 8.2ms | ActiveRecord: 8.6ms)  (1.1ms) ROLLBACK  (1.8ms) BEGIN  (2.6ms) 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", "teressa_goldner@bosco.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", "Shona Robel"], ["last_name", "Harlan Heathcote"], ["email", "teressa_goldner@bosco.ca"], ["password_digest", "$2a$04$qRShisLgLLURUkgA8UpRMOfjIqNZN6RNfzwIWTHJoDK9zjrq/2PVO"], ["created_at", "2018-09-05 06:21:39.645384"], ["updated_at", "2018-09-05 06:21:39.645384"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Tiny Lockman"], ["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", "Yulanda Kris"], ["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", "Tiny Lockman"], ["name", "Yulanda Kris"], ["created_at", "2018-09-05 06:21:39.656627"], ["updated_at", "2018-09-05 06:21:39.656627"]]  (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", "Carlena Jenkins"], ["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", "Carlena Jenkins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.664158"], ["updated_at", "2018-09-05 06:21:39.664158"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Man Kling"], ["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", "Man Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.671073"], ["updated_at", "2018-09-05 06:21:39.671073"]]  (0.7ms) 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", "Yang Osinski"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yang Osinski"], ["name", "Verona Adams"], ["address", "Willa Howell"], ["created_at", "2018-09-05 06:21:39.677920"], ["updated_at", "2018-09-05 06:21:39.677920"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Shelton Willms"], ["service_delivery_unit_id", 7], ["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", "Shelton Willms"], ["name", "Minh Welch"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:21:39.687688"], ["updated_at", "2018-09-05 06:21:39.687688"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shelton Willms"], ["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", "Shelton Willms"], ["name", "Minh Welch"], ["description", "Default bundle for service 'Minh Welch'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 06:21:39.694895"], ["updated_at", "2018-09-05 06:21:39.694895"]] 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.9ms) 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.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Shelton Willms"], ["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 (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", 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.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 06:21:39.716141"], ["id", 6]] 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", 7], ["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", "Shelton Willms"], ["LIMIT", 1]]  (1.0ms) RELEASE SAVEPOINT active_record_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", 14], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.89ms) Mks::Auth::User Load (0.9ms) 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 35ms (Views: 1.1ms | ActiveRecord: 11.3ms) Mks::Rate::ChargeableService Load (1.2ms) 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.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", "leona.raynor@bradtkegibson.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", "Sharron Wolf"], ["last_name", "Mindy Champlin"], ["email", "leona.raynor@bradtkegibson.ca"], ["password_digest", "$2a$04$hKNew5Dbudg55L9h1oNe1OEI9mhSB9WVf8y26BReI6jqlbjgKyMUW"], ["created_at", "2018-09-05 06:21:39.749384"], ["updated_at", "2018-09-05 06:21:39.749384"]]  (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", "Rosemary Bednar"], ["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", "Wilber Howell"], ["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", "Rosemary Bednar"], ["name", "Wilber Howell"], ["created_at", "2018-09-05 06:21:39.755966"], ["updated_at", "2018-09-05 06:21:39.755966"]]  (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", "Isidro 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", "Isidro Halvorson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.760751"], ["updated_at", "2018-09-05 06:21:39.760751"]]  (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", "Lynell Brakus"], ["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", "Lynell Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.765643"], ["updated_at", "2018-09-05 06:21:39.765643"]]  (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", "Marvin Beer"], ["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", "Marvin Beer"], ["name", "Nam Bechtelar"], ["address", "Maurice Anderson"], ["created_at", "2018-09-05 06:21:39.770096"], ["updated_at", "2018-09-05 06:21:39.770096"]]  (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", "Saran Stracke"], ["service_delivery_unit_id", 8], ["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", "Saran Stracke"], ["name", "Lara Kirlin"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:21:39.774911"], ["updated_at", "2018-09-05 06:21:39.774911"]] 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", 8], ["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", "Saran Stracke"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Saran Stracke"], ["name", "Lara Kirlin"], ["description", "Default bundle for service 'Lara Kirlin'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 06:21:39.781231"], ["updated_at", "2018-09-05 06:21:39.781231"]] 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", 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.9ms) 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.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", "Saran Stracke"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.7ms) 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 (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", 15], ["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", 8], ["LIMIT", 1]]  (0.9ms) 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.09ms) Completed 422 Unprocessable Entity in 17ms (Views: 1.3ms | ActiveRecord: 8.9ms)  (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", "gilda_romaguera@blanda.info"], ["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", "Teodora McKenzie"], ["last_name", "Dotty Walker"], ["email", "gilda_romaguera@blanda.info"], ["password_digest", "$2a$04$QJf4L3NDUEvygAxyKm2bl.wtzhhDkAUG.AniODHMVc9FLCEDDumEi"], ["created_at", "2018-09-05 06:21:39.814532"], ["updated_at", "2018-09-05 06:21:39.814532"]]  (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", "Ione Russel"], ["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", "Ione Russel"], ["name", "Genaro Zboncak"], ["address", "Temeka Marquardt"], ["created_at", "2018-09-05 06:21:39.819436"], ["updated_at", "2018-09-05 06:21:39.819436"]]  (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", "Lakisha 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", "Lakisha Rutherford"], ["name", "Dick Cummerata"], ["address", "Gianna Schumm"], ["created_at", "2018-09-05 06:21:39.824007"], ["updated_at", "2018-09-05 06:21:39.824007"]]  (0.5ms) 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", "Luz Kirlin"], ["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", "Jama Greenholt"], ["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", "Luz Kirlin"], ["name", "Jama Greenholt"], ["created_at", "2018-09-05 06:21:39.830554"], ["updated_at", "2018-09-05 06:21:39.830554"]]  (0.4ms) 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", "Edmond Balistreri"], ["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", "Edmond Balistreri"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.835482"], ["updated_at", "2018-09-05 06:21:39.835482"]]  (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", "Patria Ullrich"], ["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", "Patria Ullrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.840017"], ["updated_at", "2018-09-05 06:21:39.840017"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Sherly Bode"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] 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", 9], ["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", "Sherly Bode"], ["name", "Florentino Beatty"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:21:39.848374"], ["updated_at", "2018-09-05 06:21:39.848374"]] 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", 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", "Sherly Bode"], ["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", "Sherly Bode"], ["name", "Florentino Beatty"], ["description", "Default bundle for service 'Florentino Beatty'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:21:39.854318"], ["updated_at", "2018-09-05 06:21:39.854318"]] 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.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", "Sharron Feest"], ["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", "Ha Goyette"], ["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", "Sharron Feest"], ["name", "Ha Goyette"], ["created_at", "2018-09-05 06:21:39.864276"], ["updated_at", "2018-09-05 06:21:39.864276"]]  (0.7ms) 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", "Mafalda Bogan"], ["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", "Mafalda Bogan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.871145"], ["updated_at", "2018-09-05 06:21:39.871145"]]  (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", "Venice Beer"], ["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", "Venice Beer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.875826"], ["updated_at", "2018-09-05 06:21:39.875826"]]  (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", "Kelly Wuckert"], ["service_delivery_unit_id", 9], ["LIMIT", 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", 9], ["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", "Kelly Wuckert"], ["name", "Colene Rodriguez"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:21:39.883172"], ["updated_at", "2018-09-05 06:21:39.883172"]] 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", 9], ["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", "Kelly Wuckert"], ["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", "Kelly Wuckert"], ["name", "Colene Rodriguez"], ["description", "Default bundle for service 'Colene Rodriguez'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 06:21:39.889528"], ["updated_at", "2018-09-05 06:21:39.889528"]] 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.7ms) 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", "Paulita Mante"], ["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", "Trang Lesch"], ["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", "Paulita Mante"], ["name", "Trang Lesch"], ["created_at", "2018-09-05 06:21:39.898954"], ["updated_at", "2018-09-05 06:21:39.898954"]]  (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", "Ollie Schowalter"], ["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", "Ollie Schowalter"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.903789"], ["updated_at", "2018-09-05 06:21:39.903789"]]  (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", "Roberto McCullough"], ["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", "Roberto McCullough"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.909266"], ["updated_at", "2018-09-05 06:21:39.909266"]]  (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", "Jess Greenholt"], ["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.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", "Jess Greenholt"], ["name", "Numbers Tromp"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:21:39.915581"], ["updated_at", "2018-09-05 06:21:39.915581"]] 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", "Jess Greenholt"], ["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", "Jess Greenholt"], ["name", "Numbers Tromp"], ["description", "Default bundle for service 'Numbers Tromp'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:21:39.920466"], ["updated_at", "2018-09-05 06:21:39.920466"]] 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", 10], ["chargeable_service_id", 10]]  (0.5ms) 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", "Tai Harris"], ["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", "Mohammed McClure"], ["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", "Tai Harris"], ["name", "Mohammed McClure"], ["created_at", "2018-09-05 06:21:39.930304"], ["updated_at", "2018-09-05 06:21:39.930304"]]  (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", "Marty Eichmann"], ["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", "Marty Eichmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.935799"], ["updated_at", "2018-09-05 06:21:39.935799"]]  (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", "Lemuel Armstrong"], ["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", "Lemuel Armstrong"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:39.940354"], ["updated_at", "2018-09-05 06:21:39.940354"]]  (0.5ms) 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", "Carrol Kilback"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] 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", 10], ["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", "Carrol Kilback"], ["name", "Steven Johns"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:21:39.947345"], ["updated_at", "2018-09-05 06:21:39.947345"]] 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", 10], ["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", "Carrol Kilback"], ["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", "Carrol Kilback"], ["name", "Steven Johns"], ["description", "Default bundle for service 'Steven Johns'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 06:21:39.954109"], ["updated_at", "2018-09-05 06:21:39.954109"]] 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", 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.9ms) 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.7ms) 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.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.8ms) 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.7ms) 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.9ms) 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.19ms) Completed 200 OK in 17ms (Views: 7.9ms | ActiveRecord: 7.9ms)  (0.9ms) ROLLBACK  (0.7ms) 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", "evelina@mclaughlin.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", "Jade Stokes"], ["last_name", "Glennis Romaguera"], ["email", "evelina@mclaughlin.biz"], ["password_digest", "$2a$04$RMzOz.D9g40QS1hQMVE5wufEqLRudPmv6G2kTTJK/p1M.KSQ.8J6u"], ["created_at", "2018-09-05 06:21:39.986734"], ["updated_at", "2018-09-05 06:21:39.986734"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (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", "lianne.hills@feeney.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", "Soo Towne"], ["last_name", "Kiesha Connelly"], ["email", "lianne.hills@feeney.info"], ["password_digest", "$2a$04$cEolUqVUZmQIgAp.PFDjW.lDbwlHJBAeudedU0i4oZs6510HUbMFq"], ["created_at", "2018-09-05 06:21:40.011493"], ["updated_at", "2018-09-05 06:21:40.011493"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (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", "jami_langworth@kuhn.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", "Luciana Keebler"], ["last_name", "Sebastian Zboncak"], ["email", "jami_langworth@kuhn.ca"], ["password_digest", "$2a$04$tk8TcdxbtZeNgd2B9XkHnuSKyc4JZACda3dkeCHjNaFbVOe8NZVte"], ["created_at", "2018-09-05 06:21:40.021366"], ["updated_at", "2018-09-05 06:21:40.021366"]]  (0.6ms) 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", "Brian Dach"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.8ms) 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", "Brian Dach"], ["authorized_by", "Ute Homenick"], ["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 06:21:40.027223"], ["updated_at", "2018-09-05 06:21:40.027223"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#index as HTML Mks::Auth::User Load (1.3ms) 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.9ms) 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 06:21:40", updated_at: "2018-09-05 06:21:40"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.4ms) Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 2.9ms)  (1.1ms) 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", "trista.parisian@lehnerkozey.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", "Jacalyn Hammes"], ["last_name", "Elwanda Trantow"], ["email", "trista.parisian@lehnerkozey.com"], ["password_digest", "$2a$04$TvqmPirDdBkTQEj.FTbOFeBcBtVL23FdxZn/CH8BQ5wPSyvS4DSQu"], ["created_at", "2018-09-05 06:21:40.058949"], ["updated_at", "2018-09-05 06:21:40.058949"]]  (0.4ms) 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", "sam@kris.ca"], ["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", "Pearle Hettinger"], ["last_name", "Prince Lubowitz"], ["email", "sam@kris.ca"], ["password_digest", "$2a$04$5YOJS/MHswIbw8GPnU0K8eDJ4sItKwnazRkGTdbHw4ZkXXDrserja"], ["created_at", "2018-09-05 06:21:40.066283"], ["updated_at", "2018-09-05 06:21:40.066283"]]  (0.7ms) 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", "nina@rippinjohnson.info"], ["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", "Jamel Crooks"], ["last_name", "Samuel Block"], ["email", "nina@rippinjohnson.info"], ["password_digest", "$2a$04$TgNN7.dOTTJvvvx4VIzXo.W2uKNC1AIRA8.HS5d5sfn4p2azGrgl2"], ["created_at", "2018-09-05 06:21:40.072568"], ["updated_at", "2018-09-05 06:21:40.072568"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Bell Robel"], ["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", "Bell Robel"], ["authorized_by", "Zelda Runolfsson"], ["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 06:21:40.076956"], ["updated_at", "2018-09-05 06:21:40.076956"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (0.7ms) 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.6ms) 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.62ms) Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 2.0ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.3ms) 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", "mark.shields@muller.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", "Jeannie Weissnat"], ["last_name", "Lashawnda Pfannerstill"], ["email", "mark.shields@muller.biz"], ["password_digest", "$2a$04$5ID8WJJSY9D2tZO8fgLhAetAf7VY4z40cK3.WGp3rH6INO7nkCzo."], ["created_at", "2018-09-05 06:21:40.099729"], ["updated_at", "2018-09-05 06:21:40.099729"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (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", "Oretha Rippin"], ["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", "Abram Hintz"], ["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", "Oretha Rippin"], ["name", "Abram Hintz"], ["created_at", "2018-09-05 06:21:40.109087"], ["updated_at", "2018-09-05 06:21:40.109087"]]  (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", "Sophie Quigley"], ["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", "Sophie Quigley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.113642"], ["updated_at", "2018-09-05 06:21:40.113642"]]  (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", "Ardella Wyman"], ["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", "Ardella Wyman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.118537"], ["updated_at", "2018-09-05 06:21:40.118537"]]  (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", "Gabriela Bartoletti"], ["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", "Gabriela Bartoletti"], ["name", "Jovan Koss"], ["address", "Jesus DuBuque"], ["created_at", "2018-09-05 06:21:40.123391"], ["updated_at", "2018-09-05 06:21:40.123391"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Roberto Littel"], ["service_delivery_unit_id", 11], ["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", "Roberto Littel"], ["name", "Lorene Bernier"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 06:21:40.128579"], ["updated_at", "2018-09-05 06:21:40.128579"]] 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", 11], ["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", "Roberto Littel"], ["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", "Roberto Littel"], ["name", "Lorene Bernier"], ["description", "Default bundle for service 'Lorene Bernier'"], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 06:21:40.135573"], ["updated_at", "2018-09-05 06:21:40.135573"]] 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.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", "Liza Hartmann"], ["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", "Sherly Lakin"], ["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", "Liza Hartmann"], ["name", "Sherly Lakin"], ["created_at", "2018-09-05 06:21:40.146635"], ["updated_at", "2018-09-05 06:21:40.146635"]]  (0.9ms) 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", "Travis Cartwright"], ["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", "Travis Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.154758"], ["updated_at", "2018-09-05 06:21:40.154758"]]  (0.5ms) 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", "Pamula Turcotte"], ["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", "Pamula Turcotte"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.160641"], ["updated_at", "2018-09-05 06:21:40.160641"]]  (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", "Shemika Ritchie"], ["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", "Shemika Ritchie"], ["name", "Magda Conroy"], ["address", "Drusilla Boehm"], ["created_at", "2018-09-05 06:21:40.165818"], ["updated_at", "2018-09-05 06:21:40.165818"]]  (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", "Lon Welch"], ["service_delivery_unit_id", 12], ["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", "Lon Welch"], ["name", "Cindi Lehner"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 06:21:40.170599"], ["updated_at", "2018-09-05 06:21:40.170599"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lon Welch"], ["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", "Lon Welch"], ["name", "Cindi Lehner"], ["description", "Default bundle for service 'Cindi Lehner'"], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 06:21:40.175566"], ["updated_at", "2018-09-05 06:21:40.175566"]] 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", 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", "Bailey Lang"], ["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", "Dianne Moore"], ["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", "Bailey Lang"], ["name", "Dianne Moore"], ["description", "Dolores est harum accusamus totam rerum quae expedita. Ab atque molestias ea accusantium consequuntur. Molestiae est aliquam dolorem quisquam. Est cum omnis quibusdam sequi cupiditate tempora possimus voluptas."], ["created_at", "2018-09-05 06:21:40.253006"], ["updated_at", "2018-09-05 06:21:40.253006"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Ingrid Kirlin"], ["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", "Lilian Hegmann"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (2.4ms) 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", "Ingrid Kirlin"], ["name", "Lilian Hegmann"], ["description", "Optio iusto dolorum impedit nemo est recusandae incidunt ut. Et aut cupiditate id enim omnis commodi blanditiis. Ullam quidem quos dolores itaque velit esse. Optio enim quod dolorem omnis ea quaerat perspiciatis. Illo nulla neque qui assumenda."], ["equipment_type_id", 1], ["created_at", "2018-09-05 06:21:40.261152"], ["updated_at", "2018-09-05 06:21:40.261152"]]  (0.6ms) 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", "Ivey Glover"], ["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", "Ivey Glover"], ["name", "Jacquiline Lynch"], ["description", "Yvonne Bosco"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 06:21:40.269396"], ["updated_at", "2018-09-05 06:21:40.269396"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Colin Ondricka"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Hermina Ernser"], ["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", "Colin Ondricka"], ["name", "Hermina Ernser"], ["description", "Modesto Torp"], ["created_at", "2018-09-05 06:21:40.305096"], ["updated_at", "2018-09-05 06:21:40.305096"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Marylou Orn"], ["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", "Marylou Orn"], ["name", "Wendell Wolff"], ["location_type_id", 1], ["description", "Tressie Jacobs"], ["address", "Myriam Lebsack"], ["created_at", "2018-09-05 06:21:40.312451"], ["updated_at", "2018-09-05 06:21:40.312451"]]  (0.5ms) 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", "Sima Kub"], ["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", "Larita Boyle"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Sima Kub"], ["name", "Clay Walsh"], ["description", "Cristopher Krajcik"], ["serial_number", "Larita Boyle"], ["brand", "Josef Robel"], ["item_model", "Olene Rodriguez"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 06:21:40.322238"], ["updated_at", "2018-09-05 06:21:40.322238"]]  (0.6ms) 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", "Rosaria Buckridge"], ["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", "Sierra Kulas"], ["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", "Rosaria Buckridge"], ["name", "Sierra Kulas"], ["description", "Illum dolorem maxime nihil omnis. Voluptatem eligendi amet animi deserunt. Ut sit aut corrupti praesentium corporis est."], ["created_at", "2018-09-05 06:21:40.330391"], ["updated_at", "2018-09-05 06:21:40.330391"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Blanch Rau"], ["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", "Garret Collier"], ["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", "Blanch Rau"], ["name", "Garret Collier"], ["description", "Omnis maiores et et consequatur incidunt. Excepturi aut et autem error sapiente sunt esse aut. Deleniti eos laudantium vel nam pariatur adipisci."], ["equipment_type_id", 2], ["created_at", "2018-09-05 06:21:40.336343"], ["updated_at", "2018-09-05 06:21:40.336343"]]  (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", "Peter Morissette"], ["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", "Peter Morissette"], ["name", "Shirley Leffler"], ["description", "Mandy McGlynn"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 06:21:40.340658"], ["updated_at", "2018-09-05 06:21:40.340658"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Vasiliki Hartmann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Madonna Beatty"], ["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", "Vasiliki Hartmann"], ["name", "Madonna Beatty"], ["description", "Damian Hills"], ["created_at", "2018-09-05 06:21:40.349139"], ["updated_at", "2018-09-05 06:21:40.349139"]]  (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", "Nia Halvorson"], ["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", "Nia Halvorson"], ["name", "Isela Gulgowski"], ["location_type_id", 2], ["description", "Amie Mosciski"], ["address", "Temika Weissnat"], ["created_at", "2018-09-05 06:21:40.354094"], ["updated_at", "2018-09-05 06:21:40.354094"]]  (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", "Celsa Nader"], ["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", "Marvis Jewess"], ["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", "Celsa Nader"], ["name", "Renaldo Mann"], ["description", "Krystle Streich"], ["serial_number", "Marvis Jewess"], ["brand", "Destiny Ondricka"], ["item_model", "Ramona Gutmann"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 06:21:40.360177"], ["updated_at", "2018-09-05 06:21:40.360177"]]  (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", "bo_king@wuckertsenger.info"], ["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", "Merrilee Crona"], ["last_name", "Daryl Jaskolski"], ["email", "bo_king@wuckertsenger.info"], ["password_digest", "$2a$04$xzxXhdun2gds7NuLmgSjrOmXcMZMfeQDiMbfIbeS6seQhJPX2LPHq"], ["created_at", "2018-09-05 06:21:40.367659"], ["updated_at", "2018-09-05 06:21:40.367659"]]  (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", "chet.rice@roobreichel.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", "Tyson O'Keefe"], ["last_name", "Jesus Osinski"], ["email", "chet.rice@roobreichel.com"], ["password_digest", "$2a$04$3tgTehslvfeWFQwWPIbZUu9TdxZEvQctoTosy6S0ylaHDKYPCCMDy"], ["created_at", "2018-09-05 06:21:40.374896"], ["updated_at", "2018-09-05 06:21:40.374896"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"16", "authorized_by"=>"Tova Feeney", "authorized_on"=>"2018-09-05", "created_by_id"=>"15", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"12", "chargeable_service_name"=>"Cindi Lehner", "equipment_item_id"=>"1", "equipment_item_name"=>"Renaldo Mann", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Teressa Monahan", "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.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", "Teressa Monahan"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.4ms) 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", "Teressa Monahan"], ["authorized_by", "Tova Feeney"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"12\",\"chargeable_service_name\":\"Cindi Lehner\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Renaldo Mann\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 14], ["approved_by_id", 16], ["created_at", "2018-09-05 06:21:40.386019"], ["updated_at", "2018-09-05 06:21:40.386019"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.26ms) Mks::Auth::User Load (1.0ms) 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.43ms) Completed 201 Created in 16ms (Views: 1.7ms | ActiveRecord: 6.0ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.6ms) ROLLBACK  (0.5ms) 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", "callie@krajcikmedhurst.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", "Hanh Kemmer"], ["last_name", "Starr Cremin"], ["email", "callie@krajcikmedhurst.info"], ["password_digest", "$2a$04$wwyk3VlOXivwF.E1ljngxewhE.5XepF5FtDtDNbQ.5vRZRhKyfvYi"], ["created_at", "2018-09-05 06:21:40.409237"], ["updated_at", "2018-09-05 06:21:40.409237"]]  (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", "Chaya Herzog"], ["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", "Kacie Lemke"], ["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", "Chaya Herzog"], ["name", "Kacie Lemke"], ["created_at", "2018-09-05 06:21:40.415910"], ["updated_at", "2018-09-05 06:21:40.415910"]]  (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", "Marcelina 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", "Marcelina Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.420866"], ["updated_at", "2018-09-05 06:21:40.420866"]]  (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", "Johnson Ernser"], ["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", "Johnson Ernser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.426088"], ["updated_at", "2018-09-05 06:21:40.426088"]]  (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", "Arianne Murphy"], ["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", "Arianne Murphy"], ["name", "Lina Kozey"], ["address", "Laverna Bechtelar"], ["created_at", "2018-09-05 06:21:40.430938"], ["updated_at", "2018-09-05 06:21:40.430938"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Ozell Osinski"], ["service_delivery_unit_id", 13], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.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", "Ozell Osinski"], ["name", "Dixie Heaney"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 06:21:40.438539"], ["updated_at", "2018-09-05 06:21:40.438539"]] 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", 13], ["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", "Ozell Osinski"], ["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", "Ozell Osinski"], ["name", "Dixie Heaney"], ["description", "Default bundle for service 'Dixie Heaney'"], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 06:21:40.448568"], ["updated_at", "2018-09-05 06:21:40.448568"]] 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.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", "Jamal Raynor"], ["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", "Nannette Boyle"], ["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", "Jamal Raynor"], ["name", "Nannette Boyle"], ["created_at", "2018-09-05 06:21:40.460244"], ["updated_at", "2018-09-05 06:21:40.460244"]]  (0.4ms) 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", "Dylan Maggio"], ["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", "Dylan Maggio"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.465064"], ["updated_at", "2018-09-05 06:21:40.465064"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Emely Brakus"], ["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", "Emely Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.470659"], ["updated_at", "2018-09-05 06:21:40.470659"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Kenyatta Franecki"], ["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", "Kenyatta Franecki"], ["name", "Meredith McKenzie"], ["address", "Janell Prosacco"], ["created_at", "2018-09-05 06:21:40.477974"], ["updated_at", "2018-09-05 06:21:40.477974"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Nisha Stoltenberg"], ["service_delivery_unit_id", 14], ["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", "Nisha Stoltenberg"], ["name", "Aracelis Stokes"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 06:21:40.485151"], ["updated_at", "2018-09-05 06:21:40.485151"]] 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", 14], ["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", "Nisha Stoltenberg"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Nisha Stoltenberg"], ["name", "Aracelis Stokes"], ["description", "Default bundle for service 'Aracelis Stokes'"], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 06:21:40.492557"], ["updated_at", "2018-09-05 06:21:40.492557"]] 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", 15], ["chargeable_service_id", 15]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Danille Murazik"], ["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", "Lester Stanton"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Danille Murazik"], ["name", "Lester Stanton"], ["description", "Natus eum sint ut rerum et vel. Cumque vero soluta optio rem. Quia inventore vel ullam accusantium nulla. Omnis sequi consequatur occaecati in totam provident. Impedit aut debitis quia quia vel voluptas vero."], ["created_at", "2018-09-05 06:21:40.506606"], ["updated_at", "2018-09-05 06:21:40.506606"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Alberto Turner"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Clarence Gusikowski"], ["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", "Alberto Turner"], ["name", "Clarence Gusikowski"], ["description", "Vitae nam rerum aperiam debitis consequuntur labore ab dolore. Voluptas molestias a repellat voluptatibus at. Ullam consequatur quos laudantium vel quae. Explicabo ullam sed occaecati eos."], ["equipment_type_id", 3], ["created_at", "2018-09-05 06:21:40.516236"], ["updated_at", "2018-09-05 06:21:40.516236"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lillia Hamill"], ["LIMIT", 1]] Mks::Edm::Equipment Create (3.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", "Lillia Hamill"], ["name", "Carline Kilback"], ["description", "Odelia Stamm"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 06:21:40.522268"], ["updated_at", "2018-09-05 06:21:40.522268"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Jacquie Leffler"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Rosaline Funk"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jacquie Leffler"], ["name", "Rosaline Funk"], ["description", "Russel Kessler"], ["created_at", "2018-09-05 06:21:40.534021"], ["updated_at", "2018-09-05 06:21:40.534021"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Carlton Beier"], ["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", "Carlton Beier"], ["name", "Gerald Gorczany"], ["location_type_id", 3], ["description", "Emilie Witting"], ["address", "Arlena Rath"], ["created_at", "2018-09-05 06:21:40.540534"], ["updated_at", "2018-09-05 06:21:40.540534"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Vikki Terry"], ["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", "Theda Nikolaus"], ["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", "Vikki Terry"], ["name", "Tennille Littel"], ["description", "Chung Batz"], ["serial_number", "Theda Nikolaus"], ["brand", "Carli Quigley"], ["item_model", "Dorotha Wehner"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 06:21:40.549181"], ["updated_at", "2018-09-05 06:21:40.549181"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Joya Goyette"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Earlean Von"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Joya Goyette"], ["name", "Earlean Von"], ["description", "Ullam incidunt dicta illo error repudiandae omnis et et. Ut quisquam libero fugit ea voluptas aut consequatur omnis. Ullam quaerat nostrum esse repellendus eveniet at. Distinctio magnam maiores nemo est."], ["created_at", "2018-09-05 06:21:40.562229"], ["updated_at", "2018-09-05 06:21:40.562229"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Marquis Lockman"], ["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", "Lena Kuphal"], ["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", "Marquis Lockman"], ["name", "Lena Kuphal"], ["description", "Voluptate delectus aut sint cumque. Consequatur asperiores doloribus a laborum ad nemo odio dolorem. Porro ipsam assumenda magnam commodi adipisci enim et. Dignissimos perferendis veniam ut natus tempora maxime voluptas est. Beatae sit consequatur alias id reprehenderit ab quis."], ["equipment_type_id", 4], ["created_at", "2018-09-05 06:21:40.569314"], ["updated_at", "2018-09-05 06:21:40.569314"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Noble Casper"], ["LIMIT", 1]] Mks::Edm::Equipment Create (2.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", "Noble Casper"], ["name", "Lester Macejkovic"], ["description", "Hallie Deckow"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 06:21:40.576559"], ["updated_at", "2018-09-05 06:21:40.576559"]]  (1.2ms) 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", "Luisa Lesch"], ["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", "Roni Windler"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Luisa Lesch"], ["name", "Roni Windler"], ["description", "Loria Romaguera"], ["created_at", "2018-09-05 06:21:40.587962"], ["updated_at", "2018-09-05 06:21:40.587962"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Janiece Hudson"], ["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", "Janiece Hudson"], ["name", "Alba Lehner"], ["location_type_id", 4], ["description", "Arianna Cremin"], ["address", "Deana Reichert"], ["created_at", "2018-09-05 06:21:40.594298"], ["updated_at", "2018-09-05 06:21:40.594298"]]  (0.8ms) 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", "Slyvia Grant"], ["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", "Zola Jacobs"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.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", "Slyvia Grant"], ["name", "Allene Dare"], ["description", "Patrica DuBuque"], ["serial_number", "Zola Jacobs"], ["brand", "Yon Emard"], ["item_model", "Lilly Quitzon"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 06:21:40.602641"], ["updated_at", "2018-09-05 06:21:40.602641"]]  (2.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dacia@eichmannchristiansen.co.uk"], ["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", "Roy Pacocha"], ["last_name", "Lean McKenzie"], ["email", "dacia@eichmannchristiansen.co.uk"], ["password_digest", "$2a$04$bWP4WfiS.lhO0RNJghzHKOezT5OPdob5VyJhSWvqW01Ug5RgvLeGW"], ["created_at", "2018-09-05 06:21:40.617016"], ["updated_at", "2018-09-05 06:21:40.617016"]]  (0.8ms) 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", "ira@anderson.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", "Mirta Gerhold"], ["last_name", "Rosemary Koepp"], ["email", "ira@anderson.ca"], ["password_digest", "$2a$04$eWO0R4IZ09NPsPOmyX0OU.nrEE6McP71.Fb1WzPSoKeEx9DQXuOJ6"], ["created_at", "2018-09-05 06:21:40.626440"], ["updated_at", "2018-09-05 06:21:40.626440"]]  (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"=>"Herma Strosin", "authorized_on"=>"2018-09-05", "created_by_id"=>"18", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"14", "chargeable_service_name"=>"Aracelis Stokes", "equipment_item_id"=>"3", "equipment_item_name"=>"Allene Dare", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Tami Reynolds", "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", 17], ["LIMIT", 1]] Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.9ms) 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", "Tami Reynolds"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.7ms) 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", "Tami Reynolds"], ["authorized_by", "Herma Strosin"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"14\",\"chargeable_service_name\":\"Aracelis Stokes\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Allene Dare\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 17], ["approved_by_id", 19], ["created_at", "2018-09-05 06:21:40.638565"], ["updated_at", "2018-09-05 06:21:40.638565"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.37ms) 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.38ms) Completed 201 Created in 17ms (Views: 1.7ms | ActiveRecord: 7.8ms)  (1.7ms) ROLLBACK  (0.6ms) 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", "ella.jerde@hickle.info"], ["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", "Dia Braun"], ["last_name", "Robert Muller"], ["email", "ella.jerde@hickle.info"], ["password_digest", "$2a$04$c3lwSxE7T0fbMKXzUILRjOW.K2OJr15XNG5GyWGC0c.bnvCbc1YvK"], ["created_at", "2018-09-05 06:21:40.658483"], ["updated_at", "2018-09-05 06:21:40.658483"]]  (0.7ms) 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", "Madaline Stracke"], ["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", "Kylee Anderson"], ["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", "Madaline Stracke"], ["name", "Kylee Anderson"], ["created_at", "2018-09-05 06:21:40.667373"], ["updated_at", "2018-09-05 06:21:40.667373"]]  (0.5ms) 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", "Mabelle 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", "Mabelle Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.672659"], ["updated_at", "2018-09-05 06:21:40.672659"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Loyd Casper"], ["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", "Loyd Casper"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.678517"], ["updated_at", "2018-09-05 06:21:40.678517"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Laverne Kovacek"], ["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", "Laverne Kovacek"], ["name", "Shana Altenwerth"], ["address", "Marshall Weissnat"], ["created_at", "2018-09-05 06:21:40.684884"], ["updated_at", "2018-09-05 06:21:40.684884"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (5.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", "Donn Jenkins"], ["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", "Donn Jenkins"], ["name", "Ignacia Barrows"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 06:21:40.695726"], ["updated_at", "2018-09-05 06:21:40.695726"]] 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", 15], ["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", "Donn Jenkins"], ["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", "Donn Jenkins"], ["name", "Ignacia Barrows"], ["description", "Default bundle for service 'Ignacia Barrows'"], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 06:21:40.701492"], ["updated_at", "2018-09-05 06:21:40.701492"]] 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.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", "Luetta Johns"], ["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", "Muriel Hauck"], ["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", "Luetta Johns"], ["name", "Muriel Hauck"], ["created_at", "2018-09-05 06:21:40.711367"], ["updated_at", "2018-09-05 06:21:40.711367"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Marcie Shanahan"], ["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", "Marcie Shanahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.720103"], ["updated_at", "2018-09-05 06:21:40.720103"]]  (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", "Melva Koch"], ["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", "Melva Koch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.726501"], ["updated_at", "2018-09-05 06:21:40.726501"]]  (0.8ms) 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", "Chadwick Beahan"], ["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", "Chadwick Beahan"], ["name", "Madlyn Hansen"], ["address", "Marylou Grimes"], ["created_at", "2018-09-05 06:21:40.732265"], ["updated_at", "2018-09-05 06:21:40.732265"]]  (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", "Aleen Schultz"], ["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", "Aleen Schultz"], ["name", "Robena Predovic"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 06:21:40.737007"], ["updated_at", "2018-09-05 06:21:40.737007"]] 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Aleen Schultz"], ["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", "Aleen Schultz"], ["name", "Robena Predovic"], ["description", "Default bundle for service 'Robena Predovic'"], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 06:21:40.742356"], ["updated_at", "2018-09-05 06:21:40.742356"]] 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", 17], ["chargeable_service_id", 17]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Corina Tremblay"], ["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", "Zoila Stark"], ["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", "Corina Tremblay"], ["name", "Zoila Stark"], ["description", "Dolore unde voluptatum temporibus consequatur vel. Possimus blanditiis ipsam quia non incidunt. Ut fugiat odit quo quos quis sint."], ["created_at", "2018-09-05 06:21:40.752730"], ["updated_at", "2018-09-05 06:21:40.752730"]]  (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", "Jerry Corwin"], ["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", "Jalisa 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", "Jerry Corwin"], ["name", "Jalisa Auer"], ["description", "Quo enim atque non magni. Ut ut sunt tempora pariatur aut animi quo in. Nam possimus dicta animi fugit consequatur molestiae debitis libero. Qui ut non vero quisquam aperiam."], ["equipment_type_id", 5], ["created_at", "2018-09-05 06:21:40.758530"], ["updated_at", "2018-09-05 06:21:40.758530"]]  (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", "Davina Grimes"], ["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", "Davina Grimes"], ["name", "Vinita Parisian"], ["description", "Maira Jerde"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 06:21:40.763229"], ["updated_at", "2018-09-05 06:21:40.763229"]]  (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", "Lena Schaefer"], ["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", "Woodrow Boyer"], ["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", "Lena Schaefer"], ["name", "Woodrow Boyer"], ["description", "Sherell Mitchell"], ["created_at", "2018-09-05 06:21:40.769868"], ["updated_at", "2018-09-05 06:21:40.769868"]]  (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", "Tam Stiedemann"], ["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", "Tam Stiedemann"], ["name", "Charlotte Rohan"], ["location_type_id", 5], ["description", "Brain Schmeler"], ["address", "Tobie Schinner"], ["created_at", "2018-09-05 06:21:40.774781"], ["updated_at", "2018-09-05 06:21:40.774781"]]  (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", "Man Kuhn"], ["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", "Riva Nienow"], ["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", "Man Kuhn"], ["name", "Dee Funk"], ["description", "Anderson Walter"], ["serial_number", "Riva Nienow"], ["brand", "Susanne Kuhlman"], ["item_model", "Shanti Erdman"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 06:21:40.781010"], ["updated_at", "2018-09-05 06:21:40.781010"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Alleen Grady"], ["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", "Rozanne Murphy"], ["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", "Alleen Grady"], ["name", "Rozanne Murphy"], ["description", "Amet quidem et quia omnis. Laborum quasi sint vitae est sit. In est eos vitae quae distinctio corporis."], ["created_at", "2018-09-05 06:21:40.789922"], ["updated_at", "2018-09-05 06:21:40.789922"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Evia Olson"], ["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", "Sang Bahringer"], ["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", "Evia Olson"], ["name", "Sang Bahringer"], ["description", "Et unde facilis provident fugit aut distinctio qui. Assumenda nemo blanditiis minima accusamus est esse voluptate. Dolores temporibus odit rerum unde nihil. Possimus sunt voluptatem magni in. Corrupti iure illum dolores facilis ut pariatur veniam."], ["equipment_type_id", 6], ["created_at", "2018-09-05 06:21:40.796125"], ["updated_at", "2018-09-05 06:21:40.796125"]]  (0.6ms) 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", "Andria White"], ["LIMIT", 1]] Mks::Edm::Equipment Create (2.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", "Andria White"], ["name", "Nicolle Stiedemann"], ["description", "Hoyt Greenfelder"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 06:21:40.801282"], ["updated_at", "2018-09-05 06:21:40.801282"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Flor Hammes"], ["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", "Heriberto Senger"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.3ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Flor Hammes"], ["name", "Heriberto Senger"], ["description", "Ellyn Gutkowski"], ["created_at", "2018-09-05 06:21:40.812956"], ["updated_at", "2018-09-05 06:21:40.812956"]]  (0.7ms) 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", "Jacob Pollich"], ["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", "Jacob Pollich"], ["name", "Katharyn Harvey"], ["location_type_id", 6], ["description", "Elda Adams"], ["address", "Jalisa Sanford"], ["created_at", "2018-09-05 06:21:40.818720"], ["updated_at", "2018-09-05 06:21:40.818720"]]  (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", "Wen Littel"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Migdalia Gaylord"], ["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", "Wen Littel"], ["name", "Maisha Hoppe"], ["description", "Lawerence Murazik"], ["serial_number", "Migdalia Gaylord"], ["brand", "Krissy Frami"], ["item_model", "Ramona Ward"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 06:21:40.825226"], ["updated_at", "2018-09-05 06:21:40.825226"]]  (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", "vincent@huel.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", "Ophelia Dooley"], ["last_name", "Dominique Mills"], ["email", "vincent@huel.us"], ["password_digest", "$2a$04$OL04KVemd4GXup/Yt34NculByH7nC0Z3dSwTZb3u73OSe/TGN8STm"], ["created_at", "2018-09-05 06:21:40.832861"], ["updated_at", "2018-09-05 06:21:40.832861"]]  (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", "barry@hintz.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", "Emeline Crooks"], ["last_name", "Wayne Veum"], ["email", "barry@hintz.info"], ["password_digest", "$2a$04$FmCaH2aikC.gyyFE/GWyNuNxWOJUTQDrivywJzEpTwOLCjLlHpir6"], ["created_at", "2018-09-05 06:21:40.839346"], ["updated_at", "2018-09-05 06:21:40.839346"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"22", "authorized_by"=>"Dwayne Swaniawski", "authorized_on"=>"2018-09-05", "created_by_id"=>"21", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"16", "chargeable_service_name"=>"Robena Predovic", "equipment_item_id"=>"5", "equipment_item_name"=>"Maisha Hoppe", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}} Mks::Auth::User Load (1.0ms) 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.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]]  (0.6ms) 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", ""], ["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.08ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.1ms | ActiveRecord: 5.1ms)  (0.7ms) 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", "opal_abbott@schusterswift.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", "Sherise O'Connell"], ["last_name", "Tanya Abernathy"], ["email", "opal_abbott@schusterswift.com"], ["password_digest", "$2a$04$PGJB6VhXIJ0D9OXRwEFq4uIe7K6edF79wrbIrBniTb/m4yO4C.nPa"], ["created_at", "2018-09-05 06:21:40.863463"], ["updated_at", "2018-09-05 06:21:40.863463"]]  (0.6ms) 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", "earline@kleinmetz.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", "Lady Renner"], ["last_name", "Mei Quigley"], ["email", "earline@kleinmetz.ca"], ["password_digest", "$2a$04$SHUrx12u.xDP6WdN7/dqm.Q5PkkaowgnU3k0aEQ6fS7M06IrFoZQO"], ["created_at", "2018-09-05 06:21:40.870644"], ["updated_at", "2018-09-05 06:21:40.870644"]]  (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", "dominica@oga.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", "Jimmie Medhurst"], ["last_name", "Ching Hudson"], ["email", "dominica@oga.name"], ["password_digest", "$2a$04$351Vv/NaYGk.Q1020bMDD.w7NxIeuDef2IhEHepTsHJ6qlPEvJYYq"], ["created_at", "2018-09-05 06:21:40.877276"], ["updated_at", "2018-09-05 06:21:40.877276"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Tandy Mills"], ["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", "Tandy Mills"], ["authorized_by", "Ngoc Quigley"], ["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 06:21:40.882104"], ["updated_at", "2018-09-05 06:21:40.882104"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Akilah Casper"}, "id"=>"5"} Mks::Auth::User Load (1.3ms) 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.5ms) 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.9ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Tandy Mills"], ["id", 5], ["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", 24], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.2ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Akilah Casper"], ["updated_at", "2018-09-05 06:21:40.899530"], ["id", 5]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.17ms) Mks::Auth::User Load (1.2ms) 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.35ms) Completed 200 OK in 20ms (Views: 1.4ms | ActiveRecord: 9.2ms) 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", 5], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) 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", "sang_ullrich@senger.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", "Rolf Bartell"], ["last_name", "Darcie Thiel"], ["email", "sang_ullrich@senger.co.uk"], ["password_digest", "$2a$04$h0s0VY88dM6Igv1I0btmjueVJnLYFMWxKqxIGb7/tpX6y.dR9eEJ6"], ["created_at", "2018-09-05 06:21:40.917333"], ["updated_at", "2018-09-05 06:21:40.917333"]]  (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", "mitchel.pfeffer@bergnaumjohns.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", "Richie Raynor"], ["last_name", "Migdalia Powlowski"], ["email", "mitchel.pfeffer@bergnaumjohns.info"], ["password_digest", "$2a$04$dXSAd6iDNodTM02O48AkF.IMsPJX8TWIsbHlO7eFvrr3WXghEM.oa"], ["created_at", "2018-09-05 06:21:40.924990"], ["updated_at", "2018-09-05 06:21:40.924990"]]  (0.7ms) 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", "hal@jacobson.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", "Marlo Ryan"], ["last_name", "Lili Koepp"], ["email", "hal@jacobson.ca"], ["password_digest", "$2a$04$sMlflDdMjdwOWrt9qiQJ5e5gmLYs7v/m0W9CBtgHqOCahRlEkJjs2"], ["created_at", "2018-09-05 06:21:40.932678"], ["updated_at", "2018-09-05 06:21:40.932678"]]  (0.6ms) 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", "Dyan Schultz"], ["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", "Dyan Schultz"], ["authorized_by", "Norberto Schaefer"], ["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 06:21:40.937867"], ["updated_at", "2018-09-05 06:21:40.937867"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (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", "Amira Hauck"], ["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", "Adria Prosacco"], ["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", "Amira Hauck"], ["name", "Adria Prosacco"], ["created_at", "2018-09-05 06:21:40.945812"], ["updated_at", "2018-09-05 06:21:40.945812"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Boris Donnelly"], ["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", "Boris Donnelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.953545"], ["updated_at", "2018-09-05 06:21:40.953545"]]  (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", "Benny Tremblay"], ["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", "Benny Tremblay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.958587"], ["updated_at", "2018-09-05 06:21:40.958587"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Evonne Homenick"], ["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", "Evonne Homenick"], ["name", "Olivia Grant"], ["address", "Jerrod Schiller"], ["created_at", "2018-09-05 06:21:40.966694"], ["updated_at", "2018-09-05 06:21:40.966694"]]  (0.6ms) 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", "Beau Schulist"], ["service_delivery_unit_id", 17], ["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", "Beau Schulist"], ["name", "Toya Metz"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 06:21:40.972773"], ["updated_at", "2018-09-05 06:21:40.972773"]] 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", 17], ["LIMIT", 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", "Beau Schulist"], ["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", "Beau Schulist"], ["name", "Toya Metz"], ["description", "Default bundle for service 'Toya Metz'"], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 06:21:40.980842"], ["updated_at", "2018-09-05 06:21:40.980842"]] 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", 18], ["chargeable_service_id", 18]]  (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", "Antoinette Koelpin"], ["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", "Yael Lang"], ["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", "Antoinette Koelpin"], ["name", "Yael Lang"], ["created_at", "2018-09-05 06:21:40.990526"], ["updated_at", "2018-09-05 06:21:40.990526"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Elayne Marvin"], ["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", "Elayne Marvin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:40.996178"], ["updated_at", "2018-09-05 06:21:40.996178"]]  (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", "Kathern Schumm"], ["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", "Kathern Schumm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:41.001439"], ["updated_at", "2018-09-05 06:21:41.001439"]]  (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", "Genevie Ledner"], ["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", "Genevie Ledner"], ["name", "Roger Balistreri"], ["address", "Dan Little"], ["created_at", "2018-09-05 06:21:41.006206"], ["updated_at", "2018-09-05 06:21:41.006206"]]  (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", "Myles Fadel"], ["service_delivery_unit_id", 18], ["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", "Myles Fadel"], ["name", "Hannah Davis"], ["service_type_id", 20], ["base_unit_id", 39], ["utilization_unit_id", 40], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 06:21:41.011077"], ["updated_at", "2018-09-05 06:21:41.011077"]] 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", 18], ["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", "Myles Fadel"], ["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", "Myles Fadel"], ["name", "Hannah Davis"], ["description", "Default bundle for service 'Hannah Davis'"], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 06:21:41.016333"], ["updated_at", "2018-09-05 06:21:41.016333"]] 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", 19], ["chargeable_service_id", 19]]  (0.7ms) 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", "Regan Shanahan"], ["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", "Kenneth Langworth"], ["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", "Regan Shanahan"], ["name", "Kenneth Langworth"], ["description", "Quasi aut voluptatem nihil eaque doloremque sequi tempora. Sit dolore nihil aliquid maxime adipisci. Impedit consequatur quia praesentium rerum sed ut sequi ab. Quisquam et amet nemo omnis est."], ["created_at", "2018-09-05 06:21:41.026255"], ["updated_at", "2018-09-05 06:21:41.026255"]]  (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", "Heath Huels"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Anissa Conn"], ["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", "Heath Huels"], ["name", "Anissa Conn"], ["description", "Reprehenderit incidunt in sed ullam eveniet omnis. Voluptatibus doloribus asperiores saepe consectetur harum dolorum. Alias in odit optio est officia."], ["equipment_type_id", 7], ["created_at", "2018-09-05 06:21:41.032871"], ["updated_at", "2018-09-05 06:21:41.032871"]]  (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", "Melonie Johnston"], ["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", "Melonie Johnston"], ["name", "Eufemia Quigley"], ["description", "Christal Trantow"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 06:21:41.037788"], ["updated_at", "2018-09-05 06:21:41.037788"]]  (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", "Zenia Walker"], ["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", "Janise Balistreri"], ["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", "Zenia Walker"], ["name", "Janise Balistreri"], ["description", "Tamisha Romaguera"], ["created_at", "2018-09-05 06:21:41.043934"], ["updated_at", "2018-09-05 06:21:41.043934"]]  (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", "Reynalda Bauch"], ["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", "Reynalda Bauch"], ["name", "Ward Kessler"], ["location_type_id", 7], ["description", "Eldora McClure"], ["address", "Stella Schmeler"], ["created_at", "2018-09-05 06:21:41.048337"], ["updated_at", "2018-09-05 06:21:41.048337"]]  (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", "Rigoberto Hermiston"], ["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", "Deshawn Cartwright"], ["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", "Rigoberto Hermiston"], ["name", "Joella Wintheiser"], ["description", "Hollie Reynolds"], ["serial_number", "Deshawn Cartwright"], ["brand", "Juliann Jast"], ["item_model", "Vicente Johnson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 06:21:41.054347"], ["updated_at", "2018-09-05 06:21:41.054347"]]  (0.5ms) 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", "Elvera Koss"], ["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", "Earnestine Miller"], ["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", "Elvera Koss"], ["name", "Earnestine Miller"], ["description", "Assumenda est expedita molestiae explicabo voluptates earum doloremque. Sit eum impedit nemo optio voluptatem repellat harum. Eum consequatur quidem deleniti aut ad ab odit sequi. Autem modi molestiae enim sit temporibus voluptatibus. Quod molestias quia qui perspiciatis."], ["created_at", "2018-09-05 06:21:41.061940"], ["updated_at", "2018-09-05 06:21:41.061940"]]  (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", "Natalya Rippin"], ["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", "Laticia Lindgren"], ["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", "Natalya Rippin"], ["name", "Laticia Lindgren"], ["description", "Doloremque aliquid autem aut ut tenetur dolores sint. Libero aut omnis possimus suscipit pariatur eius. Et repellat totam et ex. Ut quibusdam repellendus qui maxime tempora."], ["equipment_type_id", 8], ["created_at", "2018-09-05 06:21:41.068669"], ["updated_at", "2018-09-05 06:21:41.068669"]]  (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", "Theresia Kirlin"], ["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", "Theresia Kirlin"], ["name", "Yan Murray"], ["description", "Xenia Schroeder"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 06:21:41.073170"], ["updated_at", "2018-09-05 06:21:41.073170"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Viviana Lowe"], ["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", "Bok Bednar"], ["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", "Viviana Lowe"], ["name", "Bok Bednar"], ["description", "Winford Kovacek"], ["created_at", "2018-09-05 06:21:41.080151"], ["updated_at", "2018-09-05 06:21:41.080151"]]  (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", "Tamika Hills"], ["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", "Tamika Hills"], ["name", "Lilla Goyette"], ["location_type_id", 8], ["description", "Kaleigh Yost"], ["address", "Felipa Dare"], ["created_at", "2018-09-05 06:21:41.084408"], ["updated_at", "2018-09-05 06:21:41.084408"]]  (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", "Thomas Lind"], ["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", "Kamilah Huels"], ["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", "Thomas Lind"], ["name", "Tyler Crona"], ["description", "Josette Krajcik"], ["serial_number", "Kamilah Huels"], ["brand", "Taryn Weimann"], ["item_model", "Simon Paucek"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 06:21:41.089674"], ["updated_at", "2018-09-05 06:21:41.089674"]]  (0.6ms) 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", "manual.bauch@zemlak.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", "Breann Borer"], ["last_name", "Mardell Langworth"], ["email", "manual.bauch@zemlak.co.uk"], ["password_digest", "$2a$04$hKjgdXAX0o61EiAlpiMeJuR8zbolz6nZMPNgAkfzBldw9tD96Ucf."], ["created_at", "2018-09-05 06:21:41.096548"], ["updated_at", "2018-09-05 06:21:41.096548"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (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", "danille.runolfsson@skiles.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", "Graham Lynch"], ["last_name", "Fausto Mitchell"], ["email", "danille.runolfsson@skiles.com"], ["password_digest", "$2a$04$2kuxeN9a297u3/lO9x225ONu/VS.DxJ1dDERUO6.dAta.dRty21sq"], ["created_at", "2018-09-05 06:21:41.103805"], ["updated_at", "2018-09-05 06:21:41.103805"]]  (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"=>"Tomoko Hansen", "authorized_on"=>"2018-09-05", "created_by_id"=>"29", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"18", "chargeable_service_name"=>"Hannah Davis", "equipment_item_id"=>"7", "equipment_item_name"=>"Tyler Crona", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Eustolia Goodwin", "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.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.6ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Eustolia Goodwin"], ["id", 6], ["LIMIT", 1]] Mks::Auth::User Load (1.0ms) 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.1ms) 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", "Eustolia Goodwin"], ["authorized_by", "Tomoko Hansen"], ["created_by_id", 29], ["approved_by_id", 30], ["rates", "[{\"chargeable_service_id\":\"18\",\"chargeable_service_name\":\"Hannah Davis\",\"equipment_item_id\":\"7\",\"equipment_item_name\":\"Tyler Crona\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["updated_at", "2018-09-05 06:21:41.116033"], ["id", 6]]  (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", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.35ms) Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 6.7ms)  (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", "thao_boehm@kesslerrobel.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", "Latrice Hamill"], ["last_name", "Retha Muller"], ["email", "thao_boehm@kesslerrobel.us"], ["password_digest", "$2a$04$OxomCqPOTwgknJma55zbV.434Qc0rJykspsb4m1jXcp/w/Xgffl56"], ["created_at", "2018-09-05 06:21:41.129449"], ["updated_at", "2018-09-05 06:21:41.129449"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "rachell_lemke@morissette.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", "Katelin O'Kon"], ["last_name", "Terrie Schmeler"], ["email", "rachell_lemke@morissette.us"], ["password_digest", "$2a$04$IkZabNDv/Rj0/zcemkT5.OcA/kuTWZBN8IFEmg2j/rQXdRPHNMDCK"], ["created_at", "2018-09-05 06:21:41.137697"], ["updated_at", "2018-09-05 06:21:41.137697"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "elane@rennerhauck.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", "Gwen Tillman"], ["last_name", "Sunshine Ebert"], ["email", "elane@rennerhauck.co.uk"], ["password_digest", "$2a$04$H3rm5OW9QUTBbGiXvxzmzukFrS/trfNWz5qB4iKUfRiM7XXhFwkP2"], ["created_at", "2018-09-05 06:21:41.144829"], ["updated_at", "2018-09-05 06:21:41.144829"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Lucille Schinner"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (0.8ms) 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", "Lucille Schinner"], ["authorized_by", "Vannessa Miller"], ["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 06:21:41.149192"], ["updated_at", "2018-09-05 06:21:41.149192"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Marvel Little"], ["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", "Valentine Nikolaus"], ["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", "Marvel Little"], ["name", "Valentine Nikolaus"], ["created_at", "2018-09-05 06:21:41.155150"], ["updated_at", "2018-09-05 06:21:41.155150"]]  (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", "Deidre Crist"], ["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", "Deidre Crist"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:41.161005"], ["updated_at", "2018-09-05 06:21:41.161005"]]  (0.6ms) 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", "Darell Daniel"], ["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", "Darell Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:41.166258"], ["updated_at", "2018-09-05 06:21:41.166258"]]  (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", "George Hegmann"], ["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", "George Hegmann"], ["name", "Philip Torphy"], ["address", "Keren Pfannerstill"], ["created_at", "2018-09-05 06:21:41.170726"], ["updated_at", "2018-09-05 06:21:41.170726"]]  (0.4ms) 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", "Lizzie O'Connell"], ["service_delivery_unit_id", 19], ["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", "Lizzie O'Connell"], ["name", "Lyda Upton"], ["service_type_id", 21], ["base_unit_id", 41], ["utilization_unit_id", 42], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 06:21:41.175351"], ["updated_at", "2018-09-05 06:21:41.175351"]] 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", 19], ["LIMIT", 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", "Lizzie O'Connell"], ["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", "Lizzie O'Connell"], ["name", "Lyda Upton"], ["description", "Default bundle for service 'Lyda Upton'"], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 06:21:41.183678"], ["updated_at", "2018-09-05 06:21:41.183678"]] 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", 20], ["chargeable_service_id", 20]]  (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", "Yuonne Lesch"], ["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", "Melody Kuhlman"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Yuonne Lesch"], ["name", "Melody Kuhlman"], ["created_at", "2018-09-05 06:21:41.192004"], ["updated_at", "2018-09-05 06:21:41.192004"]]  (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", "Katelin West"], ["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", "Katelin West"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:41.196370"], ["updated_at", "2018-09-05 06:21:41.196370"]]  (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", "Jeffery Rohan"], ["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", "Jeffery Rohan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:41.201220"], ["updated_at", "2018-09-05 06:21:41.201220"]]  (0.8ms) 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", "Sandy Schultz"], ["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", "Sandy Schultz"], ["name", "Layne Gleichner"], ["address", "Arnette Reynolds"], ["created_at", "2018-09-05 06:21:41.207046"], ["updated_at", "2018-09-05 06:21:41.207046"]]  (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", "Jermaine Bergnaum"], ["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", "Jermaine Bergnaum"], ["name", "Kacie Reichel"], ["service_type_id", 22], ["base_unit_id", 43], ["utilization_unit_id", 44], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 06:21:41.211898"], ["updated_at", "2018-09-05 06:21:41.211898"]] 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", 20], ["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", "Jermaine Bergnaum"], ["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", "Jermaine Bergnaum"], ["name", "Kacie Reichel"], ["description", "Default bundle for service 'Kacie Reichel'"], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 06:21:41.216914"], ["updated_at", "2018-09-05 06:21:41.216914"]] 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 (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Melodie Nicolas"], ["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", "Jordan Lockman"], ["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", "Melodie Nicolas"], ["name", "Jordan Lockman"], ["description", "Impedit et non laboriosam similique odit unde quae cupiditate. Beatae et aliquam magni nihil. Quis laborum dolores quis dicta voluptates natus."], ["created_at", "2018-09-05 06:21:41.226466"], ["updated_at", "2018-09-05 06:21:41.226466"]]  (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", "Donte Prohaska"], ["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", "Deborah Stanton"], ["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", "Donte Prohaska"], ["name", "Deborah Stanton"], ["description", "Pariatur sunt earum repudiandae architecto consequatur quas. Perferendis mollitia distinctio similique qui. Commodi consequuntur rerum ex sint. Natus perferendis similique vero facere ut."], ["equipment_type_id", 9], ["created_at", "2018-09-05 06:21:41.232731"], ["updated_at", "2018-09-05 06:21:41.232731"]]  (0.6ms) 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", "Muriel Hermiston"], ["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", "Muriel Hermiston"], ["name", "Ernie Witting"], ["description", "Mckenzie Crona"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 06:21:41.237542"], ["updated_at", "2018-09-05 06:21:41.237542"]]  (0.8ms) 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", "Su Orn"], ["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", "Shayne Rath"], ["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", "Su Orn"], ["name", "Shayne Rath"], ["description", "Marilyn Skiles"], ["created_at", "2018-09-05 06:21:41.245030"], ["updated_at", "2018-09-05 06:21:41.245030"]]  (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", "Valene Conroy"], ["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", "Valene Conroy"], ["name", "Buena Emmerich"], ["location_type_id", 9], ["description", "Mei Considine"], ["address", "Bernadine Kunde"], ["created_at", "2018-09-05 06:21:41.249639"], ["updated_at", "2018-09-05 06:21:41.249639"]]  (0.5ms) 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", "Stacey Kuphal"], ["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", "Tyler Fay"], ["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", "Stacey Kuphal"], ["name", "Arlen Ernser"], ["description", "Ludivina Conroy"], ["serial_number", "Tyler Fay"], ["brand", "Oleta Streich"], ["item_model", "Milly Skiles"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 06:21:41.255314"], ["updated_at", "2018-09-05 06:21:41.255314"]]  (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", "Carey Gerlach"], ["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", "Demarcus Dooley"], ["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", "Carey Gerlach"], ["name", "Demarcus Dooley"], ["description", "Molestiae ab sit quidem nesciunt hic. Nisi natus quis temporibus eaque quia voluptate est. Sit non expedita in modi nihil necessitatibus natus."], ["created_at", "2018-09-05 06:21:41.262552"], ["updated_at", "2018-09-05 06:21:41.262552"]]  (0.7ms) 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", "Trina Bergnaum"], ["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", "Margaret Ritchie"], ["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", "Trina Bergnaum"], ["name", "Margaret Ritchie"], ["description", "Tenetur impedit eveniet blanditiis recusandae et. Harum nam dolores non inventore perspiciatis a. Illum iusto porro neque velit odit accusantium modi vitae. Repudiandae nesciunt eos quae asperiores. Qui illum tempora dolores debitis."], ["equipment_type_id", 10], ["created_at", "2018-09-05 06:21:41.268321"], ["updated_at", "2018-09-05 06:21:41.268321"]]  (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", "Machelle Conroy"], ["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", "Machelle Conroy"], ["name", "Loralee Swift"], ["description", "Shanna Wolff"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 06:21:41.273003"], ["updated_at", "2018-09-05 06:21:41.273003"]]  (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", "Yelena Wilderman"], ["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", "Jacqualine Connelly"], ["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", "Yelena Wilderman"], ["name", "Jacqualine Connelly"], ["description", "Anastacia Hodkiewicz"], ["created_at", "2018-09-05 06:21:41.279384"], ["updated_at", "2018-09-05 06:21:41.279384"]]  (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", "Jana Ledner"], ["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", "Jana Ledner"], ["name", "Iris Rohan"], ["location_type_id", 10], ["description", "Wm Hagenes"], ["address", "Rosita Rau"], ["created_at", "2018-09-05 06:21:41.283470"], ["updated_at", "2018-09-05 06:21:41.283470"]]  (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", "Royce Zulauf"], ["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", "Johnsie Murray"], ["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", "Royce Zulauf"], ["name", "Janyce Kuhlman"], ["description", "Juan Jacobson"], ["serial_number", "Johnsie Murray"], ["brand", "Diann Metz"], ["item_model", "Dulce Kautzer"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 06:21:41.288592"], ["updated_at", "2018-09-05 06:21:41.288592"]]  (0.5ms) 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", "nora.prosacco@douglas.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", "Roma Sipes"], ["last_name", "Carlena Flatley"], ["email", "nora.prosacco@douglas.co.uk"], ["password_digest", "$2a$04$lE7r2W36QApFygN3O/SN6OMbYDaFTC94mt6.xB0u.1FKSN6o9EowK"], ["created_at", "2018-09-05 06:21:41.295682"], ["updated_at", "2018-09-05 06:21:41.295682"]]  (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", "rory.marvin@cartwright.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", "Cole Kulas"], ["last_name", "Brigette Pouros"], ["email", "rory.marvin@cartwright.info"], ["password_digest", "$2a$04$PZTRGD0z75V922W7nXHt0OSr7A3Y4iapfqAB279HUPK.OUskqHYCG"], ["created_at", "2018-09-05 06:21:41.302268"], ["updated_at", "2018-09-05 06:21:41.302268"]]  (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"=>"Kristie O'Connell", "authorized_on"=>"2018-09-05", "created_by_id"=>"34", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"20", "chargeable_service_name"=>"Kacie Reichel", "equipment_item_id"=>"9", "equipment_item_name"=>"Janyce Kuhlman", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}, "id"=>"7"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] 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", 7], ["LIMIT", 1]]  (0.8ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", ""], ["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", 34], ["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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 6.1ms)  (1.1ms) ROLLBACK  (0.6ms) 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", "donn_stanton@kuhicmills.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", "Darci Thiel"], ["last_name", "Garland Macejkovic"], ["email", "donn_stanton@kuhicmills.us"], ["password_digest", "$2a$04$.y1owFe3hBOO1ln649uw5u2Ugv/6J/G.NqBm3hlAiw/IogVOuYY0O"], ["created_at", "2018-09-05 06:21:41.330473"], ["updated_at", "2018-09-05 06:21:41.330473"]]  (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", "Sherilyn Russel"], ["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", "Sherilyn Russel"], ["name", "Lakendra Howell"], ["address", "Veronika Kreiger"], ["created_at", "2018-09-05 06:21:41.335605"], ["updated_at", "2018-09-05 06:21:41.335605"]]  (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", "Torie McCullough"], ["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", "Torie McCullough"], ["name", "Karan Murray"], ["description", "Shameka Dach"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 06:21:41.339872"], ["updated_at", "2018-09-05 06:21:41.339872"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML Mks::Auth::User Load (1.5ms) 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 (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", 21], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.46ms) Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 3.8ms)  (1.2ms) ROLLBACK  (0.8ms) 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", "louella.bahringer@kuhlman.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", "Elin Reynolds"], ["last_name", "Adelaida Murray"], ["email", "louella.bahringer@kuhlman.co.uk"], ["password_digest", "$2a$04$ghIT7YrxNOnHktV8jlJ9we5pFeYXMF6thbO/UoVC9AK2xxcwY/hNa"], ["created_at", "2018-09-05 06:21:41.365370"], ["updated_at", "2018-09-05 06:21:41.365370"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Blythe Koepp"], ["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", "Blythe Koepp"], ["name", "Zola Nicolas"], ["address", "Larhonda Mohr"], ["created_at", "2018-09-05 06:21:41.370323"], ["updated_at", "2018-09-05 06:21:41.370323"]]  (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", "Joselyn Hermann"], ["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", "Joselyn Hermann"], ["name", "Norberto Spencer"], ["description", "Harlan Hudson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 06:21:41.375167"], ["updated_at", "2018-09-05 06:21:41.375167"]]  (1.1ms) 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", "Albertine Murphy"], ["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", "Albertine Murphy"], ["name", "Asley Cruickshank"], ["description", "Jeraldine Crooks"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 06:21:41.383604"], ["updated_at", "2018-09-05 06:21:41.383604"]]  (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", "Dwight Murphy"], ["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", "Dwight Murphy"], ["name", "Judie Senger"], ["description", "Drema Gutkowski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 06:21:41.389851"], ["updated_at", "2018-09-05 06:21:41.389851"]]  (0.5ms) 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.9ms) 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 (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", 22], ["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", 22], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.61ms) Completed 200 OK in 12ms (Views: 5.4ms | ActiveRecord: 5.2ms)  (0.7ms) ROLLBACK  (0.5ms) 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", "latesha@dooley.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", "Lacy Schmeler"], ["last_name", "Charlesetta Ferry"], ["email", "latesha@dooley.com"], ["password_digest", "$2a$04$QMyix5hqyPJUNSWL6dLasulJwzAugdbVRzJA4Xr6LDagbrGCj3Nry"], ["created_at", "2018-09-05 06:21:41.414418"], ["updated_at", "2018-09-05 06:21:41.414418"]]  (0.7ms) 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", "Eden Treutel"], ["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", "Eden Treutel"], ["name", "Carson Lang"], ["address", "Mitsue Kilback"], ["created_at", "2018-09-05 06:21:41.420962"], ["updated_at", "2018-09-05 06:21:41.420962"]]  (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", "Cecily Emmerich"], ["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", "Cecily Emmerich"], ["name", "Lulu Hane"], ["description", "Stefania Leuschke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 06:21:41.425938"], ["updated_at", "2018-09-05 06:21:41.425938"]]  (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", "Jennifer Quigley"], ["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", "Jennifer Quigley"], ["name", "Jacinto Terry"], ["description", "Bunny Daniel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 06:21:41.430820"], ["updated_at", "2018-09-05 06:21:41.430820"]]  (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", "Ashely Gusikowski"], ["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", "Ashely Gusikowski"], ["name", "Kendall Paucek"], ["description", "Christinia Kihn"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 06:21:41.436007"], ["updated_at", "2018-09-05 06:21:41.436007"]]  (0.7ms) RELEASE SAVEPOINT active_record_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", "Fabian Satterfield"], ["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", "Fabian Satterfield"], ["name", "Gretta Lemke"], ["address", "Marnie Rice"], ["created_at", "2018-09-05 06:21:41.441928"], ["updated_at", "2018-09-05 06:21:41.441928"]]  (3.5ms) RELEASE SAVEPOINT active_record_1  (2.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "May Hansen"], ["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", "May Hansen"], ["name", "Will Bins"], ["description", "Na Kunde"], ["percent_discount", 100.0], ["service_delivery_unit_id", 24], ["created_at", "2018-09-05 06:21:41.454329"], ["updated_at", "2018-09-05 06:21:41.454329"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (2.7ms) 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", "Holli Schaden"], ["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", "Holli Schaden"], ["name", "Benjamin Mertz"], ["address", "Scottie Flatley"], ["created_at", "2018-09-05 06:21:41.467282"], ["updated_at", "2018-09-05 06:21:41.467282"]]  (0.6ms) 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", "Elisa Schamberger"], ["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", "Elisa Schamberger"], ["name", "Chong Walsh"], ["description", "Hyacinth Kilback"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 06:21:41.472830"], ["updated_at", "2018-09-05 06:21:41.472830"]]  (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", "Larisa 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", "Larisa Wiegand"], ["name", "Oren Connelly"], ["address", "Ileana Auer"], ["created_at", "2018-09-05 06:21:41.479018"], ["updated_at", "2018-09-05 06:21:41.479018"]]  (0.4ms) 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", "Rubye O'Connell"], ["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", "Rubye O'Connell"], ["name", "Tish Sauer"], ["description", "Kate McKenzie"], ["percent_discount", 100.0], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 06:21:41.483282"], ["updated_at", "2018-09-05 06:21:41.483282"]]  (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.6ms) 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.8ms) 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.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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.25ms) Completed 200 OK in 9ms (Views: 3.9ms | ActiveRecord: 3.9ms)  (0.7ms) 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", "jacqulyn@king.ca"], ["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", "Shondra Skiles"], ["last_name", "Teisha Kreiger"], ["email", "jacqulyn@king.ca"], ["password_digest", "$2a$04$UYAhn3CN3vccJHTQytdXeepWPz/grUayLvpz3dmvPE5erVPU1SjJW"], ["created_at", "2018-09-05 06:21:41.502765"], ["updated_at", "2018-09-05 06:21:41.502765"]]  (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", "Tynisha Rowe"], ["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", "Tynisha Rowe"], ["name", "Thresa Blanda"], ["address", "Tanisha Upton"], ["created_at", "2018-09-05 06:21:41.508729"], ["updated_at", "2018-09-05 06:21:41.508729"]]  (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", "Klara Dietrich"], ["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", "Klara Dietrich"], ["name", "Mitchel Romaguera"], ["description", "Ivory Walker"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 06:21:41.512981"], ["updated_at", "2018-09-05 06:21:41.512981"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"32"} Mks::Auth::User Load (1.0ms) 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.8ms) 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 (0.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 (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", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.92ms) Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 3.5ms)  (1.2ms) ROLLBACK  (0.5ms) 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", "cinderella@prosacco.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", "Charley Howe"], ["last_name", "Teresa Nicolas"], ["email", "cinderella@prosacco.biz"], ["password_digest", "$2a$04$ZdecLLQSy4gTTQqDgjqnz.6zlsmfKS5lnfjRKXsi2WQA7x/yYjPb."], ["created_at", "2018-09-05 06:21:41.534500"], ["updated_at", "2018-09-05 06:21:41.534500"]]  (1.1ms) 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", "Carlo Blick"], ["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", "Carlo Blick"], ["name", "Modesta Crona"], ["address", "Reanna Haag"], ["created_at", "2018-09-05 06:21:41.541529"], ["updated_at", "2018-09-05 06:21:41.541529"]]  (1.2ms) 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", "Broderick Schmidt"], ["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", "Broderick Schmidt"], ["name", "First Service Bundle"], ["description", "Sheldon Larson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 06:21:41.549347"], ["updated_at", "2018-09-05 06:21:41.549347"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Lilly Abshire"], ["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", "Lilly Abshire"], ["name", "Yoshie Davis"], ["address", "Kenia Kemmer"], ["created_at", "2018-09-05 06:21:41.556104"], ["updated_at", "2018-09-05 06:21:41.556104"]]  (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", "Karena Hayes"], ["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", "Karena Hayes"], ["name", "Second Service Bundle"], ["description", "Nakita Quitzon"], ["percent_discount", 100.0], ["service_delivery_unit_id", 29], ["created_at", "2018-09-05 06:21:41.560646"], ["updated_at", "2018-09-05 06:21:41.560646"]]  (0.5ms) 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", 40], ["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", 40], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.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.0ms) 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 (1.97ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 3.4ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.0ms) 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.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 (0.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 (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 (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", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.4ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 7.9ms)  (0.6ms) 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", "teresita@lueilwitz.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", "Donella Beatty"], ["last_name", "Roxanna Orn"], ["email", "teresita@lueilwitz.info"], ["password_digest", "$2a$04$6rgeHMzD0RmkpGShQInrTOJrRwmutu0F40FMfSF2Kinu0WfHnb.0i"], ["created_at", "2018-09-05 06:21:41.587116"], ["updated_at", "2018-09-05 06:21:41.587116"]]  (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", "Dean 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", "Dean Gottlieb"], ["name", "Garth Jacobson"], ["address", "Sindy Nikolaus"], ["created_at", "2018-09-05 06:21:41.592272"], ["updated_at", "2018-09-05 06:21:41.592272"]]  (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", "Vernie Schultz"], ["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", "Vernie Schultz"], ["name", "FIRst Service Bundle"], ["description", "Bessie O'Hara"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 06:21:41.597033"], ["updated_at", "2018-09-05 06:21:41.597033"]]  (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", "Sachiko 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", "Sachiko Schulist"], ["name", "Wanita O'Keefe"], ["address", "Deborah Champlin"], ["created_at", "2018-09-05 06:21:41.602080"], ["updated_at", "2018-09-05 06:21:41.602080"]]  (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", "Liza Senger"], ["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", "Liza Senger"], ["name", "Second Service Bundle for the firST time"], ["description", "Adella Ernser"], ["percent_discount", 100.0], ["service_delivery_unit_id", 31], ["created_at", "2018-09-05 06:21:41.606434"], ["updated_at", "2018-09-05 06:21:41.606434"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.7ms) 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.6ms) 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 (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", 30], ["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", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.36ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 4.5ms)  (1.2ms) ROLLBACK  (0.8ms) 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", "thanh_schmeler@pollich.co.uk"], ["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", "Harmony Cruickshank"], ["last_name", "Joette Shanahan"], ["email", "thanh_schmeler@pollich.co.uk"], ["password_digest", "$2a$04$yJFHoQaiszndw8BndmssAObkrRRuBn0D2YeUMTasrO3.Y3o2DgGUi"], ["created_at", "2018-09-05 06:21:41.630515"], ["updated_at", "2018-09-05 06:21:41.630515"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (2.2ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (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", "Myriam Dietrich"], ["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", "Myriam Dietrich"], ["name", "Eugenia Monahan"], ["address", "Mana Lebsack"], ["created_at", "2018-09-05 06:21:41.639919"], ["updated_at", "2018-09-05 06:21:41.639919"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Lahoma Mertz", "description"=>"Alison Franecki", "name"=>"Jerrell Krajcik", "service_delivery_unit_id"=>"32"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.6ms) 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lahoma Mertz"], ["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", "Lahoma Mertz"], ["name", "Jerrell Krajcik"], ["description", "Alison Franecki"], ["service_delivery_unit_id", 32], ["created_at", "2018-09-05 06:21:41.649439"], ["updated_at", "2018-09-05 06:21:41.649439"]]  (0.5ms) 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", 42], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 11ms (Views: 2.0ms | ActiveRecord: 5.3ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (1.2ms) ROLLBACK  (0.6ms) BEGIN  (1.1ms) 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", "aida@gibson.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", "Chantel Hand"], ["last_name", "Sharan Boyer"], ["email", "aida@gibson.info"], ["password_digest", "$2a$04$IoDygX.dp7EPcGoH79cGS.Iayj.kKAdlxUn.29spzUVo7/wN4fC76"], ["created_at", "2018-09-05 06:21:41.665912"], ["updated_at", "2018-09-05 06:21:41.665912"]]  (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", "Adrienne Predovic"], ["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", "Adrienne Predovic"], ["name", "Lou Feeney"], ["address", "Deb Stroman"], ["created_at", "2018-09-05 06:21:41.671102"], ["updated_at", "2018-09-05 06:21:41.671102"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Efren Tremblay", "description"=>"Yolande Rempel", "name"=>"Bong Ebert", "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.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 (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Efren Tremblay"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Efren Tremblay"], ["name", "Bong Ebert"], ["description", "Yolande Rempel"], ["service_delivery_unit_id", 33], ["created_at", "2018-09-05 06:21:41.682541"], ["updated_at", "2018-09-05 06:21:41.682541"]]  (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", 43], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.25ms) Completed 201 Created in 13ms (Views: 1.6ms | ActiveRecord: 7.0ms) Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.7ms) 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", "tamra@ondricka.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", "Norbert Oberbrunner"], ["last_name", "Elenore Skiles"], ["email", "tamra@ondricka.ca"], ["password_digest", "$2a$04$YOaDkBTGlseSHpSp8qDBgeV5Z325ga8nKjdlYEaBx36KqyPyj8.2G"], ["created_at", "2018-09-05 06:21:41.699315"], ["updated_at", "2018-09-05 06:21:41.699315"]]  (1.2ms) 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", "Donny Hand"], ["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", "Donny Hand"], ["name", "Wilson Zemlak"], ["address", "Victor Abernathy"], ["created_at", "2018-09-05 06:21:41.706753"], ["updated_at", "2018-09-05 06:21:41.706753"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Portia Sawayn", "name"=>"Jetta Fahey", "service_delivery_unit_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", 44], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 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", 34], ["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", ""], ["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.09ms) Completed 422 Unprocessable Entity in 14ms (Views: 4.6ms | ActiveRecord: 5.2ms)  (1.1ms) 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", "joslyn@feest.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", "Damon Sauer"], ["last_name", "Toi Thompson"], ["email", "joslyn@feest.ca"], ["password_digest", "$2a$04$oeI3Pz.s84PKksZ37D/gAOQL9Y.4fN5QH4nybpv5LUN5of69xFFoS"], ["created_at", "2018-09-05 06:21:41.734139"], ["updated_at", "2018-09-05 06:21:41.734139"]]  (0.5ms) 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", "Teri Torp"], ["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", "Teri Torp"], ["name", "Angelic Langosh"], ["address", "Santiago Barrows"], ["created_at", "2018-09-05 06:21:41.748197"], ["updated_at", "2018-09-05 06:21:41.748197"]]  (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", "Carly Yost"], ["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", "Carly Yost"], ["name", "Timika Kunze"], ["description", "Gala Gislason"], ["percent_discount", 100.0], ["service_delivery_unit_id", 35], ["created_at", "2018-09-05 06:21:41.752677"], ["updated_at", "2018-09-05 06:21:41.752677"]]  (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", "Summer Torp"], ["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", "Ashleigh Altenwerth"], ["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", "Summer Torp"], ["name", "Ashleigh Altenwerth"], ["created_at", "2018-09-05 06:21:41.759666"], ["updated_at", "2018-09-05 06:21:41.759666"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Lovella Hahn"], ["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", "Lovella Hahn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:41.765969"], ["updated_at", "2018-09-05 06:21:41.765969"]]  (1.2ms) 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", "Cliff O'Hara"], ["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", "Cliff O'Hara"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:41.772256"], ["updated_at", "2018-09-05 06:21:41.772256"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Rodrick Schaden"], ["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", "Rodrick Schaden"], ["name", "Denise Stiedemann"], ["address", "Sharri Leffler"], ["created_at", "2018-09-05 06:21:41.779369"], ["updated_at", "2018-09-05 06:21:41.779369"]]  (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", "Emilio Lebsack"], ["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", "Emilio Lebsack"], ["name", "Dennis Daniel"], ["service_type_id", 23], ["base_unit_id", 45], ["utilization_unit_id", 46], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 06:21:41.784863"], ["updated_at", "2018-09-05 06:21:41.784863"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Emilio Lebsack"], ["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", "Emilio Lebsack"], ["name", "Dennis Daniel"], ["description", "Default bundle for service 'Dennis Daniel'"], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 06:21:41.790006"], ["updated_at", "2018-09-05 06:21:41.790006"]] 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.4ms) 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.4ms) 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.7ms) 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 (1.1ms) 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 7ms (Views: 1.3ms | ActiveRecord: 3.2ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (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", "lavern_maggio@kuhic.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", "Amee Dooley"], ["last_name", "Albertina Larkin"], ["email", "lavern_maggio@kuhic.biz"], ["password_digest", "$2a$04$ga03qCvtu5XpCgoa8jwGaOw.uX7sgYqi0.UwcDEHEqkfN.CAnB0uO"], ["created_at", "2018-09-05 06:21:41.819355"], ["updated_at", "2018-09-05 06:21:41.819355"]]  (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", "Holly Crist"], ["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", "Holly Crist"], ["name", "Theresia Jacobs"], ["address", "Leana Spinka"], ["created_at", "2018-09-05 06:21:41.824936"], ["updated_at", "2018-09-05 06:21:41.824936"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Wilda Terry"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.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", "Wilda Terry"], ["name", "Jorge Medhurst"], ["description", "Hilde Swaniawski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 37], ["created_at", "2018-09-05 06:21:41.831026"], ["updated_at", "2018-09-05 06:21:41.831026"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Winfred Watsica"}, "id"=>"41"} Mks::Auth::User Load (0.8ms) 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.8ms) 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", "Wilda Terry"], ["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (0.8ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Winfred Watsica"], ["updated_at", "2018-09-05 06:21:41.842312"], ["id", 41]]  (0.5ms) 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", 46], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 6.1ms) 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", 41], ["LIMIT", 1]]  (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", "adrien_haag@kovacek.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", "Elana Block"], ["last_name", "Sheryll Erdman"], ["email", "adrien_haag@kovacek.com"], ["password_digest", "$2a$04$sOgzmnGV1vxdpx4s6RYCau3ul743aY.VgnFdBT7Br11C82F.oezqy"], ["created_at", "2018-09-05 06:21:41.857993"], ["updated_at", "2018-09-05 06:21:41.857993"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.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", "Abigail 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", "Abigail Lesch"], ["name", "Rachael Pouros"], ["address", "Candi Pagac"], ["created_at", "2018-09-05 06:21:41.867117"], ["updated_at", "2018-09-05 06:21:41.867117"]]  (0.6ms) 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", "Sharyl Christiansen"], ["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", "Sharyl Christiansen"], ["name", "Stephenie Hand"], ["description", "Hilary Ryan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 38], ["created_at", "2018-09-05 06:21:41.871941"], ["updated_at", "2018-09-05 06:21:41.871941"]]  (0.6ms) 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", "Carl O'Conner"], ["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", "Carl O'Conner"], ["name", "Slyvia Altenwerth"], ["address", "Annis Stamm"], ["created_at", "2018-09-05 06:21:41.877452"], ["updated_at", "2018-09-05 06:21:41.877452"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Birdie Wintheiser", "description"=>"Dennis Bins", "name"=>"Naomi Borer", "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.9ms) 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 (1.2ms) 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", "Birdie Wintheiser"], ["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", "Birdie Wintheiser"], ["name", "Naomi Borer"], ["description", "Dennis Bins"], ["service_delivery_unit_id", 39], ["updated_at", "2018-09-05 06:21:41.888366"], ["id", 42]]  (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", 47], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 7.0ms)  (0.9ms) 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", "shalanda_sipes@stanton.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", "Waylon McGlynn"], ["last_name", "Donette Weissnat"], ["email", "shalanda_sipes@stanton.biz"], ["password_digest", "$2a$04$OhuBXgONhS0rqjjrkQENR.VAT3tkIQe68PL0W0ZVqe9/oArn4kiLa"], ["created_at", "2018-09-05 06:21:41.902905"], ["updated_at", "2018-09-05 06:21:41.902905"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Adam Shanahan"], ["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", "Adam Shanahan"], ["name", "Sebrina Wiza"], ["address", "Louisa Krajcik"], ["created_at", "2018-09-05 06:21:41.909382"], ["updated_at", "2018-09-05 06:21:41.909382"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Candace Renner"], ["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", "Candace Renner"], ["name", "Carol Kiehn"], ["description", "Krystin Jacobi"], ["percent_discount", 100.0], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 06:21:41.915583"], ["updated_at", "2018-09-05 06:21:41.915583"]]  (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", "Helen Brekke"], ["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", "Helen Brekke"], ["name", "Kimberley Bode"], ["address", "Lona Schuppe"], ["created_at", "2018-09-05 06:21:41.920511"], ["updated_at", "2018-09-05 06:21:41.920511"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Charlotte Kerluke", "name"=>"Corrin Mayert", "service_delivery_unit_id"=>"41"}, "id"=>"43"} 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]] 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", 43], ["LIMIT", 1]]  (0.6ms) 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", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.4ms) 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]]  (1.0ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.4ms) 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.12ms) Completed 422 Unprocessable Entity in 13ms (Views: 1.5ms | ActiveRecord: 7.0ms)  (1.1ms) ROLLBACK  (0.8ms) BEGIN  (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", "addie.lemke@bernhard.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", "Melvin Lang"], ["last_name", "Bruce Spencer"], ["email", "addie.lemke@bernhard.info"], ["password_digest", "$2a$04$fbwU1aDbafC1QlvPdhCGD.G4Kvrms7rZCSJ7/ybHeZjPVPX/Ivgwm"], ["created_at", "2018-09-05 06:21:41.949015"], ["updated_at", "2018-09-05 06:21:41.949015"]]  (0.5ms) 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", "Gordon Schamberger"], ["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", "Gordon Schamberger"], ["name", "Ivelisse Spencer"], ["address", "Sanford Gibson"], ["created_at", "2018-09-05 06:21:41.954626"], ["updated_at", "2018-09-05 06:21:41.954626"]]  (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", "Kareen Veum"], ["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", "Kareen Veum"], ["name", "Nelly Swaniawski"], ["address", "Kyla Runolfsson"], ["created_at", "2018-09-05 06:21:41.959818"], ["updated_at", "2018-09-05 06:21:41.959818"]]  (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", "Alethea Mitchell"], ["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", "Alethea Mitchell"], ["name", "Roselyn Gottlieb"], ["address", "Chieko Kerluke"], ["created_at", "2018-09-05 06:21:41.964391"], ["updated_at", "2018-09-05 06:21:41.964391"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (1.4ms) 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.9ms) 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.9ms) 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.75ms) Completed 200 OK in 11ms (Views: 6.9ms | ActiveRecord: 3.2ms)  (1.0ms) 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", "lamonica_lubowitz@koss.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", "Georgene Johnson"], ["last_name", "Gregg Pacocha"], ["email", "lamonica_lubowitz@koss.ca"], ["password_digest", "$2a$04$jJq1DaZHRln4F7Ra3UH5qeId7Cg14BYNQFQe01S5dADfym/66HO9K"], ["created_at", "2018-09-05 06:21:41.987346"], ["updated_at", "2018-09-05 06:21:41.987346"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Abraham Corkery", "code"=>"Blake Wolff", "name"=>"Paris Bednar"}} Mks::Auth::User Load (1.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 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", "Blake Wolff"], ["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", "Blake Wolff"], ["name", "Paris Bednar"], ["address", "Abraham Corkery"], ["created_at", "2018-09-05 06:21:42.000054"], ["updated_at", "2018-09-05 06:21:42.000054"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.12ms) Mks::Auth::User Load (0.8ms) 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 13ms (Views: 1.2ms | ActiveRecord: 5.9ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.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", "eryn_wolf@walkerbeer.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", "Walton Treutel"], ["last_name", "Margarito Ferry"], ["email", "eryn_wolf@walkerbeer.info"], ["password_digest", "$2a$04$tspIPJILvS74nDtotH.rSOMmnEcRgQoUA1uZh9NxK5luurZABHPSq"], ["created_at", "2018-09-05 06:21:42.016777"], ["updated_at", "2018-09-05 06:21:42.016777"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Hildred Mante", "code"=>"Yajaira Bradtke", "name"=>"Jamey Lakin"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]]  (1.0ms) 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", "Yajaira Bradtke"], ["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", "Yajaira Bradtke"], ["name", "Jamey Lakin"], ["address", "Hildred Mante"], ["created_at", "2018-09-05 06:21:42.027634"], ["updated_at", "2018-09-05 06:21:42.027634"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.16ms) Mks::Auth::User Load (0.8ms) 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.24ms) Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 6.7ms)  (0.8ms) ROLLBACK  (0.4ms) 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", "nan@doylenicolas.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", "Elliot Turner"], ["last_name", "Glenn Lindgren"], ["email", "nan@doylenicolas.com"], ["password_digest", "$2a$04$jYIk9OgquL8L/2vZTDuMpuXntUz2JNGOtpa/OcWX0XxwigBqfcGQW"], ["created_at", "2018-09-05 06:21:42.042466"], ["updated_at", "2018-09-05 06:21:42.042466"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Nery Von", "code"=>"", "name"=>"Janyce O'Hara"}} 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]]  (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", ""], ["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", 52], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 7ms (Views: 1.0ms | ActiveRecord: 3.5ms)  (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", "nadene.douglas@mcculloughmccullough.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", "Silvana Koelpin"], ["last_name", "Benedict Hane"], ["email", "nadene.douglas@mcculloughmccullough.us"], ["password_digest", "$2a$04$uUO12o9k6p93k9niwEz8MOdd1GuAzjEZEqB7qr4DrPZ9/UYkgf6Gi"], ["created_at", "2018-09-05 06:21:42.060806"], ["updated_at", "2018-09-05 06:21:42.060806"]]  (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", "Boyd Marks"], ["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", "Boyd Marks"], ["name", "Brittany Erdman"], ["address", "Lamont Roberts"], ["created_at", "2018-09-05 06:21:42.065908"], ["updated_at", "2018-09-05 06:21:42.065908"]]  (0.4ms) 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.9ms) 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 (1.5ms) 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", "Boyd Marks"], ["id", 47], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (0.9ms) 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 06:21:42.077888"], ["id", 47]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.09ms) Mks::Auth::User Load (0.7ms) 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.32ms) Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 7.1ms) 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", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.8ms) 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", "olin@huel.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", "Trisha Rolfson"], ["last_name", "Arcelia Goodwin"], ["email", "olin@huel.ca"], ["password_digest", "$2a$04$PgVnKzBjnNcbVJOTIFQ4ne/GZ3EepmL1yD5jGdnA0Y4H9eHWRnzdq"], ["created_at", "2018-09-05 06:21:42.093593"], ["updated_at", "2018-09-05 06:21:42.093593"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Dustin Little"], ["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", "Dustin Little"], ["name", "Adelina Gaylord"], ["address", "Angla Kuphal"], ["created_at", "2018-09-05 06:21:42.100371"], ["updated_at", "2018-09-05 06:21:42.100371"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"48"} Mks::Auth::User Load (1.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.0ms) 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.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", "Dustin Little"], ["id", 48], ["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", 54], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.3ms | ActiveRecord: 4.9ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) 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", "celia.rohan@pfeffer.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", "Elvis Labadie"], ["last_name", "Allan Schneider"], ["email", "celia.rohan@pfeffer.us"], ["password_digest", "$2a$04$6QGU3NBqWcjbWbsdbrz7t.TGKcj4vo4eSeBJPNeyLuywn6c.zzJ.y"], ["created_at", "2018-09-05 06:21:42.121365"], ["updated_at", "2018-09-05 06:21:42.121365"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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", "Kindra Stoltenberg"], ["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", "Shin Hayes"], ["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", "Kindra Stoltenberg"], ["name", "Shin Hayes"], ["description", "Quia enim delectus adipisci eius. Aut quam inventore iusto officiis sunt quia. Quis repudiandae consectetur ut ut quis adipisci illum. Natus ea cumque voluptatem optio neque occaecati laborum. Ea ut ut fugit soluta."], ["created_at", "2018-09-05 06:21:42.151358"], ["updated_at", "2018-09-05 06:21:42.151358"]]  (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", "Harold Abbott"], ["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", "Amee Windler"], ["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", "Harold Abbott"], ["name", "Amee Windler"], ["description", "Eveniet atque dignissimos placeat soluta facere eos qui non. Blanditiis dicta deserunt voluptas temporibus in eos ut. Voluptate quia non enim et. Non cupiditate ea voluptatibus nostrum. Fuga perferendis adipisci eos sint numquam."], ["equipment_type_id", 11], ["created_at", "2018-09-05 06:21:42.158109"], ["updated_at", "2018-09-05 06:21:42.158109"]]  (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", "Kisha Bergnaum"], ["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", "Kisha Bergnaum"], ["name", "Honey Beatty"], ["description", "Charise Stracke"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 11], ["created_at", "2018-09-05 06:21:42.162417"], ["updated_at", "2018-09-05 06:21:42.162417"]]  (0.6ms) 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", "Jannette Kuhlman"], ["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", "Jerald Jacobi"], ["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", "Jannette Kuhlman"], ["name", "Jerald Jacobi"], ["description", "Evan Greenfelder"], ["created_at", "2018-09-05 06:21:42.168863"], ["updated_at", "2018-09-05 06:21:42.168863"]]  (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", "Cori Medhurst"], ["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", "Cori Medhurst"], ["name", "Tyson Veum"], ["location_type_id", 11], ["description", "Judi Bahringer"], ["address", "Cruz Legros"], ["created_at", "2018-09-05 06:21:42.172907"], ["updated_at", "2018-09-05 06:21:42.172907"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Eldora Fadel"], ["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", "Tanya Barton"], ["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", "Eldora Fadel"], ["name", "Karma Mann"], ["description", "Nyla Huel"], ["serial_number", "Tanya Barton"], ["brand", "Karry Kuhlman"], ["item_model", "Tomi Paucek"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 11], ["current_location_id", 11], ["created_at", "2018-09-05 06:21:42.179404"], ["updated_at", "2018-09-05 06:21:42.179404"]]  (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", "Ivy Denesik"], ["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", "Sarina 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", "Ivy Denesik"], ["name", "Sarina Grant"], ["created_at", "2018-09-05 06:21:42.187920"], ["updated_at", "2018-09-05 06:21:42.187920"]]  (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", "Lynna Pollich"], ["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", "Lynna Pollich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.192311"], ["updated_at", "2018-09-05 06:21:42.192311"]]  (0.7ms) 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", "Jeanine Bernier"], ["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", "Jeanine Bernier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.197068"], ["updated_at", "2018-09-05 06:21:42.197068"]]  (0.6ms) 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", "Darci Treutel"], ["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", "Darci Treutel"], ["name", "Hilaria Ward"], ["address", "Melda Haley"], ["created_at", "2018-09-05 06:21:42.201445"], ["updated_at", "2018-09-05 06:21:42.201445"]]  (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", "Lacey McLaughlin"], ["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", "Lacey McLaughlin"], ["name", "Li Kautzer"], ["service_type_id", 24], ["base_unit_id", 47], ["utilization_unit_id", 48], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 06:21:42.206170"], ["updated_at", "2018-09-05 06:21:42.206170"]] 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", 49], ["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", "Lacey McLaughlin"], ["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", "Lacey McLaughlin"], ["name", "Li Kautzer"], ["description", "Default bundle for service 'Li Kautzer'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 06:21:42.212016"], ["updated_at", "2018-09-05 06:21:42.212016"]] 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", 44], ["chargeable_service_id", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.5ms) 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 06:21:42.218760"], ["updated_at", "2018-09-05 06:21:42.218760"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Jacki Waters"], ["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", "Tommy Jacobs"], ["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", "Jacki Waters"], ["name", "Tommy Jacobs"], ["description", "Corrupti quia totam hic impedit accusantium modi adipisci. Iure et est error sunt qui enim. Aut architecto ex quibusdam laborum. Ut at dignissimos expedita aut et nisi accusamus. Et occaecati voluptas ut vel voluptatum odit."], ["created_at", "2018-09-05 06:21:42.227028"], ["updated_at", "2018-09-05 06:21:42.227028"]]  (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", "Sherill Goldner"], ["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", "Lorenzo O'Keefe"], ["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", "Sherill Goldner"], ["name", "Lorenzo O'Keefe"], ["description", "Assumenda nostrum autem voluptas ipsam ut voluptatibus veritatis. Saepe dolor nihil dolor molestias aut autem in. Est sint possimus vitae ducimus ratione tenetur illo. Voluptatem dolores blanditiis provident eius aperiam similique. Optio possimus qui facere enim dolor."], ["equipment_type_id", 12], ["created_at", "2018-09-05 06:21:42.232570"], ["updated_at", "2018-09-05 06:21:42.232570"]]  (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", "Emily Greenfelder"], ["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", "Emily Greenfelder"], ["name", "Berenice Fadel"], ["description", "Rutha Von"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 12], ["created_at", "2018-09-05 06:21:42.236862"], ["updated_at", "2018-09-05 06:21:42.236862"]]  (0.6ms) 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", "Buster 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", "Ellan Haag"], ["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", "Buster Rogahn"], ["name", "Ellan Haag"], ["description", "Ula Abernathy"], ["created_at", "2018-09-05 06:21:42.242930"], ["updated_at", "2018-09-05 06:21:42.242930"]]  (0.6ms) 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", "Brynn Abshire"], ["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", "Brynn Abshire"], ["name", "Kelley Reilly"], ["location_type_id", 12], ["description", "Mardell Leffler"], ["address", "Anjelica Hoeger"], ["created_at", "2018-09-05 06:21:42.247388"], ["updated_at", "2018-09-05 06:21:42.247388"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Samuel Cronin"], ["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", "Percy Stark"], ["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", "Samuel Cronin"], ["name", "Donita McCullough"], ["description", "Lovie Hansen"], ["serial_number", "Percy Stark"], ["brand", "Patrina Kessler"], ["item_model", "Cleotilde Wintheiser"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 12], ["current_location_id", 12], ["created_at", "2018-09-05 06:21:42.254797"], ["updated_at", "2018-09-05 06:21:42.254797"]]  (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", "Mira Weber"], ["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", "Merissa Kemmer"], ["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", "Mira Weber"], ["name", "Merissa Kemmer"], ["created_at", "2018-09-05 06:21:42.261350"], ["updated_at", "2018-09-05 06:21:42.261350"]]  (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", "Malka Kuhic"], ["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", "Malka Kuhic"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.266706"], ["updated_at", "2018-09-05 06:21:42.266706"]]  (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", "Lisandra Effertz"], ["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", "Lisandra Effertz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.271383"], ["updated_at", "2018-09-05 06:21:42.271383"]]  (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", "Fausto Beatty"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Fausto Beatty"], ["name", "Ileen Bergstrom"], ["address", "Reynalda Cormier"], ["created_at", "2018-09-05 06:21:42.277358"], ["updated_at", "2018-09-05 06:21:42.277358"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.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", "Joannie Torphy"], ["service_delivery_unit_id", 50], ["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", "Joannie Torphy"], ["name", "Ocie Willms"], ["service_type_id", 25], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 06:21:42.286338"], ["updated_at", "2018-09-05 06:21:42.286338"]] 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", 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", "Joannie Torphy"], ["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", "Joannie Torphy"], ["name", "Ocie Willms"], ["description", "Default bundle for service 'Ocie Willms'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 06:21:42.291839"], ["updated_at", "2018-09-05 06:21:42.291839"]] 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", 45], ["chargeable_service_id", 24]]  (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", 24], ["equipment_item_id", 12], ["created_at", "2018-09-05 06:21:42.299473"], ["updated_at", "2018-09-05 06:21:42.299473"]]  (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", "Charlette Effertz"], ["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", "Freddie Gaylord"], ["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", "Charlette Effertz"], ["name", "Freddie Gaylord"], ["description", "Perferendis itaque doloribus dolor et. Ut et laudantium qui laborum quam totam repellat et. Accusamus magni ab sit tenetur eos."], ["created_at", "2018-09-05 06:21:42.306838"], ["updated_at", "2018-09-05 06:21:42.306838"]]  (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", "Chance Reynolds"], ["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", "Bruno Brekke"], ["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", "Chance Reynolds"], ["name", "Bruno Brekke"], ["description", "Cum et laudantium ut commodi est quasi nisi quis. Voluptatum ad quidem inventore deleniti totam voluptatem. Eius porro corrupti ipsa ullam omnis rerum. Ullam itaque cum maxime et officiis architecto. Quo tempore dolor dolor natus corrupti autem."], ["equipment_type_id", 13], ["created_at", "2018-09-05 06:21:42.311806"], ["updated_at", "2018-09-05 06:21:42.311806"]]  (0.7ms) 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", "Sabra Howell"], ["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", "Sabra Howell"], ["name", "Brittny Mueller"], ["description", "Shanita Johnston"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 13], ["created_at", "2018-09-05 06:21:42.316710"], ["updated_at", "2018-09-05 06:21:42.316710"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Mitsue Mitchell"], ["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", "Gia Murazik"], ["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", "Mitsue Mitchell"], ["name", "Gia Murazik"], ["description", "Yolando Gibson"], ["created_at", "2018-09-05 06:21:42.323453"], ["updated_at", "2018-09-05 06:21:42.323453"]]  (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", "Man Moore"], ["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", "Man Moore"], ["name", "Bret Zemlak"], ["location_type_id", 13], ["description", "Junita Boyer"], ["address", "Marcelino Klocko"], ["created_at", "2018-09-05 06:21:42.328144"], ["updated_at", "2018-09-05 06:21:42.328144"]]  (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", "Cleopatra Dibbert"], ["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", "Clair Braun"], ["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", "Cleopatra Dibbert"], ["name", "Dottie Spencer"], ["description", "Dottie O'Reilly"], ["serial_number", "Clair Braun"], ["brand", "Elmo Prosacco"], ["item_model", "Johnsie Windler"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 13], ["current_location_id", 13], ["created_at", "2018-09-05 06:21:42.333559"], ["updated_at", "2018-09-05 06:21:42.333559"]]  (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", "Dorsey Mann"], ["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", "Caryl Berge"], ["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", "Dorsey Mann"], ["name", "Caryl Berge"], ["created_at", "2018-09-05 06:21:42.339460"], ["updated_at", "2018-09-05 06:21:42.339460"]]  (0.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", "Homer Russel"], ["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", "Homer Russel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.344474"], ["updated_at", "2018-09-05 06:21:42.344474"]]  (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", "Asa 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", "Asa Heller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.349082"], ["updated_at", "2018-09-05 06:21:42.349082"]]  (0.5ms) 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", "Dane Hammes"], ["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", "Dane Hammes"], ["name", "Judie Nikolaus"], ["address", "Charlesetta Stiedemann"], ["created_at", "2018-09-05 06:21:42.354294"], ["updated_at", "2018-09-05 06:21:42.354294"]]  (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", "Daryl Legros"], ["service_delivery_unit_id", 51], ["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", "Daryl Legros"], ["name", "Herminia Marquardt"], ["service_type_id", 26], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 06:21:42.359738"], ["updated_at", "2018-09-05 06:21:42.359738"]] 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", "Daryl 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", "Daryl Legros"], ["name", "Herminia Marquardt"], ["description", "Default bundle for service 'Herminia Marquardt'"], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 06:21:42.364560"], ["updated_at", "2018-09-05 06:21:42.364560"]] 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", 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 06:21:42.370897"], ["updated_at", "2018-09-05 06:21:42.370897"]]  (0.6ms) 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]] Mks::Rate::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.7ms) 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.9ms) 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.8ms) 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.7ms) 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.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 (13.24ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_rates" 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.34ms) Completed 200 OK in 22ms (Views: 1.3ms | ActiveRecord: 8.9ms)  (1.1ms) ROLLBACK  (0.4ms) 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", "lillie@schaefer.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", "Barney Bashirian"], ["last_name", "Ashanti Stark"], ["email", "lillie@schaefer.biz"], ["password_digest", "$2a$04$pjfSiBtoUJx3V2HN5TakTegP8lFyA4vC3D3S9QkdWMIPhqV7rD2Vy"], ["created_at", "2018-09-05 06:21:42.404958"], ["updated_at", "2018-09-05 06:21:42.404958"]]  (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", "Hugh Altenwerth"], ["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", "Eldon Hintz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.2ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Hugh Altenwerth"], ["name", "Eldon Hintz"], ["description", "Iusto eveniet assumenda cumque provident aliquam voluptatem hic et. Eos dolor quisquam mollitia repellendus eaque voluptate vel accusantium. Nostrum error dolorum eius quae. Qui facere ullam odio numquam neque et eum. Facere sapiente aut debitis mollitia animi quo recusandae ducimus."], ["created_at", "2018-09-05 06:21:42.412193"], ["updated_at", "2018-09-05 06:21:42.412193"]]  (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", "Lawerence Pollich"], ["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", "Yaeko Heathcote"], ["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", "Lawerence Pollich"], ["name", "Yaeko Heathcote"], ["description", "Facere corporis incidunt esse est tempora totam. Non nihil molestias mollitia dolorum ut. Voluptatem sint voluptatum ad perspiciatis sunt. Repellendus at illo ratione inventore quasi rerum et aliquam. Necessitatibus molestias vitae rem veniam sint repellat."], ["equipment_type_id", 14], ["created_at", "2018-09-05 06:21:42.418471"], ["updated_at", "2018-09-05 06:21:42.418471"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Arnette Koch"], ["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", "Arnette Koch"], ["name", "Lamonica Senger"], ["description", "Marg Reichel"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 14], ["created_at", "2018-09-05 06:21:42.423681"], ["updated_at", "2018-09-05 06:21:42.423681"]]  (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", "Shay Harris"], ["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", "Frederic Rohan"], ["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", "Shay Harris"], ["name", "Frederic Rohan"], ["description", "Maisie Lebsack"], ["created_at", "2018-09-05 06:21:42.429686"], ["updated_at", "2018-09-05 06:21:42.429686"]]  (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", "Carletta Ferry"], ["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", "Carletta Ferry"], ["name", "Jacqueline Crona"], ["location_type_id", 14], ["description", "Rudolph Emmerich"], ["address", "Janine Huels"], ["created_at", "2018-09-05 06:21:42.434564"], ["updated_at", "2018-09-05 06:21:42.434564"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Joey Stiedemann"], ["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", "Elsie Nikolaus"], ["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", "Joey Stiedemann"], ["name", "Monica Murphy"], ["description", "Genoveva Dickens"], ["serial_number", "Elsie Nikolaus"], ["brand", "Edward Luettgen"], ["item_model", "Taylor Heidenreich"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 14], ["current_location_id", 14], ["created_at", "2018-09-05 06:21:42.442169"], ["updated_at", "2018-09-05 06:21:42.442169"]]  (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", "Eleonora Olson"], ["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", "Gabriella Wyman"], ["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", "Eleonora Olson"], ["name", "Gabriella Wyman"], ["created_at", "2018-09-05 06:21:42.448915"], ["updated_at", "2018-09-05 06:21:42.448915"]]  (0.5ms) 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", "Britany Kunde"], ["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", "Britany Kunde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.453270"], ["updated_at", "2018-09-05 06:21:42.453270"]]  (0.8ms) 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", "Orpha Runolfsdottir"], ["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", "Orpha Runolfsdottir"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.460846"], ["updated_at", "2018-09-05 06:21:42.460846"]]  (1.0ms) 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", "Jay 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", "Jay Kuhlman"], ["name", "Wanda Rippin"], ["address", "Joetta Grant"], ["created_at", "2018-09-05 06:21:42.468166"], ["updated_at", "2018-09-05 06:21:42.468166"]]  (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", "Olive Wolf"], ["service_delivery_unit_id", 52], ["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", "Olive Wolf"], ["name", "Ashlea Roob"], ["service_type_id", 27], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 06:21:42.473800"], ["updated_at", "2018-09-05 06:21:42.473800"]] 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]] 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", "Olive Wolf"], ["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", "Olive Wolf"], ["name", "Ashlea Roob"], ["description", "Default bundle for service 'Ashlea Roob'"], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 06:21:42.479536"], ["updated_at", "2018-09-05 06:21:42.479536"]] 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.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", 26], ["equipment_item_id", 14], ["created_at", "2018-09-05 06:21:42.485455"], ["updated_at", "2018-09-05 06:21:42.485455"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Sabrina Barrows"], ["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", "Cristopher Dach"], ["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", "Sabrina Barrows"], ["name", "Cristopher Dach"], ["description", "Et est voluptatem rem velit sit in minima ad. Ratione totam omnis et quis maxime sunt incidunt nihil. Quaerat quis reiciendis sint qui dicta qui."], ["created_at", "2018-09-05 06:21:42.493797"], ["updated_at", "2018-09-05 06:21:42.493797"]]  (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", "Shalanda Wisoky"], ["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", "Eilene O'Kon"], ["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", "Shalanda Wisoky"], ["name", "Eilene O'Kon"], ["description", "Necessitatibus sequi facilis ipsam velit aut sint. Officiis esse eum vitae veniam. Rerum sed ut ipsam provident eum culpa."], ["equipment_type_id", 15], ["created_at", "2018-09-05 06:21:42.499051"], ["updated_at", "2018-09-05 06:21:42.499051"]]  (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", "Vito Spencer"], ["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", "Vito Spencer"], ["name", "Danelle Stanton"], ["description", "Joannie Conn"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 15], ["created_at", "2018-09-05 06:21:42.503433"], ["updated_at", "2018-09-05 06:21:42.503433"]]  (0.6ms) 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", "Kirstie Bernhard"], ["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", "Cherry Stehr"], ["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", "Kirstie Bernhard"], ["name", "Cherry Stehr"], ["description", "Shelby Rice"], ["created_at", "2018-09-05 06:21:42.509632"], ["updated_at", "2018-09-05 06:21:42.509632"]]  (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", "Brent Ullrich"], ["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", "Brent Ullrich"], ["name", "Dominic Sanford"], ["location_type_id", 15], ["description", "Lonny Kuhic"], ["address", "Latrisha Dare"], ["created_at", "2018-09-05 06:21:42.514126"], ["updated_at", "2018-09-05 06:21:42.514126"]]  (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", "Lavenia Stracke"], ["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", "Caron Lockman"], ["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", "Lavenia Stracke"], ["name", "Geneva Haag"], ["description", "Cherise Hackett"], ["serial_number", "Caron Lockman"], ["brand", "Veda Hessel"], ["item_model", "Glennis Zemlak"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 15], ["current_location_id", 15], ["created_at", "2018-09-05 06:21:42.519544"], ["updated_at", "2018-09-05 06:21:42.519544"]]  (0.5ms) 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", "Valorie Ryan"], ["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", "Nola Ferry"], ["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", "Valorie Ryan"], ["name", "Nola Ferry"], ["created_at", "2018-09-05 06:21:42.526340"], ["updated_at", "2018-09-05 06:21:42.526340"]]  (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", "Loriann Bins"], ["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", "Loriann Bins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.531192"], ["updated_at", "2018-09-05 06:21:42.531192"]]  (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", "Teresia Huel"], ["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", "Teresia Huel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.535657"], ["updated_at", "2018-09-05 06:21:42.535657"]]  (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", "Cary Emard"], ["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", "Cary Emard"], ["name", "Faith Pfeffer"], ["address", "Minerva Ernser"], ["created_at", "2018-09-05 06:21:42.540354"], ["updated_at", "2018-09-05 06:21:42.540354"]]  (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", "Jewel Blick"], ["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", "Jewel Blick"], ["name", "Keira Runte"], ["service_type_id", 28], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 06:21:42.545151"], ["updated_at", "2018-09-05 06:21:42.545151"]] 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", "Jewel Blick"], ["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", "Jewel Blick"], ["name", "Keira Runte"], ["description", "Default bundle for service 'Keira Runte'"], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 06:21:42.550041"], ["updated_at", "2018-09-05 06:21:42.550041"]] 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", 48], ["chargeable_service_id", 27]]  (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", 27], ["equipment_item_id", 15], ["created_at", "2018-09-05 06:21:42.556285"], ["updated_at", "2018-09-05 06:21:42.556285"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Annice Harber"], ["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", "Cecil Jewess"], ["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", "Annice Harber"], ["name", "Cecil Jewess"], ["description", "Ullam aut incidunt quae consequatur. Reiciendis omnis porro enim quos incidunt cum doloremque atque. Rerum et ut saepe qui et corrupti modi tenetur. Alias blanditiis qui velit a. Impedit magni autem eveniet nihil eligendi et."], ["created_at", "2018-09-05 06:21:42.564357"], ["updated_at", "2018-09-05 06:21:42.564357"]]  (0.5ms) 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", "Jan Raynor"], ["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", "Benjamin Schaden"], ["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", "Jan Raynor"], ["name", "Benjamin Schaden"], ["description", "Hic dolores dolor quae vero nihil voluptatem et. Aperiam esse quo repudiandae et vel aspernatur vero quas. Temporibus aut rerum cumque ex ut. Fugit voluptates non cum repudiandae atque enim. Sed ea non qui tempora."], ["equipment_type_id", 16], ["created_at", "2018-09-05 06:21:42.569756"], ["updated_at", "2018-09-05 06:21:42.569756"]]  (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", "Rodrigo Bogan"], ["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", "Rodrigo Bogan"], ["name", "Marceline Marquardt"], ["description", "Melodee Schmeler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 16], ["created_at", "2018-09-05 06:21:42.574322"], ["updated_at", "2018-09-05 06:21:42.574322"]]  (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", "Helen O'Kon"], ["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", "Etha Graham"], ["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", "Helen O'Kon"], ["name", "Etha Graham"], ["description", "Refugia Oga"], ["created_at", "2018-09-05 06:21:42.580501"], ["updated_at", "2018-09-05 06:21:42.580501"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Juan Johns"], ["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", "Juan Johns"], ["name", "Francisco Walsh"], ["location_type_id", 16], ["description", "Adolfo Wuckert"], ["address", "Norman Langosh"], ["created_at", "2018-09-05 06:21:42.585304"], ["updated_at", "2018-09-05 06:21:42.585304"]]  (0.6ms) 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", "Luann D'Amore"], ["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", "Anja Skiles"], ["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", "Luann D'Amore"], ["name", "Venita Nikolaus"], ["description", "Rosario Rodriguez"], ["serial_number", "Anja Skiles"], ["brand", "Maryjo Krajcik"], ["item_model", "Hae Dicki"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 16], ["current_location_id", 16], ["created_at", "2018-09-05 06:21:42.591192"], ["updated_at", "2018-09-05 06:21:42.591192"]]  (0.7ms) 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", "Anisa Heathcote"], ["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", "Raul Jaskolski"], ["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", "Anisa Heathcote"], ["name", "Raul Jaskolski"], ["created_at", "2018-09-05 06:21:42.599656"], ["updated_at", "2018-09-05 06:21:42.599656"]]  (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", "Latrice Beahan"], ["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", "Latrice Beahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.604262"], ["updated_at", "2018-09-05 06:21:42.604262"]]  (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", "Phyliss Treutel"], ["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", "Phyliss Treutel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.609303"], ["updated_at", "2018-09-05 06:21:42.609303"]]  (0.4ms) 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", "Ronni Yundt"], ["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", "Ronni Yundt"], ["name", "Lacy Schaden"], ["address", "Mckinley Bahringer"], ["created_at", "2018-09-05 06:21:42.614273"], ["updated_at", "2018-09-05 06:21:42.614273"]]  (0.4ms) 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", "Garfield Wiza"], ["service_delivery_unit_id", 54], ["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", "Garfield Wiza"], ["name", "Elois Braun"], ["service_type_id", 29], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 06:21:42.619101"], ["updated_at", "2018-09-05 06:21:42.619101"]] 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", 54], ["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", "Garfield Wiza"], ["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", "Garfield Wiza"], ["name", "Elois Braun"], ["description", "Default bundle for service 'Elois Braun'"], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 06:21:42.624846"], ["updated_at", "2018-09-05 06:21:42.624846"]] 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", 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 06:21:42.631400"], ["updated_at", "2018-09-05 06:21:42.631400"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates 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", 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.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.0ms) 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 (1.0ms) 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.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]] [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", 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.9ms) 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 (1.0ms) 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.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]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (15.54ms) Completed 200 OK in 22ms (Views: 9.7ms | ActiveRecord: 10.0ms)  (0.9ms) ROLLBACK  (0.4ms) 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", "jaime.hamill@gulgowski.ca"], ["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", "Damon Quigley"], ["last_name", "Wilton Moen"], ["email", "jaime.hamill@gulgowski.ca"], ["password_digest", "$2a$04$L6fSNfM7RwmEip0IILlu.uD8aSfRGzFsJT66koTlTepR3dGpJjoPu"], ["created_at", "2018-09-05 06:21:42.666165"], ["updated_at", "2018-09-05 06:21:42.666165"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Ka Rippin"], ["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", "Cory Weissnat"], ["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", "Ka Rippin"], ["name", "Cory Weissnat"], ["created_at", "2018-09-05 06:21:42.674334"], ["updated_at", "2018-09-05 06:21:42.674334"]]  (0.5ms) 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.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 9ms (Views: 6.1ms | ActiveRecord: 2.0ms)  (1.0ms) ROLLBACK  (0.4ms) 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", "bennie@predovickeeling.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", "Antonia Mertz"], ["last_name", "Barbra Johnston"], ["email", "bennie@predovickeeling.biz"], ["password_digest", "$2a$04$.Krp/utYTbpqRlSdJIHVWu8PXhtGq1kmkj18P863YS340Fz.IjgMi"], ["created_at", "2018-09-05 06:21:42.696451"], ["updated_at", "2018-09-05 06:21:42.696451"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Verna Hamill"], ["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", "Felicia 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", "Verna Hamill"], ["name", "Felicia Armstrong"], ["created_at", "2018-09-05 06:21:42.705257"], ["updated_at", "2018-09-05 06:21:42.705257"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"31"} Mks::Auth::User Load (1.0ms) 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.1ms) 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.34ms) Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 3.3ms)  (1.0ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) 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", "hannelore.bauch@morissette.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", "Debbra Wiza"], ["last_name", "Kellie Cormier"], ["email", "hannelore.bauch@morissette.us"], ["password_digest", "$2a$04$NDuzMzIbs257.PgdpHcAIeBdkCj97v.B2YNm6sKdcAsejBJN6MXNu"], ["created_at", "2018-09-05 06:21:42.726381"], ["updated_at", "2018-09-05 06:21:42.726381"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Trula Cartwright", "name"=>"Lien Rohan"}} Mks::Auth::User Load (1.2ms) 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 (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Trula Cartwright"], ["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", "Lien Rohan"], ["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", "Trula Cartwright"], ["name", "Lien Rohan"], ["created_at", "2018-09-05 06:21:42.736997"], ["updated_at", "2018-09-05 06:21:42.736997"]]  (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", 59], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 201 Created in 11ms (Views: 2.2ms | ActiveRecord: 5.7ms)  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.6ms) ROLLBACK  (0.4ms) 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", "bertha_ruecker@kshlerin.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", "Micheal Bayer"], ["last_name", "Nathalie Quitzon"], ["email", "bertha_ruecker@kshlerin.ca"], ["password_digest", "$2a$04$3eiL9qeEe0nt5qlLwP/gHOqDRqgpX7h0aQXztm/466raEk5cy1qKO"], ["created_at", "2018-09-05 06:21:42.751282"], ["updated_at", "2018-09-05 06:21:42.751282"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Leontine Murphy", "name"=>"Meta Gottlieb"}} 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.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leontine Murphy"], ["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", "Meta Gottlieb"], ["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", "Leontine Murphy"], ["name", "Meta Gottlieb"], ["created_at", "2018-09-05 06:21:42.763803"], ["updated_at", "2018-09-05 06:21:42.763803"]]  (1.3ms) 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", 60], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.27ms) Completed 201 Created in 14ms (Views: 1.9ms | ActiveRecord: 7.9ms) 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]]  (1.4ms) ROLLBACK  (0.6ms) 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", "sallie_morar@howell.co.uk"], ["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", "Tresa Bashirian"], ["last_name", "Rebekah Armstrong"], ["email", "sallie_morar@howell.co.uk"], ["password_digest", "$2a$04$GKkL/2AC4/iJ/c58WKYsu.Kg84Kw9TQ2OIj5b0w2/EZQ/RsKbKIee"], ["created_at", "2018-09-05 06:21:42.784203"], ["updated_at", "2018-09-05 06:21:42.784203"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Santina Prohaska"}} 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.8ms) 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.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Santina Prohaska"], ["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", 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: 4.1ms)  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kareem@carter.info"], ["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", "Raguel Graham"], ["last_name", "Peggie Boehm"], ["email", "kareem@carter.info"], ["password_digest", "$2a$04$LO7t5I.0h0IaD8aOrk9jYOOJoZD.bGhD8InIlEnNsmjnUiRh5UyiS"], ["created_at", "2018-09-05 06:21:42.806810"], ["updated_at", "2018-09-05 06:21:42.806810"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", "Joesph Gleason"], ["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", "Cynthia Nienow"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joesph Gleason"], ["name", "Cynthia Nienow"], ["created_at", "2018-09-05 06:21:42.815955"], ["updated_at", "2018-09-05 06:21:42.815955"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Nilsa Barrows"}, "id"=>"34"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.1ms) 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.3ms) 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", "Joesph Gleason"], ["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) 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", "Nilsa Barrows"], ["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", "Nilsa Barrows"], ["updated_at", "2018-09-05 06:21:42.830979"], ["id", 34]]  (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", 62], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.27ms) Completed 200 OK in 15ms (Views: 1.5ms | ActiveRecord: 7.5ms) Mks::Rate::ServiceType Load (1.0ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (1.2ms) 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", "raymond@gerhold.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", "Joeann Hudson"], ["last_name", "Randolph Koelpin"], ["email", "raymond@gerhold.info"], ["password_digest", "$2a$04$CAsVf9B9lTHGl4m0BpAg0uUC1nnRJzfP4OWkTXrm/NbYr5daj1AsO"], ["created_at", "2018-09-05 06:21:42.846769"], ["updated_at", "2018-09-05 06:21:42.846769"]]  (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", "Mohammed Jacobson"], ["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", "Judy Kautzer"], ["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", "Mohammed Jacobson"], ["name", "Judy Kautzer"], ["created_at", "2018-09-05 06:21:42.854045"], ["updated_at", "2018-09-05 06:21:42.854045"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Modesta Casper", "name"=>"Dortha Feeney"}, "id"=>"35"} Mks::Auth::User Load (1.1ms) 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.7ms) 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.7ms) 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", "Modesta Casper"], ["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", "Dortha Feeney"], ["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.7ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Modesta Casper"], ["name", "Dortha Feeney"], ["updated_at", "2018-09-05 06:21:42.864738"], ["id", 35]]  (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", 63], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.5ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (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", "hildred.runte@krajcik.ca"], ["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", "Sylvie Hilpert"], ["last_name", "Jasper Friesen"], ["email", "hildred.runte@krajcik.ca"], ["password_digest", "$2a$04$KfIeMwHlKlWYr6qzA.0UIeFBIumiivkUoMQIsr6TJF5B.9NlIzRI2"], ["created_at", "2018-09-05 06:21:42.878896"], ["updated_at", "2018-09-05 06:21:42.878896"]]  (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", "Brittney Hegmann"], ["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", "Lois Aufderhar"], ["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", "Brittney Hegmann"], ["name", "Lois Aufderhar"], ["created_at", "2018-09-05 06:21:42.886282"], ["updated_at", "2018-09-05 06:21:42.886282"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Ahmad Mitchell"}, "id"=>"36"} Mks::Auth::User Load (1.3ms) 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.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.9ms) 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", ""], ["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", "Ahmad Mitchell"], ["id", 36], ["LIMIT", 1]]  (0.4ms) 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", 64], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 6.1ms)  (1.0ms) 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", "vince_gusikowski@runolfsdottir.co.uk"], ["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", "Ivelisse Padberg"], ["last_name", "Elroy Thompson"], ["email", "vince_gusikowski@runolfsdottir.co.uk"], ["password_digest", "$2a$04$8I9X2zQIuREc94/oK.CaeeAqJd6K/3MaUwv6PXT6wpJiztRaWFS3y"], ["created_at", "2018-09-05 06:21:42.911939"], ["updated_at", "2018-09-05 06:21:42.911939"]]  (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", "Eufemia O'Keefe"], ["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", "Eufemia O'Keefe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.916917"], ["updated_at", "2018-09-05 06:21:42.916917"]]  (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", "Asuncion Klein"], ["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", "Asuncion Klein"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.921422"], ["updated_at", "2018-09-05 06:21:42.921422"]]  (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", "Ammie Runolfsdottir"], ["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", "Ammie Runolfsdottir"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.925963"], ["updated_at", "2018-09-05 06:21:42.925963"]]  (0.6ms) 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]] Mks::Rate::UnitOfCharge Load (0.7ms) 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 06:21:42", updated_at: "2018-09-05 06:21:42"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.28ms)  (1.0ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" 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]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.53ms) Completed 200 OK in 10ms (Views: 1.6ms | ActiveRecord: 3.3ms)  (1.0ms) ROLLBACK  (0.9ms) BEGIN  (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", "Ida Boyle"], ["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", "Kristy 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", "Ida Boyle"], ["name", "Kristy Bogisich"], ["created_at", "2018-09-05 06:21:42.950314"], ["updated_at", "2018-09-05 06:21:42.950314"]]  (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", "Antony Haley"], ["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", "Antony Haley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.955208"], ["updated_at", "2018-09-05 06:21:42.955208"]]  (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", "Ariane O'Reilly"], ["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", "Ariane O'Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:42.962092"], ["updated_at", "2018-09-05 06:21:42.962092"]]  (0.4ms) 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", "Sung O'Connell"], ["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", "Sung O'Connell"], ["name", "Tommye Durgan"], ["address", "Stanford Littel"], ["created_at", "2018-09-05 06:21:42.970704"], ["updated_at", "2018-09-05 06:21:42.970704"]]  (0.5ms) RELEASE SAVEPOINT active_record_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", "Ceola Klocko"], ["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", "Ceola Klocko"], ["name", "Angelo Braun"], ["service_type_id", 37], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 06:21:42.976162"], ["updated_at", "2018-09-05 06:21:42.976162"]] 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", 55], ["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", "Ceola 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", "Ceola Klocko"], ["name", "Angelo Braun"], ["description", "Default bundle for service 'Angelo Braun'"], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 06:21:42.983037"], ["updated_at", "2018-09-05 06:21:42.983037"]] 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", 50], ["chargeable_service_id", 29]]  (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"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Ceola Klocko"], ["id", 29], ["service_delivery_unit_id", 55], ["LIMIT", 1]]  (1.4ms) ROLLBACK  (0.7ms) 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", "Tamara Crist"], ["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", "Allison Runte"], ["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", "Tamara Crist"], ["name", "Allison Runte"], ["created_at", "2018-09-05 06:21:43.001095"], ["updated_at", "2018-09-05 06:21:43.001095"]]  (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", "Roberto Lueilwitz"], ["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", "Roberto Lueilwitz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.006051"], ["updated_at", "2018-09-05 06:21:43.006051"]]  (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", "Drew Blick"], ["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", "Drew Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.010549"], ["updated_at", "2018-09-05 06:21:43.010549"]]  (0.9ms) 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", "Ralph Lang"], ["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", "Ralph Lang"], ["name", "Selene Rice"], ["address", "Damaris Rodriguez"], ["created_at", "2018-09-05 06:21:43.016090"], ["updated_at", "2018-09-05 06:21:43.016090"]]  (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.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Aaron Grant"], ["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", "Micah Walter"], ["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", "Aaron Grant"], ["name", "Micah Walter"], ["created_at", "2018-09-05 06:21:43.026703"], ["updated_at", "2018-09-05 06:21:43.026703"]]  (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", "Trena Mueller"], ["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", "Trena Mueller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.032209"], ["updated_at", "2018-09-05 06:21:43.032209"]]  (1.1ms) 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", "Elouise Leffler"], ["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", "Elouise Leffler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.038251"], ["updated_at", "2018-09-05 06:21:43.038251"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Lezlie Kling"], ["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", "Lezlie Kling"], ["name", "Amira Kunze"], ["address", "Samara Heathcote"], ["created_at", "2018-09-05 06:21:43.045740"], ["updated_at", "2018-09-05 06:21:43.045740"]]  (0.7ms) 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", "Lashawnda Swift"], ["service_delivery_unit_id", 57], ["LIMIT", 1]]  (0.5ms) 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", "Rudolf Wiza"], ["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", "Rachell Stoltenberg"], ["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 Wiza"], ["name", "Rachell Stoltenberg"], ["created_at", "2018-09-05 06:21:43.056886"], ["updated_at", "2018-09-05 06:21:43.056886"]]  (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", "Leslee Brekke"], ["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", "Leslee Brekke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.061795"], ["updated_at", "2018-09-05 06:21:43.061795"]]  (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", "Amberly Conroy"], ["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", "Amberly Conroy"], ["name", "Son Dicki"], ["address", "Lindy Kutch"], ["created_at", "2018-09-05 06:21:43.067506"], ["updated_at", "2018-09-05 06:21:43.067506"]]  (0.7ms) 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", "Sueann Hudson"], ["service_delivery_unit_id", 58], ["LIMIT", 1]]  (0.8ms) 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", "Joselyn 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", "Scot Sanford"], ["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", "Joselyn Gerhold"], ["name", "Scot Sanford"], ["created_at", "2018-09-05 06:21:43.079426"], ["updated_at", "2018-09-05 06:21:43.079426"]]  (0.6ms) 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", "John Keebler"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John Keebler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.084962"], ["updated_at", "2018-09-05 06:21:43.084962"]]  (0.7ms) 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", "Chauncey Yost"], ["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", "Chauncey Yost"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.092193"], ["updated_at", "2018-09-05 06:21:43.092193"]]  (0.5ms) 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" IS NULL LIMIT $2 [["code", "Lanny O'Keefe"], ["LIMIT", 1]]  (0.7ms) 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", "Chin 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", "Romona Hagenes"], ["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", "Chin Rolfson"], ["name", "Romona Hagenes"], ["created_at", "2018-09-05 06:21:43.103650"], ["updated_at", "2018-09-05 06:21:43.103650"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Lise McKenzie"], ["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", "Lise McKenzie"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.111201"], ["updated_at", "2018-09-05 06:21:43.111201"]]  (0.6ms) 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", "Renata Padberg"], ["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", "Renata Padberg"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.117729"], ["updated_at", "2018-09-05 06:21:43.117729"]]  (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", "Marian Beer"], ["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", "Marian Beer"], ["name", "Willia Feil"], ["address", "Janett Pouros"], ["created_at", "2018-09-05 06:21:43.122871"], ["updated_at", "2018-09-05 06:21:43.122871"]]  (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", "Theodora Morissette"], ["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", "Theodora Morissette"], ["name", "Kermit Zieme"], ["service_type_id", 42], ["base_unit_id", 71], ["utilization_unit_id", 72], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 06:21:43.127660"], ["updated_at", "2018-09-05 06:21:43.127660"]] 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", "Theodora Morissette"], ["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", "Theodora Morissette"], ["name", "Kermit Zieme"], ["description", "Default bundle for service 'Kermit Zieme'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 06:21:43.132480"], ["updated_at", "2018-09-05 06:21:43.132480"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (2.5ms) 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.8ms) RELEASE SAVEPOINT active_record_1  (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", "Elizabeth Treutel"], ["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", "Maddie Wilderman"], ["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", "Elizabeth Treutel"], ["name", "Maddie Wilderman"], ["created_at", "2018-09-05 06:21:43.145627"], ["updated_at", "2018-09-05 06:21:43.145627"]]  (0.5ms) 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", "Katherin Bode"], ["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", "Katherin Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.150147"], ["updated_at", "2018-09-05 06:21:43.150147"]]  (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", "Xiomara Kertzmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Xiomara Kertzmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.155544"], ["updated_at", "2018-09-05 06:21:43.155544"]]  (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", "Theodora Morissette"], ["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.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", "Luana Turcotte"], ["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", "Kristy Mertz"], ["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", "Luana Turcotte"], ["name", "Kristy Mertz"], ["created_at", "2018-09-05 06:21:43.172201"], ["updated_at", "2018-09-05 06:21:43.172201"]]  (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", "Prince Connelly"], ["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", "Prince Connelly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.176991"], ["updated_at", "2018-09-05 06:21:43.176991"]]  (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", "Santos Schneider"], ["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", "Santos Schneider"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.181744"], ["updated_at", "2018-09-05 06:21:43.181744"]]  (0.9ms) 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", "Jaimee Romaguera"], ["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", "Jaimee Romaguera"], ["name", "Ozie Bechtelar"], ["address", "Annabelle Schowalter"], ["created_at", "2018-09-05 06:21:43.187468"], ["updated_at", "2018-09-05 06:21:43.187468"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Vida Lemke"], ["service_delivery_unit_id", 60], ["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", "Vida Lemke"], ["name", "Kyoko Gusikowski"], ["service_type_id", 44], ["base_unit_id", 75], ["utilization_unit_id", 76], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 06:21:43.193344"], ["updated_at", "2018-09-05 06:21:43.193344"]] 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", 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", "Vida Lemke"], ["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", "Vida Lemke"], ["name", "Kyoko Gusikowski"], ["description", "Default bundle for service 'Kyoko Gusikowski'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 06:21:43.198316"], ["updated_at", "2018-09-05 06:21:43.198316"]] 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", 52], ["chargeable_service_id", 31]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (1.0ms) 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.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", "treasa.yundt@oconnerroberts.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", "Lavette Willms"], ["last_name", "Kimberly Brekke"], ["email", "treasa.yundt@oconnerroberts.biz"], ["password_digest", "$2a$04$RhWUwSnyH2X2SVQtelZfC.tTSEls6X5f0YZ9YNVpc.cveZQlntGvO"], ["created_at", "2018-09-05 06:21:43.219529"], ["updated_at", "2018-09-05 06:21:43.219529"]]  (2.5ms) RELEASE SAVEPOINT active_record_1  (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", "avery_walsh@rathfahey.co.uk"], ["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", "Frankie Okuneva"], ["last_name", "Astrid Tillman"], ["email", "avery_walsh@rathfahey.co.uk"], ["password_digest", "$2a$04$K/0.qBy9MChpNi4hwEtOdeJNLJBX/eOjkMNj/fQb1Ra2Qqi5xYVG6"], ["created_at", "2018-09-05 06:21:43.232440"], ["updated_at", "2018-09-05 06:21:43.232440"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "Alysia Franecki"], ["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", "Alysia Franecki"], ["authorized_by", "Lawerence O'Hara"], ["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 06:21:43.237610"], ["updated_at", "2018-09-05 06:21:43.237610"]]  (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", "Alysia Franecki"], ["id", 8], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) 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", "raye@hamill.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", "Ray Parker"], ["last_name", "Allie Eichmann"], ["email", "raye@hamill.us"], ["password_digest", "$2a$04$hyoWnIVR3gvDku/.h7imu.quUcCgqR.4WU207EHvIsQL3mqZ967jO"], ["created_at", "2018-09-05 06:21:43.251058"], ["updated_at", "2018-09-05 06:21:43.251058"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "alana@effertz.info"], ["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", "Benton Wolff"], ["last_name", "Sofia Waelchi"], ["email", "alana@effertz.info"], ["password_digest", "$2a$04$vCTIZbU3CI1u9JzZILnbdu9FeE39tfFguNyl5adM94jRJ2ifYOODq"], ["created_at", "2018-09-05 06:21:43.258499"], ["updated_at", "2018-09-05 06:21:43.258499"]]  (0.6ms) 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", "Alex Oga"], ["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", "detra@reinger.info"], ["LIMIT", 1]] Mks::Auth::User Create (2.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", "Ferne Hagenes"], ["last_name", "Chau VonRueden"], ["email", "detra@reinger.info"], ["password_digest", "$2a$04$t97FittDqjDKmGTcMYW/nuXr0QQzTDocKyVeRqg815BaOGg66q9ca"], ["created_at", "2018-09-05 06:21:43.270794"], ["updated_at", "2018-09-05 06:21:43.270794"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.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", "sharilyn@swaniawskiabbott.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", "Jeffery Rutherford"], ["last_name", "Lyn Halvorson"], ["email", "sharilyn@swaniawskiabbott.co.uk"], ["password_digest", "$2a$04$.dlXzuYeCBI9ULaWmqWt9O1rUOlMr/..//VvRByJ94SdW/1Dgh7ZS"], ["created_at", "2018-09-05 06:21:43.281206"], ["updated_at", "2018-09-05 06:21:43.281206"]]  (0.5ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) 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", "josiah.nolan@kuhlmanmiller.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", "Coralie Hilll"], ["last_name", "Keira Gislason"], ["email", "josiah.nolan@kuhlmanmiller.biz"], ["password_digest", "$2a$04$SHLaVXyPfdluYXaQJ/284Ok4Z7WsGXuEKjXKj6RZd6oDY4Hh1LJpS"], ["created_at", "2018-09-05 06:21:43.293735"], ["updated_at", "2018-09-05 06:21:43.293735"]]  (0.5ms) 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", "reid@paucekwalker.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", "Toni Kuvalis"], ["last_name", "Nikki Osinski"], ["email", "reid@paucekwalker.info"], ["password_digest", "$2a$04$pElyTqMXx.5qhdrFUhVpVe9sS8ivoxvkp9nGRLohSnqIc2GxVeu6e"], ["created_at", "2018-09-05 06:21:43.301291"], ["updated_at", "2018-09-05 06:21:43.301291"]]  (1.2ms) RELEASE SAVEPOINT active_record_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", "Gregoria Schaden"], ["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", "Gregoria Schaden"], ["authorized_by", "Elinor Oberbrunner"], ["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 06:21:43.307652"], ["updated_at", "2018-09-05 06:21:43.307652"]]  (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", "trudy_zulauf@ullrich.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", "Jacob Hickle"], ["last_name", "Mohamed Luettgen"], ["email", "trudy_zulauf@ullrich.biz"], ["password_digest", "$2a$04$J/82HaCf3xgck1rVmgIbOewG6dPjRh5cB0dHK5GoLoK2U6Jv3Qcl."], ["created_at", "2018-09-05 06:21:43.314812"], ["updated_at", "2018-09-05 06:21:43.314812"]]  (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", "jack.stroman@farrell.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", "Shonna Daugherty"], ["last_name", "Suzy Corwin"], ["email", "jack.stroman@farrell.biz"], ["password_digest", "$2a$04$oh9xJ8wkzzByari99JDkbeaneWXv2rxyNN5fYcohJXXZAALl7Nbze"], ["created_at", "2018-09-05 06:21:43.321462"], ["updated_at", "2018-09-05 06:21:43.321462"]]  (1.1ms) RELEASE 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", "Gregoria Schaden"], ["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", "manie@renner.biz"], ["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", "Myrtis Auer"], ["last_name", "Francina Padberg"], ["email", "manie@renner.biz"], ["password_digest", "$2a$04$PPdO8lmWOTrkGZIlvLreDOFbewg5MslknqHIj8nd9JEkrE4RKi6tq"], ["created_at", "2018-09-05 06:21:43.336097"], ["updated_at", "2018-09-05 06:21:43.336097"]]  (0.4ms) 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", "andree_mills@nikolaus.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", "Carin Hilll"], ["last_name", "Catheryn Leannon"], ["email", "andree_mills@nikolaus.info"], ["password_digest", "$2a$04$2BmOObbb2ukt55Ed8Yr.GOCWgVyOWu5kUMF2wpciuQQbXC/YxiMem"], ["created_at", "2018-09-05 06:21:43.342213"], ["updated_at", "2018-09-05 06:21:43.342213"]]  (0.4ms) 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", "Brenna Waelchi"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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", "martha@faheysatterfield.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", "Euna Jakubowski"], ["last_name", "Shanda Effertz"], ["email", "martha@faheysatterfield.info"], ["password_digest", "$2a$04$VsXVtoBkjn.rJj3vxNvzPOUtT1oyBv5QrDF6MKddDTsTk99lqQuJy"], ["created_at", "2018-09-05 06:21:43.353770"], ["updated_at", "2018-09-05 06:21:43.353770"]]  (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", "juliane@haagoberbrunner.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", "Laronda White"], ["last_name", "Yajaira Abshire"], ["email", "juliane@haagoberbrunner.ca"], ["password_digest", "$2a$04$bsSl0MTHluKPT6y3l1D.MOpNg749DTJbLHt5//9TyXCNtbBvVtCP6"], ["created_at", "2018-09-05 06:21:43.361002"], ["updated_at", "2018-09-05 06:21:43.361002"]]  (0.5ms) RELEASE 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", "Jamie Ritchie"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) 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", "miss@adams.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", "Nicholle Rolfson"], ["last_name", "Nick Schaden"], ["email", "miss@adams.info"], ["password_digest", "$2a$04$3ufXqVPwdr56kUxrpeKWzOtlYccMErvyXbxv8cpQFnR7X2mBQLXCq"], ["created_at", "2018-09-05 06:21:43.375052"], ["updated_at", "2018-09-05 06:21:43.375052"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (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", "kristine.mante@brakus.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", "Sommer Schinner"], ["last_name", "Windy Weber"], ["email", "kristine.mante@brakus.co.uk"], ["password_digest", "$2a$04$Kn.cE2UAfYMzttO2DyF0K.LdQr09mcTpgkUWZH.g5WjF27K/Vqg9G"], ["created_at", "2018-09-05 06:21:43.381799"], ["updated_at", "2018-09-05 06:21:43.381799"]]  (0.5ms) 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", "Tiny Hayes"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.8ms) BEGIN  (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", "elin@legros.co.uk"], ["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", "Ophelia Roob"], ["last_name", "Kyra Denesik"], ["email", "elin@legros.co.uk"], ["password_digest", "$2a$04$e12cMiMW2P5Uwn9wWFxZaOloXueOguZ8gBk4T1/wL48wJ56k0zBnG"], ["created_at", "2018-09-05 06:21:43.397357"], ["updated_at", "2018-09-05 06:21:43.397357"]]  (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", "taren.keeling@rempel.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", "Kurt Baumbach"], ["last_name", "Caridad Rowe"], ["email", "taren.keeling@rempel.us"], ["password_digest", "$2a$04$aLQlq0LW6KPLoCMxE6OCZ.ngNISJZkchr.vhPnyvAfQ38L8lvP4c6"], ["created_at", "2018-09-05 06:21:43.404161"], ["updated_at", "2018-09-05 06:21:43.404161"]]  (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", "Miranda McLaughlin"], ["LIMIT", 1]]  (1.2ms) 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", "lucienne@satterfield.info"], ["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", "Jann Macejkovic"], ["last_name", "Ileen Toy"], ["email", "lucienne@satterfield.info"], ["password_digest", "$2a$04$NJCSi9aeI7P7wqSas7Y0MOjW9p7JJI9aF6FeUQJckcRvGGe1hZkPq"], ["created_at", "2018-09-05 06:21:43.420544"], ["updated_at", "2018-09-05 06:21:43.420544"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Ruthann Hane"], ["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", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Ruthann Hane"], ["authorized_by", "Britney Bednar"], ["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 06:21:43.431023"], ["updated_at", "2018-09-05 06:21:43.431023"]]  (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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Ruthann Hane"], ["id", 10], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) 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", "Nobuko Pfeffer"], ["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", "Nobuko Pfeffer"], ["name", "Irina Miller"], ["address", "Rosia Cummerata"], ["created_at", "2018-09-05 06:21:43.441471"], ["updated_at", "2018-09-05 06:21:43.441471"]]  (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", "Meredith Waters"], ["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", "Meredith Waters"], ["name", "Chantal Schuppe"], ["description", "Izetta Koelpin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 06:21:43.445742"], ["updated_at", "2018-09-05 06:21:43.445742"]]  (0.8ms) 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", "Meredith Waters"], ["id", 53], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.9ms) BEGIN  (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", "Leon Wiegand"], ["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", "Leon Wiegand"], ["name", "Piedad Stark"], ["address", "Mindy Halvorson"], ["created_at", "2018-09-05 06:21:43.456611"], ["updated_at", "2018-09-05 06:21:43.456611"]]  (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.6ms) 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", "Dominque Hegmann"], ["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", "Dominque Hegmann"], ["name", "Joe Herzog"], ["address", "Steven Dare"], ["created_at", "2018-09-05 06:21:43.466735"], ["updated_at", "2018-09-05 06:21:43.466735"]]  (0.5ms) 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", "Keeley Bogisich"], ["LIMIT", 1]]  (1.4ms) ROLLBACK  (0.6ms) BEGIN  (1.1ms) 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", "Terrell 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", "Terrell Carter"], ["name", "Lewis Gleason"], ["address", "Darlena Metz"], ["created_at", "2018-09-05 06:21:43.479460"], ["updated_at", "2018-09-05 06:21:43.479460"]]  (0.5ms) RELEASE 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", "Philomena Swaniawski"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (1.2ms) 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", "Maryalice Carroll"], ["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", "Maryalice Carroll"], ["name", "Alpha Gibson"], ["address", "Ellamae Yundt"], ["created_at", "2018-09-05 06:21:43.491648"], ["updated_at", "2018-09-05 06:21:43.491648"]]  (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", "Brian Stoltenberg"], ["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", "Brian Stoltenberg"], ["name", "Tiny Leuschke"], ["description", "Ricardo Hamill"], ["percent_discount", 100.0], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 06:21:43.496802"], ["updated_at", "2018-09-05 06:21:43.496802"]]  (0.6ms) 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", "Hue Mann"], ["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", "Hue Mann"], ["name", "Janel Price"], ["address", "Tamisha Bosco"], ["created_at", "2018-09-05 06:21:43.502731"], ["updated_at", "2018-09-05 06:21:43.502731"]]  (1.4ms) 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", "Brian Stoltenberg"], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.6ms) 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", "Avis Lueilwitz"], ["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", "Avis Lueilwitz"], ["name", "Dana Langworth"], ["address", "Cesar Upton"], ["created_at", "2018-09-05 06:21:43.516504"], ["updated_at", "2018-09-05 06:21:43.516504"]]  (0.5ms) RELEASE 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Avis Lueilwitz"], ["id", 67], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) 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.5ms) ROLLBACK  (1.4ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Elbert Bruen"], ["LIMIT", 1]]  (1.9ms) ROLLBACK  (0.5ms) BEGIN  (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", "Letisha Herman"], ["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", "Letisha Herman"], ["name", "Aron Ward"], ["address", "Neomi Miller"], ["created_at", "2018-09-05 06:21:43.541246"], ["updated_at", "2018-09-05 06:21:43.541246"]]  (0.8ms) RELEASE 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", "Letisha Herman"], ["LIMIT", 1]]  (4.6ms) ROLLBACK  (0.6ms) 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", "Kum Gaylord"], ["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", "Teena Konopelski"], ["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", "Kum Gaylord"], ["name", "Teena Konopelski"], ["description", "Et aliquid iste enim nesciunt consectetur ipsum eaque fugit. Et quia vero itaque soluta. Cupiditate delectus dolor ut eveniet accusantium qui sit."], ["created_at", "2018-09-05 06:21:43.560702"], ["updated_at", "2018-09-05 06:21:43.560702"]]  (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", "Margart Stark"], ["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", "Rocky Lowe"], ["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", "Margart Stark"], ["name", "Rocky Lowe"], ["description", "Quasi fugit explicabo necessitatibus molestias veritatis accusamus facilis. Autem ut dolorum culpa soluta repellendus placeat non. Cumque temporibus mollitia vitae accusamus id qui. Necessitatibus incidunt quas aut neque excepturi. Tempora velit enim cumque impedit reprehenderit."], ["equipment_type_id", 17], ["created_at", "2018-09-05 06:21:43.566021"], ["updated_at", "2018-09-05 06:21:43.566021"]]  (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", "Ernest Sporer"], ["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", "Ernest Sporer"], ["name", "Priscilla Lakin"], ["description", "Kymberly Goldner"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 17], ["created_at", "2018-09-05 06:21:43.570637"], ["updated_at", "2018-09-05 06:21:43.570637"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Alisa Hammes"], ["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", "Marna Kertzmann"], ["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", "Alisa Hammes"], ["name", "Marna Kertzmann"], ["description", "Dominica Leannon"], ["created_at", "2018-09-05 06:21:43.580503"], ["updated_at", "2018-09-05 06:21:43.580503"]]  (0.6ms) 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", "Loralee Green"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.6ms) 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", "Loralee Green"], ["name", "Gregory Fahey"], ["location_type_id", 17], ["description", "Emely Murazik"], ["address", "Lashay Renner"], ["created_at", "2018-09-05 06:21:43.585210"], ["updated_at", "2018-09-05 06:21:43.585210"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Clementine Bernier"], ["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", "Vance Muller"], ["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", "Clementine Bernier"], ["name", "Winifred Kovacek"], ["description", "Denese Wiegand"], ["serial_number", "Vance Muller"], ["brand", "Jessenia Satterfield"], ["item_model", "Felisha Howe"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 17], ["current_location_id", 17], ["created_at", "2018-09-05 06:21:43.595026"], ["updated_at", "2018-09-05 06:21:43.595026"]]  (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", "Lucius Kihn"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (5.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Crystal Fadel"], ["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", "Lucius Kihn"], ["name", "Crystal Fadel"], ["created_at", "2018-09-05 06:21:43.607041"], ["updated_at", "2018-09-05 06:21:43.607041"]]  (0.6ms) 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", "Kami Halvorson"], ["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", "Kami Halvorson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.614080"], ["updated_at", "2018-09-05 06:21:43.614080"]]  (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", "Emilia Tillman"], ["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", "Emilia Tillman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.619002"], ["updated_at", "2018-09-05 06:21:43.619002"]]  (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", "Fletcher Wisozk"], ["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", "Fletcher Wisozk"], ["name", "Jamar Carter"], ["address", "Emanuel Orn"], ["created_at", "2018-09-05 06:21:43.624116"], ["updated_at", "2018-09-05 06:21:43.624116"]]  (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", "Denver Balistreri"], ["service_delivery_unit_id", 69], ["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", "Denver Balistreri"], ["name", "Alison Kohler"], ["service_type_id", 45], ["base_unit_id", 77], ["utilization_unit_id", 78], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 06:21:43.628964"], ["updated_at", "2018-09-05 06:21:43.628964"]] 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Denver 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", "Denver Balistreri"], ["name", "Alison Kohler"], ["description", "Default bundle for service 'Alison Kohler'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 06:21:43.634038"], ["updated_at", "2018-09-05 06:21:43.634038"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.9ms) 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]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", 32], ["equipment_item_id", 17], ["created_at", "2018-09-05 06:21:43.642636"], ["updated_at", "2018-09-05 06:21:43.642636"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (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", "Jeremiah Altenwerth"], ["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", "Trula King"], ["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", "Jeremiah Altenwerth"], ["name", "Trula King"], ["description", "Placeat laboriosam quia consequatur facere. Voluptates rerum itaque et minus quo rerum quia. Aliquid accusantium voluptate deserunt qui corporis dolore consequatur eveniet. Esse autem quaerat commodi ducimus error aliquam. Quod quia magni et voluptatibus tempora rerum."], ["created_at", "2018-09-05 06:21:43.652462"], ["updated_at", "2018-09-05 06:21:43.652462"]]  (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", "Young Gottlieb"], ["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", "Ervin Zieme"], ["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", "Young Gottlieb"], ["name", "Ervin Zieme"], ["description", "Praesentium et fuga facere repudiandae. Illo dolores autem est ut vel saepe. Et modi assumenda enim ducimus. Hic laudantium pariatur dignissimos nihil quo voluptates et. Iure odio est animi labore et minus."], ["equipment_type_id", 18], ["created_at", "2018-09-05 06:21:43.657765"], ["updated_at", "2018-09-05 06:21:43.657765"]]  (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", "Londa Schaefer"], ["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", "Londa Schaefer"], ["name", "Rich Towne"], ["description", "Zoraida Howell"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 18], ["created_at", "2018-09-05 06:21:43.662195"], ["updated_at", "2018-09-05 06:21:43.662195"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Cleotilde Raynor"], ["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", "Sung Moore"], ["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", "Cleotilde Raynor"], ["name", "Sung Moore"], ["description", "Jewell Oberbrunner"], ["created_at", "2018-09-05 06:21:43.668603"], ["updated_at", "2018-09-05 06:21:43.668603"]]  (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", "Bobbie Haley"], ["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", "Bobbie Haley"], ["name", "Tessie Collins"], ["location_type_id", 18], ["description", "Kirstin Wolf"], ["address", "Adriana Stroman"], ["created_at", "2018-09-05 06:21:43.672758"], ["updated_at", "2018-09-05 06:21:43.672758"]]  (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", "Walter Rempel"], ["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", "Luisa Parker"], ["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", "Walter Rempel"], ["name", "Robbyn Gleichner"], ["description", "Branden Parker"], ["serial_number", "Luisa Parker"], ["brand", "Carletta Jenkins"], ["item_model", "Kisha Harvey"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 18], ["current_location_id", 18], ["created_at", "2018-09-05 06:21:43.678336"], ["updated_at", "2018-09-05 06:21:43.678336"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (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", "Diann Hane"], ["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", "Leanora Padberg"], ["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", "Diann Hane"], ["name", "Leanora Padberg"], ["created_at", "2018-09-05 06:21:43.687890"], ["updated_at", "2018-09-05 06:21:43.687890"]]  (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", "Danna Ferry"], ["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", "Danna Ferry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.692607"], ["updated_at", "2018-09-05 06:21:43.692607"]]  (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", "Clara Hilpert"], ["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", "Clara Hilpert"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.697604"], ["updated_at", "2018-09-05 06:21:43.697604"]]  (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", "Vannesa Jakubowski"], ["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", "Vannesa Jakubowski"], ["name", "Eveline Okuneva"], ["address", "Jerrold Walker"], ["created_at", "2018-09-05 06:21:43.701788"], ["updated_at", "2018-09-05 06:21:43.701788"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Towanda Windler"], ["service_delivery_unit_id", 70], ["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", "Towanda Windler"], ["name", "Misha Osinski"], ["service_type_id", 46], ["base_unit_id", 79], ["utilization_unit_id", 80], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 06:21:43.708151"], ["updated_at", "2018-09-05 06:21:43.708151"]] 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", 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", "Towanda Windler"], ["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", "Towanda Windler"], ["name", "Misha Osinski"], ["description", "Default bundle for service 'Misha Osinski'"], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 06:21:43.715486"], ["updated_at", "2018-09-05 06:21:43.715486"]] 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.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Sylvester 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", "Soo Veum"], ["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", "Sylvester Bins"], ["name", "Soo Veum"], ["description", "Facilis eaque porro voluptas doloremque. Quis ut amet quasi pariatur. Aut sequi vitae et nihil nemo. Voluptates molestiae assumenda est placeat accusantium. Delectus sunt sunt consequatur incidunt autem doloribus."], ["created_at", "2018-09-05 06:21:43.728928"], ["updated_at", "2018-09-05 06:21:43.728928"]]  (0.4ms) 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", "Amos Fritsch"], ["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", "Fabian Feil"], ["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", "Amos Fritsch"], ["name", "Fabian Feil"], ["description", "Voluptate placeat sit nulla sequi. Quas atque ducimus totam a harum vel fugit enim. Debitis voluptatibus libero nihil natus accusamus necessitatibus eligendi. Numquam qui qui non dolorum. Nobis ad porro eaque fugiat temporibus praesentium qui."], ["equipment_type_id", 19], ["created_at", "2018-09-05 06:21:43.734798"], ["updated_at", "2018-09-05 06:21:43.734798"]]  (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", "Marshall Stamm"], ["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", "Marshall Stamm"], ["name", "Alice Crist"], ["description", "Dedra Orn"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 19], ["created_at", "2018-09-05 06:21:43.739382"], ["updated_at", "2018-09-05 06:21:43.739382"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Melodie Bogisich"], ["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", "Lavern McClure"], ["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", "Melodie Bogisich"], ["name", "Lavern McClure"], ["description", "Carin Herman"], ["created_at", "2018-09-05 06:21:43.746143"], ["updated_at", "2018-09-05 06:21:43.746143"]]  (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", "Keith Shanahan"], ["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", "Keith Shanahan"], ["name", "Maxwell Ernser"], ["location_type_id", 19], ["description", "Nadene Ortiz"], ["address", "Odilia Harber"], ["created_at", "2018-09-05 06:21:43.750294"], ["updated_at", "2018-09-05 06:21:43.750294"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Serena Brakus"], ["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", "Niki Pacocha"], ["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", "Serena Brakus"], ["name", "Sylvia Brekke"], ["description", "Tiffiny Kirlin"], ["serial_number", "Niki Pacocha"], ["brand", "Whitley Wunsch"], ["item_model", "Yasmin Jast"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 19], ["current_location_id", 19], ["created_at", "2018-09-05 06:21:43.756508"], ["updated_at", "2018-09-05 06:21:43.756508"]]  (0.6ms) 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", "Mariah Kuhic"], ["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", "Dorotha Lockman"], ["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", "Mariah Kuhic"], ["name", "Dorotha Lockman"], ["created_at", "2018-09-05 06:21:43.765158"], ["updated_at", "2018-09-05 06:21:43.765158"]]  (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", "Dick Goodwin"], ["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", "Dick Goodwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.770158"], ["updated_at", "2018-09-05 06:21:43.770158"]]  (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", "Adella Ferry"], ["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", "Adella Ferry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.777524"], ["updated_at", "2018-09-05 06:21:43.777524"]]  (0.4ms) 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", "Kimberley Stokes"], ["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", "Kimberley Stokes"], ["name", "Natasha Kassulke"], ["address", "Shannon Graham"], ["created_at", "2018-09-05 06:21:43.782712"], ["updated_at", "2018-09-05 06:21:43.782712"]]  (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", "Vesta McDermott"], ["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", "Vesta McDermott"], ["name", "Aisha Monahan"], ["service_type_id", 47], ["base_unit_id", 81], ["utilization_unit_id", 82], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 06:21:43.788532"], ["updated_at", "2018-09-05 06:21:43.788532"]] 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 (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Vesta McDermott"], ["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", "Vesta McDermott"], ["name", "Aisha Monahan"], ["description", "Default bundle for service 'Aisha Monahan'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 06:21:43.793392"], ["updated_at", "2018-09-05 06:21:43.793392"]] 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", 57], ["chargeable_service_id", 34]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (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", "Mary Barrows"], ["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", "Florencio Weissnat"], ["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", "Mary Barrows"], ["name", "Florencio Weissnat"], ["description", "Blanditiis quidem explicabo aperiam beatae. Commodi eaque dolores aperiam nesciunt molestias quae hic quasi. Sit est voluptatem aut qui aut."], ["created_at", "2018-09-05 06:21:43.806082"], ["updated_at", "2018-09-05 06:21:43.806082"]]  (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", "Nathanial Ruecker"], ["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", "Oswaldo Upton"], ["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", "Nathanial Ruecker"], ["name", "Oswaldo Upton"], ["description", "Eum architecto minima ut alias est optio. Laboriosam vitae nihil quibusdam modi et in. Amet temporibus rerum architecto ut mollitia sit et blanditiis. Commodi molestiae quam sunt adipisci vero laudantium ut vitae. Consequatur voluptatem sunt velit animi pariatur cumque quisquam quis."], ["equipment_type_id", 20], ["created_at", "2018-09-05 06:21:43.811597"], ["updated_at", "2018-09-05 06:21:43.811597"]]  (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", "Jeane Braun"], ["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", "Jeane Braun"], ["name", "Serina Hegmann"], ["description", "Charlott Kub"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 20], ["created_at", "2018-09-05 06:21:43.817345"], ["updated_at", "2018-09-05 06:21:43.817345"]]  (0.6ms) 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", "Marylynn Feil"], ["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", "Evelyne White"], ["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", "Marylynn Feil"], ["name", "Evelyne White"], ["description", "Anna Schaden"], ["created_at", "2018-09-05 06:21:43.823482"], ["updated_at", "2018-09-05 06:21:43.823482"]]  (0.4ms) 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", "Efrain Pacocha"], ["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", "Efrain Pacocha"], ["name", "Roxanne Murphy"], ["location_type_id", 20], ["description", "Shane Bogisich"], ["address", "Ernesto O'Reilly"], ["created_at", "2018-09-05 06:21:43.827609"], ["updated_at", "2018-09-05 06:21:43.827609"]]  (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", "Etha Emard"], ["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", "Buena Cormier"], ["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", "Etha Emard"], ["name", "Clotilde Treutel"], ["description", "Ghislaine O'Connell"], ["serial_number", "Buena Cormier"], ["brand", "Merri Hettinger"], ["item_model", "Noel Blanda"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 20], ["current_location_id", 20], ["created_at", "2018-09-05 06:21:43.833230"], ["updated_at", "2018-09-05 06:21:43.833230"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) 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", "Darline Hayes"], ["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", "Shawnee Bode"], ["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", "Darline Hayes"], ["name", "Shawnee Bode"], ["created_at", "2018-09-05 06:21:43.846137"], ["updated_at", "2018-09-05 06:21:43.846137"]]  (0.5ms) 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", "Darline Hayes"], ["id", 48], ["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", "Shawnee Bode"], ["id", 48], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceType Exists (1.4ms) 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.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Brandie Collier"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) 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", "Henrietta Rosenbaum"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Liz Berge"], ["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", "Lynell Hansen"], ["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", "Liz Berge"], ["name", "Lynell Hansen"], ["created_at", "2018-09-05 06:21:43.876229"], ["updated_at", "2018-09-05 06:21:43.876229"]]  (0.8ms) RELEASE 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", "Liz Berge"], ["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", "Catrice Grant"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) 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", "Mathilde Hansen"], ["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", "Modesto Hoppe"], ["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", "Mathilde Hansen"], ["name", "Modesto Hoppe"], ["created_at", "2018-09-05 06:21:43.891595"], ["updated_at", "2018-09-05 06:21:43.891595"]]  (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", "Kathern Sauer"], ["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", "Modesto Hoppe"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN 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", "Sang Smitham"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN Mks::Rate::UnitOfCharge Exists (0.8ms) 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.4ms) BEGIN 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", "Lakeisha Veum"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (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", "Joella Kulas"], ["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", "Joella Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.917018"], ["updated_at", "2018-09-05 06:21:43.917018"]]  (0.8ms) RELEASE 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", "Joella Kulas"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) 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", "Jerald Huels"], ["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", "Boris Walker"], ["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", "Jerald Huels"], ["name", "Boris Walker"], ["created_at", "2018-09-05 06:21:43.930745"], ["updated_at", "2018-09-05 06:21:43.930745"]]  (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", "Shantelle Parisian"], ["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", "Shantelle Parisian"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.936939"], ["updated_at", "2018-09-05 06:21:43.936939"]]  (0.9ms) 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", "Alberto Rempel"], ["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", "Alberto Rempel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.944357"], ["updated_at", "2018-09-05 06:21:43.944357"]]  (0.7ms) 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", "Rashad Kilback"], ["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", "Rashad Kilback"], ["name", "Alla Reynolds"], ["address", "Jesus Sanford"], ["created_at", "2018-09-05 06:21:43.950223"], ["updated_at", "2018-09-05 06:21:43.950223"]]  (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", "Janean Nienow"], ["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", "Janean Nienow"], ["name", "Prince Quigley"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 06:21:43.955130"], ["updated_at", "2018-09-05 06:21:43.955130"]] 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", 72], ["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", "Janean Nienow"], ["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", "Janean Nienow"], ["name", "Prince Quigley"], ["description", "Default bundle for service 'Prince Quigley'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 06:21:43.960374"], ["updated_at", "2018-09-05 06:21:43.960374"]] 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", 58], ["chargeable_service_id", 35]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Luella Kozey"], ["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", "Kimberlee Gleichner"], ["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", "Luella Kozey"], ["name", "Kimberlee Gleichner"], ["created_at", "2018-09-05 06:21:43.973385"], ["updated_at", "2018-09-05 06:21:43.973385"]]  (0.9ms) 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", "Dorthea Erdman"], ["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", "Dorthea Erdman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.979366"], ["updated_at", "2018-09-05 06:21:43.979366"]]  (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", "Roxana Yost"], ["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", "Roxana Yost"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:43.983554"], ["updated_at", "2018-09-05 06:21:43.983554"]]  (0.6ms) 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", "Nicky Oberbrunner"], ["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", "Nicky Oberbrunner"], ["name", "Oswaldo Bergstrom"], ["address", "Nicolas Mueller"], ["created_at", "2018-09-05 06:21:43.989007"], ["updated_at", "2018-09-05 06:21:43.989007"]]  (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", "Fumiko Ankunding"], ["service_delivery_unit_id", 73], ["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", "Fumiko Ankunding"], ["name", "Shoshana Goldner"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 06:21:43.994107"], ["updated_at", "2018-09-05 06:21:43.994107"]] 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", 73], ["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", "Fumiko Ankunding"], ["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", "Fumiko Ankunding"], ["name", "Shoshana Goldner"], ["description", "Default bundle for service 'Shoshana Goldner'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 06:21:43.999000"], ["updated_at", "2018-09-05 06:21:43.999000"]] 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.4ms) 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", "Ivey Kub"], ["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", "Kattie McKenzie"], ["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", "Ivey Kub"], ["name", "Kattie McKenzie"], ["created_at", "2018-09-05 06:21:44.007802"], ["updated_at", "2018-09-05 06:21:44.007802"]]  (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", "Shani 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", "Shani Becker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.012484"], ["updated_at", "2018-09-05 06:21:44.012484"]]  (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", "Avery Goldner"], ["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", "Avery Goldner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.017233"], ["updated_at", "2018-09-05 06:21:44.017233"]]  (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", "Leandra Wilderman"], ["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", "Leandra Wilderman"], ["name", "Darrick Labadie"], ["address", "Bryce Kirlin"], ["created_at", "2018-09-05 06:21:44.021930"], ["updated_at", "2018-09-05 06:21:44.021930"]]  (0.7ms) 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", "Lera Quitzon"], ["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", "Lera Quitzon"], ["name", "Allen Lemke"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 06:21:44.027736"], ["updated_at", "2018-09-05 06:21:44.027736"]] 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", 74], ["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", "Lera Quitzon"], ["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", "Lera Quitzon"], ["name", "Allen Lemke"], ["description", "Default bundle for service 'Allen Lemke'"], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 06:21:44.032206"], ["updated_at", "2018-09-05 06:21:44.032206"]] 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.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", 35], ["LIMIT", 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", 36], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.5ms) 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 (0.8ms) 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 06:21:44.043087"], ["updated_at", "2018-09-05 06:21:44.043087"]] 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 06:21:44.046212"], ["updated_at", "2018-09-05 06:21:44.046212"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.5ms) ROLLBACK  (0.9ms) BEGIN  (1.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", "Claretha Welch"], ["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", "Nguyet Emmerich"], ["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", "Claretha Welch"], ["name", "Nguyet Emmerich"], ["created_at", "2018-09-05 06:21:44.060617"], ["updated_at", "2018-09-05 06:21:44.060617"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Tonie Kemmer"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tonie Kemmer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.068614"], ["updated_at", "2018-09-05 06:21:44.068614"]]  (1.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", "Reed Smitham"], ["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", "Reed Smitham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.076404"], ["updated_at", "2018-09-05 06:21:44.076404"]]  (0.4ms) 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", "Sol Hirthe"], ["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", "Sol Hirthe"], ["name", "Louella Crist"], ["address", "Wanita Stehr"], ["created_at", "2018-09-05 06:21:44.080959"], ["updated_at", "2018-09-05 06:21:44.080959"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Lakeisha Dooley"], ["service_delivery_unit_id", 75], ["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", "Lakeisha Dooley"], ["name", "Tonita Walter"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 06:21:44.086360"], ["updated_at", "2018-09-05 06:21:44.086360"]] 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", 75], ["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", "Lakeisha Dooley"], ["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", "Lakeisha Dooley"], ["name", "Tonita Walter"], ["description", "Default bundle for service 'Tonita Walter'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 06:21:44.092642"], ["updated_at", "2018-09-05 06:21:44.092642"]] 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.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (0.8ms) 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 06:21:44.098258"], ["updated_at", "2018-09-05 06:21:44.098258"]]  (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.6ms) SAVEPOINT active_record_1 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", 38], ["LIMIT", 1]] Mks::Rate::ServiceRate Update (1.4ms) 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 06:21:44.105491"], ["id", 10]]  (0.6ms) 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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.6ms) 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", "keesha_harber@hills.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", "Vicente Lueilwitz"], ["last_name", "Logan Kuhlman"], ["email", "keesha_harber@hills.co.uk"], ["password_digest", "$2a$04$jj1MFw79nFW.yvw2lc.F.OJfXuMRSX7Zq7oOpbG5M54B20GRRbA6."], ["created_at", "2018-09-05 06:21:44.119137"], ["updated_at", "2018-09-05 06:21:44.119137"]]  (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", "giuseppe@effertz.com"], ["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", "Pei Cartwright"], ["last_name", "Maria Windler"], ["email", "giuseppe@effertz.com"], ["password_digest", "$2a$04$HXiDQ.M6Xm.fxOZYFRw55ODJy2zS8oSBceCgWkQeH2yw7hBFuA0Jq"], ["created_at", "2018-09-05 06:21:44.126279"], ["updated_at", "2018-09-05 06:21:44.126279"]]  (0.8ms) 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", "waldo@franeckidare.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", "Lizeth Carroll"], ["last_name", "Liberty Lynch"], ["email", "waldo@franeckidare.biz"], ["password_digest", "$2a$04$.txaBkjq8gs29HMIPUhnd.zceP724C.0O/o43SwVI7yvemYHxvIH."], ["created_at", "2018-09-05 06:21:44.134033"], ["updated_at", "2018-09-05 06:21:44.134033"]]  (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", "Graciela Botsford"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.7ms) 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", "Graciela Botsford"], ["authorized_by", "Paola Kerluke"], ["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 06:21:44.139337"], ["updated_at", "2018-09-05 06:21:44.139337"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Graciela Botsford"], ["id", 11], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.3ms) 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 06:21:44.147390"], ["id", 11]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Load (1.6ms) 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 (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]]  (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", "Rosario Hessel"], ["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", "Rosario Hessel"], ["name", "Azucena Gleason"], ["address", "Iola Yundt"], ["created_at", "2018-09-05 06:21:44.161998"], ["updated_at", "2018-09-05 06:21:44.161998"]]  (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", "Renda Kris"], ["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", "Renda Kris"], ["name", "Omega Reinger"], ["description", "Jamika Littel"], ["percent_discount", 100.0], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 06:21:44.166388"], ["updated_at", "2018-09-05 06:21:44.166388"]]  (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", "Vernice Ankunding"], ["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", "John Gerhold"], ["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", "Vernice Ankunding"], ["name", "John Gerhold"], ["created_at", "2018-09-05 06:21:44.175041"], ["updated_at", "2018-09-05 06:21:44.175041"]]  (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", "Mirna Lowe"], ["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", "Mirna Lowe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.180823"], ["updated_at", "2018-09-05 06:21:44.180823"]]  (0.4ms) 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", "Spring Robel"], ["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", "Spring Robel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.185847"], ["updated_at", "2018-09-05 06:21:44.185847"]]  (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", "Gigi Glover"], ["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", "Gigi Glover"], ["name", "Barrett Monahan"], ["address", "Drucilla Botsford"], ["created_at", "2018-09-05 06:21:44.190907"], ["updated_at", "2018-09-05 06:21:44.190907"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "Anastacia Okuneva"], ["service_delivery_unit_id", 77], ["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", "Anastacia Okuneva"], ["name", "Felicidad Kuhlman"], ["service_type_id", 55], ["base_unit_id", 92], ["utilization_unit_id", 93], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 06:21:44.197514"], ["updated_at", "2018-09-05 06:21:44.197514"]] 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", 77], ["LIMIT", 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", "Anastacia Okuneva"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.4ms) 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", "Anastacia Okuneva"], ["name", "Felicidad Kuhlman"], ["description", "Default bundle for service 'Felicidad Kuhlman'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 06:21:44.204554"], ["updated_at", "2018-09-05 06:21:44.204554"]] 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", 63], ["chargeable_service_id", 39]]  (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", "Patrick Schmitt"], ["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", "Dorie Quigley"], ["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", "Patrick Schmitt"], ["name", "Dorie Quigley"], ["created_at", "2018-09-05 06:21:44.215365"], ["updated_at", "2018-09-05 06:21:44.215365"]]  (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", "Marylouise Schultz"], ["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", "Marylouise Schultz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.220249"], ["updated_at", "2018-09-05 06:21:44.220249"]]  (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", "Lynsey Schoen"], ["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", "Lynsey Schoen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.224988"], ["updated_at", "2018-09-05 06:21:44.224988"]]  (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", "Kimi Nolan"], ["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", "Kimi Nolan"], ["name", "Marla Bosco"], ["address", "Latesha Rowe"], ["created_at", "2018-09-05 06:21:44.229714"], ["updated_at", "2018-09-05 06:21:44.229714"]]  (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", "Leslie Bergstrom"], ["service_delivery_unit_id", 78], ["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", "Leslie Bergstrom"], ["name", "Eugenio Herman"], ["service_type_id", 56], ["base_unit_id", 94], ["utilization_unit_id", 95], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 06:21:44.235709"], ["updated_at", "2018-09-05 06:21:44.235709"]] 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", 78], ["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", "Leslie 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", "Leslie Bergstrom"], ["name", "Eugenio Herman"], ["description", "Default bundle for service 'Eugenio Herman'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 06:21:44.241279"], ["updated_at", "2018-09-05 06:21:44.241279"]] 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", 64], ["chargeable_service_id", 40]]  (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", "Mirella Considine"], ["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 Kris"], ["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", "Mirella Considine"], ["name", "Kam Kris"], ["created_at", "2018-09-05 06:21:44.251192"], ["updated_at", "2018-09-05 06:21:44.251192"]]  (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", "Athena Howe"], ["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", "Athena Howe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.256793"], ["updated_at", "2018-09-05 06:21:44.256793"]]  (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", "Juli King"], ["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", "Juli King"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.261911"], ["updated_at", "2018-09-05 06:21:44.261911"]]  (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", "Daphne Keeling"], ["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", "Daphne Keeling"], ["name", "Jeff Gutmann"], ["address", "Tory Gusikowski"], ["created_at", "2018-09-05 06:21:44.267179"], ["updated_at", "2018-09-05 06:21:44.267179"]]  (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", "Janella Reilly"], ["service_delivery_unit_id", 79], ["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", "Janella Reilly"], ["name", "Jose Shields"], ["service_type_id", 57], ["base_unit_id", 96], ["utilization_unit_id", 97], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 06:21:44.272685"], ["updated_at", "2018-09-05 06:21:44.272685"]] 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 (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Janella Reilly"], ["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", "Janella Reilly"], ["name", "Jose Shields"], ["description", "Default bundle for service 'Jose Shields'"], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 06:21:44.277604"], ["updated_at", "2018-09-05 06:21:44.277604"]] 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  (1.4ms) 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.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" 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 (1.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", 39]] 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", 62], ["chargeable_service_id", 40]] 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", 62], ["chargeable_service_id", 41]]  (1.3ms) RELEASE SAVEPOINT active_record_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", 62], ["LIMIT", 1]]  (1.8ms) 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.6ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mary Pollich"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (3.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mary Pollich"], ["name", "Toby Okuneva"], ["address", "Floretta Green"], ["created_at", "2018-09-05 06:21:44.317332"], ["updated_at", "2018-09-05 06:21:44.317332"]]  (3.2ms) RELEASE SAVEPOINT active_record_1  (2.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kym Corkery"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.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", "Kym Corkery"], ["name", "Virgen Hudson"], ["description", "Edna Bogan"], ["percent_discount", 100.0], ["service_delivery_unit_id", 80], ["created_at", "2018-09-05 06:21:44.332571"], ["updated_at", "2018-09-05 06:21:44.332571"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "Maricruz Purdy"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shay Leuschke"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maricruz Purdy"], ["name", "Shay Leuschke"], ["created_at", "2018-09-05 06:21:44.344857"], ["updated_at", "2018-09-05 06:21:44.344857"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Napoleon Crist"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (36.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Napoleon Crist"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.356794"], ["updated_at", "2018-09-05 06:21:44.356794"]]  (5.3ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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", "Brittni Walker"], ["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", "Brittni Walker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.406733"], ["updated_at", "2018-09-05 06:21:44.406733"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Era Murray"], ["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", "Era Murray"], ["name", "Darell Larkin"], ["address", "Liza Wyman"], ["created_at", "2018-09-05 06:21:44.412964"], ["updated_at", "2018-09-05 06:21:44.412964"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Lory Shields"], ["service_delivery_unit_id", 81], ["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", "Lory Shields"], ["name", "Ambrose Jaskolski"], ["service_type_id", 58], ["base_unit_id", 98], ["utilization_unit_id", 99], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 06:21:44.420612"], ["updated_at", "2018-09-05 06:21:44.420612"]] 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", 81], ["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", "Lory 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", "Lory Shields"], ["name", "Ambrose Jaskolski"], ["description", "Default bundle for service 'Ambrose Jaskolski'"], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 06:21:44.426476"], ["updated_at", "2018-09-05 06:21:44.426476"]] 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", 67], ["chargeable_service_id", 42]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Minda Bosco"], ["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", "Ardelle Ortiz"], ["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", "Minda Bosco"], ["name", "Ardelle Ortiz"], ["created_at", "2018-09-05 06:21:44.438491"], ["updated_at", "2018-09-05 06:21:44.438491"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.7ms) 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", "Gale Gaylord"], ["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", "Gale Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.446346"], ["updated_at", "2018-09-05 06:21:44.446346"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Isreal Heathcote"], ["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", "Isreal Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.452897"], ["updated_at", "2018-09-05 06:21:44.452897"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "Leeann Weissnat"], ["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", "Leeann Weissnat"], ["name", "Faviola Beier"], ["address", "Florida Cremin"], ["created_at", "2018-09-05 06:21:44.459367"], ["updated_at", "2018-09-05 06:21:44.459367"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "Francene Effertz"], ["service_delivery_unit_id", 82], ["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", "Francene Effertz"], ["name", "Deangelo Macejkovic"], ["service_type_id", 59], ["base_unit_id", 100], ["utilization_unit_id", 101], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 06:21:44.465788"], ["updated_at", "2018-09-05 06:21:44.465788"]] 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", 82], ["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", "Francene Effertz"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) 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", "Francene Effertz"], ["name", "Deangelo Macejkovic"], ["description", "Default bundle for service 'Deangelo Macejkovic'"], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 06:21:44.472059"], ["updated_at", "2018-09-05 06:21:44.472059"]] 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", 68], ["chargeable_service_id", 43]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (21.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Nikia Mitchell"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (6.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tona Jones"], ["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", "Nikia Mitchell"], ["name", "Tona Jones"], ["created_at", "2018-09-05 06:21:44.513806"], ["updated_at", "2018-09-05 06:21:44.513806"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (2.1ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Eli Trantow"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eli Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.527275"], ["updated_at", "2018-09-05 06:21:44.527275"]]  (6.2ms) 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", "Charlyn Lockman"], ["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", "Charlyn Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.540075"], ["updated_at", "2018-09-05 06:21:44.540075"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 LIMIT $2 [["code", "Roy Rau"], ["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", "Roy Rau"], ["name", "Aja Hagenes"], ["address", "Aleen Yost"], ["created_at", "2018-09-05 06:21:44.547115"], ["updated_at", "2018-09-05 06:21:44.547115"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "Stasia Labadie"], ["service_delivery_unit_id", 83], ["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", "Stasia Labadie"], ["name", "Selina Muller"], ["service_type_id", 60], ["base_unit_id", 102], ["utilization_unit_id", 103], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 06:21:44.554237"], ["updated_at", "2018-09-05 06:21:44.554237"]] 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", 83], ["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", "Stasia Labadie"], ["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", "Stasia Labadie"], ["name", "Selina Muller"], ["description", "Default bundle for service 'Selina Muller'"], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 06:21:44.560544"], ["updated_at", "2018-09-05 06:21:44.560544"]] 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", 69], ["chargeable_service_id", 44]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 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", 66], ["chargeable_service_id", 42]] 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", 66], ["chargeable_service_id", 43]] 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", 66], ["chargeable_service_id", 44]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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]]  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 [["id", 44]] Mks::Rate::ChargeableService Load (2.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]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.6ms) 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]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (1.2ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 66], ["LIMIT", 1]]  (3.7ms) 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.3ms) 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]]  (1.3ms) ROLLBACK  (1.4ms) BEGIN  (1.1ms) 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", "Mauricio Runte"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mauricio Runte"], ["name", "Loralee Baumbach"], ["address", "Jess Veum"], ["created_at", "2018-09-05 06:21:44.617326"], ["updated_at", "2018-09-05 06:21:44.617326"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_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", "Tamika Keebler"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (4.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", "Tamika Keebler"], ["name", "Dallas Kiehn"], ["description", "Allan Pfannerstill"], ["percent_discount", 100.0], ["service_delivery_unit_id", 84], ["created_at", "2018-09-05 06:21:44.627583"], ["updated_at", "2018-09-05 06:21:44.627583"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Omar Lueilwitz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (3.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lesley Nicolas"], ["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", "Omar Lueilwitz"], ["name", "Lesley Nicolas"], ["created_at", "2018-09-05 06:21:44.646353"], ["updated_at", "2018-09-05 06:21:44.646353"]]  (2.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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", "Bridget Ryan"], ["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", "Bridget Ryan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.656480"], ["updated_at", "2018-09-05 06:21:44.656480"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "Devora Farrell"], ["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", "Devora Farrell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.661793"], ["updated_at", "2018-09-05 06:21:44.661793"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", "Lynsey Boehm"], ["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", "Lynsey Boehm"], ["name", "Silvana Bosco"], ["address", "Aida Prosacco"], ["created_at", "2018-09-05 06:21:44.669923"], ["updated_at", "2018-09-05 06:21:44.669923"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "Armand Cassin"], ["service_delivery_unit_id", 85], ["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", "Armand Cassin"], ["name", "Sammie Corwin"], ["service_type_id", 61], ["base_unit_id", 104], ["utilization_unit_id", 105], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 06:21:44.678786"], ["updated_at", "2018-09-05 06:21:44.678786"]] Mks::Rate::ServiceDeliveryUnit Load (2.4ms) 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.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Armand Cassin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.7ms) 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", "Armand Cassin"], ["name", "Sammie Corwin"], ["description", "Default bundle for service 'Sammie Corwin'"], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 06:21:44.688496"], ["updated_at", "2018-09-05 06:21:44.688496"]] 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", 71], ["chargeable_service_id", 45]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leena Connelly"], ["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", "Tennie Schuster"], ["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", "Leena Connelly"], ["name", "Tennie Schuster"], ["created_at", "2018-09-05 06:21:44.707486"], ["updated_at", "2018-09-05 06:21:44.707486"]]  (0.8ms) 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", "Sari Graham"], ["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", "Sari Graham"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.713937"], ["updated_at", "2018-09-05 06:21:44.713937"]]  (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", "Aurelio Daniel"], ["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", "Aurelio Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.719247"], ["updated_at", "2018-09-05 06:21:44.719247"]]  (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", "Gladys Little"], ["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", "Gladys Little"], ["name", "Clint Nader"], ["address", "Petrina Ferry"], ["created_at", "2018-09-05 06:21:44.724219"], ["updated_at", "2018-09-05 06:21:44.724219"]]  (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", "Roberto Balistreri"], ["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", "Roberto Balistreri"], ["name", "Clarine O'Conner"], ["service_type_id", 62], ["base_unit_id", 106], ["utilization_unit_id", 107], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 06:21:44.728913"], ["updated_at", "2018-09-05 06:21:44.728913"]] 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Roberto 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", "Roberto Balistreri"], ["name", "Clarine O'Conner"], ["description", "Default bundle for service 'Clarine O'Conner'"], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 06:21:44.733942"], ["updated_at", "2018-09-05 06:21:44.733942"]] 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", 72], ["chargeable_service_id", 46]]  (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", "Taryn Rosenbaum"], ["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", "Augustus 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", "Taryn Rosenbaum"], ["name", "Augustus Hettinger"], ["created_at", "2018-09-05 06:21:44.742695"], ["updated_at", "2018-09-05 06:21:44.742695"]]  (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", "Natalya Cormier"], ["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", "Natalya Cormier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.748007"], ["updated_at", "2018-09-05 06:21:44.748007"]]  (0.5ms) 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", "Charlyn Purdy"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charlyn Purdy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.753943"], ["updated_at", "2018-09-05 06:21:44.753943"]]  (0.8ms) 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", "Contessa Thiel"], ["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", "Contessa Thiel"], ["name", "Emelina Rohan"], ["address", "Malisa Pollich"], ["created_at", "2018-09-05 06:21:44.761857"], ["updated_at", "2018-09-05 06:21:44.761857"]]  (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", "Azzie Swift"], ["service_delivery_unit_id", 87], ["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", "Azzie Swift"], ["name", "Regina Green"], ["service_type_id", 63], ["base_unit_id", 108], ["utilization_unit_id", 109], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 06:21:44.766601"], ["updated_at", "2018-09-05 06:21:44.766601"]] 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", "Azzie Swift"], ["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", "Azzie Swift"], ["name", "Regina Green"], ["description", "Default bundle for service 'Regina Green'"], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 06:21:44.771956"], ["updated_at", "2018-09-05 06:21:44.771956"]] 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", 73], ["chargeable_service_id", 47]]  (0.6ms) 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", "Brad Weber"], ["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", "Trula Williamson"], ["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", "Brad Weber"], ["name", "Trula Williamson"], ["created_at", "2018-09-05 06:21:44.782086"], ["updated_at", "2018-09-05 06:21:44.782086"]]  (0.6ms) 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", "Queenie Corkery"], ["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", "Queenie Corkery"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.786999"], ["updated_at", "2018-09-05 06:21:44.786999"]]  (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", "Shaun Abshire"], ["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", "Shaun Abshire"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 06:21:44.792154"], ["updated_at", "2018-09-05 06:21:44.792154"]]  (0.6ms) 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", "Carlo Hodkiewicz"], ["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", "Carlo Hodkiewicz"], ["name", "Kirsten Johnson"], ["address", "Juliette Roberts"], ["created_at", "2018-09-05 06:21:44.797219"], ["updated_at", "2018-09-05 06:21:44.797219"]]  (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", "Sunni Considine"], ["service_delivery_unit_id", 88], ["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", "Sunni Considine"], ["name", "Annett Hane"], ["service_type_id", 64], ["base_unit_id", 110], ["utilization_unit_id", 111], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 06:21:44.802935"], ["updated_at", "2018-09-05 06:21:44.802935"]] 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", 88], ["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", "Sunni Considine"], ["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", "Sunni Considine"], ["name", "Annett Hane"], ["description", "Default bundle for service 'Annett Hane'"], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 06:21:44.810142"], ["updated_at", "2018-09-05 06:21:44.810142"]] 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", 74], ["chargeable_service_id", 48]]  (0.5ms) 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.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  (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.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" IN ($1, $2, $3) [["id", 46], ["id", 47], ["id", 48]] 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]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (1.1ms) 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.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", 47]] 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", 70], ["chargeable_service_id", 48]]  (0.8ms) 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.1ms) 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 (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]]  (0.7ms) ROLLBACK